/* ============================================================
   RESET & BASE
============================================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --blue: #2DA8FF;
    --blue-dark: #1a8fe0;
    --blue-light: #e8f5ff;
    --charcoal: #1a1a2e;
    --charcoal-mid: #2d2d44;
    --grey: #6b7280;
    --grey-light: #f8fafc;
    --white: #ffffff;
    --border: #e5e7eb;
    --radius: 16px;
    --radius-sm: 8px;
    --shadow: 0 4px 24px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.12);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    color: var(--charcoal);
    background: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; }
ul { list-style: none; }

/* ============================================================
   TYPOGRAPHY
============================================================ */
h1, h2, h3, h4 { line-height: 1.15; font-weight: 800; }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: 1.25rem; font-weight: 700; }

/* ============================================================
   UTILITIES
============================================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section { padding: 100px 0; }
.section-alt { background-color: var(--grey-light); }

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 64px;
}

.section-label {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 12px;
    display: block;
}

.section-title {
    color: var(--charcoal);
    margin-bottom: 16px;
}

.section-title.left { text-align: left; }

.section-sub {
    color: var(--grey);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* ============================================================
   BUTTONS
============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 12px 24px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.25s ease;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: var(--blue);
    color: #f1f1f1;
}
.btn-primary:hover {
    background: var(--blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(45, 168, 255, 0.35);
}

.btn-ghost {
    background: transparent;
    color: var(--charcoal);
    border: 2px solid var(--border);
}
.btn-ghost:hover {
    border-color: var(--blue);
    color: var(--blue);
    transform: translateY(-2px);
}

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

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.4);
}
.btn-outline-white:hover {
    border-color: var(--white);
    background: rgba(255,255,255,0.1);
}

.btn-lg { padding: 15px 32px; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; }

/* ============================================================
   NAV
============================================================ */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.nav.scrolled {
    border-bottom-color: var(--border);
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 72px;
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-logo {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--charcoal);
    letter-spacing: -0.5px;
    white-space: nowrap;
}

.logo-bracket { color: var(--blue); }
.logo-accent { color: var(--blue); }

.nav-links {
    display: flex;
    gap: 32px;
    flex: 1;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--grey);
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--charcoal); }

.nav-cta { margin-left: auto; }

.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    margin-left: auto;
}
.nav-hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--charcoal);
    border-radius: 2px;
    transition: all 0.3s ease;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.nav-mobile {
    display: none;
    flex-direction: column;
    padding: 16px 24px 24px;
    gap: 4px;
    border-top: 1px solid var(--border);
    background: var(--white);
}
.nav-mobile a {
    font-size: 1rem;
    font-weight: 500;
    color: var(--charcoal);
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}
.nav-mobile a:last-child { border-bottom: none; margin-top: 12px; width: fit-content; padding: 10px 24px; color: #f1f1f1; }
.nav-mobile.open { display: flex; }

/* ============================================================
   HERO
============================================================ */
.hero {
    min-height: 100vh;
    padding: 140px 24px 80px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--border) 1px, transparent 1px),
        linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.5;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
    z-index: 0;
}

.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
}
.hero-blob-1 {
    width: 600px; height: 600px;
    background: var(--blue);
    top: -100px; right: -100px;
}
.hero-blob-2 {
    width: 400px; height: 400px;
    background: #7c3aed;
    bottom: -100px; left: -50px;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 80px;
    position: relative;
    z-index: 1;
}

.hero-text { flex: 1; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--blue-light);
    color: var(--blue);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 28px;
    letter-spacing: 0.5px;
}

.badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.hero-headline {
    color: var(--charcoal);
    margin-bottom: 24px;
    letter-spacing: -1.5px;
}

.headline-accent {
    color: var(--blue);
}

.hero-sub {
    font-size: 1.15rem;
    color: var(--grey);
    max-width: 480px;
    line-height: 1.75;
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

/* Trust row */
.trust-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--charcoal);
}
.trust-item:first-child { padding-left: 0; }

.trust-icon {
    width: 32px;
    height: 32px;
    background: var(--blue-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.trust-divider {
    width: 1px;
    height: 32px;
    background: var(--border);
}

/* ============================================================
   DEVICE MOCKUP
============================================================ */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.device-scene {
    position: relative;
    width: 480px;
    height: 380px;
}

/* Laptop */
.laptop {
    position: absolute;
    left: 0;
    top: 20px;
    width: 360px;
}

.laptop-screen {
    background: var(--charcoal);
    border-radius: 12px 12px 0 0;
    padding: 10px;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--charcoal-mid);
}

.screen-bar {
    display: flex;
    gap: 6px;
    padding: 0 0 8px 0;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.screen-content {
    background: #f8fafc;
    border-radius: 6px;
    overflow: hidden;
    height: 200px;
}

.sc-nav {
    height: 28px;
    background: var(--white);
    border-bottom: 1px solid var(--border);
}

.sc-hero {
    padding: 16px;
    background: linear-gradient(135deg, #1a1a2e, #2d2d44);
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
}

.sc-h1 { height: 10px; background: rgba(255,255,255,0.8); border-radius: 4px; width: 70%; }
.sc-h2 { height: 7px; background: rgba(255,255,255,0.4); border-radius: 4px; width: 50%; }
.sc-btn { height: 18px; width: 70px; background: var(--blue); border-radius: 50px; margin-top: 4px; }

.sc-cards {
    display: flex;
    gap: 6px;
    padding: 10px;
}
.sc-card {
    flex: 1;
    height: 40px;
    background: var(--white);
    border-radius: 6px;
    border: 1px solid var(--border);
}

.laptop-hinge {
    height: 6px;
    background: linear-gradient(to bottom, #c0c0c0, #a0a0a0);
    border-radius: 0 0 3px 3px;
}

.laptop-base {
    height: 14px;
    background: linear-gradient(to bottom, #d0d0d0, #b0b0b0);
    border-radius: 0 0 8px 8px;
    width: 110%;
    margin-left: -5%;
}

/* Phone */
.phone {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 110px;
    background: var(--charcoal);
    border-radius: 20px;
    padding: 10px 8px;
    border: 2px solid var(--charcoal-mid);
    box-shadow: var(--shadow-lg);
}

.phone-screen {
    background: #f8fafc;
    border-radius: 12px;
    overflow: hidden;
    height: 180px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 8px;
}

.ps-nav { height: 12px; background: var(--charcoal); border-radius: 4px; }
.ps-img { height: 60px; background: linear-gradient(135deg, var(--blue), #7c3aed); border-radius: 8px; }
.ps-line { height: 7px; background: var(--border); border-radius: 4px; }
.ps-line.short { width: 60%; }
.ps-btn { height: 22px; background: var(--blue); border-radius: 50px; }

/* Floating badges */
.float-badge {
    position: absolute;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 50px;
    padding: 8px 14px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--charcoal);
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: var(--shadow);
    white-space: nowrap;
    animation: float 3s ease-in-out infinite;
}

.badge-top { top: 0; right: 20px; }
.badge-bottom { bottom: 20px; left: 20px; animation-delay: 1.5s; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* ============================================================
   PROJECTS
============================================================ */
.projects-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 24px;
}

.project-card--featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 0;
}

.project-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--blue);
}

.project-preview {
    height: 200px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow: hidden;
}

.project-card--featured .project-preview {
    height: auto;
    min-height: 280px;
}

.preview-secam { background: linear-gradient(135deg, #0f172a, #1e293b); }
.preview-golf { background: linear-gradient(135deg, #14532d, #166534); }
.preview-event { background: linear-gradient(135deg, #581c87, #7c3aed); }

.preview-nav-bar {
    height: 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
}
.preview-nav-bar.dark { background: rgba(0,0,0,0.2); }

.preview-hero-block {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    padding: 12px 0;
}

.preview-line {
    height: 8px;
    background: rgba(255,255,255,0.7);
    border-radius: 4px;
}
.preview-line.lg { width: 75%; }
.preview-line.md { width: 55%; }
.preview-line.sm { width: 35%; }
.preview-line.white { background: rgba(255,255,255,0.6); }

.preview-cards-row {
    display: flex;
    gap: 8px;
}
.preview-mini-card {
    flex: 1;
    height: 50px;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.15);
}

.preview-menu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 8px 0;
    flex: 1;
}
.preview-menu-item {
    background: rgba(255,255,255,0.12);
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
}

.preview-event-hero {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 12px 0;
}
.preview-event-text { display: flex; flex-direction: column; gap: 8px; }
.preview-event-details { display: flex; flex-direction: column; gap: 6px; }

.preview-btn {
    height: 20px;
    width: 70px;
    background: var(--blue);
    border-radius: 50px;
}

.project-info { padding: 24px; flex: 1; }

.project-tag {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--blue);
    background: var(--blue-light);
    padding: 4px 10px;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 12px;
}

.project-info h3 { margin-bottom: 10px; }
.project-info p { color: var(--grey); font-size: 0.95rem; line-height: 1.65; margin-bottom: 16px; }

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.project-tech span {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--grey);
    background: var(--grey-light);
    padding: 4px 10px;
    border-radius: 50px;
    border: 1px solid var(--border);
}

.work-cta {
    text-align: center;
    margin-top: 48px;
}

/* ============================================================
   SERVICES
============================================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 28px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--blue);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.service-card:hover::before { transform: scaleX(1); }

.service-icon {
    width: 52px;
    height: 52px;
    background: var(--blue-light);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue);
    margin-bottom: 20px;
}

.service-card h3 { margin-bottom: 12px; font-size: 1.1rem; }
.service-card > p { color: var(--grey); font-size: 0.9rem; line-height: 1.65; margin-bottom: 20px; }

.service-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.service-list li {
    font-size: 0.85rem;
    color: var(--grey);
    padding-left: 16px;
    position: relative;
}
.service-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--blue);
    font-size: 0.8rem;
}

/* ============================================================
   ABOUT
============================================================ */
.about-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.about-card-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.about-stat-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 32px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}
.about-stat-card:hover { transform: translateX(8px); }
.about-stat-card.accent { background: var(--charcoal); border-color: var(--charcoal); }
.about-stat-card.accent .stat-number, .about-stat-card.accent .stat-label { color: var(--white); }

.stat-number { font-size: 2.5rem; font-weight: 900; color: var(--blue); letter-spacing: -1px; }
.about-stat-card.accent .stat-number { color: var(--blue); }
.stat-label { font-size: 0.9rem; font-weight: 500; color: var(--grey); }

.about-body { color: var(--grey); font-size: 1rem; line-height: 1.75; margin-bottom: 16px; }

.about-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 28px 0;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--charcoal);
}

.feature-check {
    width: 24px;
    height: 24px;
    background: var(--blue-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ============================================================
   CTA BANNER
============================================================ */
.cta-banner {
    background: linear-gradient(135deg, var(--charcoal) 0%, #16213e 60%, #0f3460 100%);
    padding: 100px 24px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.cta-bg { position: absolute; inset: 0; pointer-events: none; }
.cta-blob {
    position: absolute;
    width: 600px;
    height: 600px;
    background: var(--blue);
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.cta-inner { position: relative; z-index: 1; max-width: 600px; margin: 0 auto; }
.cta-inner h2 { color: var(--white); margin-bottom: 16px; }
.cta-inner p { color: rgba(255,255,255,0.7); font-size: 1.05rem; margin-bottom: 40px; }

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================================
   CONTACT
============================================================ */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 80px;
    align-items: start;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 32px;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--charcoal);
}

.contact-icon {
    width: 38px;
    height: 38px;
    background: var(--blue-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-form {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--charcoal);
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: var(--charcoal);
    background: var(--grey-light);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    outline: none;
    transition: border-color 0.2s;
    resize: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: #adb5bd; }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--blue);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(45, 168, 255, 0.1);
}

/* ============================================================
   FOOTER
============================================================ */
.footer {
    background: var(--charcoal);
    padding: 60px 0 0;
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .nav-logo { color: var(--white); display: block; margin-bottom: 16px; }
.footer-brand p { color: rgba(255,255,255,0.5); font-size: 0.9rem; line-height: 1.7; max-width: 280px; }

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links h4 {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    margin-bottom: 4px;
}

.footer-links a {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.65);
    transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }

.footer-bottom {
    padding: 20px 0;
    text-align: center;
}
.footer-bottom p {
    color: rgba(255,255,255,0.3);
    font-size: 0.85rem;
}

/* ============================================================
   SCROLL PROGRESS BAR
============================================================ */
#scrollBar {
    position: fixed;
    top: 0; left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--blue), #7c3aed);
    z-index: 2000;
    transition: width 0.1s linear;
    border-radius: 0 2px 2px 0;
}

/* ============================================================
   HERO ENTRANCE ANIMATIONS
============================================================ */
.word-reveal {
    display: inline-block;
    opacity: 0;
    transform: translateY(40px) rotate(3deg);
    transition: opacity 2s cubic-bezier(0.16,1,0.3,1), transform 2s cubic-bezier(0.16,1,0.3,1);
    margin-right: 0.25em;
}
.word-reveal.visible {
    opacity: 1;
    transform: none;
}

.hero-entrance {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 2s cubic-bezier(0.16,1,0.3,1), transform 2s cubic-bezier(0.16,1,0.3,1);
}
.hero-entrance.visible {
    opacity: 1;
    transform: none;
}

.hero-headline .headline-line {
    display: block;
}

.hero-headline .headline-line .word-reveal,
.hero-headline .headline-line #typedAccent {
    display: inline-block;
}

#typedAccent {
    color: var(--blue);
    letter-spacing: -1.5px;
}

/* ============================================================
   SCROLL ANIMATIONS — BASE
============================================================ */
[data-anim] {
    opacity: 0;
    transition-property: opacity, transform, filter;
    transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
    transition-duration: 2s;
    will-change: opacity, transform;
}
[data-anim].in-view {
    opacity: 1;
    transform: none !important;
    filter: none !important;
}

/* fade-up */
[data-anim="fade-up"] { transform: translateY(100px); }

/* slide-left / slide-right */
[data-anim="slide-left"]  { transform: translateX(-120px); }
[data-anim="slide-right"] { transform: translateX(120px); }

/* zoom */
[data-anim="zoom"] { transform: scale(0.7); }

/* rise — blur + lift */
[data-anim="rise"] {
    transform: translateY(120px) scale(0.93);
    filter: blur(10px);
}

/* flip — 3-D rotate in from bottom */
[data-anim="flip"] {
    transform: perspective(600px) rotateX(50deg) translateY(80px);
    transform-origin: top center;
}

/* Stagger delays */
[data-delay="100"] { transition-delay: 0.10s; }
[data-delay="150"] { transition-delay: 0.15s; }
[data-delay="200"] { transition-delay: 0.20s; }
[data-delay="300"] { transition-delay: 0.30s; }
[data-delay="400"] { transition-delay: 0.40s; }
[data-delay="500"] { transition-delay: 0.50s; }
[data-delay="600"] { transition-delay: 0.60s; }
[data-delay="700"] { transition-delay: 0.70s; }

/* ============================================================
   SHIMMER on section labels
============================================================ */
.section-label {
    background: linear-gradient(90deg, var(--blue) 0%, #7c3aed 50%, var(--blue) 100%);
    background-size: 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer-label 4s linear infinite;
}
@keyframes shimmer-label {
    0%   { background-position: 200% center; }
    100% { background-position: -200% center; }
}

/* ============================================================
   MAGNETIC / TILT — ensure smooth reset
============================================================ */
.project-card, .service-card, .about-stat-card {
    transition: transform 2s cubic-bezier(0.16,1,0.3,1), box-shadow 0.3s ease, border-color 0.3s ease;
}

/* Stat counter */
.stat-number[data-count] { display: block; }

/* Section label line reveal (legacy) */
.section-label-line {
    display: block; height: 2px; background: var(--blue);
    width: 0; transition: width 0.8s cubic-bezier(0.16,1,0.3,1); border-radius: 2px;
}
.section-label-line.in-view { width: 32px; }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1100px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-visual { display: none; }
    .hero-text { max-width: 680px; }
}

@media (max-width: 900px) {
    .projects-grid { grid-template-columns: 1fr; }
    .project-card--featured {
        grid-column: 1;
        grid-template-columns: 1fr;
    }
    .project-card--featured .project-preview { min-height: 200px; }
    .about-layout { grid-template-columns: 1fr; gap: 48px; }
    .contact-layout { grid-template-columns: 1fr; gap: 48px; }
    .footer-inner { grid-template-columns: 1fr 1fr; gap: 40px; }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
    .nav-links, .nav-cta { display: none; }
    .nav-hamburger { display: flex; }
    .section { padding: 70px 0; }
    .hero { padding: 120px 24px 60px; }
    .trust-row { gap: 12px; }
    .trust-item { padding: 0 10px; font-size: 0.8rem; }
    .trust-divider { display: none; }
    .form-row { grid-template-columns: 1fr; }
    .contact-form { padding: 24px; }
    .cta-actions { flex-direction: column; align-items: center; }
    .services-grid { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; gap: 32px; }
    .footer-brand { grid-column: 1; }
}

@media (max-width: 480px) {
    .hero-actions { flex-direction: column; }
    .btn-lg { width: 100%; justify-content: center; }
    .trust-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
}
