    *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
   
    :root {
      --bg: rgba(248, 250, 252, 0.6); 
      --surface: rgba(255, 255, 255, 0.82);
      --card: rgba(15, 23, 42, 0.02);
      --border: rgba(100, 116, 139, 0.208);
      --border-hover: rgba(100, 116, 139, 0.45);
      --steel: #FFFFFF;
      --copper: #F59E0B;
      --copper-light: #B45309;
      --copper-soft: rgba(245, 158, 11, 0.12);
      --accent: #0891B2;
      --accent-glow: rgba(8, 145, 178, 0.18);
      --gradient: linear-gradient(120deg, #0E7490 0%, #06B6D4 55%, #0891B2 100%);
      --text: #0F172A;
      --muted: #475569;
     
      --fd: 'Plus Jakarta Sans', sans-serif;
      --fb: 'Inter', sans-serif;            
      --fm: 'Space Mono', monospace;        

      --cb: cubic-bezier(0.16, 1, 0.3, 1);
    }

    html { scroll-behavior: smooth; background: #F8FAFC; }
   
    body {
      background: transparent;
      color: var(--text);
      font-family: var(--fb);
      font-weight: 400;
      line-height: 1.7;
      overflow-x: hidden;
    }

    #webgl-canvas {
      position: fixed;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      z-index: -1;
      pointer-events: none;
    }
   
    ::selection { background: var(--accent); color: #000; }
    ::-webkit-scrollbar { width: 5px; }
    ::-webkit-scrollbar-track { background: #F8FAFC; }
    ::-webkit-scrollbar-thumb { background: var(--border-hover); border-radius: 10px; }
    ::-webkit-scrollbar-thumb:hover { background: var(--accent); }

    body::before {
      content: ''; position: fixed; inset: 0; z-index: 0; pointer-events: none;
      background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
    }
   
    nav, main, footer { position: relative; z-index: 1; }

    /* NAV */
    nav {
      position: fixed; top: 0; left: 0; right: 0; z-index: 100;
      display: flex; align-items: center; justify-content: space-between;
      padding: 0.5rem 5%;
      border-bottom: 1px solid transparent;
      transition: all 0.6s var(--cb);
      background: rgba(248, 250, 252, 0.05);
    }
    nav.scrolled {
      background: rgba(248, 250, 252, 0.85);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      border-bottom: 1px solid var(--border);
      padding: 0.3rem 5%;
    }
    
    .nav-logo { text-decoration: none; display: flex; align-items: center; }
    .nav-logo { gap: 0.7rem; color: var(--text); font-family: var(--fd); font-weight: 700; font-size: 1.05rem; letter-spacing: -0.01em; }
    .nav-logo img { 
        height: 60px; 
        width: 60px; 
        object-fit: contain; 
        border-radius: 50%; 
        box-shadow: 0 4px 15px rgba(15, 23, 42, 0.132); 
        transition: all 0.6s var(--cb);
    }
    nav.scrolled .nav-logo img { height: 48px; width: 48px; }
    
    .nav-links { display: flex; align-items: center; gap: 2.5rem; list-style: none; }
    .nav-links a { font-size: 0.85rem; color: var(--muted); text-decoration: none; transition: color 0.4s var(--cb); font-weight: 500; letter-spacing: -0.01em; position: relative; padding: 0.2rem 0; }
   
    .nav-links a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform 0.4s var(--cb); }
    .nav-links a:hover { color: var(--text); }
    .nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
   
    .btn-primary {
      display: inline-flex; align-items: center; gap: 0.6rem;
      background: var(--text); color: #FFFFFF;
      font-family: var(--fd); font-size: 0.85rem; font-weight: 600;
      padding: 0.7rem 1.6rem; border-radius: 50px; text-decoration: none; border: none; cursor: pointer;
      transition: all 0.4s var(--cb); letter-spacing: 0; word-spacing: 0.08em; position: relative; overflow: hidden;
    }
    .btn-primary::before { content: ''; position: absolute; top: 0; left: -100%; width: 40%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent); transform: skewX(-30deg); transition: none; }
    .btn-primary:hover::before { left: 140%; transition: left 0.7s ease-in-out; }
    .btn-primary:hover { background: var(--accent); transform: translateY(-3px); box-shadow: 0 12px 25px var(--accent-glow); }
    .btn-primary svg { width: 14px; height: 14px; transition: transform 0.4s var(--cb); }
    .btn-primary:hover svg { transform: translateX(4px); }
    .nav-cta { padding: 0.6rem 1.2rem; font-size: 0.8rem; }
    .nav-links a, .nav-cta, .nav-logo span { white-space: nowrap; }
    @media (max-width: 1100px) and (min-width: 769px) { .nav-logo span { display: none; } }

    .hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; }
    .hamburger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; display: block; transition: 0.4s var(--cb); }
    .mobile-menu { position: fixed; inset: 0; z-index: 99; background: rgba(248, 250, 252, 0.98); backdrop-filter: blur(20px); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2.5rem; transform: translateY(-100%); transition: transform 0.6s var(--cb), opacity 0.6s var(--cb); opacity: 0; }
    .mobile-menu.open { transform: translateY(0); opacity: 1; }
    .mobile-menu a { font-family: var(--fd); font-size: 2rem; font-weight: 700; color: var(--text); text-decoration: none; transition: 0.3s; }
    .mobile-menu a:hover { color: var(--accent); }
    .mobile-close { position: absolute; top: 1.5rem; right: 5%; font-size: 2.5rem; color: var(--muted); cursor: pointer; background: none; border: none; }

    /* HERO */
    #home { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 10rem 5% 6rem; position: relative; overflow: hidden; background: transparent; }
    .hero-grid { position: absolute; inset: 0; z-index: 0; background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px); background-size: 80px 80px; mask-image: radial-gradient(ellipse 70% 70% at 50% 30%, black 20%, transparent 80%); -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 30%, black 20%, transparent 80%); }
   
    .hero-glow { position: absolute; top: -10%; left: 50%; transform: translateX(-50%); width: 75vw; height: 75vh; pointer-events: none; background: radial-gradient(circle at 35% 40%, rgba(6, 182, 212, 0.14) 0%, transparent 55%), radial-gradient(circle at 78% 72%, rgba(245, 158, 11, 0.08) 0%, transparent 50%); animation: ambientLiquid 16s infinite alternate ease-in-out; }
    @keyframes ambientLiquid { 0% { transform: translateX(-50%) translate(-30px, -20px) scale(1); } 100% { transform: translateX(-50%) translate(30px, 30px) scale(1.08); } }
   
    .hero-content { position: relative; z-index: 1; max-width: 1120px; }
   
    .hero-badge { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--fm); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text); background: rgba(15, 23, 42, 0.04); border: 1px solid var(--border); padding: 0.4rem 1.1rem; border-radius: 50px; margin-bottom: 2rem; opacity: 0; transform: translateY(20px); animation: structuralFadeUp 0.9s 0.2s var(--cb) forwards; backdrop-filter: blur(5px); }
    .hero-badge span { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 12px var(--accent); }
   
    h1.hero-title { font-family: var(--fd); font-weight: 800; font-size: clamp(3rem, 7.5vw, 5.8rem); line-height: 1.08; letter-spacing: -0.03em; margin-bottom: 1.8rem; opacity: 0; transform: translateY(30px); animation: structuralFadeUp 0.9s 0.4s var(--cb) forwards; }
    .text-gradient { background: var(--gradient); -webkit-background-clip: text; color: transparent; }
   
    .hero-sub { font-size: 1.15rem; color: var(--muted); max-width: 650px; line-height: 1.8; margin-bottom: 3.5rem; opacity: 0; transform: translateY(30px); animation: structuralFadeUp 0.9s 0.6s var(--cb) forwards; font-weight: 400; }
    .hero-sub strong { color: var(--text); font-weight: 600; }
   
    .hero-actions { display: flex; align-items: center; gap: 1.5rem; opacity: 0; transform: translateY(30px); animation: structuralFadeUp 0.9s 0.8s var(--cb) forwards; }
   
    .hero-stats { display: flex; gap: 5rem; margin-top: 5.5rem; padding-top: 3rem; border-top: 1px solid var(--border); opacity: 0; transform: translateY(30px); animation: structuralFadeUp 0.9s 1s var(--cb) forwards; }
    .stat-num { font-family: var(--fd); font-size: 2.4rem; font-weight: 800; color: var(--text); line-height: 1; letter-spacing: -0.02em; }
    .stat-label { font-size: 0.8rem; color: var(--muted); margin-top: 0.5rem; font-weight: 500; letter-spacing: 0.02em; }

    .scroll-indicator { position: absolute; bottom: 2.5rem; left: 5%; display: flex; align-items: center; gap: 1rem; font-family: var(--fm); font-size: 0.7rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; opacity: 0; animation: structuralFadeUp 0.9s 1.2s var(--cb) forwards; }
    .scroll-line { width: 1px; height: 40px; background: rgba(15, 23, 42, 0.1); position: relative; overflow: hidden; }
    .scroll-line::after { content: ''; position: absolute; top: 0; left: 0; width: 1px; height: 15px; background: var(--accent); animation: scrollDown 2.2s infinite ease-in-out; }

    section { padding: 9rem 5%; }
    .section-label { font-family: var(--fm); font-size: 0.7rem; letter-spacing: 0.18em; color: var(--accent); text-transform: uppercase; margin-bottom: 1rem; display: flex; align-items: center; gap: 0.6rem; }
    .section-label::before { content: ''; width: 24px; height: 1px; background: var(--accent); }
    .section-title { font-family: var(--fd); font-weight: 800; font-size: clamp(2.4rem, 5.2vw, 3.6rem); letter-spacing: -0.03em; line-height: 1.15; margin-bottom: 1.5rem; }
    .section-desc { font-size: 1.05rem; color: var(--muted); max-width: 620px; line-height: 1.8; font-weight: 400; }
    .sec-header { margin-bottom: 4.5rem; }

    @keyframes structuralFadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
    @keyframes scrollDown { 0% { transform: translateY(-100%); opacity: 0; } 30% { opacity: 1; } 60% { transform: translateY(280%); opacity: 0; } 100% { transform: translateY(280%); opacity: 0; } }
   
    .reveal { opacity: 0; transform: translateY(35px); transition: opacity 1s var(--cb), transform 1s var(--cb); will-change: transform, opacity; }
    .reveal.vis { opacity: 1; transform: translateY(0); }

    .reveal-grid > * { opacity: 0; transform: translateY(35px); transition: opacity 1s var(--cb), transform 1s var(--cb); will-change: transform, opacity; }
    .reveal-grid.vis > *:nth-child(1) { transition-delay: 0.05s; opacity: 1; transform: translateY(0); }
    .reveal-grid.vis > *:nth-child(2) { transition-delay: 0.15s; opacity: 1; transform: translateY(0); }
    .reveal-grid.vis > *:nth-child(3) { transition-delay: 0.25s; opacity: 1; transform: translateY(0); }
    .reveal-grid.vis > *:nth-child(4) { transition-delay: 0.35s; opacity: 1; transform: translateY(0); }

    /* TIERS */
    #tiers { background: transparent; position: relative; }
    .tier-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
    .tier { background: rgba(255, 255, 255, 0.82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--border); padding: 3.5rem 2.5rem; border-radius: 16px; position: relative; overflow: hidden; transition: transform 0.5s var(--cb), border-color 0.5s var(--cb), box-shadow 0.5s var(--cb); display: flex; flex-direction: column; }
    .tier:hover { transform: translateY(-10px) scale(1.01); border-color: rgba(6, 182, 212, 0.25); box-shadow: 0 30px 60px rgba(15, 23, 42, 0.143), 0 0 40px rgba(6, 182, 212, 0.02); }
    .tier.featured { border-color: rgba(6, 182, 212, 0.2); background: linear-gradient(180deg, rgba(6, 182, 212,0.05) 0%, transparent 100%), rgba(255, 255, 255, 0.82); }
    .tier.featured:hover { border-color: var(--accent); box-shadow: 0 35px 70px rgba(6, 182, 212,0.08), 0 30px 60px rgba(15, 23, 42, 0.154); }
    .tier-badge { font-family: var(--fm); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text); background: rgba(15, 23, 42, 0.05); border: 1px solid var(--border); padding: 0.4rem 0.8rem; border-radius: 50px; display: inline-block; margin-bottom: 1.5rem; align-self: flex-start; }
    .tier.featured .tier-badge { background: rgba(6, 182, 212,0.1); color: var(--accent); border-color: rgba(6, 182, 212,0.2); }
    .tier-name { font-family: var(--fd); font-size: 1.8rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 0.5rem; color: var(--text); }
    .tier-desc { font-size: 0.9rem; color: var(--muted); line-height: 1.7; margin-bottom: 2.5rem; padding-bottom: 2rem; border-bottom: 1px solid var(--border); font-weight: 400; }
    .tier-list { list-style: none; display: flex; flex-direction: column; gap: 0.9rem; margin-bottom: 2.8rem; flex-grow: 1; }
    .tier-list li { font-size: 0.9rem; color: var(--muted); display: flex; gap: 0.8rem; align-items: flex-start; font-weight: 400; transition: transform 0.3s var(--cb); }
    .tier:hover .tier-list li { transform: translateX(2px); }
    .tier-list li svg { flex-shrink: 0; width: 18px; height: 18px; color: var(--accent); margin-top: 3px; }
    .tier-list li strong { color: var(--text); font-weight: 600; }
    .tier-btn { width: 100%; justify-content: center; background: transparent; color: var(--text); border: 1px solid var(--border-hover); font-size: 0.9rem; padding: 0.85rem; font-family: var(--fd); font-weight: 600; }
    .tier.featured .tier-btn { background: var(--text); color: #FFFFFF; border: none; }
    .tier.featured .tier-btn:hover { background: var(--accent); color: #FFFFFF; }

    /* CASE STUDIES / PORTFOLIO */
    #portfolio { background: rgba(255, 255, 255, 0.82); backdrop-filter: blur(8px); }
    .port-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2.5rem; }
    .port-card { background: rgba(255, 255, 255, 0.82); backdrop-filter: blur(12px); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; transition: transform 0.5s var(--cb), border-color 0.5s var(--cb), box-shadow 0.5s var(--cb); display: flex; flex-direction: column; }
    .port-card:hover { transform: translateY(-10px) scale(1.01); border-color: rgba(245, 158, 11,0.3); box-shadow: 0 30px 60px rgba(15, 23, 42, 0.154); }
    .port-img-placeholder { width: 100%; height: 230px; background: linear-gradient(45deg, rgba(255, 255, 255, 0.85), rgba(248, 250, 252, 0.9)); display: flex; align-items: center; justify-content: center; position: relative; border-bottom: 1px solid var(--border); font-family: var(--fm); font-size: 0.8rem; color: var(--accent); letter-spacing: 0.05em; overflow: hidden; }
   
    .port-img-placeholder::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle, rgba(6, 182, 212,0.04) 0%, transparent 60%); transition: transform 0.8s var(--cb); }
    .port-card:hover .port-img-placeholder::before { transform: translate(15%, 15%); }
    .port-img-placeholder::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(248, 250, 252, 0.55)); pointer-events: none; }
    .port-img-placeholder svg { position: relative; z-index: 1; width: 100%; height: 100%; display: block; }
   
    .port-info { padding: 2.2rem; display: flex; flex-direction: column; flex-grow: 1; }
    .port-tag { font-family: var(--fm); font-size: 0.7rem; color: var(--accent); text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 0.6rem; }
    .port-title { font-family: var(--fd); font-size: 1.35rem; font-weight: 700; margin-bottom: 0.8rem; color: var(--text); letter-spacing: -0.01em; }
    .port-desc { font-size: 0.9rem; color: var(--muted); line-height: 1.65; margin-bottom: 1.8rem; font-weight: 400; }
    .port-meta { font-size: 0.8rem; font-family: var(--fm); color: var(--text); border-top: 1px solid var(--border); padding-top: 1.1rem; margin-top: auto; display: flex; justify-content: space-between; }
    .port-meta span { color: var(--accent); }
   
    /* SERVICES */
    #services { background: transparent; }
    .srv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
    @media (max-width: 1100px) { .srv-grid { grid-template-columns: repeat(2, 1fr); } }
    @media (max-width: 640px) { .srv-grid { grid-template-columns: 1fr; } }
    .srv { background: rgba(255, 255, 255, 0.82); backdrop-filter: blur(12px); border: 1px solid var(--border); padding: 2.4rem 2rem; border-radius: 16px; transition: border-color 0.5s var(--cb), transform 0.5s var(--cb), box-shadow 0.5s var(--cb); }
    .srv:hover { border-color: rgba(15, 23, 42, 0.18); transform: translateY(-6px); box-shadow: 0 20px 40px rgba(15, 23, 42, 0.11); }
    .srv-icon { width: 52px; height: 52px; background: rgba(15, 23, 42, 0.03); border: 1px solid var(--border); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 2rem; transition: all 0.5s var(--cb); }
    .srv:hover .srv-icon { background: var(--accent); color: #000; border-color: var(--accent); transform: scale(1.05) rotate(360deg); }
    .srv-title { font-family: var(--fd); font-size: 1.4rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 1rem; color: var(--text); }
    .srv-desc { font-size: 0.95rem; color: var(--muted); margin-bottom: 1.5rem; line-height: 1.7; font-weight: 400; }

    /* ABOUT */
    #about { background: rgba(255, 255, 255, 0.82); backdrop-filter: blur(8px); }
    .about-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center; }
    .belief-block { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 3rem; }
    .belief { background: rgba(248, 250, 252, 0.6); border: 1px solid var(--border); padding: 2.2rem; border-radius: 12px; transition: border-color 0.4s var(--cb), transform 0.4s var(--cb); }
    .belief:hover { border-color: var(--accent); transform: translateY(-4px); }
    .belief-n { font-family: var(--fm); font-size: 0.8rem; color: var(--accent); display: block; margin-bottom: 1rem; }
    .belief-body strong { display: block; font-size: 1.1rem; color: var(--text); margin-bottom: 0.5rem; font-family: var(--fd); font-weight: 700; }
    .belief-body p { font-size: 0.85rem; color: var(--muted); line-height: 1.6; font-weight: 400; }

    /* CONTACT & FORMS */
    #contact { background: transparent; }
    .contact-wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: 6rem; align-items: start; }
    .c-info { position: sticky; top: 150px; }
    .c-detail-list { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2rem; }
    .c-detail { display: flex; align-items: center; gap: 1.2rem; }
    .c-detail-icon { width: 45px; height: 45px; background: rgba(255, 255, 255, 0.82); border: 1px solid var(--border); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
    .c-detail-val { font-size: 1rem; color: var(--text); font-weight: 500;}
    .c-detail-lbl { font-size: 0.75rem; color: var(--muted); font-family: var(--fm); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.2rem;}

    .c-form { background: rgba(255, 255, 255, 0.82); backdrop-filter: blur(16px); border: 1px solid var(--border); padding: 3.5rem; border-radius: 16px; display: flex; flex-direction: column; gap: 1.6rem; transition: border-color 0.5s var(--cb); }
   
    .c-form.plan-pulse { border-color: var(--accent); animation: formFlash 1s var(--cb); }
    @keyframes formFlash { 0%, 100% { box-shadow: none; } 50% { box-shadow: 0 0 30px rgba(6, 182, 212, 0.15); } }

    .f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
    .f-group { display: flex; flex-direction: column; gap: 0.5rem; }
    .f-group label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text); font-family: var(--fd); }
   
    .f-group input, .f-group select, .f-group textarea {
      background: rgba(15, 23, 42, 0.015);
      border: 1px solid var(--border);
      border-radius: 8px;
      color: var(--text);
      font-family: var(--fb);
      font-size: 0.95rem;
      padding: 1.1rem 1.3rem;
      outline: none;
      transition: border-color 0.4s var(--cb), background-color 0.4s var(--cb), box-shadow 0.4s var(--cb);
      -webkit-appearance: none;
      font-weight: 400;
    }
    .f-group input::placeholder, .f-group textarea::placeholder { color: rgba(100, 116, 139, 0.45); }
    .f-group input:focus, .f-group select:focus, .f-group textarea:focus {
      background: rgba(15, 23, 42, 0.035);
      border-color: var(--accent);
      box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.08);
    }
    .f-group select option { background: #F8FAFC; }
    .f-group textarea { resize: vertical; min-height: 130px; }
   
    input[type="file"] { padding: 0.8rem; border: 1px dashed var(--border); cursor: pointer; color: var(--muted); }
    input[type="file"]:hover { border-color: rgba(15, 23, 42, 0.25); }
    input[type="file"]::file-selector-button { background: var(--text); color: #FFFFFF; border: none; padding: 0.5rem 1rem; border-radius: 5px; cursor: pointer; margin-right: 1rem; font-family: var(--fd); font-weight: 600; font-size: 0.8rem; transition: background-color 0.3s; }
    input[type="file"]::file-selector-button:hover { background: var(--accent); }
    .file-hint { font-size: 0.75rem; color: var(--muted); margin-top: 0.4rem; }
    .file-error { display: none; color: #ff4c6a; font-size: 0.8rem; margin-top: 0.4rem; font-weight: 500; }
   
    .f-submit { margin-top: 1rem; width: 100%; justify-content: center; padding: 1.1rem; font-size: 1rem; }
   
    .form-msg { display: none; border-radius: 8px; padding: 1.2rem; font-size: 0.95rem; font-weight: 500; text-align: center; margin-bottom: 1rem;}
    .form-msg.show { display: block; }
    .msg-success { background: rgba(6, 182, 212,0.1); border: 1px solid rgba(6, 182, 212,0.3); color: var(--accent); }
    .msg-error { background: rgba(255,76,106,0.1); border: 1px solid rgba(255,76,106,0.3); color: #ff4c6a; }

    /* FOOTER */
    footer { background: rgba(248, 250, 252, 0.92); backdrop-filter: blur(20px); border-top: 1px solid var(--border); padding: 5rem 5% 2rem; }
    .foot-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 4rem; margin-bottom: 4rem; }
    
    /* Footer Logo CSS */
    .foot-brand { display: flex; flex-direction: column; align-items: flex-start; }
    .foot-brand-logo { display: flex; align-items: center; gap: 1.5rem; text-decoration: none; margin-bottom: 1.5rem; }
    .foot-brand-logo img { 
        height: 96px; 
        width: 96px;  
        object-fit: contain; 
        border-radius: 50%; 
        box-shadow: 0 8px 25px rgba(15, 23, 42, 0.176); 
    }
    .foot-brand p { font-size: 0.95rem; color: var(--muted); line-height: 1.8; max-width: 350px; font-weight: 400; margin-top: 0.5rem;}
    
    .foot-col h5 { font-size: 0.8rem; font-family: var(--fm); letter-spacing: 0.1em; text-transform: uppercase; color: var(--text); margin-bottom: 1.5rem; }
    .foot-col ul { list-style: none; display: flex; flex-direction: column; gap: 1rem; }
    .foot-col ul li a { font-size: 0.95rem; color: var(--muted); text-decoration: none; transition: color 0.3s; font-weight: 400; }
    .foot-col ul li a:hover { color: var(--accent); }
    .foot-bottom { border-top: 1px solid var(--border); padding-top: 2rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
    .foot-bottom p { font-size: 0.85rem; color: var(--muted); font-weight: 400; }

    .wa-float { position: fixed; bottom: 30px; right: 30px; background-color: #25d366; color: #FFF; border-radius: 50%; display: flex; align-items: center; justify-content: center; width: 65px; height: 65px; text-decoration: none; box-shadow: 0 10px 30px rgba(37,211,102,0.3); transition: transform 0.4s var(--cb), box-shadow 0.4s var(--cb); z-index: 100; }
    .wa-float:hover { transform: translateY(-6px) scale(1.06); box-shadow: 0 18px 35px rgba(37,211,102,0.45); }
    .wa-float svg { width: 35px; height: 35px; fill: white; }

    @media (max-width: 992px) {
      .about-wrap, .contact-wrap { grid-template-columns: 1fr; gap: 4rem; }
      .c-info { position: relative; top: 0; }
      .nav-links { gap: 1.5rem; }
    }
    @media (max-width: 768px) {
      nav { padding: 1rem 5%; }
      nav.scrolled { padding: 0.5rem 5%; }
      .nav-links, .nav-cta { display: none; }
      .hamburger { display: flex; }
      #home { padding: 8rem 5% 4rem; }
      section { padding: 5rem 5%; }
      .belief-block, .f-row { grid-template-columns: 1fr; }
      .hero-stats { flex-wrap: wrap; gap: 2.5rem; }
      .foot-inner { grid-template-columns: 1fr; gap: 3rem; }
      .c-form { padding: 2.5rem 1.5rem; }
      .wa-float { bottom: 20px; right: 20px; width: 55px; height: 55px; }
      .wa-float svg { width: 30px; height: 30px; }
      
      .nav-logo img {
          height: 48px;
          width: 48px;
      }
      nav.scrolled .nav-logo img {
          height: 42px;
          width: 42px;
      }
    }

/* === NEW ANIMATION STYLES === */

/* Custom cursor */
.cursor-dot {
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease, opacity 0.3s;
  mix-blend-mode: difference;
}
.cursor-ring {
  position: fixed;
  width: 40px;
  height: 40px;
  border: 2px solid rgba(6, 182, 212, 0.4);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease, border-color 0.3s ease;
}
.cursor-ring.hover {
  width: 60px;
  height: 60px;
  border-color: var(--accent);
}

/* Text scramble effect */
.scramble-text {
  display: inline-block;
}

/* Magnetic button effect */
.magnetic {
  transition: transform 0.4s var(--cb);
}

/* Parallax tilt on cards */
.tilt-card {
  transition: transform 0.4s var(--cb), box-shadow 0.4s ease;
  transform-style: preserve-3d;
}
.tilt-card:hover {
  box-shadow: 0 20px 60px rgba(6, 182, 212, 0.15), 0 0 0 1px rgba(6, 182, 212, 0.1);
}

/* Glowing border pulse on cards */
@keyframes glowPulse {
  0%, 100% { border-color: rgba(6, 182, 212, 0.08); box-shadow: 0 0 0 rgba(6, 182, 212, 0); }
  50% { border-color: rgba(6, 182, 212, 0.3); box-shadow: 0 0 30px rgba(6, 182, 212, 0.08); }
}

/* Staggered card reveal */
.stagger-reveal > * {
  opacity: 0;
  transform: translateY(40px) scale(0.97);
  transition: opacity 0.7s var(--cb), transform 0.7s var(--cb);
}
.stagger-reveal.vis > *:nth-child(1) { transition-delay: 0.05s; }
.stagger-reveal.vis > *:nth-child(2) { transition-delay: 0.15s; }
.stagger-reveal.vis > *:nth-child(3) { transition-delay: 0.25s; }
.stagger-reveal.vis > *:nth-child(4) { transition-delay: 0.35s; }
.stagger-reveal.vis > *:nth-child(5) { transition-delay: 0.45s; }
.stagger-reveal.vis > *:nth-child(6) { transition-delay: 0.55s; }
.stagger-reveal.vis > * {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Floating animation for hero elements */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}
.float-anim {
  animation: float 4s ease-in-out infinite;
}

/* Gradient border shimmer on tier cards */
.tier-card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, transparent 30%, rgba(6, 182, 212, 0.3) 50%, transparent 70%);
  background-size: 200% 200%;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: -1;
}
.tier-card:hover::before {
  opacity: 1;
  animation: shimmer 2s linear infinite;
}
@keyframes shimmer {
  0% { background-position: 200% 200%; }
  100% { background-position: -200% -200%; }
}

/* Smooth scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--gradient);
  z-index: 10001;
  transition: width 0.1s linear;
}

/* Enhanced nav link hover */
.nav-links a {
  position: relative;
  overflow: hidden;
}
.nav-links a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease, left 0.3s ease;
}
.nav-links a:hover::before {
  width: 100%;
  left: 0;
}

/* Portfolio card image hover zoom */
.port-card .port-img {
  overflow: hidden;
  border-radius: 12px;
}
.port-card .port-img img {
  transition: transform 0.6s var(--cb);
}
.port-card:hover .port-img img {
  transform: scale(1.08);
}

/* Section divider line animation */
@keyframes lineGrow {
  from { width: 0; }
  to { width: 60px; }
}
.section-title::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: var(--gradient);
  margin-top: 12px;
  transition: width 0.8s var(--cb);
}
.section-title.vis::after {
  width: 60px;
}

/* Skill tag float animation */
.port-card .tags span {
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}
.port-card:hover .tags span {
  transform: translateY(-2px);
}

/* Button ripple effect */
.btn-primary, .c-btn {
  position: relative;
  overflow: hidden;
}
.btn-primary::after, .c-btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.15);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}
.btn-primary:active::after, .c-btn:active::after {
  width: 300px;
  height: 300px;
}

/* Glow text effect for hero */
.hero-title .glow-word {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 20px rgba(6, 182, 212, 0.3));
}

/* Smooth reveal for footer */
footer .reveal {
  transition-delay: 0.1s;
}

/* Mobile cursor hide */
@media (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none !important; }
}


/* === V2: BUSINESS CONVERSION ENHANCEMENTS === */

/* Loading Screen */
.loading-screen {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #F8FAFC;
  z-index: 999999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
}
.loading-logo {
  font-family: var(--fd);
  font-size: 1.8rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 30px;
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.3s forwards;
}
.loading-bar {
  width: 200px;
  height: 2px;
  background: rgba(15, 23, 42, 0.1);
  border-radius: 2px;
  overflow: hidden;
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.5s forwards;
}
.loading-bar::after {
  content: '';
  display: block;
  width: 0%;
  height: 100%;
  background: var(--gradient);
  border-radius: 2px;
  animation: loadProgress 1.5s ease 0.7s forwards;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes loadProgress {
  to { width: 100%; }
}
body.loading {
  overflow: hidden;
}

/* Animated Counter Numbers */
.stat-num[data-target] {
  transition: color 0.3s ease;
}
.stat-num.counting {
  color: var(--accent);
}

/* Trust Banner */
.trust-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 40px 20px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}
.trust-item:hover {
  opacity: 1;
}
.trust-num {
  font-family: var(--fd);
  font-size: 2.2rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.trust-label {
  font-family: var(--fm);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--muted);
}

/* Hero Enhanced */
.hero-title .word-reveal {
  display: inline-block;
  overflow: hidden;
}
.hero-title .word-reveal span {
  display: inline-block;
  transform: translateY(100%);
  animation: wordReveal 0.8s var(--cb) forwards;
}
@keyframes wordReveal {
  to { transform: translateY(0); }
}
.hero-title .word-reveal:nth-child(1) span { animation-delay: 0.2s; }
.hero-title .word-reveal:nth-child(2) span { animation-delay: 0.35s; }
.hero-title .word-reveal:nth-child(3) span { animation-delay: 0.5s; }

/* Typing cursor effect */
.typing-cursor {
  display: inline-block;
  width: 3px;
  height: 1em;
  background: var(--accent);
  margin-left: 4px;
  animation: blink 1s step-end infinite;
  vertical-align: text-bottom;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* CTA Glow Button Enhancement */
.btn-cta-glow {
  position: relative;
  background: var(--gradient);
  border: none;
  color: #FFFFFF;
  font-weight: 700;
  padding: 16px 36px;
  border-radius: 50px;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.3s var(--cb), box-shadow 0.3s ease;
  box-shadow: 0 0 30px rgba(6, 182, 212, 0.2);
}
.btn-cta-glow:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 40px rgba(6, 182, 212, 0.35);
}
.btn-cta-glow:active {
  transform: translateY(-1px) scale(0.99);
}

/* Floating notification badge */
.float-notification {
  position: fixed;
  bottom: 100px;
  right: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 20px;
  backdrop-filter: blur(20px);
  z-index: 9999;
  opacity: 0;
  transform: translateX(120%);
  transition: transform 0.5s var(--cb), opacity 0.5s ease;
  max-width: 320px;
  cursor: pointer;
}
.float-notification.show {
  opacity: 1;
  transform: translateX(0);
}
.float-notification .notif-icon {
  font-size: 1.2rem;
  margin-bottom: 6px;
}
.float-notification .notif-title {
  font-family: var(--fd);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 4px;
}
.float-notification .notif-text {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.4;
}
.float-notification .notif-close {
  position: absolute;
  top: 8px;
  right: 12px;
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 1rem;
}

/* Smooth section reveal */
.section-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--cb), transform 0.8s var(--cb);
}
.section-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Pricing card enhanced hover */
.tier-card {
  transition: transform 0.5s var(--cb), box-shadow 0.5s ease, border-color 0.3s ease;
}
.tier-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 60px rgba(6, 182, 212, 0.1);
}

/* Service card icon animation */
.srv-icon {
  transition: transform 0.4s var(--cb), color 0.3s ease;
}
.srv:hover .srv-icon {
  transform: scale(1.15) rotate(-5deg);
  color: var(--accent);
}

/* Portfolio card reveal overlay */
.port-card {
  position: relative;
  overflow: hidden;
}
.port-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 0%;
  background: linear-gradient(to top, rgba(6, 182, 212,0.08), transparent);
  transition: height 0.5s var(--cb);
  z-index: 0;
}
.port-card:hover::before {
  height: 100%;
}

/* Smooth scroll indicator */
.scroll-indicator {
  animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* Contact form success animation */
.form-success-anim {
  animation: successPop 0.5s var(--cb);
}
@keyframes successPop {
  0% { transform: scale(0.8); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

/* Stacked text effect for tier names */
.tier-name {
  position: relative;
  display: inline-block;
}
.tier-name::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.4s var(--cb);
}
.tier-card:hover .tier-name::after {
  width: 100%;}

/* Belief card counter number */
.belief-num {
  font-family: var(--fd);
  font-size: 3rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.15;
  position: absolute;
  top: -10px;
  right: 10px;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.belief:hover .belief-num {
  opacity: 0.3;
}

/* Footer link hover effect */
footer a {
  position: relative;
  transition: color 0.3s ease;
}
footer a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s var(--cb);
}
footer a:hover::after {
  width: 100%;
}

/* Performance: will-change for animated elements */
.cursor-dot, .cursor-ring, .scroll-progress, .tilt-card, .magnetic {
  will-change: transform;
}

/* Mobile sticky CTA */
@media (max-width: 768px) {
  .mobile-sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(248, 250, 252, 0.95);
    backdrop-filter: blur(20px);
    padding: 12px 20px;
    z-index: 9998;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transform: translateY(100%);
    transition: transform 0.4s var(--cb);
  }
  .mobile-sticky-cta.visible {
    transform: translateY(0);
  }
  .mobile-sticky-cta .cta-text {
    font-family: var(--fd);
    font-size: 0.85rem;
    font-weight: 600;
  }
  body.cta-visible .wa-float { bottom: 84px; }
  .wa-float { transition: transform 0.4s var(--cb), box-shadow 0.4s var(--cb), bottom 0.4s var(--cb); }
  .mobile-sticky-cta .cta-btn {
    text-decoration: none;
    background: var(--gradient);
    color: #FFFFFF;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
  }
}
@media (min-width: 769px) {
  .mobile-sticky-cta { display: none; }
}

/* === CYBER PRECISION PALETTE: ACCENTS & POLISH === */
.btn-primary { background: #06B6D4; color: #FFFFFF; box-shadow: 0 8px 24px rgba(6, 182, 212, 0.22); }
.btn-primary:hover { background: #0891B2; box-shadow: 0 14px 32px rgba(6, 182, 212, 0.32); }
.tier-btn { background: transparent; color: var(--text); box-shadow: none; }
.tier-btn:hover { background: rgba(6, 182, 212, 0.12); color: var(--text); border-color: #06B6D4; }

.hero-badge { border-color: rgba(245, 158, 11, 0.28); background: rgba(255, 255, 255, 0.82); }
.hero-badge span { background: var(--copper); box-shadow: 0 0 12px var(--copper); }
.hero-sub strong { color: #0E7490; }
.hero-stats > div { padding-left: 1.1rem; border-left: 2px solid var(--copper); }

.section-label::before { background: linear-gradient(90deg, #06B6D4, var(--copper)); width: 32px; }

/* Cards on Dark Steel Blue */
.tier, .srv, .port-card, .c-form { background: rgba(255, 255, 255, 0.82); border-color: var(--border); }
.belief { background: rgba(248, 250, 252, 0.7); }
.srv { position: relative; overflow: hidden; }
.tier::after, .srv::after { content: ''; position: absolute; top: 0; left: 12%; right: 12%; height: 1px; background: linear-gradient(90deg, transparent, rgba(6, 182, 212, 0.7), transparent); opacity: 0; transition: opacity 0.5s var(--cb); }
.tier:hover::after, .srv:hover::after { opacity: 1; }

/* Featured package in Copper */
.tier.featured { border-color: rgba(245, 158, 11, 0.4); background: linear-gradient(180deg, rgba(245, 158, 11, 0.08) 0%, transparent 45%), rgba(255, 255, 255, 0.82); }
.tier.featured::after { left: 0; right: 0; height: 2px; opacity: 1; background: linear-gradient(90deg, transparent, var(--copper), transparent); }
.tier.featured:hover { border-color: var(--copper); box-shadow: 0 30px 60px rgba(15, 23, 42, 0.121), 0 0 50px rgba(245, 158, 11, 0.1); }
.tier.featured .tier-badge { background: var(--copper-soft); color: var(--copper-light); border-color: rgba(245, 158, 11, 0.35); }
.tier.featured .tier-list li svg { color: var(--copper); }
.tier.featured .tier-btn { background: var(--copper); color: #FFFFFF; box-shadow: 0 8px 24px rgba(245, 158, 11, 0.25); }
.tier.featured .tier-btn:hover { background: var(--copper-light); color: #FFFFFF; }

/* Portfolio */
.port-card:hover { border-color: rgba(6, 182, 212, 0.4); }
.port-meta span { color: var(--copper-light); }

/* Service icons */
.srv-icon { color: #06B6D4; background: rgba(6, 182, 212, 0.08); border-color: rgba(6, 182, 212, 0.22); }
.srv-icon svg { width: 24px; height: 24px; }
.srv:hover .srv-icon { background: #06B6D4; border-color: #06B6D4; color: #FFFFFF; transform: scale(1.06); }
.srv:nth-child(even) .srv-icon { color: var(--copper); background: var(--copper-soft); border-color: rgba(245, 158, 11, 0.25); }
.srv:nth-child(even):hover .srv-icon { background: var(--copper); border-color: var(--copper); color: #FFFFFF; }

/* About + contact */
.belief-n { color: var(--copper); font-weight: 700; }
.belief:hover { border-color: rgba(6, 182, 212, 0.5); }
.c-detail-icon { color: #06B6D4; background: rgba(255, 255, 255, 0.82); }
.c-detail-icon svg { width: 20px; height: 20px; }
a.c-detail-val:hover { color: #0891B2; }

.scroll-progress { background: linear-gradient(90deg, #06B6D4, #0891B2); }
footer { border-top: 1px solid rgba(245, 158, 11, 0.18); }
::selection { background: #06B6D4; color: #FFFFFF; }

/* === HERO VISUAL === */
.hero-layout { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 4rem; align-items: center; }
.hero-layout .hero-content { max-width: none; }
.hero-layout h1.hero-title { font-size: clamp(2.6rem, 5vw, 4.5rem); }
.text-gradient { background-size: 200% auto; animation: gradientShift 6s ease-in-out infinite alternate; }
@keyframes gradientShift { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }

.hero-visual { position: relative; aspect-ratio: 4 / 4.4; opacity: 0; animation: heroVisualIn 1.2s 0.5s var(--cb) forwards; }
@keyframes heroVisualIn { from { opacity: 0; transform: translateY(40px) scale(0.96); } to { opacity: 1; transform: none; } }
.hv-frame { position: absolute; inset: 6% 4% 8% 8%; border-radius: 24px; overflow: hidden; isolation: isolate; box-shadow: 0 40px 80px rgba(15, 23, 42, 0.121), 0 0 0 1px rgba(6, 182, 212, 0.25); }
.hv-frame::before { content: ''; position: absolute; inset: -50%; z-index: -1; background: conic-gradient(from 0deg, transparent 0 70%, #06B6D4 80%, #F59E0B 90%, transparent 100%); animation: spin 6s linear infinite; }
.hv-frame::after { content: ''; position: absolute; inset: 2px; border-radius: 22px; background: #F8FAFC; z-index: -1; }
.hv-frame img { position: absolute; inset: 2px; width: calc(100% - 4px); height: calc(100% - 4px); object-fit: cover; border-radius: 22px; filter: saturate(1.15) contrast(1.05); animation: kenBurns 18s ease-in-out infinite alternate; }
@keyframes kenBurns { from { transform: scale(1.05) translate(0, 0); } to { transform: scale(1.18) translate(-3%, -2%); } }
@keyframes spin { to { transform: rotate(360deg); } }
.hv-grid-overlay { position: absolute; inset: 2px; border-radius: 22px; background: linear-gradient(180deg, rgba(248, 250, 252, 0) 40%, rgba(248, 250, 252, 0.75)), linear-gradient(120deg, rgba(6, 182, 212, 0.25), transparent 50%, rgba(245, 158, 11, 0.18)); pointer-events: none; }
.hv-scan { position: absolute; left: 2px; right: 2px; height: 30%; top: -30%; background: linear-gradient(180deg, transparent, rgba(6, 182, 212, 0.22), transparent); animation: scan 4.5s ease-in-out infinite; z-index: 1; pointer-events: none; }
@keyframes scan { 0% { top: -30%; } 100% { top: 100%; } }
.hv-card { position: absolute; z-index: 2; display: flex; align-items: center; gap: 0.8rem; padding: 0.85rem 1.1rem; border-radius: 14px; background: rgba(255, 255, 255, 0.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(100, 116, 139, 0.32); box-shadow: 0 18px 40px rgba(15, 23, 42, 0.099); animation: floatY 5s ease-in-out infinite; }
.hv-card small { display: block; font-family: var(--fm); font-size: 0.62rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.hv-card b { font-family: var(--fd); font-size: 1rem; color: var(--text); }
.hv-card-1 { top: 0; left: -4%; }
.hv-card-2 { bottom: 2%; left: -8%; animation-delay: -1.6s; }
.hv-card-3 { top: 38%; right: -6%; animation-delay: -3.2s; padding: 0.7rem 1rem; }
.hv-card-3 code { font-family: var(--fm); font-size: 0.75rem; color: var(--text); }
.hv-check { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: rgba(245, 158, 11, 0.18); color: #B45309; font-size: 0.75rem; font-weight: 700; }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.hv-pulse { position: relative; width: 10px; height: 10px; border-radius: 50%; background: #22c55e; flex-shrink: 0; }
.hv-pulse::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid #22c55e; animation: ping 1.8s ease-out infinite; }
@keyframes ping { from { transform: scale(0.5); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.hv-spark { width: 84px; height: 30px; }
.hv-spark path { stroke-dasharray: 160; stroke-dashoffset: 160; animation: drawLine 2.6s ease-in-out infinite; }
@keyframes drawLine { 0% { stroke-dashoffset: 160; } 55%, 80% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -160; } }
#hv-live { display: inline-block; min-width: 2.6ch; font-variant-numeric: tabular-nums; transition: color 0.3s; }
#hv-live.tick { color: #0E7490; }

/* === TECH MARQUEE === */
.tech-marquee { position: relative; z-index: 1; overflow: hidden; border-block: 1px solid var(--border); background: rgba(255, 255, 255, 0.82); backdrop-filter: blur(8px); padding: 1.3rem 0; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.tm-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.tech-marquee:hover .tm-track { animation-play-state: paused; }
.tm-dup { display: flex; }
.tm-item { display: inline-flex; align-items: center; gap: 0.7rem; padding: 0 2.2rem; font-family: var(--fd); font-weight: 600; font-size: 1.05rem; color: var(--muted); white-space: nowrap; transition: color 0.3s; }
.tm-item:hover { color: var(--text); }
.tm-item i { width: 7px; height: 7px; border-radius: 2px; background: #06B6D4; transform: rotate(45deg); }
.tm-item:nth-child(3n) i { background: #F59E0B; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* === PORTFOLIO PHOTOS === */
.port-img { position: relative; height: 230px; overflow: hidden; border-bottom: 1px solid var(--border); border-radius: 0 !important; }
.port-img img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(1.05); transition: transform 0.9s var(--cb), filter 0.6s; }
.port-card:hover .port-img img { transform: scale(1.1); filter: saturate(1.25); }
.port-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(248, 250, 252, 0.05) 30%, rgba(248, 250, 252, 0.85)), linear-gradient(135deg, rgba(6, 182, 212, 0.18), transparent 60%); pointer-events: none; transition: opacity 0.5s; }
.port-card:hover .port-img::after { opacity: 0.75; }
.port-chip { position: absolute; z-index: 2; left: 1rem; bottom: 1rem; font-family: var(--fm); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.35rem 0.75rem; border-radius: 50px; background: rgba(248, 250, 252, 0.75); border: 1px solid rgba(6, 182, 212, 0.4); color: #0E7490; backdrop-filter: blur(6px); }

/* Image wipe reveal */
.img-reveal { clip-path: inset(0 0 100% 0); transition: clip-path 1.2s var(--cb); }
.img-reveal.vis { clip-path: inset(0 0 0 0); }

/* === PIPELINE BAND === */
.pipeline-band { position: relative; overflow: hidden; padding: 10rem 5%; }
.pb-bg { position: absolute; inset: 0; z-index: 0; }
.pb-bg img { position: absolute; left: 0; top: -15%; width: 100%; height: 130%; object-fit: cover; will-change: transform; }
.pb-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, #F8FAFC 0%, rgba(248, 250, 252, 0.66) 22%, rgba(248, 250, 252, 0.6) 78%, #F8FAFC 100%), linear-gradient(90deg, rgba(248, 250, 252, 0.8), rgba(248, 250, 252, 0.15)); }
.pb-inner { position: relative; z-index: 1; }
.pipeline { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; align-items: center; gap: 0.6rem; }
.pl-node { background: rgba(255, 255, 255, 0.82); backdrop-filter: blur(12px); border: 1px solid var(--border); border-radius: 16px; padding: 1.6rem 1.3rem; text-align: center; transition: transform 0.5s var(--cb), border-color 0.4s; }
.pl-node:hover { transform: translateY(-8px); border-color: rgba(6, 182, 212, 0.55); }
.pl-ic { width: 54px; height: 54px; margin: 0 auto 1rem; border-radius: 14px; display: grid; place-items: center; color: #06B6D4; background: rgba(6, 182, 212, 0.1); border: 1px solid rgba(6, 182, 212, 0.3); animation: nodeGlow 4s ease-in-out infinite; }
.pl-node:nth-of-type(2) .pl-ic { animation-delay: 1s; }
.pl-node:nth-of-type(3) .pl-ic { animation-delay: 2s; }
.pl-node:nth-of-type(4) .pl-ic { animation-delay: 3s; color: #F59E0B; background: rgba(245, 158, 11, 0.12); border-color: rgba(245, 158, 11, 0.35); }
@keyframes nodeGlow { 0%, 100% { box-shadow: 0 0 0 0 rgba(6, 182, 212, 0); } 25% { box-shadow: 0 0 28px 2px rgba(6, 182, 212, 0.35); } }
.pl-ic svg { width: 26px; height: 26px; }
.pl-node b { display: block; font-family: var(--fd); font-size: 1.05rem; margin-bottom: 0.35rem; }
.pl-node span { font-size: 0.82rem; color: var(--muted); line-height: 1.5; }
.pl-link { position: relative; width: 48px; height: 2px; background: rgba(100, 116, 139, 0.32); border-radius: 2px; overflow: hidden; }
.pl-link i { position: absolute; top: 0; left: -40%; width: 40%; height: 100%; background: linear-gradient(90deg, transparent, #06B6D4, #F59E0B); animation: flow 1.6s linear infinite; }
@keyframes flow { to { left: 100%; } }

/* === ABOUT COLLAGE === */
.about-collage { position: relative; margin-top: 3rem; height: 340px; }
.ac-main, .ac-sub { position: absolute; border-radius: 18px; overflow: hidden; box-shadow: 0 30px 60px rgba(15, 23, 42, 0.11); border: 1px solid var(--border); }
.ac-main { left: 0; top: 0; width: 78%; height: 78%; }
.ac-sub { right: 0; bottom: 0; width: 48%; height: 52%; border: 3px solid #F8FAFC; outline: 1px solid rgba(245, 158, 11, 0.4); transition-delay: 0.25s; }
.ac-main img { width: 100%; height: 115%; object-fit: cover; display: block; }
.ac-sub img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.8s var(--cb); }
.about-collage:hover .ac-sub img { transform: scale(1.08); }
.ac-badge { position: absolute; left: 6%; bottom: 4%; z-index: 2; display: flex; gap: 0.5rem; align-items: center; padding: 0.7rem 1.1rem; border-radius: 12px; background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(12px); border: 1px solid rgba(100, 116, 139, 0.32); font-family: var(--fd); font-size: 0.9rem; animation: floatY 5s ease-in-out infinite; }
.ac-badge b:first-child { color: #0891B2; }
.ac-badge b:last-child { color: #B45309; }
.ac-badge span { color: var(--muted); }

@media (max-width: 992px) {
  .hero-layout { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { max-width: 520px; width: 100%; margin: 0 auto; aspect-ratio: 4 / 3.6; }
  .pipeline { grid-template-columns: 1fr 1fr; gap: 1.2rem; }
  .pl-link { display: none; }
}
@media (max-width: 560px) {
  .hv-card-3 { display: none; }
  .hv-card-1, .hv-card-2 { left: 0; }
  .pipeline { grid-template-columns: 1fr; }
  .about-collage { height: 260px; }
  .pipeline-band { padding: 6rem 5%; }
}

/* Reduced-motion = calm mode: fades and gentle effects stay, large movement stops */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hv-frame img { animation: none !important; transform: scale(1.05); }
  .hv-card, .ac-badge { animation: none !important; }
}

/* ======================================================================
   SHARED ADDITIONS: anchors, founders, service links, service pages
   ====================================================================== */
section[id], [id="contact"] { scroll-margin-top: 90px; }

/* --- Founders (Our Story) --- */
.founders { margin-top: 6rem; }
.founders-head { text-align: center; margin-bottom: 3rem; }
.founders-head .section-label { justify-content: center; }
.founders-head .section-label::before { display: none; }
.founders-head h3 { font-family: var(--fd); font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; letter-spacing: -0.02em; }
.founder-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; max-width: 940px; margin: 0 auto; }
.founder { position: relative; overflow: hidden; background: rgba(255, 255, 255, 0.82); backdrop-filter: blur(12px); border: 1px solid var(--border); border-radius: 20px; padding: 2.4rem; display: flex; flex-direction: column; gap: 1.2rem; transition: transform 0.5s var(--cb), border-color 0.4s, box-shadow 0.5s; }
.founder::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, #06B6D4, transparent); }
.founder.copper::before { background: linear-gradient(90deg, #F59E0B, transparent); }
.founder:hover { transform: translateY(-8px); border-color: rgba(6, 182, 212, 0.45); box-shadow: 0 30px 60px rgba(15, 23, 42, 0.099); }
.founder.copper:hover { border-color: rgba(245, 158, 11, 0.5); }
.founder-top { display: flex; align-items: center; gap: 1.2rem; }
.founder-avatar { width: 76px; height: 76px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; font-family: var(--fd); font-size: 1.5rem; font-weight: 800; color: #FFFFFF; background: linear-gradient(135deg, #0E7490, #06B6D4); box-shadow: 0 0 0 4px rgba(248, 250, 252, 1), 0 0 0 5px rgba(6, 182, 212, 0.5); }
.founder.copper .founder-avatar { background: linear-gradient(135deg, #F59E0B, #F59E0B); box-shadow: 0 0 0 4px rgba(248, 250, 252, 1), 0 0 0 5px rgba(245, 158, 11, 0.55); }
.founder-name { font-family: var(--fd); font-size: 1.35rem; font-weight: 700; color: var(--text); line-height: 1.2; }
.founder-role { font-family: var(--fm); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: #0891B2; margin-top: 0.3rem; }
.founder.copper .founder-role { color: #B45309; }
.founder p { font-size: 0.93rem; color: var(--muted); line-height: 1.7; }
.founder-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: auto; }

/* Tags / badges (shared) */
.tag { display: inline-flex; align-items: center; font-family: var(--fm); font-size: 0.72rem; letter-spacing: 0.03em; padding: 0.4rem 0.8rem; border-radius: 50px; background: rgba(6, 182, 212, 0.08); border: 1px solid rgba(6, 182, 212, 0.25); color: #155E75; white-space: nowrap; transition: background 0.3s, border-color 0.3s, transform 0.3s var(--cb); }
.tag:hover { background: rgba(6, 182, 212, 0.16); border-color: #06B6D4; transform: translateY(-2px); }
.tag.copper { background: rgba(245, 158, 11, 0.08); border-color: rgba(245, 158, 11, 0.3); color: #D97706; }
.tag.copper:hover { background: rgba(245, 158, 11, 0.16); border-color: #F59E0B; }

/* --- Service cards as links (homepage) --- */
.srv-grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1100px) { .srv-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .srv-grid { grid-template-columns: 1fr; } }
a.srv { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.srv-more { margin-top: auto; padding-top: 1.2rem; display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--fd); font-weight: 600; font-size: 0.9rem; color: #0891B2; }
.srv-more svg { width: 16px; height: 16px; transition: transform 0.4s var(--cb); }
a.srv:hover .srv-more svg { transform: translateX(5px); }
a.srv:nth-child(even) .srv-more { color: #B45309; }
a.srv:focus-visible { outline: 2px solid #06B6D4; outline-offset: 4px; }

/* ======================================================================
   SERVICE DETAIL PAGES
   ====================================================================== */
.sp-page { min-height: 100vh; }
.sp-bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(900px 500px at 15% -10%, rgba(6, 182, 212, 0.14), transparent 60%), radial-gradient(700px 420px at 95% 30%, rgba(245, 158, 11, 0.07), transparent 60%), #F8FAFC; }
.sp-bg::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(100, 116, 139, 0.096) 1px, transparent 1px), linear-gradient(90deg, rgba(100, 116, 139, 0.096) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse 80% 60% at 40% 0%, #000 30%, transparent 80%); -webkit-mask-image: radial-gradient(ellipse 80% 60% at 40% 0%, #000 30%, transparent 80%); }

.sp-hero { padding: 10rem 5% 5rem; }
.sp-hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 4rem; align-items: center; }
.sp-back { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--fd); font-size: 0.85rem; font-weight: 600; color: var(--muted); text-decoration: none; margin-bottom: 1.8rem; transition: color 0.3s, gap 0.3s var(--cb); }
.sp-back:hover { color: #0891B2; gap: 0.8rem; }
.sp-eyebrow { display: inline-flex; align-items: center; gap: 0.6rem; font-family: var(--fm); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text); padding: 0.45rem 1rem; border-radius: 50px; border: 1px solid rgba(245, 158, 11, 0.3); background: rgba(255, 255, 255, 0.82); margin-bottom: 1.6rem; }
.sp-eyebrow i { width: 6px; height: 6px; border-radius: 50%; background: #F59E0B; box-shadow: 0 0 10px #F59E0B; }
.sp-title { font-family: var(--fd); font-weight: 800; font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1.08; letter-spacing: -0.03em; margin-bottom: 1.4rem; }
.sp-tagline { font-size: 1.2rem; color: var(--text); font-weight: 500; line-height: 1.6; margin-bottom: 1rem; max-width: 600px; }
.sp-intro { font-size: 1rem; color: var(--muted); line-height: 1.8; max-width: 600px; margin-bottom: 2.4rem; }
.sp-actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.btn-ghost { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.95rem 1.6rem; border-radius: 50px; border: 1px solid var(--border-hover); color: var(--text); font-family: var(--fd); font-weight: 600; font-size: 0.95rem; text-decoration: none; transition: border-color 0.3s, background 0.3s; }
.btn-ghost:hover { border-color: #06B6D4; background: rgba(6, 182, 212, 0.08); }

.sp-visual { position: relative; aspect-ratio: 5 / 4; }
.sp-photo { position: absolute; inset: 0; border-radius: 24px; overflow: hidden; isolation: isolate; box-shadow: 0 40px 80px rgba(15, 23, 42, 0.121), 0 0 0 1px rgba(6, 182, 212, 0.3); }
.sp-photo::before { content: ''; position: absolute; inset: -50%; z-index: -1; background: conic-gradient(from 0deg, transparent 0 70%, #06B6D4 80%, #F59E0B 90%, transparent 100%); animation: spin 7s linear infinite; }
.sp-photo img { position: absolute; inset: 2px; width: calc(100% - 4px); height: calc(100% - 4px); object-fit: cover; border-radius: 22px; animation: kenBurns 18s ease-in-out infinite alternate; }
.sp-photo::after { content: ''; position: absolute; inset: 2px; border-radius: 22px; background: linear-gradient(180deg, transparent 45%, rgba(248, 250, 252, 0.7)), linear-gradient(120deg, rgba(6, 182, 212, 0.2), transparent 55%); pointer-events: none; }
.sp-float { position: absolute; z-index: 2; left: -6%; bottom: 8%; display: flex; align-items: center; gap: 0.8rem; padding: 0.9rem 1.2rem; border-radius: 14px; background: rgba(255, 255, 255, 0.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(100, 116, 139, 0.352); box-shadow: 0 18px 40px rgba(15, 23, 42, 0.099); animation: floatY 5s ease-in-out infinite; }
.sp-float-ic { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; color: #06B6D4; background: rgba(6, 182, 212, 0.12); border: 1px solid rgba(6, 182, 212, 0.3); }
.sp-float-ic svg { width: 22px; height: 22px; }
.sp-float small { display: block; font-family: var(--fm); font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.sp-float b { font-family: var(--fd); font-size: 0.98rem; color: var(--text); }

.sp-section { padding: 6rem 5%; }
.sp-section.alt { background: rgba(255, 255, 255, 0.82); border-block: 1px solid var(--border); }
.sp-head { max-width: 680px; margin-bottom: 3rem; }

.sp-deliver-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem 1.4rem; }
.sp-deliver { display: flex; gap: 1rem; align-items: flex-start; padding: 1.3rem 1.4rem; border-radius: 14px; background: rgba(255, 255, 255, 0.82); border: 1px solid var(--border); transition: border-color 0.4s, transform 0.4s var(--cb), background 0.4s; }
.sp-deliver:hover { border-color: rgba(6, 182, 212, 0.45); transform: translateX(4px); background: rgba(255, 255, 255, 0.82); }
.sp-check { width: 26px; height: 26px; border-radius: 8px; flex-shrink: 0; display: grid; place-items: center; background: rgba(6, 182, 212, 0.12); color: #06B6D4; margin-top: 1px; }
.sp-check svg { width: 15px; height: 15px; }
.sp-deliver:nth-child(4n+2) .sp-check, .sp-deliver:nth-child(4n+3) .sp-check { background: rgba(245, 158, 11, 0.12); color: #F59E0B; }
.sp-deliver span { font-size: 0.97rem; color: var(--text); line-height: 1.55; }

.sp-stack { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.sp-stack .tag { font-size: 0.8rem; padding: 0.55rem 1.05rem; }

.sp-cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.sp-case { position: relative; padding: 2rem 1.8rem; border-radius: 18px; background: rgba(255, 255, 255, 0.82); border: 1px solid var(--border); overflow: hidden; transition: transform 0.5s var(--cb), border-color 0.4s; }
.sp-case:hover { transform: translateY(-8px); border-color: rgba(245, 158, 11, 0.45); }
.sp-case-n { font-family: var(--fd); font-size: 3.2rem; font-weight: 800; line-height: 1; background: linear-gradient(135deg, #F59E0B, transparent); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: 0.55; margin-bottom: 0.8rem; }
.sp-case h3 { font-family: var(--fd); font-size: 1.15rem; font-weight: 700; margin-bottom: 0.6rem; }
.sp-case p { font-size: 0.9rem; color: var(--muted); line-height: 1.7; }

.sp-process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; position: relative; }
.sp-process::before { content: ''; position: absolute; top: 27px; left: 6%; right: 6%; height: 2px; background: rgba(100, 116, 139, 0.288); }
.sp-process::after { content: ''; position: absolute; top: 27px; left: 6%; width: 18%; height: 2px; background: linear-gradient(90deg, transparent, #06B6D4, #F59E0B, transparent); animation: processFlow 3.5s linear infinite; }
@keyframes processFlow { from { left: 0%; } to { left: 82%; } }
.sp-step { position: relative; z-index: 1; }
.sp-step-n { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-family: var(--fm); font-weight: 700; font-size: 0.95rem; color: #06B6D4; background: #F8FAFC; border: 2px solid rgba(6, 182, 212, 0.5); margin-bottom: 1.3rem; box-shadow: 0 0 0 6px #F8FAFC; }
.sp-step:last-child .sp-step-n { color: #F59E0B; border-color: rgba(245, 158, 11, 0.55); }
.sp-step h3 { font-family: var(--fd); font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; }
.sp-step p { font-size: 0.9rem; color: var(--muted); line-height: 1.65; }

.sp-cta { padding: 2rem 5% 7rem; }
.sp-cta-box { position: relative; overflow: hidden; border-radius: 24px; padding: 4rem; display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; background: radial-gradient(500px 260px at 100% 0%, rgba(245, 158, 11, 0.14), transparent 70%), radial-gradient(600px 300px at 0% 100%, rgba(6, 182, 212, 0.16), transparent 70%), rgba(255, 255, 255, 0.82); border: 1px solid var(--border); }
.sp-cta-box h2 { font-family: var(--fd); font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 0.6rem; }
.sp-cta-box p { color: var(--muted); max-width: 520px; }

.sp-related { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.sp-rel { display: flex; align-items: center; gap: 1.2rem; padding: 1.6rem; border-radius: 16px; background: rgba(255, 255, 255, 0.82); border: 1px solid var(--border); text-decoration: none; color: var(--text); transition: border-color 0.4s, transform 0.4s var(--cb); }
.sp-rel:hover { border-color: rgba(6, 182, 212, 0.5); transform: translateY(-4px); }
.sp-rel .srv-icon { margin: 0; flex-shrink: 0; }
.sp-rel b { display: block; font-family: var(--fd); font-size: 1.05rem; margin-bottom: 0.2rem; }
.sp-rel span { font-size: 0.86rem; color: var(--muted); }
.sp-rel-arrow { margin-left: auto; color: #0891B2; transition: transform 0.4s var(--cb); }
.sp-rel:hover .sp-rel-arrow { transform: translateX(5px); }

@media (max-width: 992px) {
  .sp-hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .sp-visual { max-width: 560px; }
  .sp-cases { grid-template-columns: 1fr; }
  .sp-process { grid-template-columns: repeat(2, 1fr); gap: 2.4rem 1.4rem; }
  .sp-process::before, .sp-process::after { display: none; }
}
@media (max-width: 768px) {
  .founder-grid { grid-template-columns: 1fr; max-width: 520px; }
  .founder { padding: 2rem 1.6rem; }
  .sp-hero { padding: 8rem 5% 3rem; }
  .sp-section { padding: 4.5rem 5%; }
  .sp-deliver-grid, .sp-related { grid-template-columns: 1fr; }
  .sp-cta-box { padding: 2.6rem 1.8rem; }
  .sp-float { left: 4%; }
}
@media (max-width: 480px) {
  .sp-process { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .sp-photo img, .sp-float { animation: none !important; }
}

/* Service page: back link on its own line, icon sizes */
.sp-back { display: flex; width: max-content; white-space: nowrap; }
.sp-back svg { width: 18px; height: 18px; flex-shrink: 0; }
.sp-rel-arrow svg { width: 20px; height: 20px; }
.sp-actions .btn-primary svg { width: 16px; height: 16px; }

/* ======================================================================
   MULTIPAGE: sub-page spacing + active nav link
   ====================================================================== */
section.page-first { padding-top: 11rem; }
@media (max-width: 768px) { section.page-first { padding-top: 8.5rem; } }
.nav-links a.active { color: var(--text); }
.nav-links a.active::after { transform: scaleX(1); transform-origin: left; }
.mobile-menu a.active { color: #0891B2; }
.sub-page .pipeline-band { margin-top: 2rem; }
.sub-page .tech-marquee { margin: 1rem 0 3rem; }

/* Contact: let grid columns shrink on phones (file input was forcing extra width) */
.contact-wrap > *, .f-row > *, .f-group { min-width: 0; }
.f-group input, .f-group select, .f-group textarea { width: 100%; max-width: 100%; }
input[type="file"] { min-width: 0; font-size: 0.85rem; }

/* ======================================================================
   ANIMATION PACK
   ====================================================================== */

/* 1. Page transitions (fade in on load, fade out when moving to another page) */
@keyframes pageIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
main, footer { animation: pageIn 0.7s var(--cb) both; }
body.page-leaving main, body.page-leaving footer, body.page-leaving nav { animation: none; opacity: 0; transform: translateY(-10px); transition: opacity 0.28s ease, transform 0.28s ease; }

/* 2. Rotating headline words (Home hero) */
.word-rotator { display: inline-block; position: relative; vertical-align: top; }
.word-rotator .wr-word { display: inline-block; transition: transform 0.55s var(--cb), opacity 0.45s ease, filter 0.45s ease; }
.word-rotator .wr-word.out { transform: translateY(-60%); opacity: 0; filter: blur(6px); }
.word-rotator .wr-word.in-start { transform: translateY(60%); opacity: 0; filter: blur(6px); transition: none; }


/* 3. Page title wipe-up reveal (sub-pages) */
h1.section-title, .sp-title { animation: titleWipe 1.1s 0.15s var(--cb) both; }
@keyframes titleWipe { from { clip-path: inset(0 0 100% 0); transform: translateY(30px); } to { clip-path: inset(-20% -20% -20% -20%); transform: none; } }

/* 4. Section label line grows in */
.reveal .section-label::before { width: 0; transition: width 0.9s 0.2s var(--cb); }
.reveal.vis .section-label::before, .founders-head.vis .section-label::before { width: 32px; }

/* 5. Mouse-follow spotlight on cards */
@property --spot { syntax: '<number>'; inherits: false; initial-value: 0; }
.spot { --mx: 50%; --my: 50%; transition: --spot 0.4s ease, opacity 0.8s var(--cb), transform 0.5s var(--cb), border-color 0.4s, box-shadow 0.5s; background-image: radial-gradient(420px circle at var(--mx) var(--my), rgba(6, 182, 212, calc(var(--spot) * 0.13)), transparent 45%); }
.spot:hover { --spot: 1; }
.tier.featured.spot { background-image: radial-gradient(420px circle at var(--mx) var(--my), rgba(245, 158, 11, calc(var(--spot) * 0.14)), transparent 45%), linear-gradient(180deg, rgba(245, 158, 11, 0.08) 0%, transparent 45%); }
.founder.copper.spot, .sp-case.spot { background-image: radial-gradient(420px circle at var(--mx) var(--my), rgba(245, 158, 11, calc(var(--spot) * 0.12)), transparent 45%); }

/* 6. Tags pop in one after another */
.pop-in > * { opacity: 0; transform: translateY(10px) scale(0.92); transition: opacity 0.45s var(--cb), transform 0.45s var(--cb); transition-delay: calc(var(--i, 0) * 45ms); }
.pop-in.vis > * { opacity: 1; transform: none; }

/* 7. Process steps light up in sequence */
.sp-process .sp-step { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--cb), transform 0.7s var(--cb); }
.sp-process.vis .sp-step { opacity: 1; transform: none; }
.sp-process.vis .sp-step:nth-child(2) { transition-delay: 0.15s; }
.sp-process.vis .sp-step:nth-child(3) { transition-delay: 0.3s; }
.sp-process.vis .sp-step:nth-child(4) { transition-delay: 0.45s; }
.sp-process.vis .sp-step-n { animation: stepPop 0.7s var(--cb) both; animation-delay: inherit; }
@keyframes stepPop { 0% { transform: scale(0.4); } 70% { transform: scale(1.12); } 100% { transform: scale(1); } }

/* 8. Pipeline nodes rise in sequence (Services page) */
.pipeline.reveal .pl-node { opacity: 0; transform: translateY(30px); transition: opacity 0.7s var(--cb), transform 0.7s var(--cb), border-color 0.4s; }
.pipeline.reveal.vis .pl-node { opacity: 1; transform: none; }
.pipeline.reveal.vis .pl-node:nth-of-type(2) { transition-delay: 0.15s; }
.pipeline.reveal.vis .pl-node:nth-of-type(3) { transition-delay: 0.3s; }
.pipeline.reveal.vis .pl-node:nth-of-type(4) { transition-delay: 0.45s; }

/* 9. Drifting glow orbs behind sub-pages */
.sp-bg::after { content: ''; position: absolute; width: 520px; height: 520px; border-radius: 50%; left: 60%; top: 40%; background: radial-gradient(circle, rgba(6, 182, 212, 0.13), transparent 65%); filter: blur(10px); animation: orbDrift 22s ease-in-out infinite alternate; }
.sp-bg { overflow: hidden; }
.sp-bg > .orb2 { position: absolute; width: 420px; height: 420px; border-radius: 50%; left: 5%; top: 65%; background: radial-gradient(circle, rgba(245, 158, 11, 0.09), transparent 65%); filter: blur(10px); animation: orbDrift 28s ease-in-out infinite alternate-reverse; }
@keyframes orbDrift { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-25vw, -20vh) scale(1.15); } 100% { transform: translate(-45vw, 10vh) scale(0.95); } }

/* 10. Back-to-top button with scroll-progress ring */
.to-top { position: fixed; left: 30px; bottom: 30px; z-index: 100; width: 52px; height: 52px; border-radius: 50%; border: none; cursor: pointer; display: grid; place-items: center; background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(10px); color: #0891B2; box-shadow: 0 10px 30px rgba(15, 23, 42, 0.088); opacity: 0; transform: translateY(20px) scale(0.8); pointer-events: none; transition: opacity 0.4s, transform 0.4s var(--cb), bottom 0.4s var(--cb); }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { color: #FFFFFF; background: #06B6D4; }
.to-top svg.ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.to-top svg.ring circle { fill: none; stroke-width: 2.5; }
.to-top svg.ring .track { stroke: rgba(100, 116, 139, 0.32); }
.to-top svg.ring .bar { stroke: #F59E0B; stroke-linecap: round; stroke-dasharray: 150.8; stroke-dashoffset: 150.8; }
.to-top .arrow { width: 18px; height: 18px; position: relative; }
@media (max-width: 768px) { .to-top { left: 20px; bottom: 20px; width: 46px; height: 46px; } body.cta-visible .to-top { bottom: 84px; } }

/* 11. Count-up numbers */
.stat-num.counting { color: #0E7490; }

/* 12. Featured-card shimmer sweep */
.tier.featured .tier-badge { position: relative; overflow: hidden; }
.tier.featured .tier-badge::after { content: ''; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent); transform: skewX(-20deg); animation: badgeShine 3.2s ease-in-out infinite; }
@keyframes badgeShine { 0%, 60% { left: -60%; } 100% { left: 140%; } }

@media (prefers-reduced-motion: reduce) {
  .sp-bg::after, .sp-bg > .orb2 { animation: none !important; }
  .word-rotator .wr-word.out, .word-rotator .wr-word.in-start { transform: none; }
}


/* ======================================================================
   ZIPRION BRAND
   ====================================================================== */
.nav-logo img, nav.scrolled .nav-logo img { width: 44px; height: 44px; border-radius: 0; box-shadow: none; object-fit: contain; filter: drop-shadow(0 4px 14px rgba(6, 182, 212, 0.35)); transition: transform 0.6s var(--cb), width 0.4s var(--cb), height 0.4s var(--cb); }
nav.scrolled .nav-logo img { width: 38px; height: 38px; }
.nav-logo:hover img { transform: rotate(-12deg) scale(1.06); }
.brand-word { display: inline-flex; flex-direction: column; line-height: 1; font-family: var(--fd); font-weight: 800; font-size: 1.2rem; letter-spacing: 0.08em; color: var(--text); }
.brand-word b { font-family: var(--fm); font-weight: 700; font-size: 0.58rem; letter-spacing: 0.62em; color: #F59E0B; margin-top: 0.35rem; }
.brand-word.big { font-size: 1.7rem; }
.brand-word.big b { font-size: 0.72rem; letter-spacing: 0.7em; margin-top: 0.45rem; }
.foot-brand-logo { align-items: center; gap: 1rem; }
.foot-brand-logo img { width: 56px !important; height: 56px !important; border-radius: 0 !important; box-shadow: none !important; filter: drop-shadow(0 6px 18px rgba(6, 182, 212, 0.3)); }
@media (max-width: 768px) { .nav-logo img, nav.scrolled .nav-logo img { width: 38px; height: 38px; } .brand-word { font-size: 1.05rem; } }

/* ======================================================================
   USE-CASE CARDS WITH PHOTOS (service pages)
   ====================================================================== */
.sp-case { padding: 0; display: flex; flex-direction: column; }
.sp-case-img { position: relative; height: 200px; overflow: hidden; border-bottom: 1px solid var(--border); }
.sp-case-img img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(1.05) contrast(1.03); transition: transform 0.9s var(--cb), filter 0.6s; }
.sp-case:hover .sp-case-img img { transform: scale(1.08); filter: saturate(1.2) contrast(1.05); }
.sp-case-img::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(248, 250, 252, 0) 35%, rgba(248, 250, 252, 0.88)), linear-gradient(135deg, rgba(6, 182, 212, 0.16), transparent 55%); }
.sp-case-img .sp-case-n { position: absolute; z-index: 1; left: 1.4rem; bottom: 0.7rem; margin: 0; font-size: 2.8rem; opacity: 1; background: linear-gradient(135deg, #D97706, #F59E0B); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 2px 10px rgba(15, 23, 42, 0.132)); transition: transform 0.5s var(--cb); }
.sp-case:hover .sp-case-n { transform: translateY(-4px); }
.sp-case-body { padding: 1.6rem 1.8rem 2rem; }
@media (max-width: 768px) { .sp-case-img { height: 190px; } }


/* ======================================================================
   QA FIXES: heading levels, menu scroll lock, form error text
   ====================================================================== */
.foot-col h2.foot-h { font-size: 0.8rem; font-family: var(--fm); letter-spacing: 0.1em; text-transform: uppercase; color: var(--text); margin-bottom: 1.5rem; font-weight: 700; }
.founders-head h2.founders-title { font-family: var(--fd); font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; letter-spacing: -0.02em; }
body.menu-open { overflow: hidden; }
.f-group input:invalid:not(:placeholder-shown) { border-color: rgba(255, 76, 106, 0.6); }


/* ======================================================================
   LIGHT THEME — finishing layer
   ====================================================================== */
:root { --border: rgba(15, 23, 42, 0.09); --border-hover: rgba(15, 23, 42, 0.18); }
html { background: #F8FAFC; }
body { color: var(--text); }
::-webkit-scrollbar-track { background: #F1F5F9; }
::-webkit-scrollbar-thumb { background: #CBD5E1; }

/* Buttons: deeper cyan with white text for contrast */
.btn-primary, .nav-cta { background: #0891B2; color: #FFFFFF; box-shadow: 0 8px 22px rgba(8, 145, 178, 0.25); }
.btn-primary:hover, .nav-cta:hover { background: #0E7490; color: #FFFFFF; box-shadow: 0 12px 28px rgba(8, 145, 178, 0.32); }
.tier-btn { background: #FFFFFF; color: var(--text); border: 1px solid rgba(15, 23, 42, 0.15); box-shadow: none; }
.tier-btn:hover { background: rgba(8, 145, 178, 0.08); color: #0E7490; border-color: #0891B2; }
.tier.featured .tier-btn { background: #D97706; color: #FFFFFF; box-shadow: 0 8px 22px rgba(217, 119, 6, 0.25); }
.tier.featured .tier-btn:hover { background: #B45309; color: #FFFFFF; }
.btn-ghost { color: var(--text); border-color: rgba(15, 23, 42, 0.18); background: #FFFFFF; }
.mobile-sticky-cta .cta-btn { background: #0891B2; color: #FFFFFF; }

/* Navigation */
nav.scrolled { background: rgba(255, 255, 255, 0.88); box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06); }
.mobile-menu { background: rgba(255, 255, 255, 0.98); }
.mobile-menu a { color: var(--text); }
.brand-word { color: #0F172A; }

/* Cards: white, soft shadow */
.tier, .srv, .port-card, .c-form, .founder, .sp-deliver, .sp-case, .pl-node, .sp-rel, .belief, .hv-card, .info-card {
  background-color: #FFFFFF; box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px rgba(15, 23, 42, 0.05);
}
.tier:hover, .srv:hover, .port-card:hover, .founder:hover, .sp-case:hover, .pl-node:hover, .sp-rel:hover {
  box-shadow: 0 2px 4px rgba(15, 23, 42, 0.05), 0 18px 40px rgba(15, 23, 42, 0.10);
}
.belief { background-color: #F8FAFC; }
.tier.featured { background-color: #FFFBF3; }

/* Alternate section bands */
#portfolio, #about, .sp-section.alt { background: #F1F5F9; }
.tech-marquee { background: #FFFFFF; }
footer { background: #FFFFFF; border-top: 1px solid rgba(15, 23, 42, 0.08); }

/* Form fields */
.f-group input, .f-group select, .f-group textarea { background: #FFFFFF; border-color: rgba(15, 23, 42, 0.14); color: var(--text); }
.f-group input::placeholder, .f-group textarea::placeholder { color: #94A3B8; }
.f-group select option { background: #FFFFFF; color: #0F172A; }
input[type="file"]::file-selector-button { background: #0891B2; color: #FFFFFF; }

/* Tags and chips */
.tag { background: rgba(8, 145, 178, 0.08); border-color: rgba(8, 145, 178, 0.25); color: #155E75; }
.tag.copper { background: rgba(217, 119, 6, 0.08); border-color: rgba(217, 119, 6, 0.3); color: #92400E; }
.port-chip { background: rgba(255, 255, 255, 0.92); color: #0E7490; }

/* Photo overlays: keep photos vivid, only a light fade for legibility */
.port-img::after { background: linear-gradient(180deg, transparent 55%, rgba(15, 23, 42, 0.35)), linear-gradient(135deg, rgba(8, 145, 178, 0.12), transparent 60%); }
.sp-case-img::after { background: linear-gradient(180deg, transparent 40%, rgba(15, 23, 42, 0.55)); }
.sp-case-img .sp-case-n { background: linear-gradient(135deg, #FFFFFF, #FDE68A); -webkit-background-clip: text; background-clip: text; filter: drop-shadow(0 2px 8px rgba(15, 23, 42, 0.45)); }
.hv-grid-overlay { background: linear-gradient(180deg, transparent 50%, rgba(15, 23, 42, 0.35)), linear-gradient(120deg, rgba(8, 145, 178, 0.18), transparent 50%, rgba(217, 119, 6, 0.12)); }
.sp-photo::after { background: linear-gradient(180deg, transparent 55%, rgba(15, 23, 42, 0.3)), linear-gradient(120deg, rgba(8, 145, 178, 0.14), transparent 55%); }
.pb-bg::after { background: linear-gradient(180deg, #F8FAFC 0%, rgba(248, 250, 252, 0.88) 22%, rgba(248, 250, 252, 0.84) 78%, #F8FAFC 100%), linear-gradient(90deg, rgba(248, 250, 252, 0.92), rgba(248, 250, 252, 0.55)); }

/* Glows tuned for a light page */
.hero-glow { background: radial-gradient(circle at 35% 40%, rgba(6, 182, 212, 0.16) 0%, transparent 55%), radial-gradient(circle at 78% 72%, rgba(245, 158, 11, 0.10) 0%, transparent 50%); }
.sp-bg { background: radial-gradient(900px 500px at 15% -10%, rgba(6, 182, 212, 0.12), transparent 60%), radial-gradient(700px 420px at 95% 30%, rgba(245, 158, 11, 0.08), transparent 60%), #F8FAFC; }
.text-gradient { background-image: linear-gradient(120deg, #0E7490 0%, #0891B2 50%, #06B6D4 100%); }
.section-label { color: #0891B2; }
.sp-eyebrow, .hero-badge { background: #FFFFFF; color: var(--text); }
.stat-num.counting { color: #0891B2; }
.to-top { background: #FFFFFF; color: #0891B2; }
.to-top:hover { background: #0891B2; color: #FFFFFF; }
::selection { background: #0891B2; color: #FFFFFF; }
.pb-bg::after { background: linear-gradient(180deg, #F8FAFC 0%, rgba(248, 250, 252, 0.78) 20%, rgba(248, 250, 252, 0.72) 80%, #F8FAFC 100%), linear-gradient(90deg, rgba(248, 250, 252, 0.9), rgba(248, 250, 252, 0.35)); }

/* Our Work: category headings, live links, homepage "view all" */
.work-cat { max-width: 1200px; margin: 4.5rem auto 1.8rem; }
.sec-header + .work-cat { margin-top: 1rem; }
.work-cat-title { font-family: var(--fd); font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 700; color: var(--text); letter-spacing: -0.01em; margin-bottom: 0.4rem; }
.work-cat-desc { color: var(--muted); font-size: 0.95rem; }
.port-link { margin-top: 1rem; align-self: flex-start; font-family: var(--fm); font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: #0E7490; text-decoration: none; border-bottom: 1px solid rgba(6, 182, 212, 0.4); padding-bottom: 2px; transition: color 0.3s, border-color 0.3s; }
.port-link:hover { color: var(--accent); border-color: var(--accent); }
.work-more { text-align: center; margin-top: 3rem; }
