/* ==========================================================================
   KDR Infotech Landing Page Stylesheet
   ========================================================================== */

/* Design Tokens & Theme Variables */
:root {
    --bg-main: #070a12;
    --bg-card: rgba(15, 23, 42, 0.78);
    --bg-card-hover: rgba(20, 31, 54, 0.95);
    --bg-navbar: rgba(7, 10, 18, 0.88);
    
    --primary: #2563eb;
    --primary-glow: rgba(37, 99, 235, 0.28);
    --primary-light: #38bdf8;
    
    --accent-pink: #ec4899;
    --accent-teal: #f59e0b;
    --accent-teal-glow: rgba(245, 158, 11, 0.22);
    
    --text-main: #f8fafc;
    --text-muted: #a8b3c7;
    --text-inverse: #06111f;
    
    --border-color: rgba(148, 163, 184, 0.16);
    --border-color-hover: rgba(56, 189, 248, 0.38);
    
    --font-heading: 'Afacad', 'Manrope', sans-serif;
    --font-body: 'Manrope', sans-serif;
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-bounce: all 0.48s cubic-bezier(0.16, 1, 0.3, 1);
    
    --container-width: 1200px;
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-anchor: none;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    overflow-anchor: none;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

img, svg {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

button, input, textarea, select {
    font-family: inherit;
    font-size: inherit;
    background: none;
    border: none;
    outline: none;
    color: inherit;
}

/* ==========================================================================
   Layout & Container
   ========================================================================== */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding {
    padding: 7rem 0;
}

/* ==========================================================================
   Background Ambient Glow Effects
   ========================================================================== */
.glow-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.glow-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.05;
}

.glow-circle-1 {
    width: 500px;
    height: 500px;
    background: var(--primary);
    top: -100px;
    right: -100px;
}

.glow-circle-2 {
    width: 600px;
    height: 600px;
    background: var(--accent-pink);
    bottom: -150px;
    left: -150px;
}

.glow-circle-3 {
    width: 400px;
    height: 400px;
    background: var(--accent-teal);
    top: 40%;
    left: 20%;
    opacity: 0.08;
}

/* ==========================================================================
   Typography & Typography Utilities
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
}

.gradient-text {
    background: none;
    color: var(--primary);
    -webkit-text-fill-color: currentColor;
    display: inline-block;
}

.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 4rem auto;
}

.section-tag {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--primary);
    margin-bottom: 0.75rem;
    background: rgba(220, 38, 38, 0.05);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    border: 1px solid rgba(220, 38, 38, 0.12);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    gap: 0.5rem;
}

.btn-primary {
    background-color: var(--primary);
    color: #ffffff;
}

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: rgba(0, 0, 0, 0.02);
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.btn-glow {
    box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-glow:hover {
    box-shadow: 0 8px 30px rgba(220, 38, 38, 0.4);
}

.btn-arrow {
    transition: transform 0.3s ease;
}

.btn-secondary:hover .btn-arrow {
    transform: translateX(4px);
}

/* ==========================================================================
   Glassmorphism Card Style
   ========================================================================== */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: var(--transition-smooth);
}

.glass-card:hover {
    border-color: var(--border-color-hover);
    box-shadow: 0 10px 30px rgba(220, 38, 38, 0.04);
}

/* ==========================================================================
   Header / Navigation Bar
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-smooth);
    border-bottom: 1px solid transparent;
}

.header.scrolled {
    background: var(--bg-navbar);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    padding: 0.75rem 0;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    transition: var(--transition-smooth);
}

.header.scrolled .header-container {
    height: 70px;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-main);
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-image {
    width: 76px;
    height: 64px;
    object-fit: contain;
    display: block;
    border-radius: 8px;
}

.footer-logo {
    align-items: flex-start;
}

.footer-logo-image {
    width: 124px;
    height: 124px;
}

.logo-accent {
    color: var(--primary);
    margin-right: 0.1rem;
}

.nav-menu ul {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition-smooth);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover, 
.nav-link.active {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent-pink));
    transition: var(--transition-smooth);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-nav-cta {
    padding: 0.625rem 1.5rem;
    font-size: 0.9rem;
    border-radius: 6px;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    cursor: pointer;
    z-index: 1010;
}

.mobile-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-main);
    border-radius: 9999px;
    transition: var(--transition-smooth);
}

.btn-mobile-cta {
    display: none;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    padding: 10rem 0 6rem 0;
    position: relative;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3.5rem;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(220, 38, 38, 0.05);
    border: 1px solid rgba(220, 38, 38, 0.12);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-light);
    margin-bottom: 1.5rem;
}

.badge-icon {
    font-size: 1rem;
}

.hero-title {
    font-size: 3.8rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: var(--text-main);
    letter-spacing: -0.03em;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 550px;
    line-height: 1.6;
}

.hero-actions-group {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 3rem;
}

.hero-ratings {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.hero-ratings .stars {
    color: #f59e0b;
    font-size: 1.25rem;
    letter-spacing: 0.05em;
}

.rating-text {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Hero Visual & Interactive Hub Graphic */
.hero-visual {
    position: relative;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-card-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    width: 230px;
    z-index: 10;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    color: #ffffff;
    flex-shrink: 0;
}

.web-icon {
    background: linear-gradient(135deg, var(--primary) 0%, #312e81 100%);
}

.app-icon {
    background: linear-gradient(135deg, var(--accent-pink) 0%, #701a75 100%);
}

.marketing-icon {
    background: linear-gradient(135deg, var(--accent-teal) 0%, #115e59 100%);
}

.card-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
}

.card-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Floating Card Keyframe Placements */
.float-card-1 {
    top: 10%;
    left: -5%;
    animation: float1 6s ease-in-out infinite;
}

.float-card-2 {
    bottom: 15%;
    right: -5%;
    animation: float2 7s ease-in-out infinite;
}

.float-card-3 {
    top: 55%;
    left: -15%;
    animation: float3 6.5s ease-in-out infinite;
}

/* Central Node Design */
.hub-graphic {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 320px;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.circle-center {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, rgba(10, 14, 23, 0.9) 100%);
    border: 2px solid var(--primary);
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.25rem;
    z-index: 5;
    animation: pulseGlow 3s infinite alternate;
}

.orbit-line {
    position: absolute;
    border-radius: 50%;
    border: 1px dashed rgba(255, 255, 255, 0.1);
    transform-origin: center;
}

.line-1 {
    width: 180px;
    height: 180px;
    animation: rotateOrbit 15s linear infinite;
}

.line-2 {
    width: 260px;
    height: 260px;
    animation: rotateOrbitReverse 25s linear infinite;
}

.line-3 {
    width: 340px;
    height: 340px;
    border-style: solid;
    border-color: rgba(99, 102, 241, 0.05);
}

.node {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--accent-teal);
    box-shadow: 0 0 10px var(--accent-teal);
}

.node-1 {
    top: 20%;
    right: 25%;
    animation: nodePulse 2s infinite ease-in-out;
}

.node-2 {
    bottom: 25%;
    left: 20%;
    background-color: var(--accent-pink);
    box-shadow: 0 0 10px var(--accent-pink);
    animation: nodePulse 2.3s infinite ease-in-out 0.5s;
}

.node-3 {
    top: 65%;
    right: 15%;
    background-color: var(--primary);
    box-shadow: 0 0 10px var(--primary);
    animation: nodePulse 1.8s infinite ease-in-out 1s;
}

/* Animations */
@keyframes float1 {
    0%, 100% { transform: translateY(0) rotate(2deg); }
    50% { transform: translateY(-15px) rotate(-1deg); }
}

@keyframes float2 {
    0%, 100% { transform: translateY(0) rotate(-3deg); }
    50% { transform: translateY(-18px) rotate(1deg); }
}

@keyframes float3 {
    0%, 100% { transform: translateY(0) rotate(1deg); }
    50% { transform: translateY(12px) rotate(-2deg); }
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 20px rgba(99, 102, 241, 0.3); }
    100% { box-shadow: 0 0 40px rgba(99, 102, 241, 0.6); }
}

@keyframes rotateOrbit {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes rotateOrbitReverse {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(-360deg); }
}

@keyframes nodePulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.4); opacity: 1; }
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.25rem;
}

.service-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 3rem 2.25rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(120px circle at var(--x, 50%) var(--y, 50%), rgba(255, 255, 255, 0.05), transparent 80%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-color-hover);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.1);
}

.service-icon-bg {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    color: #ffffff;
    position: relative;
}

.service-icon-bg::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 14px;
    z-index: -1;
    opacity: 0.3;
}

.web-theme {
    background: linear-gradient(135deg, var(--primary) 0%, #1e1b4b 100%);
}
.web-theme::after {
    background: var(--primary);
}

.app-theme {
    background: linear-gradient(135deg, var(--accent-pink) 0%, #4c0519 100%);
}
.app-theme::after {
    background: var(--accent-pink);
}

.marketing-theme {
    background: linear-gradient(135deg, var(--accent-teal) 0%, #042f2e 100%);
}
.marketing-theme::after {
    background: var(--accent-teal);
}

.service-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
}

.service-description {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.75rem;
    line-height: 1.6;
}

.service-list {
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.service-list li {
    font-size: 0.9rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.list-bullet {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--primary);
    flex-shrink: 0;
}

.service-card:nth-child(2) .list-bullet {
    background-color: var(--accent-pink);
}

.service-card:nth-child(3) .list-bullet {
    background-color: var(--accent-teal);
}

.service-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-light);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-smooth);
}

.service-link svg {
    transition: transform 0.3s ease;
}

.service-card:hover .service-link {
    color: #ffffff;
}

.service-card:hover .service-link svg {
    transform: translateX(5px);
}

/* ==========================================================================
   About Section & Statistics Dashboard
   ========================================================================== */
.about-wrapper {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 5rem;
    align-items: center;
}

.about-text {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 2rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
}

.highlight-check {
    color: var(--accent-teal);
    font-weight: 700;
}

/* Statistics Grid Card Dashboard */
.about-stats {
    position: relative;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.stat-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.25rem 1.75rem;
    text-align: center;
    transition: var(--transition-smooth);
}

.stat-card:hover {
    border-color: var(--border-color-hover);
    background: rgba(99, 102, 241, 0.02);
    transform: translateY(-4px);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--primary-light);
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
}


/* ==========================================================================
   Testimonials Section
   ========================================================================== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.25rem;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-smooth);
}

.testimonial-card:hover {
    border-color: var(--border-color-hover);
    background: rgba(255, 255, 255, 0.03);
    transform: translateY(-4px);
}

.testimonial-card .stars {
    color: #f59e0b;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.testimonial-quote {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 2rem;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.client-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent-pink) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: #ffffff;
}

.client-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
}

.client-role {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ==========================================================================
   Contact Section & Custom Interactive Form
   ========================================================================== */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: flex-start;
}

.contact-info {
    display: flex;
    flex-direction: column;
}

.contact-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 3.5rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 2.25rem;
}

.method-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
}

.method-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.15);
    color: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.method-title {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.25rem;
}

.method-link,
.method-text {
    font-size: 0.95rem;
    color: var(--text-muted);
    transition: var(--transition-smooth);
}

.method-link:hover {
    color: var(--primary-light);
}

/* Form Styling */
.contact-form-wrapper {
    position: relative;
}

.contact-form {
    padding: 3rem 2.5rem;
}

.form-title {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    color: #ffffff;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-control {
    width: 100%;
    padding: 0.875rem 1.25rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: #ffffff;
    transition: var(--transition-smooth);
}

.form-control::placeholder {
    color: #4b5563;
}

.form-control:focus {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.1);
}

textarea.form-control {
    resize: none;
}

select.form-control {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='white' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
    background-repeat: no-repeat;
    background-position: right 1.25rem center;
    background-size: 1.25rem;
    padding-right: 3rem;
}

select.form-control option {
    background: var(--bg-main);
    color: #ffffff;
}

.btn-submit {
    width: 100%;
    margin-top: 1rem;
}

/* Form validation feedback */
.form-feedback {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1.5rem;
    font-size: 0.9rem;
}

.success-feedback {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: #34d399;
}

.feedback-icon {
    font-weight: 700;
}

.hidden {
    display: none !important;
}

/* Button Loading Spinner */
.btn-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #ffffff;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    border-top: 1px solid var(--border-color);
    padding: 6rem 0 3rem 0;
    position: relative;
    background: rgba(10, 14, 23, 0.95);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr 0.8fr 1.3fr;
    gap: 4rem;
    margin-bottom: 5rem;
}

.footer-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 1.25rem;
    margin-bottom: 2rem;
    max-width: 320px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: var(--transition-smooth);
}

.social-link:hover {
    color: #ffffff;
    background-color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.footer-heading {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: #ffffff;
}

.newsletter-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-input {
    flex-grow: 1;
    padding: 0.75rem 1rem;
}

.btn-newsletter-submit {
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a:hover {
    color: #ffffff;
}

/* ==========================================================================
   Scroll-Reveal Animations (Intersection Observer classes)
   ========================================================================== */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Smooth progressive delay classes for grids */
.services-grid .service-card:nth-child(1) { transition-delay: 0.1s; }
.services-grid .service-card:nth-child(2) { transition-delay: 0.25s; }
.services-grid .service-card:nth-child(3) { transition-delay: 0.4s; }


.testimonials-grid .testimonial-card:nth-child(1) { transition-delay: 0.1s; }
.testimonials-grid .testimonial-card:nth-child(2) { transition-delay: 0.25s; }
.testimonials-grid .testimonial-card:nth-child(3) { transition-delay: 0.4s; }

/* Custom keyframes for fade in animations in Hero */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: elementFadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-content .badge.fade-in { animation-delay: 0.1s; }
.hero-content .hero-title.fade-in { animation-delay: 0.2s; }
.hero-content .hero-subtitle.fade-in { animation-delay: 0.35s; }
.hero-content .hero-actions-group.fade-in { animation-delay: 0.5s; }
.hero-content .hero-ratings.fade-in { animation-delay: 0.65s; }
.hero-visual.fade-in { animation-delay: 0.4s; }

@keyframes elementFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   Responsive Styles
   ========================================================================== */

/* Tablet & Smaller Devices */
@media (max-width: 1024px) {
    html {
        font-size: 15px;
    }
    
    .section-padding {
        padding: 5rem 0;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 5rem;
        text-align: center;
    }
    
    .hero-content {
        align-items: center;
    }
    
    .hero-actions-group {
        justify-content: center;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-wrapper {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

/* Mobile Devices */
@media (max-width: 768px) {
    /* Header & Mobile Navigation */
    .mobile-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--bg-main);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        z-index: 999;
        transition: var(--transition-smooth);
        padding: 3rem 1.5rem;
        border-top: 1px solid var(--border-color);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }
    
    .nav-link {
        font-size: 1.25rem;
    }
    
    .btn-nav-cta {
        display: none;
    }

    .logo-image {
        width: 56px;
        height: 48px;
    }

    .footer-logo-image {
        width: 108px;
        height: 108px;
    }
    
    .btn-mobile-cta {
        display: inline-flex;
        width: 100%;
        margin-top: 2rem;
        text-align: center;
    }
    
    .mobile-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .mobile-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Hero Text Adjustment */
    .hero-title {
        font-size: 2.8rem;
    }
    
    /* Grid Adjustments to 1 column */
    .services-grid,
    .testimonials-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .hero-visual {
        height: 380px;
        margin-top: 2rem;
    }
    
    .float-card {
        width: 190px;
        padding: 0.75rem 1rem;
    }
    
    .float-card-1 {
        left: 0%;
    }
    
    .float-card-2 {
        right: 0%;
        bottom: 5%;
    }
    
    .float-card-3 {
        display: none; /* Hide third card on small screens to reduce clutter */
    }
    
    .hub-graphic {
        width: 260px;
        height: 260px;
    }
    
    .circle-center {
        width: 80px;
        height: 80px;
        font-size: 1.1rem;
    }
    
    .line-1 { width: 140px; height: 140px; }
    .line-2 { width: 200px; height: 200px; }
    
    .contact-form {
        padding: 2rem 1.5rem;
    }
}

/* ==========================================================================
   Dark Reference Refresh
   ========================================================================== */
body {
    background:
        linear-gradient(135deg, rgba(37, 99, 235, 0.13), transparent 34%),
        linear-gradient(225deg, rgba(236, 72, 153, 0.12), transparent 38%),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 120px),
        var(--bg-main);
}

.glow-circle {
    display: none;
}

.header {
    background: rgba(7, 10, 18, 0.66);
}

.header.scrolled {
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
}

.logo-image {
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
}

.header-socials {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.header-socials a,
.hero-social-rail a {
    color: var(--text-main);
    transition: var(--transition-smooth);
}

.header-socials a:hover,
.hero-social-rail a:hover {
    color: var(--primary-light);
    transform: translateY(-2px);
}

.hiring-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--text-main);
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #22c55e;
    box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.12);
    animation: statusPulse 1.5s infinite;
}

@keyframes statusPulse {
    50% {
        opacity: 0.35;
        transform: scale(0.82);
    }
}

.hero-section {
    min-height: 92vh;
    padding: 9.25rem 0 5.5rem;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(7, 10, 18, 0.92) 0%, rgba(7, 10, 18, 0.68) 48%, rgba(7, 10, 18, 0.96) 100%),
        repeating-linear-gradient(0deg, rgba(148, 163, 184, 0.055) 0 1px, transparent 1px 72px);
    pointer-events: none;
}

.hero-container {
    position: relative;
    z-index: 1;
}

.badge {
    background: rgba(56, 189, 248, 0.09);
    border-color: rgba(56, 189, 248, 0.22);
    color: var(--primary-light);
    border-radius: 999px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-title {
    max-width: 820px;
    font-size: clamp(3.2rem, 7vw, 6.2rem);
    font-weight: 800;
    letter-spacing: 0;
}

.gradient-text {
    background: none;
    color: #60a5fa;
}

.hero-subtitle {
    color: #cbd5e1;
}

.btn-primary {
    background: linear-gradient(90deg, #2563eb, #ec4899);
}

.btn-primary:hover {
    background: linear-gradient(90deg, #38bdf8, #f59e0b);
    color: #06111f;
}

.btn-secondary {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.045);
    border-color: rgba(255, 255, 255, 0.14);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(56, 189, 248, 0.35);
}

.hero-social-rail {
    position: absolute;
    right: -4rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: var(--text-muted);
}

.hero-social-rail span {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.glass-card,
.service-card,
.testimonial-card,
.contact-form,
.stat-card {
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.84), rgba(8, 13, 24, 0.82));
    border-color: rgba(148, 163, 184, 0.18);
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.28);
}

.service-card:hover,
.testimonial-card:hover,
.stat-card:hover {
    background: linear-gradient(145deg, rgba(21, 32, 55, 0.95), rgba(10, 17, 31, 0.94));
    border-color: rgba(56, 189, 248, 0.34);
}

.services-section,
.testimonials-section {
    background: rgba(5, 9, 17, 0.44);
}

.about-section {
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.14), rgba(236, 72, 153, 0.08));
    border-block: 1px solid rgba(148, 163, 184, 0.14);
}

.section-title,
.service-title,
.form-title,
.method-title,
.client-name {
    color: var(--text-main);
}

.section-subtitle,
.service-description,
.about-text,
.testimonial-quote,
.method-link,
.method-text,
.footer-desc,
.newsletter-desc {
    color: var(--text-muted);
}

.section-tag {
    background: rgba(56, 189, 248, 0.08);
    border-color: rgba(56, 189, 248, 0.2);
    color: var(--primary-light);
}

.service-icon-bg {
    box-shadow: inset 0 0 30px rgba(255, 255, 255, 0.04);
}

.circle-center {
    background: radial-gradient(circle, rgba(56, 189, 248, 0.22), rgba(7, 10, 18, 0.96));
}

.orbit-line {
    border-color: rgba(148, 163, 184, 0.18);
}

.contact-section {
    background: rgba(7, 10, 18, 0.72);
}

.form-control {
    background: rgba(255, 255, 255, 0.045);
    border-color: rgba(148, 163, 184, 0.16);
    color: var(--text-main);
}

.form-control::placeholder {
    color: #748198;
}

.footer {
    background: #050811;
}

.footer-logo-image {
    background: #ffffff;
    border-radius: 10px;
}

@media (max-width: 1100px) {
    .hero-social-rail {
        display: none;
    }

    .hiring-pill {
        display: none;
    }
}

@media (max-width: 768px) {
    .header-socials {
        display: none;
    }

    .mobile-toggle .bar {
        background-color: var(--text-main);
    }

    .nav-menu {
        background: rgba(7, 10, 18, 0.97);
    }

    .hero-section {
        min-height: auto;
        padding-top: 8rem;
    }

    .hero-title {
        font-size: 3.1rem;
    }
}

/* ==========================================================================
   Light Web Brigade-Inspired Refresh
   ========================================================================== */
:root {
    --bg-main: #f7fbff;
    --bg-card: rgba(255, 255, 255, 0.92);
    --bg-card-hover: #ffffff;
    --bg-navbar: rgba(255, 255, 255, 0.9);
    --primary: #1f5eff;
    --primary-light: #06b6d4;
    --primary-glow: rgba(31, 94, 255, 0.2);
    --accent-pink: #e83e8c;
    --accent-teal: #f59e0b;
    --accent-teal-glow: rgba(245, 158, 11, 0.18);
    --text-main: #091426;
    --text-muted: #5f6f86;
    --text-inverse: #ffffff;
    --border-color: rgba(15, 23, 42, 0.1);
    --border-color-hover: rgba(31, 94, 255, 0.3);
}

body {
    background:
        radial-gradient(circle at 12% 10%, rgba(6, 182, 212, 0.16), transparent 28%),
        radial-gradient(circle at 86% 12%, rgba(232, 62, 140, 0.12), transparent 24%),
        linear-gradient(180deg, #ffffff 0%, #f3f8ff 42%, #ffffff 100%);
    color: var(--text-main);
}

.header {
    background: rgba(255, 255, 255, 0.78);
    border-bottom-color: rgba(15, 23, 42, 0.06);
}

.header.scrolled {
    background: var(--bg-navbar);
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.09);
}

.header-container {
    height: 96px;
}

.header.scrolled .header-container {
    height: 84px;
}

.logo-image {
    width: 136px;
    height: 82px;
    object-fit: contain;
    background: #ffffff;
    border: 1px solid rgba(31, 94, 255, 0.12);
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
}

.nav-link,
.header-socials a,
.hiring-pill {
    color: #20304a;
}

.nav-link:hover,
.nav-link.active,
.header-socials a:hover {
    color: var(--primary);
}

.btn-primary {
    background: linear-gradient(90deg, #1f5eff, #06b6d4);
    color: #ffffff;
    box-shadow: 0 12px 26px rgba(31, 94, 255, 0.22);
}

.btn-primary:hover {
    background: linear-gradient(90deg, #0b4bd8, #0097b7);
    color: #ffffff;
}

.btn-secondary {
    background: #ffffff;
    color: var(--text-main);
    border-color: rgba(31, 94, 255, 0.16);
}

.hero-section {
    min-height: 88vh;
    padding: 10rem 0 5.75rem;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(243, 248, 255, 0.8) 52%, rgba(255, 255, 255, 0.96) 100%),
        linear-gradient(135deg, rgba(31, 94, 255, 0.1), rgba(6, 182, 212, 0.08));
}

.hero-section::before {
    background:
        repeating-linear-gradient(90deg, rgba(31, 94, 255, 0.045) 0 1px, transparent 1px 110px),
        repeating-linear-gradient(0deg, rgba(15, 23, 42, 0.035) 0 1px, transparent 1px 82px);
}

.badge,
.section-tag {
    background: rgba(31, 94, 255, 0.08);
    border-color: rgba(31, 94, 255, 0.16);
    color: var(--primary);
}

.hero-title {
    color: var(--text-main);
}

.gradient-text {
    background: none;
    color: #1f5eff;
}

.hero-subtitle,
.rating-text,
.card-desc,
.section-subtitle,
.service-description,
.about-text,
.testimonial-quote,
.method-link,
.method-text,
.footer-desc,
.newsletter-desc {
    color: var(--text-muted);
}

.hero-social-rail {
    color: #6b7890;
}

.hero-social-rail a {
    color: #20304a;
}

.glass-card,
.testimonial-card,
.contact-form,
.stat-card {
    background: rgba(255, 255, 255, 0.86);
    border-color: rgba(15, 23, 42, 0.08);
    box-shadow: 0 24px 60px rgba(31, 94, 255, 0.11);
}

.card-title,
.section-title,
.service-title,
.form-title,
.method-title,
.client-name {
    color: var(--text-main);
}

.circle-center {
    background: radial-gradient(circle, rgba(6, 182, 212, 0.18), #ffffff);
    color: var(--primary);
    box-shadow: 0 0 40px rgba(31, 94, 255, 0.18);
}

.orbit-line {
    border-color: rgba(31, 94, 255, 0.16);
}

.services-section {
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.services-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, rgba(31, 94, 255, 0.06), transparent 35%),
        radial-gradient(circle at 95% 18%, rgba(232, 62, 140, 0.1), transparent 24%);
    pointer-events: none;
}

.services-section .container {
    position: relative;
    z-index: 1;
}

.service-showcase-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.6rem;
}

.service-feature-card {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.09);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.1);
    transition: var(--transition-smooth);
}

.service-feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 70px rgba(31, 94, 255, 0.16);
    border-color: rgba(31, 94, 255, 0.22);
}

.service-media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #dbeafe;
}

.service-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-feature-card:hover .service-media img {
    transform: scale(1.06);
}

.service-badge {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    padding: 0.38rem 0.8rem;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(9, 20, 38, 0.72);
    backdrop-filter: blur(10px);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.service-feature-body {
    padding: 1.45rem;
}

.service-kicker {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.75rem;
}

.service-feature-body h3 {
    font-size: 1.36rem;
    margin-bottom: 0.75rem;
    color: var(--text-main);
}

.service-feature-body p {
    color: var(--text-muted);
    font-size: 0.94rem;
    line-height: 1.65;
    margin-bottom: 1.15rem;
}

.service-feature-body ul {
    display: grid;
    gap: 0.55rem;
    margin-bottom: 1.25rem;
}

.service-feature-body li {
    color: #31425c;
    font-size: 0.9rem;
    display: flex;
    gap: 0.55rem;
    align-items: flex-start;
}

.service-feature-body li::before {
    content: '';
    width: 7px;
    height: 7px;
    margin-top: 0.48rem;
    border-radius: 50%;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    flex: 0 0 auto;
}

.service-link {
    color: var(--primary);
}

.service-link:hover {
    color: #0b4bd8;
}

.services-menu {
    margin-top: 2rem;
    padding: 1.5rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 8px;
    background: linear-gradient(90deg, #f8fbff, #ffffff);
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.07);
}

.services-menu-header {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    align-items: end;
    margin-bottom: 1.25rem;
}

.services-menu-header span {
    color: var(--text-main);
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
}

.services-menu-header p {
    max-width: 520px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.services-menu-track {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.9rem;
}

.service-chip {
    min-height: 86px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    color: #22324b;
    font-weight: 700;
    transition: var(--transition-smooth);
}

.service-chip i {
    font-size: 1.55rem;
    color: var(--primary);
}

.service-chip:hover {
    transform: translateY(-4px);
    border-color: rgba(31, 94, 255, 0.24);
    box-shadow: 0 15px 34px rgba(31, 94, 255, 0.12);
}

.about-section {
    background: linear-gradient(90deg, #eef6ff, #ffffff);
    border-block: 1px solid rgba(15, 23, 42, 0.06);
}

.testimonials-section,
.contact-section {
    background: #f7fbff;
}

.form-control {
    background: #ffffff;
    border-color: rgba(15, 23, 42, 0.12);
    color: var(--text-main);
}

.footer {
    background: #f7fbff;
    border-top-color: rgba(15, 23, 42, 0.08);
}

.footer-logo-image {
    width: 172px;
    height: 172px;
    background: #ffffff;
    border: 1px solid rgba(31, 94, 255, 0.1);
    border-radius: 14px;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.1);
}

.footer-heading,
.footer-links a:hover,
.footer-bottom-links a:hover {
    color: var(--text-main);
}

@media (max-width: 1024px) {
    .service-showcase-grid {
        grid-template-columns: 1fr;
    }

    .service-feature-card {
        display: grid;
        grid-template-columns: 0.9fr 1.1fr;
    }

    .services-menu-track {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-container {
        height: 86px;
    }

    .logo-image {
        width: 104px;
        height: 68px;
    }

    .nav-menu {
        top: 86px;
        height: calc(100vh - 86px);
        background: rgba(255, 255, 255, 0.98);
    }

    .hero-title {
        font-size: 2.85rem;
    }

    .service-feature-card {
        display: block;
    }

    .services-menu-header {
        display: block;
    }

    .services-menu-header p {
        margin-top: 0.35rem;
    }

    .services-menu-track {
        grid-template-columns: 1fr;
    }

    .footer-logo-image {
        width: 142px;
        height: 142px;
    }
}

/* ==========================================================================
   Standalone Pages
   ========================================================================== */
.page-main {
    padding-top: 96px;
}

.page-hero {
    position: relative;
    overflow: hidden;
    padding: 6.5rem 0 4.5rem;
    background:
        linear-gradient(120deg, rgba(31, 94, 255, 0.11), transparent 42%),
        radial-gradient(circle at 88% 18%, rgba(232, 62, 140, 0.12), transparent 28%),
        #ffffff;
}

.page-hero .container {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
    gap: 3rem;
    align-items: center;
}

.page-eyebrow {
    display: inline-flex;
    margin-bottom: 1rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: rgba(31, 94, 255, 0.08);
    color: var(--primary);
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.78rem;
}

.page-title {
    font-family: var(--font-heading);
    font-size: clamp(2.6rem, 6vw, 5rem);
    line-height: 1.06;
    color: var(--text-main);
    margin-bottom: 1.2rem;
}

.page-lead {
    max-width: 680px;
    color: var(--text-muted);
    font-size: 1.13rem;
}

.page-hero-media {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(15, 23, 42, 0.18);
}

.page-hero-media img {
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 11;
    object-fit: cover;
}

.page-section {
    padding: 5.5rem 0;
}

.page-section-soft {
    background: #f7fbff;
}

.page-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.page-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.4rem;
}

.info-panel {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 18px 46px rgba(15, 23, 42, 0.08);
}

.info-panel i {
    color: var(--primary);
    font-size: 1.75rem;
}

.info-panel h3 {
    color: var(--text-main);
    margin: 0.75rem 0 0.55rem;
}

.info-panel p,
.info-panel li {
    color: var(--text-muted);
}

.info-panel ul {
    display: grid;
    gap: 0.5rem;
}

.contact-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.contact-strip a,
.contact-strip span {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 90px;
    padding: 1rem;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    color: var(--text-main);
    font-weight: 700;
    box-shadow: 0 14px 38px rgba(15, 23, 42, 0.07);
}

.contact-strip i {
    color: var(--primary);
    font-size: 1.45rem;
}

@media (max-width: 1024px) {
    .page-hero .container,
    .page-grid-2,
    .page-grid-3,
    .contact-strip {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-main {
        padding-top: 86px;
    }

    .page-hero {
        padding: 4.5rem 0 3.5rem;
    }
}

/* ==========================================================================
   KDR 2026 Redesign Pass
   ========================================================================== */
:root {
    --kdr-bg: #f6f9fc;
    --kdr-surface: #ffffff;
    --kdr-ink: #07172f;
    --kdr-muted: #51627a;
    --kdr-line: rgba(7, 23, 47, 0.1);
    --kdr-blue: #1458f5;
    --kdr-cyan: #00a8c8;
    --kdr-green: #12a06a;
    --kdr-rose: #d84078;
    --kdr-gold: #d79020;
}

body {
    background: var(--kdr-bg);
    color: var(--kdr-ink);
}

.glow-bg {
    display: none;
}

.gradient-text {
    background: none;
    color: var(--kdr-blue);
    -webkit-text-fill-color: currentColor;
}

.header {
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(7, 23, 47, 0.08);
    box-shadow: none;
}

.header-container {
    height: 104px;
}

.logo-image {
    width: 148px;
    height: 88px;
    object-fit: contain;
}

.nav-link,
.section-tag,
.page-eyebrow,
.service-kicker,
.badge {
    letter-spacing: 0;
}

.nav-link {
    color: #26364d;
}

.nav-link.active,
.nav-link:hover {
    color: var(--kdr-blue);
}

.hiring-pill {
    background: #eef6ff;
    border: 1px solid rgba(20, 88, 245, 0.16);
    color: #173b78;
}

.btn-primary,
.btn-glow {
    background: var(--kdr-blue);
    box-shadow: 0 8px 12px rgba(20, 88, 245, 0.16);
}

.btn-primary:hover,
.btn-glow:hover {
    background: #0f46c6;
    box-shadow: 0 10px 14px rgba(20, 88, 245, 0.2);
}

.btn-secondary {
    color: var(--kdr-ink);
    border-color: rgba(7, 23, 47, 0.12);
    background: #ffffff;
    box-shadow: none;
}

.hero-section {
    min-height: auto;
    padding: clamp(7.5rem, 10vw, 9.5rem) 0 clamp(4rem, 7vw, 6rem);
    background:
        linear-gradient(120deg, rgba(20, 88, 245, 0.09), transparent 44%),
        linear-gradient(180deg, #ffffff 0%, #f6f9fc 100%);
}

.hero-container {
    grid-template-columns: minmax(0, 0.92fr) minmax(500px, 1fr);
    gap: clamp(2.5rem, 5vw, 5rem);
    align-items: center;
}

.hero-title {
    color: var(--kdr-ink);
    font-size: clamp(3rem, 6.4vw, 5.75rem);
    line-height: 1.02;
    letter-spacing: 0;
    text-wrap: balance;
}

.hero-subtitle,
.section-subtitle,
.page-lead,
.about-text {
    color: var(--kdr-muted);
    text-wrap: pretty;
}

.badge {
    background: #ffffff;
    border: 1px solid rgba(20, 88, 245, 0.16);
    color: var(--kdr-blue);
    box-shadow: 0 8px 12px rgba(7, 23, 47, 0.06);
}

.hero-ratings {
    background: #ffffff;
    border-color: rgba(7, 23, 47, 0.08);
    box-shadow: none;
}

.hero-social-rail {
    border-color: rgba(7, 23, 47, 0.1);
    color: #5c6f89;
}

.hero-social-rail a {
    color: var(--kdr-blue);
}

.hero-visual {
    height: auto;
    min-height: 660px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kdr-capability-orbit {
    position: relative;
    width: min(100%, 640px);
    min-height: 650px;
    isolation: isolate;
}

.orbit-ring {
    position: absolute;
    inset: 50%;
    border-radius: 50%;
    border: 1px solid rgba(20, 88, 245, 0.16);
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.orbit-ring-outer {
    width: min(94vw, 560px);
    height: min(94vw, 560px);
}

.orbit-ring-inner {
    width: min(70vw, 385px);
    height: min(70vw, 385px);
    border-style: dashed;
    border-color: rgba(0, 168, 200, 0.24);
}

.kdr-core {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    display: grid;
    place-items: center;
    align-content: center;
    width: 178px;
    height: 178px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    background: #ffffff;
    color: var(--kdr-ink);
    box-shadow: 0 10px 14px rgba(20, 88, 245, 0.15);
}

.kdr-core::before {
    content: "";
    position: absolute;
    inset: 12px;
    border-radius: inherit;
    border: 1px solid rgba(20, 88, 245, 0.2);
}

.kdr-core span {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1;
}

.kdr-core small {
    color: var(--kdr-blue);
    font-weight: 800;
}

.feature-bubble {
    position: absolute;
    z-index: 3;
    width: 170px;
    min-height: 76px;
    display: grid;
    grid-template-columns: 38px 1fr;
    grid-template-rows: auto auto;
    column-gap: 0.72rem;
    align-items: center;
    padding: 0.9rem 0.95rem;
    border-radius: 14px;
    background: #ffffff;
    color: var(--kdr-ink);
    box-shadow: 0 8px 12px rgba(7, 23, 47, 0.09);
    transition: transform 220ms ease, color 220ms ease, background-color 220ms ease;
}

.feature-bubble i {
    grid-row: 1 / 3;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #edf5ff;
    color: var(--kdr-blue);
    font-size: 1.25rem;
}

.feature-bubble span {
    font-weight: 800;
    line-height: 1.05;
}

.feature-bubble small {
    color: var(--kdr-muted);
    font-size: 0.76rem;
    line-height: 1.25;
}

.feature-bubble:hover {
    transform: translateY(-4px);
    background: #fdfefe;
}

.bubble-web:hover,
.bubble-seo:hover {
    transform: translateX(-50%) translateY(-4px);
}

.bubble-web,
.bubble-seo {
    left: 50%;
    transform: translateX(-50%);
}

.bubble-web {
    top: 18px;
}

.bubble-mobile {
    top: 118px;
    right: 8px;
}

.bubble-digital {
    top: 330px;
    right: 8px;
}

.bubble-social {
    right: 44px;
    bottom: 110px;
}

.bubble-seo {
    bottom: 18px;
}

.bubble-meta {
    left: 44px;
    bottom: 110px;
}

.bubble-google {
    top: 118px;
    left: 8px;
}

.bubble-crm {
    top: 330px;
    left: 8px;
}

.bubble-social i {
    background: #fff0f7;
    color: var(--kdr-rose);
}

.bubble-google i,
.bubble-meta i {
    background: #fff7e6;
    color: var(--kdr-gold);
}

.bubble-crm i,
.bubble-seo i {
    background: #eaf9f2;
    color: var(--kdr-green);
}

.services-section,
.page-section-soft,
.testimonials-section,
.contact-section,
.footer {
    background: var(--kdr-bg);
}

.section-title,
.page-title {
    color: var(--kdr-ink);
    letter-spacing: 0;
    text-wrap: balance;
}

.service-feature-card,
.info-panel,
.contact-strip a,
.contact-strip span,
.services-menu {
    border: 0;
    box-shadow: 0 8px 12px rgba(7, 23, 47, 0.07);
}

.service-feature-card,
.info-panel {
    border-radius: 14px;
}

.service-media {
    border-radius: 14px 14px 0 0;
}

.service-badge {
    background: #ffffff;
    color: var(--kdr-blue);
}

.service-kicker {
    color: var(--kdr-blue);
    text-transform: none;
    font-size: 0.86rem;
}

.service-feature-body h3,
.info-panel h3 {
    color: var(--kdr-ink);
    letter-spacing: 0;
    text-wrap: balance;
}

.service-feature-body p,
.service-feature-body li,
.info-panel p,
.info-panel li {
    color: var(--kdr-muted);
}

.services-menu {
    background: #ffffff;
    border-radius: 14px;
}

.services-menu-track {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.service-chip {
    min-height: 78px;
    border: 1px solid rgba(7, 23, 47, 0.08);
    box-shadow: none;
}

.service-chip:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 12px rgba(20, 88, 245, 0.12);
}

.page-hero {
    background:
        linear-gradient(125deg, rgba(20, 88, 245, 0.1), transparent 46%),
        #ffffff;
}

.page-hero-media,
.footer-logo-image {
    box-shadow: 0 10px 14px rgba(7, 23, 47, 0.12);
}

@media (max-width: 1100px) {
    .hero-container {
        grid-template-columns: 1fr;
    }

    .hero-content {
        max-width: 860px;
    }

    .hero-visual {
        min-height: 620px;
    }
}

@media (max-width: 768px) {
    .header-container {
        height: 92px;
    }

    .logo-image {
        width: 126px;
        height: 76px;
    }

    .nav-menu {
        top: 92px;
        height: calc(100vh - 92px);
    }

    .hero-section {
        padding-top: 6.75rem;
    }

    .hero-title {
        font-size: clamp(2.65rem, 14vw, 4.4rem);
    }

    .hero-visual {
        min-height: 0;
        margin-top: 2rem;
    }

    .kdr-capability-orbit {
        min-height: 0;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.8rem;
    }

    .orbit-ring {
        display: none;
    }

    .kdr-core,
    .feature-bubble,
    .bubble-web,
    .bubble-seo {
        position: static;
        transform: none;
    }

    .kdr-core {
        grid-column: 1 / -1;
        width: 100%;
        height: auto;
        min-height: 132px;
        border-radius: 16px;
    }

    .feature-bubble {
        width: 100%;
        min-height: 92px;
        grid-template-columns: 34px 1fr;
        padding: 0.82rem;
    }

    .feature-bubble i {
        width: 34px;
        height: 34px;
    }

    .page-main {
        padding-top: 92px;
    }
}

@media (max-width: 520px) {
    .kdr-capability-orbit {
        grid-template-columns: 1fr;
    }

    .services-menu-track {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .feature-bubble,
    .service-chip,
    .service-feature-card,
    .btn {
        transition: none;
    }
}

/* ==========================================================================
   Home Background + Services Load Animation
   ========================================================================== */
.hero-section {
    position: relative;
    min-height: 760px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(4, 10, 31, 0.96) 0%, rgba(4, 10, 31, 0.82) 34%, rgba(4, 10, 31, 0.18) 68%),
        url("assets/home-marketing-background.png") center right / cover no-repeat;
}

.hero-section::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 32%;
    background: linear-gradient(180deg, transparent, rgba(4, 10, 31, 0.72));
    pointer-events: none;
}

.hero-section .hero-container {
    position: relative;
    z-index: 1;
    display: block;
}

.hero-section .hero-content {
    max-width: 730px;
}

.hero-section .hero-title {
    color: #ffffff;
    text-shadow: 0 6px 16px rgba(0, 0, 0, 0.28);
}

.hero-section .gradient-text {
    color: #35dfff;
}

.hero-section .hero-subtitle {
    max-width: 650px;
    color: rgba(234, 245, 255, 0.9);
}

.hero-section .badge,
.hero-section .hero-ratings {
    background: rgba(255, 255, 255, 0.1);
    color: #dff8ff;
    border-color: rgba(255, 255, 255, 0.22);
    box-shadow: none;
}

.hero-section .rating-text {
    color: rgba(234, 245, 255, 0.82);
}

.hero-section .stars {
    color: #61e8ff;
}

.hero-section .btn-secondary {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.24);
}

.hero-section .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.18);
}

.hero-section .hero-social-rail,
.hero-section .hero-visual {
    display: none;
}

.service-load-board {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(205px, 1fr));
    gap: 0.85rem;
    margin-top: 1.75rem;
}

.service-load-tile {
    min-height: 92px;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1rem;
    border-radius: 14px;
    background: #ffffff;
    color: var(--kdr-ink);
    box-shadow: 0 8px 12px rgba(7, 23, 47, 0.08);
    opacity: 0;
    transform: translateY(16px) scale(0.98);
    animation: serviceTileIn 680ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.service-load-tile i {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: #eef6ff;
    color: var(--kdr-blue);
    font-size: 1.25rem;
}

.service-load-tile span {
    font-weight: 800;
    line-height: 1.14;
}

.service-load-tile:hover {
    color: var(--kdr-blue);
    transform: translateY(-3px);
}

.service-load-tile:nth-child(2) {
    animation-delay: 70ms;
}

.service-load-tile:nth-child(3) {
    animation-delay: 140ms;
}

.service-load-tile:nth-child(4) {
    animation-delay: 210ms;
}

.service-load-tile:nth-child(5) {
    animation-delay: 280ms;
}

.service-load-tile:nth-child(6) {
    animation-delay: 350ms;
}

.service-load-tile:nth-child(7) {
    animation-delay: 420ms;
}

.service-load-tile:nth-child(8) {
    animation-delay: 490ms;
}

.service-load-tile:nth-child(9) {
    animation-delay: 560ms;
}

@keyframes serviceTileIn {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.service-feature-card,
.info-panel {
    scroll-margin-top: 120px;
}

@media (max-width: 920px) {
    .hero-section {
        min-height: 720px;
        background:
            linear-gradient(90deg, rgba(4, 10, 31, 0.98), rgba(4, 10, 31, 0.74)),
            url("assets/home-marketing-background.png") 60% center / cover no-repeat;
    }

    .service-load-board {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .hero-section {
        min-height: 680px;
        padding-top: 7rem;
    }

    .service-load-board {
        grid-template-columns: 1fr;
    }

    .service-load-tile {
        min-height: 76px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .service-load-tile {
        animation: none;
        opacity: 1;
        transform: none;
    }
}

/* ==========================================================================
   Interaction & Motion Polish
   ========================================================================== */
.kdr-scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1200;
    width: 100%;
    height: 3px;
    background: transparent;
    pointer-events: none;
}

.kdr-scroll-progress span {
    display: block;
    width: 100%;
    height: 100%;
    transform: scaleX(0);
    transform-origin: left center;
    background: linear-gradient(90deg, #35dfff, #1458f5, #d84078);
    box-shadow: 0 0 16px rgba(53, 223, 255, 0.55);
    transition: transform 120ms linear;
}

.hero-section {
    background-size: 106%;
    animation: heroImageDrift 18s cubic-bezier(0.25, 1, 0.5, 1) infinite alternate;
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        linear-gradient(110deg, transparent 0%, rgba(53, 223, 255, 0.12) 42%, transparent 58%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 35%);
    transform: translateX(-28%);
    animation: heroLightSweep 5.8s cubic-bezier(0.16, 1, 0.3, 1) 0.35s both;
    pointer-events: none;
}

.hero-section .badge {
    animation: heroBadgePulse 3.8s ease-in-out infinite;
}

.hero-actions-group .btn {
    animation: ctaSettle 720ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-actions-group .btn:nth-child(2) {
    animation-delay: 120ms;
}

.header {
    transition: background-color 260ms ease, box-shadow 260ms ease, transform 260ms ease;
}

.header.scrolled {
    transform: translateY(0);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -0.42rem;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.btn,
.service-load-tile,
.service-feature-card,
.info-panel,
.service-chip,
.contact-strip a,
.contact-strip span {
    position: relative;
    overflow: hidden;
}

.btn::before,
.service-load-tile::after,
.service-feature-card::after,
.info-panel::after,
.service-chip::after,
.contact-strip a::after,
.contact-strip span::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0;
    background: radial-gradient(circle at var(--spot-x, 50%) var(--spot-y, 50%), rgba(53, 223, 255, 0.22), transparent 34%);
    transition: opacity 220ms ease;
    pointer-events: none;
}

.btn::before {
    background: radial-gradient(circle at var(--spot-x, 50%) var(--spot-y, 50%), rgba(255, 255, 255, 0.28), transparent 38%);
}

.btn:hover::before,
.service-load-tile:hover::after,
.service-feature-card:hover::after,
.info-panel:hover::after,
.service-chip:hover::after,
.contact-strip a:hover::after,
.contact-strip span:hover::after {
    opacity: 1;
}

.btn {
    transform: translateZ(0);
    transition: transform 180ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 220ms ease, background-color 220ms ease, color 220ms ease;
}

.btn:hover {
    transform: translateY(-2px) scale(1.015);
}

.btn:active {
    transform: translateY(0) scale(0.98);
}

.button-ripple {
    position: absolute;
    z-index: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.48);
    transform: translate(-50%, -50%) scale(0);
    animation: buttonRipple 540ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
    pointer-events: none;
}

.btn > * {
    position: relative;
    z-index: 1;
}

.service-load-tile {
    transition: transform 240ms cubic-bezier(0.16, 1, 0.3, 1), color 220ms ease, box-shadow 220ms ease;
}

.service-load-tile:hover,
.service-load-tile.is-active {
    color: var(--kdr-blue);
    box-shadow: 0 10px 14px rgba(20, 88, 245, 0.16);
}

.service-load-tile:hover i,
.service-load-tile.is-active i {
    transform: translateY(-2px) rotate(-3deg);
    background: #e6fbff;
    color: #0284c7;
}

.service-load-tile i,
.service-chip i,
.info-panel i {
    transition: transform 240ms cubic-bezier(0.16, 1, 0.3, 1), background-color 220ms ease, color 220ms ease;
}

.service-chip:hover i,
.info-panel:hover i {
    transform: translateY(-2px) scale(1.08);
}

.service-feature-card {
    transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 260ms ease;
}

.service-feature-card:hover {
    transform: translateY(-8px) scale(1.01);
}

.service-feature-card:hover .service-badge {
    animation: badgeTick 620ms cubic-bezier(0.16, 1, 0.3, 1);
}

.service-media img,
.page-hero-media img {
    transition: transform 900ms cubic-bezier(0.16, 1, 0.3, 1), filter 360ms ease;
}

.service-feature-card:hover .service-media img,
.page-hero-media:hover img {
    transform: scale(1.07) translateY(-1.5%);
    filter: saturate(1.12) contrast(1.04);
}

body.motion-ready .motion-reveal {
    opacity: 0;
    transform: translate3d(0, 24px, 0);
    filter: blur(8px);
}

body.motion-ready .motion-reveal.reveal-from-left {
    transform: translate3d(-58px, 0, 0);
}

body.motion-ready .motion-reveal.reveal-from-right {
    transform: translate3d(58px, 0, 0);
}

body.motion-ready .motion-reveal.motion-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: blur(0);
    transition:
        opacity 620ms cubic-bezier(0.16, 1, 0.3, 1),
        transform 620ms cubic-bezier(0.16, 1, 0.3, 1),
        filter 620ms cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: calc(var(--motion-order, 0) * 48ms);
}

.form-control {
    transition: border-color 220ms ease, box-shadow 220ms ease, background-color 220ms ease, transform 180ms ease;
}

.form-control:focus {
    transform: translateY(-1px);
    box-shadow: 0 0 0 4px rgba(20, 88, 245, 0.12);
}

#form-success:not(.hidden) {
    animation: successPop 480ms cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes heroImageDrift {
    from {
        background-position: center right;
    }
    to {
        background-position: 56% center;
    }
}

@keyframes heroLightSweep {
    from {
        opacity: 0;
        transform: translateX(-36%);
    }
    35% {
        opacity: 1;
    }
    to {
        opacity: 0;
        transform: translateX(34%);
    }
}

@keyframes heroBadgePulse {
    0%, 100% {
        box-shadow: 0 0 0 rgba(53, 223, 255, 0);
    }
    50% {
        box-shadow: 0 0 0 5px rgba(53, 223, 255, 0.12);
    }
}

@keyframes ctaSettle {
    from {
        opacity: 0;
        transform: translateY(14px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes buttonRipple {
    to {
        opacity: 0;
        transform: translate(-50%, -50%) scale(16);
    }
}

@keyframes badgeTick {
    0% {
        transform: translateY(0) scale(1);
    }
    45% {
        transform: translateY(-3px) scale(1.04);
    }
    100% {
        transform: translateY(0) scale(1);
    }
}

@keyframes successPop {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-section,
    .hero-section::before,
    .hero-section .badge,
    .hero-actions-group .btn,
    .button-ripple,
    #form-success:not(.hidden) {
        animation: none !important;
    }

    .kdr-scroll-progress span,
    .btn,
    .service-load-tile,
    .service-feature-card,
    .info-panel,
    .service-chip,
    .service-media img,
    .page-hero-media img,
    .form-control,
    body.motion-ready .motion-reveal.motion-visible {
        transition: none !important;
    }

    body.motion-ready .motion-reveal {
        opacity: 1;
        transform: none;
        filter: none;
    }
}

/* ==========================================================================
   KDR Infotech Awwwards 2026 Experience
   Static, budget-hostable, GSAP-enhanced white theme
   ========================================================================== */
:root {
    --award-white: #ffffff;
    --award-ink: #07111f;
    --award-muted: #5c6b82;
    --award-blue: #1266ff;
    --award-cyan: #00d9ff;
    --award-purple: #8b5cf6;
    --award-pink: #ff5aa5;
    --award-line: rgba(7, 17, 31, 0.1);
    --award-soft: #f5f8ff;
    --award-ease: cubic-bezier(0.16, 1, 0.3, 1);
    --font-award-display: 'Afacad', 'Manrope', sans-serif;
    --font-award-body: 'Manrope', sans-serif;
}

html {
    scroll-behavior: auto;
}

body.awards-page {
    margin: 0;
    background: #ffffff;
    color: var(--award-ink);
    font-family: var(--font-award-body);
    overflow-x: hidden;
}

.awards-page * {
    box-sizing: border-box;
}

.premium-shell {
    width: min(1160px, calc(100% - 40px));
    margin-inline: auto;
}

.site-cursor,
.site-cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2000;
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
}

.site-cursor {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(18, 102, 255, 0.36);
    background: rgba(0, 217, 255, 0.06);
    mix-blend-mode: multiply;
}

.site-cursor-dot {
    width: 7px;
    height: 7px;
    background: var(--award-blue);
}

.scroll-progress {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1500;
    height: 3px;
    pointer-events: none;
}

.scroll-progress span {
    display: block;
    width: 100%;
    height: 100%;
    transform: scaleX(0);
    transform-origin: left;
    background: linear-gradient(90deg, var(--award-blue), var(--award-cyan), var(--award-pink));
}

.premium-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1000;
    padding: 14px 0;
    background: rgba(255, 255, 255, 0.72);
    border-bottom: 1px solid rgba(7, 17, 31, 0.07);
    backdrop-filter: blur(22px);
}

.premium-nav {
    min-height: 74px;
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    gap: 22px;
    align-items: center;
}

.premium-logo img {
    width: 140px;
    height: 76px;
    object-fit: contain;
    display: block;
}

.premium-menu {
    justify-self: center;
    display: flex;
    align-items: center;
    gap: 26px;
}

.premium-menu a {
    color: rgba(7, 17, 31, 0.76);
    font-weight: 800;
    font-size: 0.92rem;
    text-decoration: none;
    position: relative;
}

.premium-menu a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -7px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--award-blue), var(--award-cyan));
    transform: scaleX(0);
    transition: transform 240ms var(--award-ease);
}

.premium-menu a:hover::after {
    transform: scaleX(1);
}

.magnetic-btn {
    --mx: 50%;
    --my: 50%;
    position: relative;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.85rem 1.35rem;
    border: 0;
    border-radius: 999px;
    color: #ffffff;
    font-weight: 900;
    text-decoration: none;
    overflow: hidden;
    transform: translate3d(0, 0, 0);
}

.magnetic-btn::before,
.magnetic-btn::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
}

.primary-liquid::before {
    background:
        radial-gradient(circle at var(--mx) var(--my), rgba(255, 255, 255, 0.42), transparent 22%),
        linear-gradient(110deg, var(--award-blue), var(--award-purple), var(--award-pink));
}

.secondary-liquid {
    color: var(--award-ink);
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(18, 102, 255, 0.2);
}

.secondary-liquid::before {
    background: radial-gradient(circle at var(--mx) var(--my), rgba(0, 217, 255, 0.24), transparent 26%);
}

.magnetic-btn::after {
    background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.46) 45%, transparent 70%);
    transform: translateX(-110%);
    transition: transform 620ms var(--award-ease);
}

.magnetic-btn:hover::after {
    transform: translateX(110%);
}

.kinetic-hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    display: grid;
    align-items: center;
    padding: 150px 0 80px;
    background:
        radial-gradient(circle at 12% 22%, rgba(0, 217, 255, 0.22), transparent 30%),
        radial-gradient(circle at 78% 12%, rgba(139, 92, 246, 0.18), transparent 28%),
        linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.hero-particles,
.hero-three,
.footer-network {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-particles {
    opacity: 0.9;
}

.hero-light-trails {
    position: absolute;
    inset: 8% -6% auto -6%;
    width: 112%;
    height: 78%;
    fill: none;
    pointer-events: none;
}

.trail {
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-dasharray: 10 18;
    filter: drop-shadow(0 0 14px rgba(0, 217, 255, 0.5));
}

.trail-a {
    stroke: rgba(18, 102, 255, 0.5);
}

.trail-b {
    stroke: rgba(255, 90, 165, 0.42);
}

.liquid-blob {
    position: absolute;
    width: 360px;
    height: 360px;
    border-radius: 42% 58% 64% 36% / 36% 47% 53% 64%;
    filter: blur(4px);
    opacity: 0.5;
    animation: blobMorph 10s ease-in-out infinite alternate;
}

.blob-one {
    top: 18%;
    left: -120px;
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.22), rgba(18, 102, 255, 0.08));
}

.blob-two {
    right: -80px;
    bottom: 4%;
    background: linear-gradient(135deg, rgba(255, 90, 165, 0.2), rgba(139, 92, 246, 0.1));
    animation-delay: -4s;
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
    gap: clamp(2.5rem, 6vw, 6rem);
    align-items: center;
}

.hero-signal,
.section-mark {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: var(--award-blue);
    font-weight: 900;
}

.hero-signal::before,
.section-mark::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--award-cyan);
    box-shadow: 0 0 16px rgba(0, 217, 255, 0.8);
}

.hero-title {
    max-width: 980px;
    margin: 0;
    color: var(--award-ink);
    font-family: var(--font-award-display);
    font-size: clamp(3.2rem, 7vw, 6rem);
    line-height: 0.95;
    letter-spacing: -0.035em;
    text-wrap: balance;
}

.hero-subtitle {
    max-width: 690px;
    margin: 1.4rem 0 0;
    color: var(--award-muted);
    font-size: clamp(1.08rem, 2vw, 1.45rem);
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 2rem;
}

.split-reveal {
    clip-path: inset(0 0 100% 0);
}

.hero-keyword-orbit {
    position: absolute;
    top: 50%;
    right: 8%;
    z-index: 3;
    width: 430px;
    height: 430px;
    border-radius: 50%;
    pointer-events: none;
    animation: keywordSpin 26s linear infinite;
}

.hero-keyword-orbit span {
    position: absolute;
    left: 50%;
    top: 50%;
    display: inline-flex;
    padding: 0.58rem 0.85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(18, 102, 255, 0.12);
    color: #15315f;
    font-weight: 900;
    box-shadow: 0 8px 14px rgba(18, 102, 255, 0.09);
    transform: rotate(calc(var(--i) * 60deg)) translateX(206px) rotate(calc(var(--i) * -60deg));
}

.hero-keyword-orbit span:nth-child(1) { --i: 0; }
.hero-keyword-orbit span:nth-child(2) { --i: 1; }
.hero-keyword-orbit span:nth-child(3) { --i: 2; }
.hero-keyword-orbit span:nth-child(4) { --i: 3; }
.hero-keyword-orbit span:nth-child(5) { --i: 4; }
.hero-keyword-orbit span:nth-child(6) { --i: 5; }

.hero-art {
    position: relative;
    min-height: 560px;
    perspective: 1200px;
}

.hero-three {
    border-radius: 34px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.64), rgba(245, 250, 255, 0.22)),
        radial-gradient(circle at 50% 35%, rgba(0, 217, 255, 0.16), transparent 42%);
    border: 1px solid rgba(18, 102, 255, 0.12);
    box-shadow: 0 14px 30px rgba(18, 102, 255, 0.16);
}

.hero-glass-stack {
    position: absolute;
    inset: 0;
}

.floating-panel {
    position: absolute;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(18, 102, 255, 0.14);
    backdrop-filter: blur(18px);
    box-shadow: 0 12px 22px rgba(18, 102, 255, 0.12);
}

.panel-main {
    left: 7%;
    right: 7%;
    bottom: 9%;
    padding: 1.4rem;
}

.panel-label {
    color: var(--award-blue);
    font-weight: 900;
}

.panel-main strong {
    display: block;
    margin: 0.35rem 0 1rem;
    font-family: var(--font-award-display);
    font-size: 2rem;
}

.panel-bars {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    align-items: end;
    height: 84px;
}

.panel-bars span {
    border-radius: 999px 999px 8px 8px;
    background: linear-gradient(180deg, var(--award-cyan), var(--award-blue));
    animation: barPulse 2.2s ease-in-out infinite alternate;
}

.panel-bars span:nth-child(1) { height: 38%; }
.panel-bars span:nth-child(2) { height: 72%; animation-delay: -0.4s; }
.panel-bars span:nth-child(3) { height: 54%; animation-delay: -0.8s; }
.panel-bars span:nth-child(4) { height: 92%; animation-delay: -1.1s; }

.panel-mini {
    display: flex;
    align-items: center;
    gap: 0.62rem;
    padding: 0.78rem 0.95rem;
    font-weight: 900;
    animation: floatY 4s ease-in-out infinite alternate;
}

.panel-mini-a {
    top: 16%;
    left: -2%;
}

.panel-mini-b {
    top: 34%;
    right: -4%;
    animation-delay: -1.4s;
}

.story-section,
.services-cosmos,
.showcase-section,
.marketing-lab,
.portfolio-section,
.testimonials-cinema,
.contact-universe,
.stats-section {
    position: relative;
    overflow: hidden;
    padding: clamp(5rem, 10vw, 9rem) 0;
    background: #ffffff;
}

.text-takeover {
    background:
        radial-gradient(circle at 78% 18%, rgba(255, 90, 165, 0.12), transparent 28%),
        linear-gradient(180deg, #ffffff, #f8fbff);
}

.mega-line {
    max-width: 1160px;
    margin: 0 0 2.8rem;
    font-family: var(--font-award-display);
    font-size: clamp(3rem, 9vw, 8.6rem);
    line-height: 0.9;
    letter-spacing: -0.04em;
    color: var(--award-ink);
}

.about-split,
.showcase-grid,
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.75fr);
    gap: clamp(2rem, 6vw, 5rem);
    align-items: center;
}

.about-split h2,
.showcase-copy h2,
.section-head h2,
.contact-grid h2 {
    margin: 0;
    color: var(--award-ink);
    font-family: var(--font-award-display);
    font-size: clamp(2.1rem, 5vw, 4.8rem);
    line-height: 1;
    letter-spacing: -0.035em;
    text-wrap: balance;
}

.about-split p,
.showcase-copy p,
.contact-grid p {
    color: var(--award-muted);
    font-size: 1.08rem;
    line-height: 1.8;
}

.section-head {
    max-width: 820px;
    margin-bottom: 2.4rem;
}

.service-card-cloud {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.cosmic-card,
.portfolio-grid article,
.story-card,
.stat-orb,
.premium-form,
.testimonial-rail figure {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background:
        linear-gradient(#ffffff, #ffffff) padding-box,
        linear-gradient(135deg, rgba(18, 102, 255, 0.34), rgba(0, 217, 255, 0.12), rgba(255, 90, 165, 0.3)) border-box;
    border: 1px solid transparent;
    box-shadow: 0 10px 18px rgba(18, 102, 255, 0.09);
}

.cosmic-card {
    min-height: 270px;
    padding: 1.35rem;
    transform-style: preserve-3d;
}

.cosmic-card::after,
.story-card::after,
.stat-orb::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0;
    background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(0, 217, 255, 0.18), transparent 36%);
    transition: opacity 220ms ease;
}

.cosmic-card:hover::after,
.story-card:hover::after,
.stat-orb:hover::after {
    opacity: 1;
}

.cosmic-card i {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    margin-bottom: 1rem;
    border-radius: 18px;
    background: #eef7ff;
    color: var(--award-blue);
    font-size: 1.55rem;
}

.cosmic-card h3,
.story-card h3,
.portfolio-grid h3 {
    margin: 0 0 0.75rem;
    color: var(--award-ink);
    font-family: var(--font-award-display);
    line-height: 1.08;
}

.cosmic-card p,
.story-card p {
    color: var(--award-muted);
    line-height: 1.65;
}

.marquee-section {
    overflow: hidden;
    padding: 2rem 0;
    background: #f7fbff;
    border-block: 1px solid rgba(7, 17, 31, 0.06);
}

.marquee-row {
    display: flex;
    width: max-content;
    gap: 1rem;
    padding: 0.45rem 0;
    animation: marquee 26s linear infinite;
}

.marquee-row.reverse {
    animation-direction: reverse;
}

.marquee-row span {
    display: inline-flex;
    padding: 0.8rem 1rem;
    border-radius: 999px;
    background: #ffffff;
    color: var(--award-ink);
    font-weight: 900;
    box-shadow: 0 8px 14px rgba(18, 102, 255, 0.08);
}

.showcase-section {
    background:
        radial-gradient(circle at 20% 20%, rgba(0, 217, 255, 0.13), transparent 32%),
        #ffffff;
}

.feature-list {
    display: grid;
    gap: 0.75rem;
    padding: 0;
    margin: 1.5rem 0 0;
    list-style: none;
}

.feature-list li {
    display: flex;
    gap: 0.65rem;
    color: var(--award-muted);
}

.feature-list li::before {
    content: "";
    flex: 0 0 auto;
    width: 9px;
    height: 9px;
    margin-top: 0.56rem;
    border-radius: 50%;
    background: var(--award-cyan);
}

.crm-device {
    position: relative;
    min-height: 520px;
    border-radius: 34px;
    padding: 1.2rem;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(239, 248, 255, 0.6)),
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.18), transparent 34%);
    border: 1px solid rgba(18, 102, 255, 0.14);
    box-shadow: 0 18px 34px rgba(18, 102, 255, 0.15);
}

.marketing-lab {
    background: linear-gradient(180deg, #ffffff, #f8fbff);
}

.marketing-orbit {
    position: relative;
    min-height: 520px;
    display: grid;
    place-items: center;
    border-radius: 34px;
    background:
        radial-gradient(circle, rgba(0, 217, 255, 0.12), transparent 42%),
        #ffffff;
}

.orbit-core {
    display: grid;
    place-items: center;
    width: 172px;
    height: 172px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--award-blue), var(--award-purple));
    color: #ffffff;
    font-size: 1.55rem;
    font-weight: 900;
    box-shadow: 0 20px 32px rgba(18, 102, 255, 0.25);
}

.marketing-orbit span {
    position: absolute;
    left: 50%;
    top: 50%;
    padding: 0.78rem 1rem;
    border-radius: 999px;
    background: #ffffff;
    color: var(--award-ink);
    font-weight: 900;
    box-shadow: 0 10px 18px rgba(18, 102, 255, 0.12);
    transform: rotate(calc(var(--o) * 60deg)) translateX(min(34vw, 310px)) rotate(calc(var(--o) * -60deg));
}

.marketing-orbit span:nth-child(2) { --o: 0; }
.marketing-orbit span:nth-child(3) { --o: 1; }
.marketing-orbit span:nth-child(4) { --o: 2; }
.marketing-orbit span:nth-child(5) { --o: 3; }
.marketing-orbit span:nth-child(6) { --o: 4; }
.marketing-orbit span:nth-child(7) { --o: 5; }

.horizontal-story {
    overflow: hidden;
    padding: 6rem 0;
    background: #07111f;
}

.horizontal-track {
    display: flex;
    gap: 1rem;
    width: max-content;
    padding-left: max(20px, calc((100vw - 1160px) / 2));
}

.story-card {
    width: min(78vw, 430px);
    min-height: 330px;
    padding: 1.4rem;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(241, 248, 255, 0.92)) padding-box,
        linear-gradient(135deg, rgba(0, 217, 255, 0.42), rgba(255, 90, 165, 0.28)) border-box;
}

.story-card span {
    color: var(--award-blue);
    font-weight: 900;
}

.stats-section {
    background:
        radial-gradient(circle at 45% 0%, rgba(18, 102, 255, 0.16), transparent 34%),
        #ffffff;
}

.stats-grid-premium {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.stat-orb {
    min-height: 220px;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 1.2rem;
}

.stat-orb strong {
    display: block;
    color: var(--award-ink);
    font-family: var(--font-award-display);
    font-size: clamp(3rem, 7vw, 5.5rem);
    line-height: 1;
}

.stat-orb span {
    color: var(--award-muted);
    font-weight: 900;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.portfolio-grid article {
    padding: 0.85rem;
}

.portfolio-grid img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 18px;
    display: block;
}

.portfolio-grid h3 {
    padding: 1rem 0.4rem 0.4rem;
}

.testimonials-cinema {
    background: linear-gradient(180deg, #ffffff, #f6f9ff);
}

.testimonial-rail {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.testimonial-rail figure {
    margin: 0;
    padding: 1.5rem;
}

.testimonial-rail blockquote {
    margin: 0 0 1.3rem;
    color: var(--award-ink);
    font-size: 1.1rem;
    line-height: 1.65;
}

.testimonial-rail figcaption {
    color: var(--award-blue);
    font-weight: 900;
}

.contact-universe {
    min-height: 760px;
    display: grid;
    align-items: center;
    background:
        radial-gradient(circle at 10% 25%, rgba(0, 217, 255, 0.16), transparent 28%),
        radial-gradient(circle at 90% 25%, rgba(255, 90, 165, 0.14), transparent 28%),
        #ffffff;
}

#footer-network {
    position: absolute;
    inset: 0;
    opacity: 0.55;
}

.premium-form {
    display: grid;
    gap: 0.78rem;
    padding: 1rem;
    backdrop-filter: blur(18px);
}

.premium-form input,
.premium-form select,
.premium-form textarea {
    width: 100%;
    border: 1px solid rgba(18, 102, 255, 0.16);
    border-radius: 16px;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.8);
    color: var(--award-ink);
    font: inherit;
    outline: none;
}

.premium-form input:focus,
.premium-form select:focus,
.premium-form textarea:focus {
    border-color: var(--award-blue);
    box-shadow: 0 0 0 4px rgba(18, 102, 255, 0.1);
}

.future-footer {
    position: relative;
    overflow: hidden;
    padding: 2rem 0;
    background:
        linear-gradient(120deg, rgba(18, 102, 255, 0.12), transparent 40%),
        #ffffff;
}

.future-footer::before {
    content: "";
    position: absolute;
    inset: -40% -20%;
    background: conic-gradient(from 180deg, rgba(18, 102, 255, 0.1), rgba(0, 217, 255, 0.16), rgba(255, 90, 165, 0.1), rgba(18, 102, 255, 0.1));
    animation: footerMorph 16s linear infinite;
}

.footer-float,
.future-footer .footer-bottom {
    position: relative;
    z-index: 1;
}

.footer-float {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
    margin-bottom: 1.2rem;
}

.footer-float a,
.footer-float span {
    display: inline-flex;
    padding: 0.8rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.74);
    color: var(--award-ink);
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 8px 14px rgba(18, 102, 255, 0.1);
}

.future-footer .footer-bottom {
    text-align: center;
    color: var(--award-muted);
}

@keyframes blobMorph {
    0% { border-radius: 42% 58% 64% 36% / 36% 47% 53% 64%; transform: translate3d(0, 0, 0) rotate(0deg); }
    100% { border-radius: 64% 36% 42% 58% / 55% 32% 68% 45%; transform: translate3d(24px, -18px, 0) rotate(16deg); }
}

@keyframes keywordSpin {
    to { transform: rotate(360deg); }
}

@keyframes barPulse {
    to { transform: scaleY(0.72); filter: hue-rotate(24deg); }
}

@keyframes floatY {
    to { transform: translate3d(0, -18px, 0); }
}

@keyframes cardBreath {
    to { transform: translateY(-6px); background: rgba(239, 250, 255, 0.95); }
}

@keyframes marquee {
    to { transform: translateX(-50%); }
}

@keyframes footerMorph {
    to { transform: rotate(360deg); }
}

@media (max-width: 1080px) {
    .premium-menu {
        gap: 16px;
    }

    .hero-grid,
    .about-split,
    .showcase-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero-keyword-orbit {
        display: none;
    }

    .hero-art {
        min-height: 460px;
    }

    .service-card-cloud,
    .stats-grid-premium {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .site-cursor,
    .site-cursor-dot {
        display: none;
    }

    .premium-nav {
        grid-template-columns: auto 1fr auto;
    }

    .premium-logo img {
        width: 116px;
        height: 66px;
    }

    .premium-menu {
        position: fixed;
        inset: 104px 18px auto;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 1rem;
        border-radius: 20px;
        background: rgba(255, 255, 255, 0.94);
        box-shadow: 0 16px 28px rgba(18, 102, 255, 0.14);
    }

    .premium-menu.active {
        display: flex;
    }

    .nav-cta {
        display: none;
    }

    .kinetic-hero {
        padding-top: 130px;
    }

    .hero-title {
        font-size: clamp(2.65rem, 14vw, 4.7rem);
    }

    .hero-art {
        min-height: 390px;
    }

    .service-card-cloud,
    .stats-grid-premium,
    .portfolio-grid,
    .testimonial-rail {
        grid-template-columns: 1fr;
    }

    .marketing-orbit {
        min-height: auto;
        display: flex;
        flex-wrap: wrap;
        gap: 0.8rem;
        justify-content: center;
        padding: 1rem;
    }

    .orbit-core,
    .marketing-orbit span {
        position: static;
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .awards-page *,
    .awards-page *::before,
    .awards-page *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }

    .hero-particles,
    .hero-three,
    #footer-network {
        display: none;
    }

    .split-reveal {
        clip-path: none !important;
    }
}

/* ==========================================================================
   Typography Softening + Provided Image Motion Pass
   ========================================================================== */
.awards-page {
    --font-award-display: 'Afacad', 'Manrope', sans-serif;
}

.hero-title {
    max-width: 900px;
    font-size: clamp(2.75rem, 5.8vw, 5rem);
    line-height: 1.06;
    letter-spacing: -0.018em;
    font-weight: 700;
}

.mega-line {
    font-size: clamp(2.45rem, 7vw, 6.4rem);
    line-height: 1.02;
    letter-spacing: -0.02em;
    font-weight: 650;
}

.about-split h2,
.showcase-copy h2,
.section-head h2,
.contact-grid h2 {
    font-size: clamp(2rem, 4.4vw, 4rem);
    line-height: 1.08;
    letter-spacing: -0.018em;
    font-weight: 650;
}

.panel-main strong,
.cosmic-card h3,
.story-card h3,
.portfolio-grid h3 {
    font-weight: 700;
}

.hero-art {
    min-height: 620px;
}

.hero-image-deck {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.image-float-card {
    position: absolute;
    margin: 0;
    overflow: hidden;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid rgba(18, 102, 255, 0.14);
    box-shadow: 0 14px 28px rgba(18, 102, 255, 0.16);
    transform-style: preserve-3d;
    animation: imageFloat 6.8s var(--award-ease) infinite alternate;
}

.image-float-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.32) 42%, transparent 68%);
    transform: translateX(-120%);
    animation: imageGlint 4.8s var(--award-ease) infinite;
}

.image-float-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.08) contrast(1.02);
}

.image-card-web {
    width: 48%;
    height: 28%;
    top: 4%;
    left: 4%;
    transform: rotate(-5deg);
}

.image-card-crm {
    width: 46%;
    height: 31%;
    top: 18%;
    right: -2%;
    transform: rotate(5deg);
    animation-delay: -1.4s;
}

.image-card-app {
    width: 40%;
    height: 26%;
    left: -1%;
    bottom: 18%;
    transform: rotate(4deg);
    animation-delay: -2.2s;
}

.image-card-marketing {
    width: 52%;
    height: 30%;
    right: 3%;
    bottom: 4%;
    transform: rotate(-4deg);
    animation-delay: -3s;
}

.hero-three {
    opacity: 0.44;
}

.hero-glass-stack {
    z-index: 4;
}

.panel-main {
    left: 12%;
    right: 12%;
    bottom: 31%;
    background: rgba(255, 255, 255, 0.78);
}

.panel-mini-a {
    top: 52%;
    left: 2%;
}

.panel-mini-b {
    top: 55%;
    right: 0;
}

.crm-device {
    overflow: hidden;
    background: #ffffff;
}

.crm-device-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.18;
    filter: saturate(1.15) contrast(1.05);
    transform: scale(1.04);
}

.crm-device::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, rgba(255,255,255,0.86), rgba(238, 249, 255, 0.72));
}

@keyframes imageFloat {
    from {
        translate: 0 0;
    }
    to {
        translate: 0 -18px;
    }
}

@keyframes imageGlint {
    0%, 38% {
        transform: translateX(-120%);
    }
    72%, 100% {
        transform: translateX(120%);
    }
}

@media (max-width: 1080px) {
    .hero-art {
        min-height: 560px;
    }

    .panel-main {
        bottom: 28%;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: clamp(2.35rem, 11vw, 3.85rem);
    }

    .mega-line {
        font-size: clamp(2.25rem, 11vw, 4rem);
    }

    .hero-art {
        min-height: 520px;
    }

    .image-card-web,
    .image-card-crm,
    .image-card-app,
    .image-card-marketing {
        width: 68%;
        height: 24%;
    }

    .image-card-web {
        left: 0;
        top: 2%;
    }

    .image-card-crm {
        right: 0;
        top: 24%;
    }

    .image-card-app {
        left: 0;
        bottom: 24%;
    }

    .image-card-marketing {
        right: 0;
        bottom: 2%;
    }

    .panel-main,
    .panel-mini-a,
    .panel-mini-b {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .image-float-card,
    .image-float-card::after {
        animation: none !important;
    }
}

/* ==========================================================================
   Final Interaction Polish: image CRM, compact story rhythm, rotating growth OS
   ========================================================================== */
.awards-page h1,
.awards-page h2,
.awards-page h3,
.awards-page p,
.awards-page a,
.awards-page span,
.awards-page li,
.awards-page blockquote,
.awards-page figcaption,
.awards-page button,
.awards-page input,
.awards-page select,
.awards-page textarea {
    letter-spacing: 0;
}

.text-animate {
    opacity: 0;
    translate: 0 18px;
    filter: blur(7px);
}

.text-animate.text-visible {
    opacity: 1;
    translate: 0 0;
    filter: blur(0);
    transition:
        opacity 0.72s var(--award-ease),
        translate 0.72s var(--award-ease),
        filter 0.72s var(--award-ease);
}

.premium-menu {
    gap: clamp(0.8rem, 1.7vw, 1.5rem);
}

.premium-menu a {
    white-space: nowrap;
}

.crm-device {
    min-height: clamp(360px, 40vw, 540px);
    padding: 0;
    border-radius: 34px;
    isolation: isolate;
    background: #f8fcff;
    box-shadow: 0 28px 72px rgba(18, 102, 255, 0.18);
}

.crm-device-image {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    filter: saturate(1.16) contrast(1.06);
    transform: scale(1.02);
    animation: crmImageDrift 9s var(--award-ease) infinite alternate;
}

.crm-device::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.72)),
        radial-gradient(circle at 18% 12%, rgba(0, 217, 255, 0.24), transparent 32%);
    pointer-events: none;
}

.crm-device::after {
    z-index: 3;
    inset: auto 8% 8%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 217, 255, 0.9), rgba(255, 90, 165, 0.78), transparent);
    animation: crmScanLine 2.8s ease-in-out infinite alternate;
}

.crm-image-caption {
    position: absolute;
    left: 8%;
    bottom: 10%;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    gap: 0.72rem;
    max-width: min(88%, 420px);
    padding: 0.85rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.74);
    border-radius: 999px;
    background: rgba(7, 17, 31, 0.78);
    color: #ffffff;
    box-shadow: 0 18px 36px rgba(7, 17, 31, 0.18);
    backdrop-filter: blur(18px);
}

.crm-image-caption span {
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.84rem;
    font-weight: 700;
    text-transform: uppercase;
}

.crm-image-caption strong {
    font-size: clamp(1rem, 2vw, 1.35rem);
    white-space: nowrap;
}

.marketing-lab {
    padding: clamp(3.7rem, 7vw, 6.4rem) 0;
    overflow: hidden;
}

.marketing-orbit {
    --orbit-radius: min(38vw, 370px);
    position: relative;
    min-height: clamp(430px, 48vw, 620px);
    display: grid;
    place-items: center;
    overflow: visible;
}

.marketing-orbit::before,
.marketing-orbit::after {
    content: "";
    position: absolute;
    inset: 50%;
    width: calc(var(--orbit-radius) * 2);
    height: calc(var(--orbit-radius) * 2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.marketing-orbit::before {
    border: 1px solid rgba(18, 102, 255, 0.12);
    background: radial-gradient(circle, rgba(0, 217, 255, 0.12), transparent 62%);
}

.marketing-orbit::after {
    width: calc(var(--orbit-radius) * 1.34);
    height: calc(var(--orbit-radius) * 1.34);
    border: 1px dashed rgba(120, 72, 255, 0.16);
    animation: orbitReverseSpin 34s linear infinite;
}

.orbit-ring-services {
    position: absolute;
    inset: 0;
    z-index: 2;
    animation: growthOrbitSpin 34s linear infinite;
}

.marketing-orbit span {
    position: absolute;
    left: 50%;
    top: 50%;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: inherit;
    font-weight: inherit;
    box-shadow: none;
    transform:
        rotate(calc(var(--o) * 30deg))
        translateX(var(--orbit-radius))
        rotate(calc(var(--o) * -30deg));
    transform-origin: center;
}

.marketing-orbit span b {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 128px;
    min-height: 48px;
    padding: 0.72rem 1rem;
    border: 1px solid rgba(18, 102, 255, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    color: var(--award-ink);
    box-shadow: 0 16px 26px rgba(18, 102, 255, 0.1);
    backdrop-filter: blur(14px);
    font-size: clamp(0.86rem, 1.5vw, 1rem);
    font-weight: 700;
    text-align: center;
    animation: growthOrbitCounter 34s linear infinite;
}

.orbit-core {
    z-index: 3;
    width: clamp(150px, 18vw, 220px);
    height: clamp(150px, 18vw, 220px);
    display: grid;
    place-items: center;
    border-radius: 50%;
    background:
        radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.54), transparent 28%),
        linear-gradient(135deg, #1266ff, #7b4dff 64%, #ff5aa5);
    color: #ffffff;
    box-shadow:
        0 28px 70px rgba(18, 102, 255, 0.24),
        inset 0 0 30px rgba(255, 255, 255, 0.16);
    font-size: clamp(1.7rem, 3vw, 2.55rem);
    font-weight: 700;
    animation: corePulse 3.4s var(--award-ease) infinite alternate;
}

.horizontal-story {
    padding: clamp(3rem, 6vw, 5.2rem) 0;
    background:
        linear-gradient(180deg, #f7fbff 0%, #ffffff 58%, #eef8ff 100%);
    border-block: 1px solid rgba(18, 102, 255, 0.08);
}

.horizontal-track {
    align-items: stretch;
    padding-inline: clamp(1rem, 4vw, 4rem);
}

.story-card {
    min-height: clamp(240px, 27vw, 330px);
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 18px 42px rgba(18, 102, 255, 0.09);
}

.story-card p {
    max-width: 42ch;
}

.story-section,
.services-cosmos,
.showcase-section,
.portfolio-section,
.testimonials-cinema {
    padding-top: clamp(4rem, 8vw, 7.4rem);
    padding-bottom: clamp(4rem, 8vw, 7.4rem);
}

.contact-universe {
    min-height: 660px;
}

@keyframes crmImageDrift {
    to {
        transform: scale(1.08) translate3d(-10px, -8px, 0);
    }
}

@keyframes crmScanLine {
    to {
        transform: translateY(-18px) scaleX(0.78);
        opacity: 0.72;
    }
}

@keyframes growthOrbitSpin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes growthOrbitCounter {
    to {
        transform: rotate(-360deg);
    }
}

@keyframes orbitReverseSpin {
    to {
        transform: translate(-50%, -50%) rotate(-360deg);
    }
}

@keyframes corePulse {
    to {
        transform: scale(1.045);
        box-shadow:
            0 34px 88px rgba(18, 102, 255, 0.3),
            inset 0 0 42px rgba(255, 255, 255, 0.2);
    }
}

@media (max-width: 1080px) {
    .premium-menu {
        gap: 0.9rem;
    }

    .nav-cta {
        padding-inline: 0.95rem;
    }

    .marketing-orbit {
        --orbit-radius: min(40vw, 310px);
    }
}

@media (max-width: 768px) {
    .crm-device {
        min-height: 360px;
        border-radius: 26px;
    }

    .crm-image-caption {
        left: 5%;
        right: 5%;
        bottom: 6%;
        justify-content: space-between;
        border-radius: 22px;
    }

    .marketing-orbit {
        min-height: auto;
        display: grid;
        gap: 1rem;
        padding: 1rem 0;
    }

    .marketing-orbit::before,
    .marketing-orbit::after {
        display: none;
    }

    .orbit-ring-services {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.72rem;
        order: 2;
        animation: none;
    }

    .marketing-orbit span {
        position: static;
        transform: none;
    }

    .marketing-orbit span b {
        width: 100%;
        min-width: 0;
        animation: none;
    }

    .orbit-core {
        order: 1;
        margin: 0 auto 0.8rem;
    }

    .horizontal-track {
        width: max-content;
        padding-inline: 1rem;
    }

    .story-card {
        width: min(82vw, 340px);
        min-height: 270px;
    }
}

/* ==========================================================================
   Directional Motion + Image-led Service Polish
   ========================================================================== */
.text-animate.slide-from-left {
    translate: -44px 0;
}

.text-animate.slide-from-right {
    translate: 44px 0;
}

.text-animate.text-visible {
    translate: 0 0;
}

.cosmic-card,
.portfolio-grid article,
.testimonial-rail figure,
.story-card,
.stat-orb,
.premium-form,
.crm-device {
    will-change: transform, opacity, filter;
}

.cosmic-card {
    min-height: 390px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    transition:
        translate 320ms var(--award-ease),
        box-shadow 320ms var(--award-ease),
        border-color 320ms var(--award-ease);
}

.service-card-media {
    position: relative;
    height: 142px;
    margin-bottom: 1.05rem;
    overflow: hidden;
    border-radius: 16px;
    background: #eef7ff;
}

.service-card-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, transparent 42%, rgba(7, 17, 31, 0.44)),
        linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.26) 46%, transparent 72%);
    transform: translateX(-120%);
    transition: transform 620ms var(--award-ease);
}

.service-card-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    filter: saturate(1.1) contrast(1.04);
    transition:
        transform 720ms var(--award-ease),
        filter 320ms var(--award-ease);
}

.cosmic-card i {
    margin-bottom: 0.85rem;
    transition:
        transform 300ms var(--award-ease),
        background 300ms var(--award-ease),
        color 300ms var(--award-ease);
}

.cosmic-card:hover {
    translate: 0 -8px;
    border-color: rgba(18, 102, 255, 0.26);
    box-shadow: 0 18px 34px rgba(18, 102, 255, 0.13);
}

.cosmic-card:hover .service-card-media::after {
    transform: translateX(120%);
}

.cosmic-card:hover .service-card-media img {
    transform: scale(1.12) translate3d(0, -5px, 0);
    filter: saturate(1.22) contrast(1.08);
}

.cosmic-card:hover i {
    transform: translate3d(6px, -4px, 0) rotate(-5deg);
    background: #1266ff;
    color: #ffffff;
}

.portfolio-grid article,
.testimonial-rail figure {
    border-radius: 20px;
    transition:
        translate 320ms var(--award-ease),
        box-shadow 320ms var(--award-ease),
        border-color 320ms var(--award-ease);
}

.portfolio-grid article:hover,
.testimonial-rail figure:hover {
    translate: 0 -8px;
    border-color: rgba(18, 102, 255, 0.26);
    box-shadow: 0 18px 34px rgba(18, 102, 255, 0.13);
}

.portfolio-grid img {
    transition:
        transform 720ms var(--award-ease),
        filter 320ms var(--award-ease);
}

.portfolio-grid article:hover img {
    transform: scale(1.08);
    filter: saturate(1.18) contrast(1.06);
}

.marketing-orbit {
    --orbit-radius: min(30vw, 260px);
    min-height: clamp(330px, 38vw, 460px);
    max-width: 1080px;
    margin-inline: auto;
}

.orbit-ring-services {
    animation-duration: 48s;
    will-change: transform;
}

.marketing-orbit::after {
    animation-duration: 48s;
}

.orbit-core {
    width: clamp(112px, 12vw, 152px);
    height: clamp(112px, 12vw, 152px);
    font-size: clamp(1.32rem, 2.2vw, 1.95rem);
    font-weight: 650;
}

.marketing-orbit span b {
    min-width: 104px;
    min-height: 38px;
    max-width: 158px;
    padding: 0.56rem 0.78rem;
    font-size: clamp(0.76rem, 1.1vw, 0.92rem);
    line-height: 1.05;
    white-space: normal;
    animation-duration: 48s;
}

@media (max-width: 1080px) {
    .service-card-cloud {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .marketing-orbit {
        --orbit-radius: min(34vw, 235px);
    }
}

@media (max-width: 768px) {
    .text-animate.slide-from-left,
    .text-animate.slide-from-right {
        translate: 0 18px;
    }

    .cosmic-card {
        min-height: auto;
    }

    .service-card-media {
        height: 168px;
    }

    .orbit-core {
        width: 128px;
        height: 128px;
    }
}

body.awards-page {
    font-family: 'Manrope', sans-serif;
}

.hero-title,
.mega-line,
.section-head h2,
.about-split h2,
.showcase-copy h2,
.contact-grid h2,
.cosmic-card h3,
.portfolio-grid h3,
.story-card h3 {
    font-family: 'Afacad', 'Manrope', sans-serif;
}

.awards-page p,
.awards-page li,
.awards-page blockquote,
.awards-page figcaption,
.awards-page input,
.awards-page select,
.awards-page textarea,
.awards-page button {
    font-family: 'Manrope', sans-serif;
}

/* ==========================================================================
   Shared Page Motion for About / Services / Contact
   ========================================================================== */
body:not(.awards-page) .page-hero .container > *,
body:not(.awards-page) .service-load-tile,
body:not(.awards-page) .service-feature-card,
body:not(.awards-page) .info-panel,
body:not(.awards-page) .contact-strip a,
body:not(.awards-page) .contact-strip span,
body:not(.awards-page) .contact-info,
body:not(.awards-page) .contact-form-wrapper,
body:not(.awards-page) .footer-grid > * {
    will-change: transform, opacity, filter;
}

body:not(.awards-page) .service-load-tile,
body:not(.awards-page) .service-feature-card,
body:not(.awards-page) .info-panel,
body:not(.awards-page) .contact-strip a,
body:not(.awards-page) .contact-strip span,
body:not(.awards-page) .glass-card,
body:not(.awards-page) .page-hero-media {
    transition:
        transform 280ms cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 280ms ease,
        border-color 280ms ease,
        filter 280ms ease;
}

body:not(.awards-page) .service-load-tile:hover,
body:not(.awards-page) .info-panel:hover,
body:not(.awards-page) .contact-strip a:hover,
body:not(.awards-page) .contact-strip span:hover,
body:not(.awards-page) .glass-card:hover {
    transform: translateY(-6px);
    border-color: rgba(31, 94, 255, 0.24);
    box-shadow: 0 18px 42px rgba(31, 94, 255, 0.13);
}

body:not(.awards-page) .service-feature-card:hover {
    transform: translateY(-10px) scale(1.012);
    border-color: rgba(31, 94, 255, 0.28);
    box-shadow: 0 30px 70px rgba(31, 94, 255, 0.16);
}

body:not(.awards-page) .service-load-tile i,
body:not(.awards-page) .info-panel i,
body:not(.awards-page) .contact-strip i {
    transition:
        transform 260ms cubic-bezier(0.16, 1, 0.3, 1),
        color 260ms ease,
        background-color 260ms ease;
}

body:not(.awards-page) .service-load-tile:hover i,
body:not(.awards-page) .info-panel:hover i,
body:not(.awards-page) .contact-strip a:hover i,
body:not(.awards-page) .contact-strip span:hover i {
    transform: translate3d(4px, -3px, 0) rotate(-4deg);
}

body:not(.awards-page) .page-hero-media {
    overflow: hidden;
}

body:not(.awards-page) .page-hero-media:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 24px 58px rgba(31, 94, 255, 0.16);
}

body:not(.awards-page) .service-media img,
body:not(.awards-page) .page-hero-media img {
    transform-origin: center;
}

body:not(.awards-page) .service-feature-card:hover .service-media img,
body:not(.awards-page) .page-hero-media:hover img {
    transform: scale(1.09) translateY(-2%);
    filter: saturate(1.16) contrast(1.05);
}

body:not(.awards-page) .form-group {
    transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

body:not(.awards-page) .form-group:focus-within {
    transform: translateX(4px);
}

body:not(.awards-page) .btn-submit:hover {
    transform: translateY(-3px) scale(1.015);
}

@media (max-width: 768px) {
    body.motion-ready .motion-reveal.reveal-from-left,
    body.motion-ready .motion-reveal.reveal-from-right {
        transform: translate3d(0, 22px, 0);
    }
}

/* Hero service orbit sits inside the image area, not at page start */
.hero-art .hero-keyword-orbit {
    top: auto;
    right: 6%;
    bottom: 2%;
    z-index: 5;
    width: clamp(230px, 22vw, 310px);
    height: clamp(230px, 22vw, 310px);
    opacity: 0.96;
    animation-duration: 34s;
}

.hero-art .hero-keyword-orbit span {
    padding: 0.48rem 0.72rem;
    background: rgba(255, 255, 255, 0.86);
    font-size: clamp(0.72rem, 1vw, 0.86rem);
    font-weight: 800;
    box-shadow: 0 10px 22px rgba(18, 102, 255, 0.12);
    backdrop-filter: blur(14px);
    transform:
        rotate(calc(var(--i) * 60deg))
        translateX(clamp(108px, 10.5vw, 148px))
        rotate(calc(var(--i) * -60deg));
}

@media (max-width: 1080px) {
    .hero-art .hero-keyword-orbit {
        display: block;
        right: 4%;
        bottom: 0;
    }
}

@media (max-width: 768px) {
    .hero-art .hero-keyword-orbit {
        display: block;
        left: calc(50% - 105px);
        right: auto;
        bottom: -12px;
        width: 210px;
        height: 210px;
    }

    .hero-art .hero-keyword-orbit span {
        font-size: 0.68rem;
        padding: 0.42rem 0.58rem;
        transform:
            rotate(calc(var(--i) * 60deg))
            translateX(98px)
            rotate(calc(var(--i) * -60deg));
    }
}

/* Move the service keyword orbit into the About whitespace with image backing */
.text-takeover {
    position: relative;
    isolation: isolate;
}

.text-takeover .premium-shell {
    position: relative;
    z-index: 2;
}

.text-takeover .mega-line {
    color: #07111f;
    opacity: 1 !important;
}

.about-orbit-stage {
    position: absolute;
    top: clamp(3.5rem, 7vw, 6.4rem);
    right: clamp(1.5rem, 6vw, 7rem);
    z-index: 1;
    width: min(38vw, 500px);
    height: min(30vw, 390px);
    min-width: 320px;
    min-height: 270px;
    overflow: hidden;
    border-radius: 28px;
    background: #eef8ff;
    box-shadow: 0 28px 80px rgba(18, 102, 255, 0.12);
    opacity: 0.72;
    pointer-events: none;
}

.about-orbit-stage::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.2)),
        radial-gradient(circle at 48% 52%, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.64) 72%);
}

.about-orbit-stage > img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    filter: saturate(1.18) contrast(1.04);
    transform: scale(1.08);
}

.text-takeover .about-keyword-orbit {
    display: block;
    top: calc(50% - 145px);
    left: calc(50% - 145px);
    right: auto;
    bottom: auto;
    z-index: 2;
    width: 290px;
    height: 290px;
    opacity: 1;
    animation-duration: 38s;
}

.text-takeover .about-keyword-orbit span {
    padding: 0.46rem 0.68rem;
    background: rgba(255, 255, 255, 0.9);
    color: #0b1728;
    font-size: 0.78rem;
    font-weight: 800;
    backdrop-filter: blur(12px);
    transform:
        rotate(calc(var(--i) * 60deg))
        translateX(136px)
        rotate(calc(var(--i) * -60deg));
}

@media (max-width: 1080px) {
    .about-orbit-stage {
        top: auto;
        right: 2rem;
        bottom: 2rem;
        width: min(44vw, 430px);
        height: 300px;
        opacity: 0.54;
    }
}

@media (max-width: 768px) {
    .about-orbit-stage {
        position: relative;
        inset: auto;
        width: min(100%, 420px);
        height: 270px;
        min-width: 0;
        margin: 0 auto 1.5rem;
        opacity: 0.88;
    }

    .text-takeover .about-keyword-orbit {
        top: calc(50% - 112px);
        left: calc(50% - 112px);
        width: 224px;
        height: 224px;
    }

    .text-takeover .about-keyword-orbit span {
        font-size: 0.68rem;
        transform:
            rotate(calc(var(--i) * 60deg))
            translateX(106px)
            rotate(calc(var(--i) * -60deg));
    }
}

/* Hero image stage: text and orbit live on the provided image */
.kinetic-hero {
    min-height: calc(100vh - 0px);
    align-items: stretch;
    padding: 124px 0 70px;
    background:
        linear-gradient(90deg, rgba(3, 8, 24, 0.86) 0%, rgba(3, 8, 24, 0.6) 42%, rgba(3, 8, 24, 0.18) 72%),
        radial-gradient(circle at 22% 46%, rgba(0, 217, 255, 0.2), transparent 30%),
        url("assets/home-marketing-background.png") center / cover no-repeat;
}

.kinetic-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(3, 8, 24, 0.12), rgba(3, 8, 24, 0.28)),
        radial-gradient(circle at 16% 52%, rgba(18, 102, 255, 0.18), transparent 22%);
}

.kinetic-hero .hero-grid {
    min-height: calc(100vh - 194px);
    grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.55fr);
    align-items: center;
}

.kinetic-hero .hero-copy {
    max-width: 850px;
    padding: clamp(1rem, 3vw, 2rem) 0;
}

.kinetic-hero .hero-signal,
.kinetic-hero .hero-title,
.kinetic-hero .hero-subtitle {
    color: #ffffff;
    text-shadow: 0 18px 46px rgba(0, 0, 0, 0.34);
}

.kinetic-hero .hero-signal {
    color: #80eaff;
}

.kinetic-hero .hero-subtitle {
    max-width: 620px;
    color: rgba(255, 255, 255, 0.86);
}

.kinetic-hero .secondary-liquid {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.34);
    backdrop-filter: blur(14px);
}

.kinetic-hero .hero-art {
    min-height: 520px;
}

.kinetic-hero .hero-image-deck,
.kinetic-hero .hero-three,
.kinetic-hero .liquid-blob {
    display: none;
}

.kinetic-hero .hero-glass-stack {
    opacity: 0.92;
}

.kinetic-hero .panel-main {
    background: rgba(255, 255, 255, 0.86);
}

.kinetic-hero .hero-keyword-orbit {
    display: block;
    top: auto;
    right: clamp(2rem, 9vw, 11rem);
    bottom: clamp(2.4rem, 8vw, 6rem);
    z-index: 5;
    width: clamp(250px, 23vw, 340px);
    height: clamp(250px, 23vw, 340px);
    opacity: 1;
    animation-duration: 36s;
}

.kinetic-hero .hero-keyword-orbit span {
    padding: 0.52rem 0.76rem;
    background: rgba(255, 255, 255, 0.9);
    color: #0b1728;
    font-size: clamp(0.72rem, 1vw, 0.88rem);
    font-weight: 800;
    backdrop-filter: blur(14px);
    transform:
        rotate(calc(var(--i) * 60deg))
        translateX(clamp(118px, 11vw, 162px))
        rotate(calc(var(--i) * -60deg));
}

.text-takeover .mega-line {
    color: #07111f;
    opacity: 1 !important;
}

.about-orbit-stage {
    display: none;
}

@media (max-width: 1080px) {
    .kinetic-hero .hero-grid {
        grid-template-columns: 1fr;
    }

    .kinetic-hero .hero-art {
        min-height: 320px;
    }

    .kinetic-hero .hero-keyword-orbit {
        right: 6%;
        bottom: 3rem;
    }
}

@media (max-width: 768px) {
    .kinetic-hero {
        padding-top: 128px;
        min-height: 860px;
        background-position: 62% center;
    }

    .kinetic-hero .hero-grid {
        min-height: 720px;
        align-content: start;
    }

    .kinetic-hero .hero-title {
        font-size: clamp(2.35rem, 12vw, 4rem);
    }

    .kinetic-hero .hero-art {
        min-height: 250px;
    }

    .kinetic-hero .hero-keyword-orbit {
        left: calc(50% - 112px);
        right: auto;
        bottom: 2rem;
        width: 224px;
        height: 224px;
    }

    .kinetic-hero .hero-keyword-orbit span {
        font-size: 0.68rem;
        transform:
            rotate(calc(var(--i) * 60deg))
            translateX(106px)
            rotate(calc(var(--i) * -60deg));
    }
}

/* Compact workflow cards: remove the tall empty card space */
.horizontal-story {
    padding: clamp(1.8rem, 4vw, 3.2rem) 0;
}

.horizontal-track {
    gap: clamp(0.7rem, 1.4vw, 1rem);
}

.story-card {
    width: min(72vw, 380px);
    min-height: 210px;
    padding: clamp(1rem, 2vw, 1.25rem);
}

.story-card h3 {
    margin-bottom: 0.55rem;
}

.story-card p {
    line-height: 1.48;
}

@media (max-width: 768px) {
    .story-card {
        width: min(78vw, 320px);
        min-height: 220px;
    }
}

/* About image orbit: image + rotating labels live in the right whitespace */
.kinetic-hero .hero-keyword-orbit {
    display: none !important;
}

.text-takeover {
    position: relative;
    overflow: hidden;
    min-height: clamp(650px, 78vw, 900px);
}

.text-takeover .premium-shell {
    position: relative;
    z-index: 2;
}

.text-takeover .mega-line {
    max-width: min(70vw, 1060px);
    color: #07111f;
    opacity: 1 !important;
}

.text-takeover .about-orbit-stage {
    display: block;
    position: absolute;
    top: clamp(5rem, 10vw, 8rem);
    right: clamp(1rem, 6vw, 7rem);
    z-index: 1;
    width: min(38vw, 520px);
    height: min(30vw, 410px);
    min-width: 340px;
    min-height: 280px;
    overflow: hidden;
    border-radius: 30px;
    background: #07111f;
    box-shadow: 0 30px 90px rgba(18, 102, 255, 0.16);
    opacity: 0.94;
    pointer-events: none;
}

.text-takeover .about-orbit-stage::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.22), rgba(3, 8, 24, 0.08)),
        radial-gradient(circle at 48% 52%, rgba(0, 217, 255, 0.16), transparent 48%);
}

.text-takeover .about-orbit-stage > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.16) contrast(1.04);
    transform: scale(1.05);
}

.text-takeover .about-keyword-orbit {
    display: block;
    position: absolute;
    top: calc(50% - 150px);
    left: calc(50% - 150px);
    right: auto;
    bottom: auto;
    z-index: 2;
    width: 300px;
    height: 300px;
    opacity: 1;
    animation-duration: 38s;
}

.text-takeover .about-keyword-orbit span {
    padding: 0.48rem 0.72rem;
    background: rgba(255, 255, 255, 0.92);
    color: #0b1728;
    font-size: 0.78rem;
    font-weight: 800;
    backdrop-filter: blur(14px);
    box-shadow: 0 12px 26px rgba(7, 17, 31, 0.18);
    transform:
        rotate(calc(var(--i) * 60deg))
        translateX(140px)
        rotate(calc(var(--i) * -60deg));
}

@media (max-width: 1080px) {
    .text-takeover {
        min-height: 760px;
    }

    .text-takeover .mega-line {
        max-width: 100%;
    }

    .text-takeover .about-orbit-stage {
        top: auto;
        right: 2rem;
        bottom: 2rem;
        width: min(48vw, 460px);
        height: 320px;
    }
}

@media (max-width: 768px) {
    .text-takeover {
        min-height: auto;
    }

    .text-takeover .about-orbit-stage {
        position: relative;
        inset: auto;
        width: min(100%, 430px);
        height: 280px;
        min-width: 0;
        margin: 0 auto 1.6rem;
    }

    .text-takeover .about-keyword-orbit {
        top: calc(50% - 112px);
        left: calc(50% - 112px);
        width: 224px;
        height: 224px;
    }

    .text-takeover .about-keyword-orbit span {
        font-size: 0.68rem;
        transform:
            rotate(calc(var(--i) * 60deg))
            translateX(106px)
            rotate(calc(var(--i) * -60deg));
    }
}

/* Static stats strip: this section should stay still and readable */
.no-section-motion,
.no-section-motion * {
    animation: none !important;
    transition: none !important;
}

.no-section-motion .stat-orb,
.no-section-motion .stat-orb:hover {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
}

.no-section-motion .stat-orb::after {
    display: none;
}

/* About proprietor feature */
.founder-section {
    background:
        radial-gradient(circle at 12% 8%, rgba(18, 102, 255, 0.08), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.founder-grid {
    display: grid;
    grid-template-columns: minmax(280px, 0.85fr) minmax(320px, 1.15fr);
    gap: clamp(1.5rem, 4vw, 4rem);
    align-items: center;
}

.founder-portrait-panel {
    position: relative;
    overflow: hidden;
    min-height: clamp(420px, 48vw, 620px);
    border: 1px solid rgba(18, 102, 255, 0.16);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 18px 50px rgba(7, 17, 31, 0.12);
}

.founder-portrait-panel img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
    object-position: center top;
    filter: saturate(1.03) contrast(1.02);
}

/* About Us spotlight reveal: change only the two image src values in about.html. */
.about-image-reveal {
    --about-spotlight-x: -999px;
    --about-spotlight-y: -999px;
    --about-spotlight-radius: 260px;
    --about-spotlight-opacity: 0;
    isolation: isolate;
    cursor: crosshair;
    touch-action: pan-y;
}

.about-image-reveal__default,
.about-image-reveal__hover {
    position: absolute;
    inset: 0;
}

.about-image-reveal__default {
    z-index: 1;
    transition:
        filter 420ms ease,
        transform 760ms cubic-bezier(0.16, 1, 0.3, 1);
}

.about-image-reveal__hover {
    z-index: 2;
    opacity: var(--about-spotlight-opacity);
    pointer-events: none;
    filter: saturate(1.18) contrast(1.08) brightness(1.08);
    transform: scale(1.035);
    transform-origin: var(--about-spotlight-x) var(--about-spotlight-y);
    transition:
        opacity 260ms ease,
        transform 760ms cubic-bezier(0.16, 1, 0.3, 1);
    -webkit-mask-image: radial-gradient(
        circle at var(--about-spotlight-x) var(--about-spotlight-y),
        #000 0,
        #000 calc(var(--about-spotlight-radius) * 0.4),
        rgba(0, 0, 0, 0.75) calc(var(--about-spotlight-radius) * 0.6),
        rgba(0, 0, 0, 0.28) calc(var(--about-spotlight-radius) * 0.86),
        transparent var(--about-spotlight-radius)
    );
    mask-image: radial-gradient(
        circle at var(--about-spotlight-x) var(--about-spotlight-y),
        #000 0,
        #000 calc(var(--about-spotlight-radius) * 0.4),
        rgba(0, 0, 0, 0.75) calc(var(--about-spotlight-radius) * 0.6),
        rgba(0, 0, 0, 0.28) calc(var(--about-spotlight-radius) * 0.86),
        transparent var(--about-spotlight-radius)
    );
}

.about-image-reveal::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 3;
    opacity: var(--about-spotlight-opacity);
    pointer-events: none;
    background:
        radial-gradient(
            circle at var(--about-spotlight-x) var(--about-spotlight-y),
            rgba(255, 255, 255, 0.16) 0,
            rgba(56, 189, 248, 0.14) calc(var(--about-spotlight-radius) * 0.46),
            rgba(18, 102, 255, 0.12) calc(var(--about-spotlight-radius) * 0.72),
            transparent calc(var(--about-spotlight-radius) * 1.08)
        );
    mix-blend-mode: screen;
    transition: opacity 260ms ease;
}

.about-image-reveal.is-revealing {
    box-shadow: 0 28px 80px rgba(7, 17, 31, 0.22);
}

.about-image-reveal.is-revealing .about-image-reveal__default {
    filter: saturate(0.96) contrast(0.96) brightness(0.82);
    transform: scale(1.006);
}

.about-image-reveal.is-revealing .about-image-reveal__hover {
    transform: scale(1.07);
}

@media (max-width: 760px) {
    .about-image-reveal {
        --about-spotlight-x: 50%;
        --about-spotlight-y: 50%;
        --about-spotlight-radius: 999px;
        --about-spotlight-opacity: 1;
        cursor: default;
    }

    .about-image-reveal__default {
        opacity: 0;
    }

    .about-image-reveal__hover {
        opacity: 1 !important;
        transform: none !important;
        -webkit-mask-image: none !important;
        mask-image: none !important;
    }

    .about-image-reveal::before {
        display: none !important;
    }
}

.founder-badge {
    position: absolute;
    left: clamp(1rem, 2vw, 1.35rem);
    right: clamp(1rem, 2vw, 1.35rem);
    bottom: clamp(1rem, 2vw, 1.35rem);
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.64);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.9);
    color: #07111f;
    box-shadow: 0 12px 30px rgba(7, 17, 31, 0.14);
    backdrop-filter: blur(16px);
    z-index: 4;
}

.founder-badge span,
.founder-badge strong {
    font-size: clamp(0.82rem, 1vw, 0.95rem);
}

.founder-copy {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

.founder-copy .section-tag {
    width: fit-content;
    margin-bottom: 1rem;
}

.founder-copy .section-title {
    margin: 0;
    text-align: left;
    color: #07111f;
}

.founder-role {
    margin: 0.45rem 0 1.2rem;
    color: #1266ff;
    font-weight: 800;
}

.founder-points {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 1.25rem;
}

.founder-points span {
    padding: 0.66rem 0.9rem;
    border: 1px solid rgba(18, 102, 255, 0.16);
    border-radius: 999px;
    background: rgba(18, 102, 255, 0.06);
    color: #10233d;
    font-size: 0.92rem;
    font-weight: 800;
}

@media (max-width: 820px) {
    .founder-grid {
        grid-template-columns: 1fr;
    }

    .founder-portrait-panel {
        min-height: 520px;
    }
}

@media (max-width: 560px) {
    .founder-section {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .founder-portrait-panel {
        min-height: 430px;
        border-radius: 16px;
    }

    .about-image-reveal {
        --about-spotlight-radius: 170px;
        cursor: crosshair;
    }

    .founder-badge {
        flex-direction: column;
        gap: 0.2rem;
    }
}

/* Multi-page restructure */
.multi-page .premium-menu {
    gap: clamp(0.55rem, 1.1vw, 1rem);
}

.multi-page .premium-menu a,
.nav-menu .nav-link {
    white-space: nowrap;
}

.multi-page .premium-menu a.active,
.nav-link.active {
    color: var(--primary);
}

.home-command {
    background: #ffffff;
    padding: clamp(3rem, 7vw, 6rem) 0;
}

.home-command-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1rem, 2vw, 1.4rem);
}

.home-command-card {
    display: flex;
    min-height: 260px;
    flex-direction: column;
    justify-content: space-between;
    padding: clamp(1.2rem, 2.4vw, 1.8rem);
    border-radius: 18px;
    background: linear-gradient(145deg, #ffffff, #f3f8ff);
    color: #07111f;
    box-shadow: 0 10px 28px rgba(18, 102, 255, 0.09);
}

.home-command-card span {
    color: #1266ff;
    font-weight: 900;
}

.home-command-card h2 {
    font-size: clamp(2.4rem, 6vw, 5rem);
    letter-spacing: -0.035em;
}

.home-command-card p,
.home-next p {
    color: #40516b;
}

.home-next {
    background: #f7fbff;
}

.home-next-grid {
    display: grid;
    grid-template-columns: minmax(320px, 1fr) minmax(280px, 0.8fr);
    gap: clamp(1.4rem, 4vw, 4rem);
    align-items: center;
}

.home-next h2 {
    color: #07111f;
    font-size: clamp(2.2rem, 5vw, 4.8rem);
    line-height: 0.98;
    letter-spacing: -0.035em;
}

.home-link-board {
    display: grid;
    gap: 0.75rem;
}

.home-link-board a {
    padding: 1rem 1.1rem;
    border-radius: 14px;
    background: #ffffff;
    color: #07111f;
    font-weight: 900;
    box-shadow: 0 8px 24px rgba(7, 17, 31, 0.07);
}

/* Distinct page art direction */
.tech-page .page-hero,
.process-page .page-hero,
.blog-page .page-hero,
.careers-page .page-hero,
.portfolio-page .page-hero {
    background: #ffffff;
}

.tech-orbit-map {
    position: relative;
    min-height: 430px;
    border-radius: 22px;
    background:
        radial-gradient(circle at 50% 50%, rgba(18, 102, 255, 0.13), transparent 32%),
        linear-gradient(135deg, #eef7ff, #ffffff);
    box-shadow: 0 18px 48px rgba(18, 102, 255, 0.12);
}

.tech-orbit-map strong {
    position: absolute;
    inset: 50% auto auto 50%;
    transform: translate(-50%, -50%);
    color: #07111f;
    font-size: clamp(1.5rem, 3vw, 2.3rem);
}

.tech-orbit-map span {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    padding: 0.7rem 0.9rem;
    border-radius: 999px;
    background: #ffffff;
    color: #10233d;
    font-weight: 900;
    box-shadow: 0 8px 22px rgba(7, 17, 31, 0.08);
}

.tech-orbit-map span:nth-child(1) { left: 50%; top: 12%; }
.tech-orbit-map span:nth-child(2) { left: 78%; top: 22%; }
.tech-orbit-map span:nth-child(3) { left: 88%; top: 50%; }
.tech-orbit-map span:nth-child(4) { left: 75%; top: 78%; }
.tech-orbit-map span:nth-child(5) { left: 50%; top: 88%; }
.tech-orbit-map span:nth-child(6) { left: 25%; top: 78%; }
.tech-orbit-map span:nth-child(7) { left: 12%; top: 50%; }
.tech-orbit-map span:nth-child(8) { left: 22%; top: 22%; }

.stack-lanes {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.stack-lane {
    min-height: 300px;
    padding: 1.35rem;
    border-radius: 16px;
    background: #ffffff;
    color: #07111f;
    box-shadow: 0 10px 28px rgba(7, 17, 31, 0.07);
}

.stack-lane:nth-child(even) {
    transform: translateY(2.2rem);
    background: #eef7ff;
}

.case-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 1rem;
}

.case-feature {
    overflow: hidden;
    border-radius: 18px;
    background: #ffffff;
    color: #07111f;
    box-shadow: 0 12px 34px rgba(7, 17, 31, 0.09);
}

.case-feature img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.case-feature div {
    padding: 1.15rem;
}

.case-feature span,
.blog-grid span,
.process-timeline span {
    color: #1266ff;
    font-weight: 900;
}

.large-case {
    grid-row: span 2;
}

.large-case img {
    height: 520px;
}

.process-signal,
.blog-note,
.career-card {
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: clamp(1.2rem, 3vw, 2rem);
    border-radius: 20px;
    background:
        linear-gradient(135deg, rgba(18, 102, 255, 0.14), rgba(0, 217, 255, 0.08)),
        #ffffff;
    color: #07111f;
    box-shadow: 0 16px 42px rgba(18, 102, 255, 0.12);
}

.process-signal strong {
    font-size: clamp(7rem, 18vw, 13rem);
    line-height: 0.8;
    letter-spacing: -0.04em;
    color: #1266ff;
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(7, minmax(220px, 1fr));
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 1rem;
}

.process-timeline article {
    min-height: 280px;
    padding: 1.2rem;
    border-radius: 16px;
    background: #ffffff;
    color: #07111f;
    box-shadow: 0 10px 26px rgba(7, 17, 31, 0.07);
}

.blog-note strong,
.career-card strong {
    font-size: clamp(2rem, 4vw, 4rem);
    line-height: 0.95;
    letter-spacing: -0.035em;
}

.blog-grid,
.roles-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.blog-grid article,
.roles-grid article {
    display: flex;
    min-height: 360px;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.25rem;
    border-radius: 18px;
    background: #ffffff;
    color: #07111f;
    box-shadow: 0 10px 28px rgba(7, 17, 31, 0.08);
}

.blog-grid a,
.roles-grid a {
    color: #1266ff;
    font-weight: 900;
}

.roles-grid i {
    width: 3rem;
    height: 3rem;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    background: #eef7ff;
    color: #1266ff;
    font-size: 1.3rem;
}

/* Make the About portrait unmissable */
.founder-portrait-panel {
    height: clamp(480px, 54vw, 660px);
    min-height: 0;
}

.founder-portrait-panel img {
    display: block;
    height: 100%;
    min-height: 0;
}

@media (max-width: 1180px) {
    .header-container {
        gap: 0.8rem;
    }

    .nav-menu ul {
        gap: 0.65rem;
    }

    .nav-menu .nav-link {
        font-size: 0.84rem;
    }
}

@media (max-width: 920px) {
    .home-command-grid,
    .home-next-grid,
    .stack-lanes,
    .case-grid,
    .blog-grid,
    .roles-grid {
        grid-template-columns: 1fr;
    }

    .stack-lane:nth-child(even) {
        transform: none;
    }

    .large-case img,
    .case-feature img {
        height: 300px;
    }
}

@media (max-width: 640px) {
    .tech-orbit-map {
        min-height: 360px;
    }

    .tech-orbit-map span {
        font-size: 0.78rem;
        padding: 0.55rem 0.7rem;
    }

    .founder-portrait-panel {
        height: 500px;
    }
}

/* Final navigation lock: same visual system on every page */
.header,
.premium-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0.8rem clamp(0.8rem, 2vw, 1.4rem);
    background: rgba(255, 255, 255, 0.82);
    border-bottom: 1px solid rgba(18, 102, 255, 0.12);
    backdrop-filter: blur(20px);
    box-shadow: 0 12px 34px rgba(7, 17, 31, 0.08);
}

.premium-nav,
.header-container {
    width: min(100%, 1240px);
    min-height: 70px;
    margin: 0 auto;
    padding: 0.55rem clamp(0.8rem, 2vw, 1.1rem);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(18, 102, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(0.7rem, 1.4vw, 1rem);
}

.premium-logo img,
.logo-image {
    width: clamp(118px, 12vw, 172px);
    height: auto;
    max-height: 56px;
    object-fit: contain;
}

.premium-menu,
.nav-menu ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(0.45rem, 1vw, 0.82rem);
}

.premium-menu a,
.nav-menu .nav-link {
    color: #07111f;
    font-size: clamp(0.78rem, 0.92vw, 0.92rem);
    font-weight: 800;
    padding: 0.55rem 0.72rem;
    border-radius: 999px;
}

.premium-menu a.active,
.nav-menu .nav-link.active,
.premium-menu a:hover,
.nav-menu .nav-link:hover {
    background: rgba(18, 102, 255, 0.1);
    color: #1266ff;
}

.premium-header .nav-cta,
.header .btn-nav-cta {
    color: #ffffff !important;
    background: #1266ff !important;
    border-color: #1266ff !important;
    box-shadow: 0 12px 28px rgba(18, 102, 255, 0.24);
}

.page-main {
    padding-top: 105px;
}

/* Dramatic home page motion pass */
.home-page .kinetic-hero {
    min-height: 100vh;
    isolation: isolate;
    background:
        linear-gradient(90deg, rgba(3, 7, 18, 0.88) 0%, rgba(4, 12, 34, 0.56) 48%, rgba(255, 255, 255, 0.04) 100%),
        url("assets/home-marketing-background.png") center/cover no-repeat;
}

.home-page .kinetic-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(circle at 20% 24%, rgba(0, 217, 255, 0.34), transparent 26%),
        radial-gradient(circle at 72% 22%, rgba(126, 87, 255, 0.34), transparent 26%),
        linear-gradient(115deg, transparent 0 38%, rgba(255, 255, 255, 0.2) 42%, transparent 47% 100%);
    mix-blend-mode: screen;
    opacity: 0.75;
    animation: heroAurora 8s cubic-bezier(0.16, 1, 0.3, 1) infinite alternate;
}

.home-page .kinetic-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(90deg, black, transparent 78%);
    animation: gridDrift 18s linear infinite;
}

.home-page .hero-copy,
.home-page .hero-art,
.home-page .hero-particles,
.home-page .hero-light-trails {
    position: relative;
    z-index: 2;
}

.home-page .hero-title {
    max-width: 850px;
    font-size: clamp(3.2rem, 8.2vw, 6rem);
    line-height: 0.86;
    letter-spacing: -0.038em;
    text-shadow: 0 18px 52px rgba(0, 0, 0, 0.34);
}

.home-page .hero-subtitle {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(1rem, 1.6vw, 1.35rem);
}

.hero-motion-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 1.4rem;
}

.hero-motion-tags span {
    padding: 0.62rem 0.82rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.26);
    color: #ffffff;
    font-weight: 900;
    backdrop-filter: blur(14px);
    animation: tagPulse 2.8s ease-in-out infinite alternate;
}

.hero-motion-tags span:nth-child(2) { animation-delay: -0.4s; }
.hero-motion-tags span:nth-child(3) { animation-delay: -0.8s; }
.hero-motion-tags span:nth-child(4) { animation-delay: -1.2s; }
.hero-motion-tags span:nth-child(5) { animation-delay: -1.6s; }

.home-page .hero-image-deck,
.home-page .hero-three {
    display: block;
}

.home-page .hero-image-deck {
    opacity: 0.92;
    filter: drop-shadow(0 28px 44px rgba(0, 0, 0, 0.28));
}

.home-energy-field {
    position: absolute;
    inset: 4% 0 0 0;
    z-index: 0;
    pointer-events: none;
}

.home-energy-field span {
    position: absolute;
    width: clamp(120px, 14vw, 220px);
    height: clamp(120px, 14vw, 220px);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: radial-gradient(circle, rgba(0, 217, 255, 0.24), transparent 60%);
    filter: blur(0.2px);
    animation: energyFloat 7s ease-in-out infinite alternate;
}

.home-energy-field span:nth-child(1) { left: 3%; top: 8%; }
.home-energy-field span:nth-child(2) { right: 8%; top: 18%; animation-delay: -1.4s; background: radial-gradient(circle, rgba(126, 87, 255, 0.26), transparent 60%); }
.home-energy-field span:nth-child(3) { left: 22%; bottom: 10%; animation-delay: -2.2s; }
.home-energy-field span:nth-child(4) { right: 22%; bottom: 4%; animation-delay: -3s; background: radial-gradient(circle, rgba(255, 90, 165, 0.2), transparent 60%); }

.dramatic-orbit {
    position: absolute;
    inset: auto 4% 8% auto;
    z-index: 4;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.24);
    animation: keywordSpin 22s linear infinite;
}

.dramatic-orbit span {
    position: absolute;
    left: 50%;
    top: 50%;
    padding: 0.5rem 0.7rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: #07111f;
    font-weight: 900;
    transform: rotate(calc(var(--r) * 90deg)) translateX(130px) rotate(calc(var(--r) * -90deg)) translate(-50%, -50%);
}

.dramatic-orbit span:nth-child(1) { --r: 0; }
.dramatic-orbit span:nth-child(2) { --r: 1; }
.dramatic-orbit span:nth-child(3) { --r: 2; }
.dramatic-orbit span:nth-child(4) { --r: 3; }

.home-kinetic-strip {
    overflow: hidden;
    padding: 1rem 0;
    background: #07111f;
    color: #ffffff;
}

.home-kinetic-track {
    display: flex;
    width: max-content;
    gap: 0.8rem;
    animation: marquee 24s linear infinite;
}

.home-kinetic-track span {
    padding: 0.7rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-weight: 900;
    white-space: nowrap;
}

.home-command-card {
    position: relative;
    overflow: hidden;
}

.home-command-card::after {
    content: "";
    position: absolute;
    inset: -80% -40%;
    background: linear-gradient(90deg, transparent, rgba(18, 102, 255, 0.2), transparent);
    transform: rotate(18deg) translateX(-60%);
    animation: cardSweep 4.8s ease-in-out infinite;
}

.home-command-card > * {
    position: relative;
    z-index: 1;
}

.home-depth {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 15% 18%, rgba(0, 217, 255, 0.14), transparent 32%),
        radial-gradient(circle at 84% 22%, rgba(126, 87, 255, 0.12), transparent 28%),
        #ffffff;
}

.home-depth-grid {
    display: grid;
    grid-template-columns: minmax(320px, 0.86fr) minmax(360px, 1.14fr);
    gap: clamp(1.4rem, 4vw, 4rem);
    align-items: center;
}

.home-depth-intro h2 {
    color: #07111f;
    font-size: clamp(2.5rem, 5.8vw, 5.6rem);
    line-height: 0.92;
    letter-spacing: -0.038em;
    margin: 0.7rem 0 1rem;
}

.home-depth-intro p {
    max-width: 60ch;
    margin-bottom: 1.35rem;
    color: #40516b;
    font-size: clamp(1rem, 1.3vw, 1.16rem);
}

.home-depth-board {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.home-depth-card {
    position: relative;
    min-height: 245px;
    overflow: hidden;
    padding: 1.2rem;
    border-radius: 18px;
    background: linear-gradient(145deg, #ffffff, #f1f7ff);
    color: #07111f;
    box-shadow: 0 14px 34px rgba(7, 17, 31, 0.08);
}

.home-depth-card::after {
    content: "";
    position: absolute;
    inset: auto -15% -45% -15%;
    height: 65%;
    background: radial-gradient(circle, rgba(18, 102, 255, 0.2), transparent 60%);
    transform: translateY(16%);
    transition: transform 420ms cubic-bezier(0.16, 1, 0.3, 1);
}

.home-depth-card:hover::after {
    transform: translateY(0);
}

.home-depth-card i {
    width: 3.1rem;
    height: 3.1rem;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    background: #1266ff;
    color: #ffffff;
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.home-depth-card h3,
.home-depth-card p,
.home-depth-card i {
    position: relative;
    z-index: 1;
}

.home-depth-card h3 {
    font-size: clamp(1.45rem, 2vw, 2rem);
    color: #07111f;
    margin-bottom: 0.6rem;
}

.home-depth-card p {
    color: #40516b;
}

.home-proof {
    background: #07111f;
    color: #ffffff;
    padding-top: clamp(2.6rem, 6vw, 5rem);
    padding-bottom: clamp(2.6rem, 6vw, 5rem);
}

.home-proof-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.home-proof-item {
    min-height: 220px;
    padding: 1.15rem;
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.05)),
        rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(14px);
}

.home-proof-item span {
    display: block;
    margin-bottom: 2rem;
    color: #00d9ff;
    font-weight: 900;
}

.home-proof-item strong {
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(1.55rem, 2.4vw, 2.3rem);
    line-height: 1;
    margin-bottom: 0.8rem;
}

.home-proof-item p {
    color: rgba(255, 255, 255, 0.76);
}

.founder-portrait-panel {
    transform-origin: center;
    transition:
        transform 420ms cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 420ms cubic-bezier(0.16, 1, 0.3, 1);
}

.founder-portrait-panel img {
    transition:
        transform 780ms cubic-bezier(0.16, 1, 0.3, 1),
        filter 780ms cubic-bezier(0.16, 1, 0.3, 1);
}

.about-image-reveal.is-revealing {
    box-shadow: 0 30px 90px rgba(7, 17, 31, 0.2);
}

@keyframes heroAurora {
    from { transform: translate3d(-2%, -1%, 0) scale(1); filter: hue-rotate(0deg); }
    to { transform: translate3d(2%, 1%, 0) scale(1.06); filter: hue-rotate(26deg); }
}

@keyframes gridDrift {
    from { background-position: 0 0; }
    to { background-position: 144px 72px; }
}

@keyframes tagPulse {
    from { transform: translateY(0); box-shadow: 0 0 0 rgba(0, 217, 255, 0); }
    to { transform: translateY(-7px); box-shadow: 0 12px 32px rgba(0, 217, 255, 0.18); }
}

@keyframes energyFloat {
    from { transform: translate3d(0, 0, 0) scale(0.92); opacity: 0.65; }
    to { transform: translate3d(18px, -24px, 0) scale(1.08); opacity: 1; }
}

@keyframes cardSweep {
    0%, 38% { transform: rotate(18deg) translateX(-62%); }
    70%, 100% { transform: rotate(18deg) translateX(62%); }
}

@media (max-width: 1080px) {
    .premium-menu,
    .nav-menu {
        position: fixed;
        left: 1rem;
        right: 1rem;
        top: 94px;
        display: none;
        padding: 1rem;
        border-radius: 18px;
        background: rgba(255, 255, 255, 0.96);
        box-shadow: 0 18px 48px rgba(7, 17, 31, 0.16);
    }

    .premium-menu.active,
    .nav-menu.active {
        display: block;
    }

    .premium-menu,
    .nav-menu ul {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 760px) {
    .dramatic-orbit {
        display: none;
    }

    .home-page .kinetic-hero {
        min-height: 940px;
    }
}

@media (max-width: 1100px) {
    .home-proof-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 920px) {
    .home-depth-grid {
        grid-template-columns: 1fr;
    }

    .home-depth-board {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .home-proof-grid {
        grid-template-columns: 1fr;
    }

    .home-proof-item {
        min-height: auto;
    }
}

/* Home hero visibility guard: keep content present over the image */
.home-page .kinetic-hero {
    padding-top: clamp(8.5rem, 13vw, 11rem);
    padding-bottom: clamp(3rem, 6vw, 5rem);
}

.home-page .hero-grid {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: minmax(320px, 0.95fr) minmax(280px, 0.72fr);
    gap: clamp(1.2rem, 4vw, 4rem);
    min-height: calc(100vh - 12rem);
    align-items: center;
}

.home-page .hero-copy {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    max-width: 900px;
    padding: clamp(1.2rem, 3vw, 2rem);
    border-radius: 24px;
    background:
        linear-gradient(135deg, rgba(3, 7, 18, 0.76), rgba(18, 102, 255, 0.28)),
        rgba(3, 7, 18, 0.58);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 26px 80px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(10px);
}

.home-page .split-reveal,
.home-page .hero-signal,
.home-page .hero-title,
.home-page .hero-subtitle,
.home-page .hero-actions,
.home-page .hero-motion-tags {
    visibility: visible !important;
    opacity: 1 !important;
    clip-path: none !important;
}

.home-page .hero-signal {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 1rem;
    padding: 0.58rem 0.78rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #ffffff;
    font-weight: 900;
}

.home-page .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.35rem;
}

.home-page .primary-liquid {
    color: #ffffff;
    background: #1266ff;
    box-shadow: 0 14px 38px rgba(18, 102, 255, 0.34);
}

.home-page .secondary-liquid {
    color: #ffffff;
}

.home-page .hero-art {
    min-height: min(54vw, 560px);
}

@media (max-width: 900px) {
    .home-page .hero-grid {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .home-page .hero-copy {
        margin-top: 1rem;
    }
}

/* Remove the empty hero scroll pocket shown after the first hero view */
.home-page .kinetic-hero {
    min-height: auto !important;
    height: auto !important;
    padding-bottom: clamp(1.4rem, 3vw, 2.4rem) !important;
}

.home-page .hero-grid {
    min-height: auto !important;
}

.home-page .home-kinetic-strip {
    margin-top: 0;
}

/* Final first-screen fit: show hero content immediately on load */
.home-page .kinetic-hero {
    padding-top: clamp(6.2rem, 8vw, 7.6rem) !important;
    padding-bottom: clamp(1rem, 2vw, 1.8rem) !important;
}

.home-page .hero-grid {
    align-items: start !important;
    gap: clamp(1rem, 2.6vw, 2.6rem) !important;
}

.home-page .hero-copy {
    margin-top: 0 !important;
}

.home-page .hero-title {
    font-size: clamp(2.75rem, 6.25vw, 5.2rem) !important;
    line-height: 0.9 !important;
}

.home-page .hero-subtitle {
    margin-top: 1rem;
    font-size: clamp(0.98rem, 1.3vw, 1.22rem) !important;
}

.home-page .hero-actions {
    margin-top: 1rem !important;
}

.home-page .hero-motion-tags {
    margin-top: 1rem !important;
}

.home-page .hero-art {
    min-height: clamp(390px, 42vw, 520px) !important;
}

@media (max-width: 900px) {
    .home-page .kinetic-hero {
        padding-top: 6.4rem !important;
    }

    .home-page .hero-title {
        font-size: clamp(2.35rem, 10vw, 3.8rem) !important;
    }
}

/* Absolute guard: hero copy never depends on JS animation */
.home-page .hero-copy,
.home-page .hero-copy * {
    opacity: 1 !important;
    visibility: visible !important;
    clip-path: none !important;
    translate: 0 0 !important;
    filter: none !important;
}

.home-page .hero-copy {
    position: relative !important;
    z-index: 80 !important;
    transform: none !important;
}

.home-page .hero-title,
.home-page .hero-subtitle,
.home-page .hero-signal,
.home-page .hero-actions,
.home-page .hero-motion-tags {
    transform: none !important;
}

/* First-paint lock: keep the home hero message on screen above the artwork */
.home-page #hero.kinetic-hero {
    display: block !important;
    min-height: calc(100vh - 0px) !important;
    height: auto !important;
    padding: 0 !important;
    overflow: hidden !important;
    background:
        linear-gradient(90deg, rgba(3, 7, 18, 0.92) 0%, rgba(3, 7, 18, 0.74) 42%, rgba(3, 7, 18, 0.12) 100%),
        url("assets/home-marketing-background.png") center / cover no-repeat !important;
}

.home-page #hero .hero-grid {
    position: relative !important;
    z-index: 40 !important;
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 100vh !important;
    padding: clamp(150px, 13vw, 205px) clamp(1rem, 9vw, 11rem) 3rem !important;
}

.home-page #hero .hero-copy {
    position: relative !important;
    z-index: 90 !important;
    display: block !important;
    width: min(760px, calc(100vw - 2rem)) !important;
    margin: 0 !important;
    padding: clamp(1.15rem, 2.2vw, 1.8rem) !important;
    color: #ffffff !important;
    pointer-events: auto;
}

.home-page #hero .hero-title,
.home-page #hero .hero-subtitle,
.home-page #hero .hero-signal,
.home-page #hero .hero-actions,
.home-page #hero .hero-motion-tags,
.home-page #hero .hero-motion-tags span {
    display: revert !important;
    color: #ffffff !important;
    opacity: 1 !important;
    visibility: visible !important;
    translate: 0 0 !important;
    transform: none !important;
    filter: none !important;
}

.home-page #hero .hero-actions,
.home-page #hero .hero-motion-tags {
    display: flex !important;
}

.home-page #hero .hero-signal {
    display: inline-flex !important;
}

.home-page #hero .hero-actions a,
.home-page #hero .hero-motion-tags span {
    display: inline-flex !important;
}

.home-page #hero .hero-title {
    display: block !important;
    max-width: 720px !important;
    font-size: clamp(2.55rem, 5.6vw, 5rem) !important;
    line-height: 0.94 !important;
    text-shadow: 0 18px 52px rgba(0, 0, 0, 0.54) !important;
}

.home-page #hero .hero-subtitle {
    display: block !important;
    max-width: 650px !important;
    color: rgba(255, 255, 255, 0.9) !important;
}

.home-page #hero .hero-art {
    display: none !important;
}

@media (max-width: 760px) {
    .home-page #hero .hero-grid {
        padding: 124px 1rem 2rem !important;
    }

    .home-page #hero .hero-copy {
        width: 100% !important;
    }
}

/* Home hero rescue: the first message is a static layer, never an animation target. */
.home-page #hero.kinetic-hero {
    position: relative !important;
    display: block !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 0 !important;
    overflow: hidden !important;
    background:
        linear-gradient(90deg, rgba(2, 6, 18, 0.94) 0%, rgba(2, 6, 18, 0.78) 42%, rgba(2, 6, 18, 0.16) 100%),
        url("assets/home-marketing-background.png") center / cover no-repeat !important;
}

.home-page #hero .hero-first-impression {
    position: relative !important;
    z-index: 5000 !important;
    top: auto !important;
    left: auto !important;
    width: min(760px, calc(100vw - 2rem)) !important;
    margin: 0 !important;
    padding: clamp(1.15rem, 2vw, 1.6rem) !important;
    color: #ffffff !important;
    background: linear-gradient(135deg, rgba(3, 7, 18, 0.74), rgba(18, 102, 255, 0.2)) !important;
    border-radius: 18px !important;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22) !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    translate: 0 0 !important;
    filter: none !important;
    pointer-events: auto !important;
}

.home-page #hero .hero-first-impression,
.home-page #hero .hero-first-impression * {
    opacity: 1 !important;
    visibility: visible !important;
    clip-path: none !important;
    transform: none !important;
    translate: 0 0 !important;
    filter: none !important;
}

.home-page #hero .hero-first-impression .hero-signal {
    display: inline-flex !important;
    width: fit-content !important;
    margin: 0 0 1rem !important;
    color: #ffffff !important;
}

.home-page #hero .hero-first-impression .hero-title {
    display: block !important;
    max-width: 720px !important;
    margin: 0 !important;
    color: #ffffff !important;
    font-size: clamp(2.5rem, 5vw, 4.8rem) !important;
    line-height: 0.96 !important;
    letter-spacing: -0.035em !important;
    text-wrap: balance;
    text-shadow: 0 16px 48px rgba(0, 0, 0, 0.45) !important;
}

.home-page #hero .hero-first-impression .hero-subtitle {
    display: block !important;
    max-width: 650px !important;
    margin: 1rem 0 0 !important;
    color: rgba(255, 255, 255, 0.92) !important;
    font-size: clamp(1rem, 1.25vw, 1.18rem) !important;
    line-height: 1.7 !important;
}

.home-page #hero .hero-first-impression .hero-actions,
.home-page #hero .hero-first-impression .hero-motion-tags {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.75rem !important;
}

.home-page #hero .hero-first-impression .hero-actions {
    margin-top: 1.15rem !important;
}

.home-page #hero .hero-first-impression .hero-motion-tags {
    margin-top: 1rem !important;
}

.home-page #hero .hero-first-impression .hero-actions a,
.home-page #hero .hero-first-impression .hero-motion-tags span {
    display: inline-flex !important;
}

.home-page #hero .legacy-hero-copy {
    display: none !important;
}

.home-page #hero .hero-grid {
    position: relative !important;
    z-index: 40 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.8fr) !important;
    align-items: center !important;
    gap: clamp(1rem, 4vw, 4rem) !important;
    width: 100% !important;
    max-width: 1280px !important;
    min-height: 0 !important;
    padding: clamp(118px, 10vw, 142px) clamp(1rem, 6vw, 4.5rem) clamp(1.5rem, 3.5vw, 3rem) !important;
    pointer-events: auto;
}

.home-page #hero .hero-art {
    position: relative !important;
    display: block !important;
    min-height: clamp(300px, 34vw, 470px) !important;
    pointer-events: none;
}

.home-page #hero .hero-grid > .hero-first-impression {
    grid-column: 1 !important;
    grid-row: 1 !important;
}

.home-page #hero .hero-grid > .hero-art {
    grid-column: 2 !important;
    grid-row: 1 !important;
}

.home-page #hero .hero-image-deck {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    opacity: 1 !important;
    filter: drop-shadow(0 24px 34px rgba(0, 0, 0, 0.28)) !important;
}

.home-page #hero .image-float-card {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.home-page #hero .hero-glass-stack,
.home-page #hero .hero-three,
.home-page #hero .home-energy-field,
.home-page #hero .dramatic-orbit {
    display: none !important;
}

@media (max-width: 760px) {
    .home-page #hero .hero-grid {
        display: block !important;
        padding: 108px 1rem 1rem !important;
    }

    .home-page #hero .hero-first-impression {
        width: auto !important;
    }

    .home-page #hero .hero-first-impression .hero-title {
        font-size: clamp(2.25rem, 10vw, 3.45rem) !important;
    }

    .home-page #hero .hero-art {
        min-height: 260px !important;
        margin-top: 0.5rem !important;
    }

    .home-page .page-section,
    .home-page .home-command,
    .home-page .home-proof {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
}

/* Responsive navigation guard: show the hamburger whenever the menu collapses. */
@media (max-width: 1080px) {
    .premium-header {
        z-index: 3000;
    }

    .premium-menu,
    .nav-menu {
        position: fixed !important;
        left: 1rem !important;
        right: 1rem !important;
        top: 92px !important;
        z-index: 2990 !important;
        display: none !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0.5rem !important;
        padding: 1rem !important;
        border: 1px solid rgba(18, 102, 255, 0.12) !important;
        border-radius: 18px !important;
        background: rgba(255, 255, 255, 0.98) !important;
        box-shadow: 0 18px 48px rgba(7, 17, 31, 0.18) !important;
    }

    .premium-menu.active,
    .nav-menu.active {
        display: flex !important;
    }

    .premium-menu a,
    .nav-menu .nav-link {
        width: 100%;
        padding: 0.82rem 0.9rem;
        color: #07111f;
    }

    .mobile-toggle {
        position: relative;
        z-index: 3010;
        display: flex !important;
        flex-shrink: 0;
    }

    .mobile-toggle .bar {
        background-color: #07111f !important;
    }

    .premium-header .nav-cta,
    .header .btn-nav-cta {
        display: none !important;
    }
}

/* Navigation visibility guard: keep menu controls visible even if motion JS/CDNs fail. */
.premium-header {
    z-index: 5000 !important;
}

.premium-header .premium-menu a,
.premium-header .mobile-toggle,
.premium-header .mobile-toggle *,
.premium-header .nav-cta {
    opacity: 1 !important;
    visibility: visible !important;
    filter: none !important;
}

.premium-header .premium-menu a {
    transform: none !important;
    translate: 0 0 !important;
}

.premium-header .mobile-toggle {
    width: 46px;
    height: 42px;
    padding: 11px 10px;
    border: 1px solid rgba(18, 102, 255, 0.2);
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(7, 17, 31, 0.12);
}

.premium-header .mobile-toggle .bar {
    display: block;
    height: 2px;
    border-radius: 999px;
    background: #07111f !important;
}

.premium-menu a {
    transition:
        color 220ms var(--award-ease),
        background 220ms var(--award-ease),
        transform 220ms var(--award-ease),
        box-shadow 220ms var(--award-ease);
}

.premium-menu a:hover,
.premium-menu a:focus-visible,
.premium-menu a.touch-active {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 24px rgba(18, 102, 255, 0.14);
}

@media (max-width: 1080px) {
    .premium-nav,
    .header-container {
        min-height: 62px;
        padding: 0.5rem 0.65rem;
        border-radius: 14px;
    }

    .premium-logo img,
    .logo-image {
        width: clamp(96px, 34vw, 128px);
        max-height: 46px;
    }

    .premium-menu,
    .nav-menu {
        top: 86px !important;
        max-height: calc(100vh - 104px);
        overflow-y: auto;
    }

    .premium-menu a,
    .nav-menu .nav-link {
        border-radius: 10px !important;
        font-size: 1rem !important;
        font-weight: 900 !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .premium-menu a.active,
    .premium-menu a:hover,
    .premium-menu a:focus-visible,
    .premium-menu a.touch-active,
    .nav-menu .nav-link.active,
    .nav-menu .nav-link:hover,
    .nav-menu .nav-link:focus-visible,
    .nav-menu .nav-link.touch-active {
        background: #1266ff !important;
        color: #ffffff !important;
        box-shadow: 0 10px 24px rgba(18, 102, 255, 0.18);
    }
}

@media (hover: none) and (pointer: coarse) {
    .premium-menu a:active,
    .premium-menu a.touch-active,
    .nav-menu .nav-link:active,
    .nav-menu .nav-link.touch-active {
        transform: translateX(4px) scale(0.99) !important;
        background: linear-gradient(135deg, #1266ff, #00a7ff) !important;
        color: #ffffff !important;
        box-shadow: 0 12px 28px rgba(18, 102, 255, 0.24) !important;
    }

    .magnetic-btn:active,
    .magnetic-btn.touch-active,
    .home-command-card:active,
    .home-command-card.touch-active,
    .home-depth-card:active,
    .home-depth-card.touch-active,
    .home-proof-item:active,
    .home-proof-item.touch-active,
    .home-link-board a:active,
    .home-link-board a.touch-active {
        transform: translateY(-3px) scale(0.985) !important;
        filter: brightness(1.06);
    }
}

/* Final mobile nav polish: keep the home menu obvious and touch-friendly. */
@media (max-width: 1080px) {
    .home-page .premium-header {
        position: fixed !important;
        inset: 0 0 auto 0 !important;
        z-index: 9000 !important;
        padding: 10px 0 !important;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 249, 255, 0.94)) !important;
        border-bottom: 1px solid rgba(18, 102, 255, 0.12) !important;
        box-shadow: 0 14px 34px rgba(7, 17, 31, 0.12) !important;
        backdrop-filter: blur(18px) !important;
    }

    .home-page .premium-nav {
        position: relative !important;
        width: min(100% - 22px, 1160px) !important;
        min-height: 58px !important;
        display: grid !important;
        grid-template-columns: auto 1fr auto !important;
        gap: 0.7rem !important;
        align-items: center !important;
        padding: 0.46rem 0.58rem !important;
        border: 1px solid rgba(18, 102, 255, 0.14) !important;
        border-radius: 16px !important;
        background: rgba(255, 255, 255, 0.92) !important;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86) !important;
    }

    .home-page .premium-logo {
        min-width: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
    }

    .home-page .premium-logo img {
        width: clamp(104px, 36vw, 136px) !important;
        height: auto !important;
        max-height: 48px !important;
        object-fit: contain !important;
    }

    .home-page .mobile-toggle {
        grid-column: 3 !important;
        justify-self: end !important;
        display: inline-flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 5px !important;
        width: 48px !important;
        height: 44px !important;
        padding: 0 !important;
        border: 1px solid rgba(18, 102, 255, 0.25) !important;
        border-radius: 14px !important;
        background: linear-gradient(135deg, #ffffff, #eef5ff) !important;
        box-shadow: 0 12px 28px rgba(18, 102, 255, 0.14) !important;
        cursor: pointer !important;
    }

    .home-page .mobile-toggle .bar {
        width: 21px !important;
        height: 2px !important;
        display: block !important;
        border-radius: 999px !important;
        background: #07111f !important;
        transition: transform 220ms var(--award-ease), opacity 180ms var(--award-ease), background 220ms var(--award-ease) !important;
    }

    .home-page .mobile-toggle.active {
        background: linear-gradient(135deg, #1266ff, #00a7ff) !important;
        border-color: transparent !important;
    }

    .home-page .mobile-toggle.active .bar {
        background: #ffffff !important;
    }

    .home-page .premium-menu {
        position: fixed !important;
        left: 11px !important;
        right: 11px !important;
        top: 84px !important;
        z-index: 8990 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0.55rem !important;
        max-height: calc(100vh - 104px) !important;
        padding: 0.82rem !important;
        overflow-y: auto !important;
        border: 1px solid rgba(18, 102, 255, 0.16) !important;
        border-radius: 20px !important;
        background:
            linear-gradient(145deg, rgba(255, 255, 255, 0.99), rgba(240, 247, 255, 0.98)),
            radial-gradient(circle at 12% 0%, rgba(0, 217, 255, 0.18), transparent 34%) !important;
        box-shadow: 0 24px 58px rgba(7, 17, 31, 0.22) !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transform: translateY(-12px) scale(0.98) !important;
        transition: opacity 220ms var(--award-ease), transform 220ms var(--award-ease), visibility 220ms var(--award-ease) !important;
    }

    .home-page .premium-menu.active {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: translateY(0) scale(1) !important;
    }

    .home-page .premium-menu a {
        position: relative !important;
        min-height: 48px !important;
        width: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 0.9rem 1rem !important;
        border: 1px solid rgba(18, 102, 255, 0.1) !important;
        border-radius: 14px !important;
        background: rgba(255, 255, 255, 0.78) !important;
        color: #07111f !important;
        font-size: 1rem !important;
        font-weight: 900 !important;
        text-decoration: none !important;
        box-shadow: 0 8px 18px rgba(7, 17, 31, 0.06) !important;
    }

    .home-page .premium-menu a::after {
        content: ">" !important;
        position: static !important;
        width: auto !important;
        height: auto !important;
        transform: none !important;
        background: transparent !important;
        color: rgba(18, 102, 255, 0.72) !important;
        font-size: 1rem !important;
        line-height: 1 !important;
    }

    .home-page .premium-menu a.active,
    .home-page .premium-menu a:hover,
    .home-page .premium-menu a:focus-visible,
    .home-page .premium-menu a:active,
    .home-page .premium-menu a.touch-active {
        transform: translateX(4px) !important;
        border-color: transparent !important;
        background: linear-gradient(135deg, #1266ff, #00a7ff) !important;
        color: #ffffff !important;
        box-shadow: 0 16px 32px rgba(18, 102, 255, 0.26) !important;
    }

    .home-page .premium-menu a.active::after,
    .home-page .premium-menu a:hover::after,
    .home-page .premium-menu a:focus-visible::after,
    .home-page .premium-menu a:active::after,
    .home-page .premium-menu a.touch-active::after {
        color: #ffffff !important;
    }

    .home-page .premium-header .nav-cta {
        display: none !important;
    }
}

@media (max-width: 420px) {
    .home-page .premium-nav {
        width: calc(100% - 16px) !important;
        padding: 0.42rem 0.5rem !important;
    }

    .home-page .premium-logo img {
        width: clamp(94px, 34vw, 118px) !important;
    }

    .home-page .mobile-toggle {
        width: 44px !important;
        height: 42px !important;
    }

    .home-page .premium-menu {
        left: 8px !important;
        right: 8px !important;
        top: 80px !important;
    }
}
