* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

html {
    background-color: #020812;
}

@font-face {
    font-family: 'Manrope';
    src: url('/fonts/manrope-latin.woff2') format('woff2');
    font-weight: 400 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Sora';
    src: url('/fonts/sora-latin.woff2') format('woff2');
    font-weight: 700 800;
    font-style: normal;
    font-display: swap;
}

:root {
    --primary: #00c2ff;
    --primary-dark: #0098cc;
    --secondary: #ff7a18;
    --dark: #071426;
    --darker: #020812;
    --light: #f8fbff;
    --gray: #8ea0b8;
    --gray-light: #d4e2f3;
    --font-body: 'Manrope', 'Segoe UI', Roboto, -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Sora', 'Manrope', 'Segoe UI', Roboto, sans-serif;
}

body {
    font-family: var(--font-body);
    background:
        radial-gradient(circle at 12% 20%, rgba(0, 194, 255, 0.18), transparent 42%),
        radial-gradient(circle at 88% 82%, rgba(255, 122, 24, 0.12), transparent 36%),
        linear-gradient(180deg, #040b18 0%, #020812 100%);
    color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: #020812;
    background-attachment: fixed;
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -60px;
    z-index: 2000;
    padding: 10px 14px;
    border-radius: 10px;
    background: #ffffff;
    color: #021226;
    font-weight: 700;
    text-decoration: none;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 12px;
}

:focus-visible {
    outline: 2px solid rgba(0, 194, 255, 0.95);
    outline-offset: 3px;
}

h1, h2, h3, .logo, .section-tag, .btn {
    font-family: var(--font-display);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    min-width: 0;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(2, 8, 18, 0.72);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

nav.nav-scrolled {
    background: rgba(2, 8, 18, 0.92);
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow: 0 12px 36px -22px rgba(0, 0, 0, 0.85);
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    white-space: nowrap;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    min-width: 0;
    flex-shrink: 1;
    max-width: calc(100% - 56px);
    overflow: visible;
}

.brand-mark {
    width: 34px;
    height: 34px;
    display: block;
    flex-shrink: 0;
    margin-left: -4px;
    filter: drop-shadow(0 8px 16px rgba(0, 194, 255, 0.22));
}

.logo--mobile {
    display: none;
}

.logo--compact {
    display: none;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    color: var(--light);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--primary);
}

/* Hero Section */
.hero {
    --hero-pointer-x: 50%;
    --hero-pointer-y: 42%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    overflow-x: clip;
}

.hero::before,
.hero::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    filter: blur(56px);
    z-index: 0;
    pointer-events: none;
}

.hero::before {
    width: 300px;
    height: 300px;
    left: -90px;
    top: 16%;
    background: rgba(0, 194, 255, 0.24);
    animation: driftOrbA 12s ease-in-out infinite;
}

.hero::after {
    width: 340px;
    height: 340px;
    right: -120px;
    bottom: 8%;
    background: rgba(255, 122, 24, 0.16);
    animation: driftOrbB 14s ease-in-out infinite;
}

@keyframes driftOrbA {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(24px, -18px, 0); }
}

@keyframes driftOrbB {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(-22px, 18px, 0); }
}

.hero-grid {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image: 
        linear-gradient(rgba(59, 130, 246, 0.14) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.14) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(ellipse 80% 50% at 50% 50%, black, transparent);
    animation: heroGridDrift 18s linear infinite;
}

.hero-cinematic-bg {
    position: absolute;
    inset: -14% -8% -12%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    opacity: 1;
}

.hero-aurora {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(60% 70% at 18% 35%, rgba(0, 194, 255, 0.46), transparent 72%),
        radial-gradient(54% 62% at 80% 74%, rgba(255, 122, 24, 0.34), transparent 76%),
        radial-gradient(74% 54% at 55% 48%, rgba(89, 109, 255, 0.3), transparent 78%);
    filter: blur(7px) saturate(138%);
    transform: translate3d(0, 0, 0);
    animation: auroraDrift 18s ease-in-out infinite alternate;
}

.hero-aurora::before,
.hero-aurora::after {
    content: "";
    position: absolute;
    inset: -12%;
    border-radius: 40%;
    background: conic-gradient(
        from 30deg,
        rgba(0, 194, 255, 0.18),
        rgba(88, 76, 255, 0.24),
        rgba(255, 122, 24, 0.16),
        rgba(0, 194, 255, 0.18)
    );
    filter: blur(32px);
    opacity: 0.88;
    mix-blend-mode: screen;
}

.hero-aurora::before {
    animation: auroraSpin 40s linear infinite;
}

.hero-aurora::after {
    inset: -18%;
    opacity: 0.62;
    animation: auroraSpin 40s linear infinite reverse;
}

.hero-electric-arcs {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-electric-arc {
    position: absolute;
    border-radius: 999px;
    border: 2px solid rgba(118, 195, 255, 0.5);
    box-shadow:
        0 0 40px rgba(98, 186, 255, 0.42),
        inset 0 0 26px rgba(98, 186, 255, 0.28);
    mix-blend-mode: screen;
    animation: electricArcMove 7s ease-in-out infinite, electricArcFlicker 2.8s linear infinite;
}

.hero-electric-arc--a {
    width: min(58vw, 760px);
    height: min(58vw, 760px);
    right: 4%;
    top: 4%;
    border-color: rgba(111, 221, 255, 0.62);
}

.hero-electric-arc--b {
    width: min(42vw, 540px);
    height: min(42vw, 540px);
    right: 19%;
    top: 16%;
    border-color: rgba(137, 159, 255, 0.56);
    animation-duration: 6.2s, 2.4s;
    animation-direction: reverse, normal;
}

.hero-electric-arc--c {
    width: min(32vw, 420px);
    height: min(32vw, 420px);
    right: 31%;
    top: 26%;
    border-color: rgba(255, 156, 79, 0.58);
    animation-duration: 5.6s, 2.2s;
}

.hero-power-core {
    position: absolute;
    width: clamp(120px, 16vw, 210px);
    aspect-ratio: 1 / 1;
    border-radius: 26px;
    background:
        radial-gradient(circle at 30% 28%, rgba(241, 251, 255, 0.98), rgba(139, 170, 255, 0.9) 40%, rgba(0, 194, 255, 0.6) 76%);
    border: 1px solid rgba(225, 242, 255, 0.82);
    box-shadow:
        0 0 0 1px rgba(232, 246, 255, 0.55) inset,
        0 0 56px rgba(134, 200, 255, 0.86),
        0 34px 66px -22px rgba(72, 119, 255, 0.96);
    animation: powerCorePulse 2s ease-in-out infinite;
    mix-blend-mode: screen;
    isolation: isolate;
}

.hero-power-core--main {
    right: clamp(21%, 27vw, 32%);
    top: 35%;
}

.hero-power-core--secondary {
    width: clamp(70px, 8.6vw, 120px);
    right: clamp(11%, 18vw, 22%);
    top: 24%;
    border-radius: 18px;
    opacity: 0.88;
    filter: saturate(130%);
    animation-duration: 2.6s;
}

.hero-power-pulse {
    position: absolute;
    right: clamp(17%, 24vw, 29%);
    top: 30%;
    width: min(46vw, 580px);
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    border: 1px solid rgba(121, 198, 255, 0.5);
    box-shadow: 0 0 26px rgba(111, 189, 255, 0.45);
    opacity: 0;
    animation: powerWave 3.4s ease-out infinite;
    isolation: isolate;
}

.hero-power-pulse--b {
    animation-delay: 1.65s;
}

.hero-power-pulse--c {
    width: min(30vw, 380px);
    right: clamp(8%, 16vw, 20%);
    top: 19%;
    border-color: rgba(160, 210, 255, 0.58);
    animation-duration: 2.8s;
    animation-delay: 0.7s;
}

.hero-power-sparks {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-spark {
    position: absolute;
    width: 24px;
    height: 24px;
    left: 0;
    top: 0;
    opacity: 0;
    mix-blend-mode: screen;
}

.hero-spark::before,
.hero-spark::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(90deg, transparent, rgba(193, 236, 255, 0.95), transparent);
    box-shadow: 0 0 12px rgba(142, 215, 255, 0.9);
}

.hero-spark::before {
    width: 24px;
    height: 2px;
}

.hero-spark::after {
    width: 2px;
    height: 24px;
}

.hero-spark--a { right: 25%; top: 30%; animation: sparkBurst 1.4s steps(2, end) infinite; }
.hero-spark--b { right: 33%; top: 44%; animation: sparkBurst 1.2s steps(2, end) infinite 0.25s; }
.hero-spark--c { right: 14%; top: 39%; animation: sparkBurst 1.6s steps(2, end) infinite 0.18s; }
.hero-spark--d { right: 20%; top: 20%; animation: sparkBurst 1.1s steps(2, end) infinite 0.5s; }
.hero-spark--e { right: 30%; top: 18%; animation: sparkBurst 1.8s steps(2, end) infinite 0.65s; }
.hero-spark--f { right: 11%; top: 28%; animation: sparkBurst 1.35s steps(2, end) infinite 0.42s; }

.hero-power-scan {
    position: absolute;
    inset: -6% -8%;
    background:
        linear-gradient(108deg, rgba(0, 194, 255, 0) 22%, rgba(0, 194, 255, 0.34) 52%, rgba(0, 194, 255, 0) 78%),
        linear-gradient(108deg, rgba(255, 122, 24, 0) 28%, rgba(255, 122, 24, 0.22) 54%, rgba(255, 122, 24, 0) 80%);
    mix-blend-mode: screen;
    opacity: 0.72;
    animation: powerScan 3.8s linear infinite;
}

.hero-power-core::before,
.hero-power-core::after,
.hero-power-pulse::before,
.hero-power-pulse::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    mix-blend-mode: screen;
}

.hero-power-core::before {
    width: 182%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(188, 235, 255, 0.96), transparent);
    box-shadow: 0 0 20px rgba(140, 214, 255, 0.88);
    animation: sparkFlicker 0.9s steps(3, end) infinite;
}

.hero-power-core::after {
    width: 2px;
    height: 182%;
    background: linear-gradient(180deg, transparent, rgba(188, 235, 255, 0.96), transparent);
    box-shadow: 0 0 20px rgba(140, 214, 255, 0.88);
    animation: sparkFlicker 1.05s steps(3, end) infinite reverse;
}

.hero-power-pulse::before {
    width: 88%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(150, 221, 255, 0.8), transparent);
    opacity: 0;
    animation: pulseSpark 3.4s ease-out infinite;
}

.hero-power-pulse::after {
    width: 1px;
    height: 88%;
    background: linear-gradient(180deg, transparent, rgba(150, 221, 255, 0.8), transparent);
    opacity: 0;
    animation: pulseSpark 3.4s ease-out infinite 0.12s;
}

.hero-vignette {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            34% 36% at var(--hero-pointer-x) var(--hero-pointer-y),
            rgba(160, 213, 255, 0.3),
            transparent 72%
        ),
        radial-gradient(85% 58% at 50% 35%, transparent 62%, rgba(2, 8, 18, 0.28) 100%),
        linear-gradient(180deg, rgba(2, 8, 18, 0.1) 0%, rgba(2, 8, 18, 0.34) 100%);
}

@keyframes heroGridDrift {
    from { background-position: 0 0, 0 0; }
    to { background-position: 46px 0, 0 46px; }
}

@keyframes electricArcMove {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(-10px, 8px, 0) scale(1.03); }
}

@keyframes electricArcFlicker {
    0%, 100% { opacity: 0.72; }
    20% { opacity: 0.94; }
    21% { opacity: 0.58; }
    24% { opacity: 0.96; }
    55% { opacity: 0.66; }
    57% { opacity: 0.93; }
}

@keyframes powerCorePulse {
    0%, 100% { transform: scale(1) rotate(0deg); filter: saturate(100%); }
    50% { transform: scale(1.15) rotate(2deg); filter: saturate(170%); }
}

@keyframes powerWave {
    0% {
        transform: scale(0.5);
        opacity: 0.85;
    }
    100% {
        transform: scale(1.26);
        opacity: 0;
    }
}

@keyframes sparkFlicker {
    0%, 100% { opacity: 0.42; }
    20% { opacity: 1; }
    21% { opacity: 0.38; }
    46% { opacity: 0.92; }
    60% { opacity: 0.52; }
    78% { opacity: 1; }
}

@keyframes pulseSpark {
    0% { opacity: 0; transform: translate(-50%, -50%) scale(0.5); }
    18% { opacity: 0.86; }
    56% { opacity: 0.34; }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(1.2); }
}

@keyframes sparkBurst {
    0%, 100% { opacity: 0; transform: scale(0.6); }
    12% { opacity: 1; transform: scale(1.35); }
    30% { opacity: 0.35; }
    46% { opacity: 0.92; transform: scale(1.08); }
    70% { opacity: 0; transform: scale(0.75); }
}

@keyframes powerScan {
    from { transform: translate3d(-14%, 0, 0); }
    to { transform: translate3d(14%, 0, 0); }
}

@keyframes auroraDrift {
    0% { transform: translate3d(-2%, -1%, 0) scale(1); }
    50% { transform: translate3d(2%, 1.5%, 0) scale(1.04); }
    100% { transform: translate3d(-1.5%, 2%, 0) scale(1.01); }
}

@keyframes auroraSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-float-icons {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.float-icon {
    position: absolute;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(169, 196, 255, 0.62);
    background: rgba(12, 24, 45, 0.5);
    border: 1px solid rgba(116, 144, 238, 0.22);
    backdrop-filter: blur(4px);
    box-shadow: 0 10px 28px -20px rgba(79, 132, 255, 0.6);
}

.float-icon i {
    font-size: 28px;
    line-height: 1;
}

.float-icon--left-1 {
    left: 4.5%;
    top: 30%;
    animation: heroFloatA 6.8s ease-in-out infinite;
}

.float-icon--left-2 {
    left: 8.5%;
    top: 65%;
    animation: heroFloatB 7.6s ease-in-out infinite 0.6s;
}

.float-icon--right-1 {
    right: 4.5%;
    top: 33%;
    animation: heroFloatB 7.2s ease-in-out infinite;
}

.float-icon--right-2 {
    right: 8%;
    top: 64%;
    animation: heroFloatA 6.6s ease-in-out infinite 0.4s;
}

@keyframes heroFloatA {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes heroFloatB {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 14px;
}

.hero .container {
    position: relative;
    z-index: 2;
    max-width: 1360px;
}

.hero-content::before {
    content: "";
    position: absolute;
    inset: -24px -22px -18px -22px;
    border-radius: 24px;
    background:
        linear-gradient(90deg, rgba(3, 11, 23, 0.74) 0%, rgba(3, 11, 23, 0.52) 55%, rgba(3, 11, 23, 0.24) 100%);
    border: 1px solid rgba(144, 182, 255, 0.08);
    pointer-events: none;
    z-index: -1;
}

.hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    gap: 34px;
    align-items: center;
    min-width: 0;
}

@media (min-width: 1500px) {
    .hero-layout {
        transform: translateX(-38px);
    }
}

.hero-showcase {
    position: relative;
    z-index: 1;
    min-height: 520px;
}

.glass-card-hero {
    background: linear-gradient(145deg, rgba(8, 20, 40, 0.86), rgba(8, 16, 31, 0.7));
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 26px 62px -38px rgba(0, 194, 255, 0.56);
    backdrop-filter: blur(10px);
}

.hero-showcase-main,
.hero-project-card,
.hero-mini-card {
    border-radius: 20px;
    position: absolute;
    will-change: transform;
    cursor: pointer;
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
    max-width: 100%;
}

.hero-showcase-main {
    top: 0;
    right: 0;
    width: 84%;
    padding: 20px 20px 18px;
    animation: floatCardA 8s ease-in-out infinite;
    z-index: 2;
}

.showcase-topline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #f7bb72;
    margin-bottom: 10px;
}

.showcase-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #f7bb72;
    box-shadow: 0 0 0 0 rgba(247, 187, 114, 0.7);
    animation: dotPulse 1.8s ease-out infinite;
}

@keyframes dotPulse {
    70% { box-shadow: 0 0 0 9px rgba(247, 187, 114, 0); }
    100% { box-shadow: 0 0 0 0 rgba(247, 187, 114, 0); }
}

.hero-showcase-main h3 {
    font-size: 22px;
    margin-bottom: 14px;
}

.showcase-metric {
    margin-bottom: 12px;
}

.metric-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
    color: var(--gray-light);
    font-size: 13px;
}

.metric-row strong {
    color: #9deaff;
}

.metric-bar {
    height: 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
    overflow: hidden;
}

.metric-bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    box-shadow: 0 6px 20px -10px rgba(0, 194, 255, 0.85);
}

.showcase-note {
    margin-top: 12px;
    font-size: 13px;
    color: var(--gray-light);
}

.hero-project-card {
    left: 0;
    bottom: 68px;
    width: 78%;
    padding: 18px;
    animation: floatCardB 8.8s ease-in-out infinite;
    z-index: 3;
}

.project-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    gap: 10px;
}

.project-pill,
.project-live {
    border-radius: 999px;
    font-size: 11px;
    padding: 4px 10px;
}

.project-pill {
    color: #9deaff;
    background: rgba(0, 194, 255, 0.12);
    border: 1px solid rgba(0, 194, 255, 0.34);
}

.project-live {
    color: #ffd8b7;
    background: rgba(255, 122, 24, 0.12);
    border: 1px solid rgba(255, 122, 24, 0.34);
}

.hero-project-card h4 {
    font-size: 20px;
    margin-bottom: 8px;
}

.hero-project-card p {
    color: var(--gray-light);
    font-size: 14px;
    line-height: 1.55;
    margin-bottom: 12px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.project-tags span {
    font-size: 12px;
    color: #dceeff;
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-mini-card {
    right: 14px;
    bottom: 0;
    width: 54%;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 12px 14px;
    animation: floatCardC 7.6s ease-in-out infinite;
    z-index: 1;
}

.hero-showcase [data-depth].is-front {
    z-index: 9;
    border-color: rgba(0, 194, 255, 0.45);
    box-shadow: 0 30px 64px -36px rgba(0, 194, 255, 0.75);
}

.hero-mini-card i {
    font-size: 24px;
    color: #9deaff;
}

.hero-mini-card strong {
    display: block;
    font-size: 14px;
}

.hero-mini-card span {
    display: block;
    color: var(--gray-light);
    font-size: 12px;
}

@keyframes floatCardA {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes floatCardB {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

@keyframes floatCardC {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    font-size: clamp(34px, 5.1vw, 62px);
    font-weight: 800;
    line-height: 1.08;
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gradient-text {
    background: linear-gradient(110deg, var(--primary), #7fe4ff, var(--secondary), #ffc38d);
    background-size: 220% 220%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 6s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero p {
    font-size: 18px;
    color: #9fb2c9;
    max-width: 600px;
    margin-bottom: 34px;
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

.cta-buttons {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 14px;
    width: fit-content;
    max-width: 100%;
    animation: fadeInUp 0.6s ease-out 0.6s both;
}

.cta-buttons .btn {
    width: auto;
    min-width: 220px;
    padding: 15px 26px;
    font-size: 17px;
}

.btn {
    width: 100%;
    justify-content: center;
    padding: 18px 32px;
    border-radius: 16px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 14px 40px -18px rgba(101, 111, 246, 0.65);
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: "";
    position: absolute;
    top: -180%;
    left: -30%;
    width: 40%;
    height: 380%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.36), transparent);
    transform: rotate(22deg);
    transition: left 0.4s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #33d4ff, #ff9b3d);
    transform: translateY(-2px);
    box-shadow: 0 10px 34px rgba(0, 194, 255, 0.45);
}

.btn-primary:hover::after {
    left: 120%;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.03);
    color: var(--light);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Stats Section */
/* Services Section */
.section {
    padding: 96px 0;
    scroll-margin-top: 110px;
    overflow-x: clip;
}

@supports (content-visibility: auto) {
    @media (min-width: 1025px) {
        #portfolio,
        #proceso,
        #sobre,
        .faq-section,
        #contacto,
        footer {
            content-visibility: auto;
            contain-intrinsic-size: 1px 900px;
        }
    }
}

/* Featured Project Section */
.portfolio-section {
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    min-width: 0;
}

.portfolio-card {
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(10, 23, 43, 0.86), rgba(8, 16, 31, 0.74));
    border: 1px solid rgba(255, 255, 255, 0.14);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 194, 255, 0.38);
    box-shadow: 0 24px 50px -34px rgba(0, 194, 255, 0.55);
}

.portfolio-card--featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
}

.portfolio-card--featured .portfolio-media {
    border-bottom: none;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    aspect-ratio: auto;
    min-height: 320px;
}

.portfolio-card--featured .portfolio-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 36px 32px;
}

@media (max-width: 768px) {
    .portfolio-card--featured {
        grid-template-columns: 1fr;
    }

    .portfolio-card--featured .portfolio-media {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        min-height: 0;
        aspect-ratio: 16 / 9;
    }

    .portfolio-card--featured .portfolio-body {
        padding: 18px;
    }
}


.portfolio-media {
    position: relative;
    min-height: 210px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.portfolio-media--zoomed {
    background: #0b1424;
    padding: 18px;
}

.portfolio-media--zoomed .portfolio-image,
.portfolio-media--zoomed .portfolio-video {
    transform: scale(0.9);
    transform-origin: center;
    border-radius: 10px;
}

.portfolio-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.portfolio-video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    background: #030914;
}

.portfolio-state {
    position: absolute;
    right: 16px;
    bottom: 16px;
    font-size: 12px;
    color: #9deaff;
    background: rgba(5, 13, 24, 0.84);
    border: 1px solid rgba(0, 194, 255, 0.3);
    border-radius: 999px;
    padding: 6px 10px;
}

@keyframes flowRun {
    0% { opacity: 0.45; transform: scaleX(0.86); }
    50% { opacity: 1; transform: scaleX(1); }
    100% { opacity: 0.45; transform: scaleX(0.86); }
}

@keyframes shimmerLine {
    0%, 100% { opacity: 0.35; }
    50% { opacity: 0.75; }
}

.portfolio-body {
    padding: 18px 18px 20px;
}

.portfolio-title-spacer {
    height: 40px;
}

.portfolio-body h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.portfolio-body p {
    color: #aec4d8;
    margin-bottom: 14px;
    line-height: 1.65;
}

.portfolio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.portfolio-tags span {
    font-size: 12px;
    color: #cfe4ff;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.11);
}

/* Process, Services, etc */

.section-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 56px;
}

.section-tag {
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.section-header h2 {
    font-size: clamp(32px, 5vw, 48px);
    margin-bottom: 20px;
}

.section-header p {
    color: var(--gray);
    font-size: 18px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
    position: relative;
}

.service-card {
    --service-accent: rgba(0, 194, 255, 0.82);
    padding: 32px;
    background:
        radial-gradient(120% 120% at 0% 0%, rgba(0, 194, 255, 0.12), transparent 56%),
        linear-gradient(145deg, rgba(10, 25, 45, 0.78), rgba(8, 18, 35, 0.68));
    border: 1px solid rgba(166, 201, 255, 0.16);
    border-radius: 20px;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 18px 44px -34px rgba(0, 194, 255, 0.42);
}

.service-card::after {
    content: "";
    position: absolute;
    inset: auto -30% -42% auto;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 132, 45, 0.2), rgba(255, 132, 45, 0));
    pointer-events: none;
    opacity: 0.7;
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--service-accent), var(--secondary));
    transform: scaleX(0);
    transition: transform 0.3s;
}

.service-card:hover {
    background:
        radial-gradient(130% 120% at 0% 0%, rgba(0, 194, 255, 0.22), transparent 58%),
        linear-gradient(145deg, rgba(17, 38, 68, 0.8), rgba(11, 24, 45, 0.76));
    transform: translateY(-7px) scale(1.01);
    border-color: rgba(122, 181, 255, 0.42);
    box-shadow: 0 26px 56px -30px rgba(0, 194, 255, 0.72);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover::after {
    opacity: 1;
    transform: translate(-10px, -8px) scale(1.08);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(150deg, rgba(8, 20, 42, 0.86), rgba(8, 16, 32, 0.72));
    border: 1px solid rgba(153, 207, 255, 0.62);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    box-shadow: 0 14px 28px -20px rgba(0, 194, 255, 0.74), inset 0 0 0 1px rgba(192, 231, 255, 0.26);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-icon svg {
    color: #eef4ff;
}

.service-icon i {
    font-size: 30px;
    color: #eef4ff;
    line-height: 1;
}

.service-card:hover .service-icon {
    transform: translateY(-2px) rotate(-2deg);
    box-shadow: 0 18px 34px -20px rgba(0, 194, 255, 0.86), inset 0 0 0 1px rgba(214, 239, 255, 0.34);
}

.service-card:nth-child(2),
.service-card:nth-child(5) {
    --service-accent: rgba(255, 122, 24, 0.84);
    background:
        radial-gradient(120% 120% at 0% 0%, rgba(255, 122, 24, 0.14), transparent 58%),
        linear-gradient(135deg, rgba(28, 20, 24, 0.74), rgba(20, 15, 28, 0.7));
}

.service-card:nth-child(3),
.service-card:nth-child(6) {
    --service-accent: rgba(131, 122, 255, 0.82);
    background:
        radial-gradient(120% 120% at 0% 0%, rgba(131, 122, 255, 0.16), transparent 58%),
        linear-gradient(135deg, rgba(16, 18, 44, 0.74), rgba(16, 12, 36, 0.7));
}

.service-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.service-chips span {
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(176, 207, 255, 0.18);
    color: var(--gray-light);
    font-size: 14px;
    font-weight: 500;
}

.service-card h3 {
    font-size: 24px;
    margin-bottom: 12px;
    letter-spacing: -0.2px;
}

.service-card p {
    color: var(--gray-light);
    line-height: 1.55;
}

/* Tech Stack */
/* CTA Section */
.cta-section {
    text-align: center;
    padding: 100px 0;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Footer */
footer {
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-size: 24px;
    margin-bottom: 0;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.brand-lockup--footer {
    margin-bottom: 15px;
}

.footer-brand p {
    color: var(--gray);
    line-height: 1.8;
}

.footer-links h4 {
    margin-bottom: 20px;
    font-size: 16px;
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    color: var(--gray);
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 14px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-light);
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
    opacity: 0.95;
}

.social-link i {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    line-height: 1;
    color: #cbd5e1;
}

.social-link:hover {
    color: var(--light);
    opacity: 1;
    transform: translateY(-1px);
}

.social-link:hover i {
    color: var(--light);
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 10px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--gray);
    font-size: 14px;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--light);
    font-size: 24px;
    cursor: pointer;
}

/* Process Section */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.process-step {
    text-align: center;
    padding: 40px 30px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    transition: all 0.3s;
}

.process-step:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 20px 42px -30px rgba(0, 194, 255, 0.5);
}

.step-number {
    display: inline-block;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 20px;
}

.process-step h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.process-step p {
    color: var(--gray);
    line-height: 1.7;
}

/* Testimonials Section */
/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-features {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--light);
}

.hero-mini-card--coffee {
    width: 62%;
    right: 8px;
    bottom: -24px;
    z-index: 4;
}

.hero-mini-coffee-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 194, 255, 0.22), rgba(255, 122, 24, 0.2));
    border: 1px solid rgba(255, 255, 255, 0.16);
    position: relative;
    flex-shrink: 0;
}

.hero-mini-coffee-icon i {
    font-size: 24px;
    color: #f2fbff;
}

.coffee-steam {
    position: absolute;
    width: 6px;
    height: 16px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(201, 236, 255, 0.8), rgba(201, 236, 255, 0));
    top: -12px;
    opacity: 0.65;
    filter: blur(0.3px);
    animation: steamRise 2.2s ease-in-out infinite;
}

.hero-mini-coffee-icon .coffee-steam--a { left: 14px; }
.hero-mini-coffee-icon .coffee-steam--b { left: 23px; animation-delay: 0.4s; }
.hero-mini-coffee-icon .coffee-steam--c { left: 32px; animation-delay: 0.8s; }

@keyframes steamRise {
    0%, 100% { transform: translateY(4px) scaleY(0.9); opacity: 0; }
    35% { opacity: 0.85; }
    70% { transform: translateY(-10px) scaleY(1.05); opacity: 0.45; }
}

.hero-mini-card--coffee strong {
    font-size: 16px;
    color: #e9f6ff;
}

.hero-mini-card--coffee span {
    color: #8fd4ff;
    font-size: 12px;
}

.feature-icon {
    width: 24px;
    height: 24px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon svg {
    color: white;
}

.feature-icon i {
    color: white;
    font-size: 14px;
    line-height: 1;
}

.about-placeholder {
    width: 100%;
    min-height: 460px;
    background: linear-gradient(140deg, rgba(12, 30, 58, 0.78), rgba(41, 22, 61, 0.52));
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    --mx: 50%;
    --my: 50%;
    transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.about-placeholder::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(
        circle at var(--mx) var(--my),
        rgba(102, 215, 255, 0.24),
        rgba(102, 215, 255, 0.08) 18%,
        transparent 42%
    );
    opacity: 0.4;
    transition: opacity 0.2s ease;
    z-index: 1;
}

.about-placeholder.about-boost {
    border-color: rgba(130, 202, 255, 0.44);
    box-shadow:
        0 26px 56px -36px rgba(0, 194, 255, 0.75),
        0 24px 72px -40px rgba(255, 122, 24, 0.55);
}

.about-placeholder.about-boost::after {
    opacity: 0.9;
}

.about-gridfx {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(126, 163, 240, 0.14) 1px, transparent 1px),
        linear-gradient(90deg, rgba(126, 163, 240, 0.14) 1px, transparent 1px);
    background-size: 44px 44px;
    opacity: 0.32;
    mask-image: radial-gradient(ellipse 78% 68% at 50% 45%, black, transparent 84%);
}

.about-circuit-layer {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.about-circuit {
    position: absolute;
    background: linear-gradient(90deg, rgba(67, 178, 255, 0), rgba(67, 178, 255, 0.65), rgba(255, 145, 68, 0.52), rgba(67, 178, 255, 0));
    opacity: 0.5;
    border-radius: 999px;
    filter: drop-shadow(0 0 10px rgba(66, 177, 255, 0.34));
    animation: circuitFlow 4.4s linear infinite;
}

.about-circuit::after {
    content: "";
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(220, 244, 255, 1) 0%, rgba(102, 210, 255, 0.6) 55%, rgba(102, 210, 255, 0) 70%);
    top: 50%;
    left: 0;
    transform: translate(-50%, -50%);
    filter: drop-shadow(0 0 8px rgba(102, 210, 255, 0.8));
    animation: signalRun 2.8s linear infinite;
}

.about-circuit--h1 {
    height: 2px;
    width: 54%;
    left: 9%;
    top: 28%;
}

.about-circuit--h2 {
    height: 2px;
    width: 44%;
    right: 11%;
    bottom: 25%;
    animation-delay: 1.1s;
}

.about-circuit--h3 {
    height: 2px;
    width: 66%;
    left: 17%;
    bottom: 19%;
    animation-delay: 0.7s;
}

.about-circuit--v1,
.about-circuit--v2 {
    width: 2px;
    height: 28%;
    background: linear-gradient(180deg, rgba(67, 178, 255, 0), rgba(67, 178, 255, 0.45), rgba(255, 145, 68, 0.38), rgba(67, 178, 255, 0));
}

.about-circuit--v1 {
    left: 29%;
    top: 30%;
    animation-delay: 0.45s;
}

.about-circuit--v2 {
    right: 28%;
    top: 45%;
    animation-delay: 1.7s;
}

.about-circuit--v3 {
    left: 63%;
    top: 36%;
    width: 2px;
    height: 26%;
    background: linear-gradient(180deg, rgba(67, 178, 255, 0), rgba(67, 178, 255, 0.45), rgba(255, 145, 68, 0.38), rgba(67, 178, 255, 0));
    animation-delay: 1.05s;
}

.about-circuit--diag1 {
    width: 2px;
    height: 120px;
    left: 36%;
    top: 44%;
    transform: rotate(52deg);
    transform-origin: top center;
    background: linear-gradient(180deg, rgba(67, 178, 255, 0), rgba(67, 178, 255, 0.44), rgba(255, 145, 68, 0.34), rgba(67, 178, 255, 0));
    animation-delay: 0.35s;
}

.about-circuit--diag2 {
    width: 2px;
    height: 98px;
    right: 34%;
    top: 30%;
    transform: rotate(-48deg);
    transform-origin: top center;
    background: linear-gradient(180deg, rgba(67, 178, 255, 0), rgba(67, 178, 255, 0.44), rgba(255, 145, 68, 0.34), rgba(67, 178, 255, 0));
    animation-delay: 1.3s;
}

.about-circuit-node {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(135deg, #7adfff, #ffad69);
    box-shadow: 0 0 0 5px rgba(122, 223, 255, 0.16);
    animation: nodePulse 2.2s ease-in-out infinite;
}

.about-circuit-node--a { left: 28.5%; top: 27%; }
.about-circuit-node--b { right: 27.5%; top: 43%; animation-delay: 0.7s; }
.about-circuit-node--c { left: 62%; bottom: 24%; animation-delay: 1.3s; }
.about-circuit-node--d { left: 37%; bottom: 18%; animation-delay: 1.8s; }
.about-circuit-node--e { right: 39%; top: 31%; animation-delay: 2.1s; }

@keyframes circuitFlow {
    0% { opacity: 0.18; transform: scaleX(0.9); }
    50% { opacity: 0.65; transform: scaleX(1); }
    100% { opacity: 0.18; transform: scaleX(0.9); }
}

@keyframes nodePulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.25); opacity: 1; }
}

@keyframes signalRun {
    0% { left: 0%; opacity: 0.35; }
    18% { opacity: 1; }
    100% { left: 100%; opacity: 0.35; }
}

.about-glow {
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 999px;
    filter: blur(64px);
    pointer-events: none;
}

.about-glow--a {
    left: -88px;
    top: -42px;
    background: rgba(0, 194, 255, 0.28);
    animation: aboutGlowA 8.4s ease-in-out infinite;
}

.about-glow--b {
    right: -110px;
    bottom: -80px;
    background: rgba(255, 122, 24, 0.22);
    animation: aboutGlowB 9.2s ease-in-out infinite;
}

@keyframes aboutGlowA {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(20px, 16px); }
}

@keyframes aboutGlowB {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-22px, -16px); }
}

.about-pill {
    position: absolute;
    z-index: 2;
    font-size: 12px;
    font-weight: 600;
    color: #dff1ff;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(9, 20, 41, 0.62);
    padding: 7px 12px;
    backdrop-filter: blur(6px);
}

.about-pill--left {
    top: 18px;
    left: 20px;
}

.about-pill--right {
    top: 18px;
    right: 20px;
}

.about-orbit {
    position: absolute;
    left: 50%;
    top: 46%;
    border-radius: 999px;
    transform: translate(-50%, -50%);
    border: 1px dashed rgba(165, 204, 255, 0.26);
    z-index: 1;
}

.about-orbit--outer {
    width: 264px;
    height: 264px;
    animation: spinSlow 14s linear infinite;
}

.about-orbit--inner {
    width: 190px;
    height: 190px;
    border-style: solid;
    border-color: rgba(129, 179, 255, 0.22);
    animation: spinReverse 11s linear infinite;
}

@keyframes spinSlow {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes spinReverse {
    from { transform: translate(-50%, -50%) rotate(360deg); }
    to { transform: translate(-50%, -50%) rotate(0deg); }
}

.orbit-node {
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7fdfff, #ff9e57);
    box-shadow: 0 0 0 5px rgba(130, 188, 255, 0.12);
}

.orbit-node--a {
    top: -8px;
    left: calc(50% - 8px);
}

.orbit-node--b {
    bottom: -8px;
    left: calc(50% - 8px);
}

.about-core {
    position: absolute;
    left: 50%;
    top: 45.5%;
    transform: translate(-50%, -50%);
    z-index: 3;
    width: 230px;
    height: 230px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chip-shell {
    position: relative;
    width: 124px;
    height: 124px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #2145c9, #8b45e2);
    box-shadow:
        0 0 0 1px rgba(201, 229, 255, 0.58) inset,
        0 0 0 2px rgba(19, 38, 84, 0.82),
        0 36px 62px -36px rgba(89, 123, 255, 0.95),
        0 0 30px rgba(123, 190, 255, 0.42);
    animation: chipPulse 3.4s ease-in-out infinite;
    overflow: hidden;
}

.chip-shell::before {
    content: "";
    position: absolute;
    inset: -18%;
    border-radius: 28px;
    background: conic-gradient(
        from 0deg,
        rgba(151, 210, 255, 0),
        rgba(151, 210, 255, 0.58),
        rgba(255, 153, 79, 0.62),
        rgba(151, 210, 255, 0)
    );
    filter: blur(10px);
    opacity: 0.32;
    animation: chipSweep 6s linear infinite;
}

.chip-shell::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 14px;
    background:
        linear-gradient(140deg, rgba(255, 255, 255, 0.2), transparent 34%),
        linear-gradient(320deg, rgba(168, 225, 255, 0.13), transparent 44%);
    pointer-events: none;
}

.chip-halo {
    position: absolute;
    inset: -16px;
    border-radius: 26px;
    border: 1px solid rgba(137, 190, 255, 0.35);
    box-shadow: 0 0 28px rgba(93, 193, 255, 0.26);
    pointer-events: none;
    animation: haloPulse 3s ease-in-out infinite;
}

.chip-core {
    width: 70px;
    height: 70px;
    border-radius: 9px;
    background: radial-gradient(circle at 30% 30%, #a9caff 0%, #7f70ff 38%, #5738cc 100%);
    border: 1px solid rgba(214, 236, 255, 0.52);
    box-shadow: inset 0 0 18px rgba(203, 228, 255, 0.35), 0 0 22px rgba(98, 185, 255, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.chip-core::before {
    content: "";
    position: absolute;
    inset: 7px;
    border-radius: 6px;
    border: 1px solid rgba(217, 238, 255, 0.34);
    background: linear-gradient(145deg, rgba(203, 230, 255, 0.12), rgba(147, 131, 255, 0.16));
}

.chip-grid {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background-image:
        radial-gradient(circle, rgba(214, 241, 255, 0.78) 1.2px, transparent 1.5px);
    background-size: 6px 6px;
    opacity: 0.85;
    z-index: 1;
    animation: gridSpark 2.4s ease-in-out infinite;
}

.chip-pins {
    position: absolute;
    pointer-events: none;
    opacity: 0.85;
}

.chip-pins--top,
.chip-pins--bottom {
    left: 10px;
    right: 10px;
    height: 8px;
    background: repeating-linear-gradient(
        90deg,
        rgba(181, 225, 255, 0.92) 0 2px,
        transparent 2px 8px
    );
}

.chip-pins--top { top: -10px; }
.chip-pins--bottom { bottom: -10px; }

.chip-pins--left,
.chip-pins--right {
    top: 10px;
    bottom: 10px;
    width: 8px;
    background: repeating-linear-gradient(
        180deg,
        rgba(181, 225, 255, 0.92) 0 2px,
        transparent 2px 8px
    );
}

.chip-pins--left { left: -10px; }
.chip-pins--right { right: -10px; }

@keyframes chipPulse {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-2px) scale(1.02); }
}

@keyframes chipSweep {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes haloPulse {
    0%, 100% { opacity: 0.55; transform: scale(1); }
    50% { opacity: 0.95; transform: scale(1.03); }
}

@keyframes gridSpark {
    0%, 100% { opacity: 0.72; }
    50% { opacity: 1; }
}

.about-placeholder.about-boost .chip-shell {
    box-shadow:
        0 0 0 1px rgba(217, 241, 255, 0.72) inset,
        0 0 0 2px rgba(25, 56, 112, 0.9),
        0 38px 74px -36px rgba(89, 123, 255, 1),
        0 0 42px rgba(123, 190, 255, 0.66);
}

.about-placeholder.about-boost .chip-shell::before {
    opacity: 0.68;
}

.about-placeholder.about-boost .about-circuit,
.about-placeholder.about-boost .about-circuit-node {
    opacity: 0.95;
    filter: drop-shadow(0 0 11px rgba(98, 201, 255, 0.52));
}

.about-status {
    position: absolute;
    z-index: 3;
    width: 160px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(10, 19, 37, 0.72);
    backdrop-filter: blur(6px);
    padding: 10px;
}

.about-status--left {
    left: 18px;
    top: 138px;
}

.about-status--right {
    right: 18px;
    top: 156px;
}

.about-status span {
    display: block;
    font-size: 11px;
    color: #b2c6df;
    margin-bottom: 3px;
}

.about-status strong {
    display: block;
    font-size: 18px;
    color: #e9f3ff;
    margin-bottom: 6px;
}

.status-bar {
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.status-bar b {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, rgba(0, 194, 255, 0.88), rgba(255, 122, 24, 0.8));
}

.about-micro-metrics {
    position: absolute;
    z-index: 2;
    left: 50%;
    transform: translateX(-50%);
    bottom: 16px;
    width: 84%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

@media (max-width: 1200px) and (min-width: 969px) {
    .about-placeholder {
        min-height: 500px;
    }

    .about-status--left {
        top: 128px;
    }

    .about-status--right {
        top: 146px;
    }

    .about-micro-metrics {
        bottom: 12px;
        width: 88%;
    }
}

@media (max-width: 900px) {
    .nav-content {
        padding-left: max(12px, env(safe-area-inset-left));
        padding-right: max(12px, env(safe-area-inset-right));
    }

    .nav-links {
        display: flex;
        position: absolute;
        top: calc(100% + 10px);
        right: max(10px, env(safe-area-inset-right));
        left: max(10px, env(safe-area-inset-left));
        flex-direction: column;
        gap: 10px;
        padding: 14px;
        background: rgba(2, 6, 23, 0.95);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 14px;
        backdrop-filter: blur(12px);
        box-shadow: 0 18px 40px -20px rgba(2, 6, 23, 0.85);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-14px);
        pointer-events: none;
        transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
    }

    .mobile-menu-btn {
        display: block;
        z-index: 1002;
    }

    .brand-lockup {
        gap: 8px;
        flex: 1 1 auto;
        max-width: calc(100% - 44px);
        overflow: visible;
    }

    .brand-mark {
        width: 26px;
        height: 26px;
    }

    .logo--full { display: none; }
    .logo--mobile {
        display: inline-block;
        font-size: 18px;
        line-height: 1;
        letter-spacing: 0.2px;
    }
    .logo--compact { display: none; }
    .logo--compact { display: none; }

    nav.nav-open .nav-links {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }
}

@media (max-width: 390px) {
    .brand-lockup {
        max-width: calc(100% - 42px);
    }

    .logo--mobile { display: none; }
    .logo--compact {
        display: inline-block;
        font-size: 16px;
        line-height: 1;
        letter-spacing: 0.2px;
    }
}

.about-micro-metrics div {
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(9, 20, 40, 0.58);
    padding: 9px 10px;
}

.about-micro-metrics strong {
    display: block;
    font-size: 17px;
    color: #e8f4ff;
    margin-bottom: 2px;
}

.about-micro-metrics span {
    font-size: 11px;
    color: #b7cae2;
    line-height: 1.35;
}

/* FAQ Section */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.faq-item {
    padding: 30px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    transition: all 0.3s;
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 16px 34px -26px rgba(0, 194, 255, 0.45);
}

.hero-proof {
    margin-top: 26px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-proof-item {
    padding: 10px 14px;
    border-radius: 14px;
    background: rgba(8, 20, 40, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.14);
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
}

.hero-proof-item strong {
    color: #9deaff;
    font-size: 15px;
}

.hero-proof-item span {
    color: var(--gray-light);
    font-size: 13px;
}

.hero-scroll-cue {
    margin-top: 18px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-light);
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

.hero-scroll-cue i {
    font-size: 16px;
    animation: bounceDown 1.6s ease-in-out infinite;
}

@keyframes bounceDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(4px); }
}

.faq-item h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--primary);
}

.faq-item p {
    color: var(--gray);
    line-height: 1.7;
}

/* Contact Section */
.cta-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: "";
    position: absolute;
    inset: -18% -6%;
    background:
        radial-gradient(46% 44% at 12% 28%, rgba(0, 194, 255, 0.16), transparent 72%),
        radial-gradient(42% 40% at 88% 76%, rgba(255, 122, 24, 0.14), transparent 72%);
    pointer-events: none;
}

.cta-section::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(78, 132, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(78, 132, 255, 0.08) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse 65% 65% at 50% 50%, black, transparent);
    opacity: 0.45;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    position: relative;
    z-index: 1;
    padding: clamp(24px, 3vw, 34px);
    border-radius: 26px;
    border: 1px solid rgba(161, 197, 255, 0.2);
    background:
        linear-gradient(145deg, rgba(8, 18, 34, 0.82), rgba(8, 16, 30, 0.72));
    box-shadow: 0 34px 70px -46px rgba(0, 194, 255, 0.64);
}

.contact-info h2 {
    font-size: clamp(28px, 4vw, 40px);
    margin-bottom: 20px;
    line-height: 1.1;
}

.contact-info > p {
    color: var(--gray);
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 40px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid rgba(156, 191, 255, 0.14);
    background: rgba(9, 19, 37, 0.5);
}

.method-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(160deg, rgba(59, 130, 246, 0.24), rgba(255, 122, 24, 0.16));
    border-radius: 12px;
    border: 1px solid rgba(165, 205, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 26px -20px rgba(80, 157, 255, 0.8);
}

.method-icon svg {
    color: var(--primary);
}

.method-icon i {
    color: var(--primary);
    font-size: 22px;
    line-height: 1;
}

.method-label {
    font-size: 12px;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.contact-method a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.contact-method a:hover {
    color: var(--secondary);
}

.contact-method span {
    color: var(--light);
}

/* Contact Form */
.contact-form-container {
    background:
        radial-gradient(100% 90% at 0% 0%, rgba(0, 194, 255, 0.14), transparent 66%),
        linear-gradient(150deg, rgba(9, 21, 41, 0.86), rgba(8, 18, 34, 0.78));
    border: 1px solid rgba(171, 206, 255, 0.24);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 28px 56px -40px rgba(0, 194, 255, 0.72);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--light);
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(176, 205, 255, 0.22);
    border-radius: 10px;
    color: var(--light);
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: rgba(126, 187, 255, 0.9);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 3px rgba(0, 194, 255, 0.14);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.btn-block {
    width: 100%;
    justify-content: center;
    margin-top: 10px;
}

.form-note {
    text-align: center;
    font-size: 13px;
    color: var(--gray);
    margin-top: 10px;
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2dfc80, #1faa4d);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 22px rgba(37, 211, 102, 0.55), 0 0 0 12px rgba(37, 211, 102, 0.15);
    z-index: 1000;
    transition: all 0.3s;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.2));
}

@media (max-width: 968px) {
    .hero-layout {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .hero-showcase {
        min-height: 430px;
        max-width: 640px;
        width: 100%;
    }

    .hero-showcase-main {
        width: 86%;
    }

    .hero-project-card {
        width: 82%;
    }

    .hero-mini-card {
        width: 60%;
    }

    .about-content,
    .contact-wrapper,
    .contact-wrapper {
        padding: 22px;
    }
    
    .about-placeholder { min-height: 400px; }
    .about-core {
        width: 184px;
    }

    .chip-shell {
        width: 104px;
        height: 104px;
    }

    .about-status {
        width: 142px;
    }

    .about-micro-metrics {
        width: 90%;
        grid-template-columns: 1fr;
    }
    }

@media (max-width: 768px) {
    nav {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgba(2, 8, 18, 0.94);
    }

    .brand-lockup,
    .brand-mark,
    .logo {
        transform: translateZ(0);
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
    }

    body {
        background:
            radial-gradient(circle at 12% 20%, rgba(0, 194, 255, 0.16), transparent 46%),
            radial-gradient(circle at 90% 112%, rgba(255, 122, 24, 0.05), transparent 42%),
            linear-gradient(180deg, #040b18 0%, #020812 100%);
    }

    .container {
        padding-left: 24px;
        padding-right: 24px;
    }

    .hero-float-icons {
        display: none;
    }

    .hero {
        background:
            linear-gradient(90deg, rgba(2, 9, 19, 0.8) 0%, rgba(2, 9, 19, 0.58) 44%, rgba(2, 9, 19, 0.92) 100%);
    }

    /* Mobile performance: reduce paint-heavy hero layers */
    .hero-cinematic-bg,
    .hero-grid {
        display: none;
    }

    .hero::before,
    .hero::after {
        display: none;
    }

    .hero-electric-arc--a {
        width: min(110vw, 560px);
        height: min(110vw, 560px);
        right: -28%;
        top: 6%;
    }

    .hero-electric-arc--b {
        width: min(84vw, 430px);
        height: min(84vw, 430px);
        right: -6%;
        top: 18%;
    }

    .hero-electric-arc--c {
        width: min(64vw, 320px);
        height: min(64vw, 320px);
        right: 10%;
        top: 30%;
        opacity: 0.55;
        border-width: 1px;
    }

    .hero-electric-arc,
    .hero-power-core,
    .hero-power-pulse,
    .hero-spark {
        mix-blend-mode: normal;
    }

    .hero-power-core--main {
        width: 122px;
        right: 19%;
        top: 37%;
    }

    .hero-power-core--secondary {
        width: 78px;
        right: 8%;
        top: 26%;
    }

    .hero-power-pulse {
        width: min(96vw, 490px);
        right: -3%;
        top: 24%;
        opacity: 0.95;
    }

    .hero-power-pulse--c {
        width: min(62vw, 300px);
        right: 4%;
        top: 19%;
    }

    .hero-spark--a { right: 22%; top: 33%; }
    .hero-spark--b { right: 27%; top: 46%; }
    .hero-spark--c { right: 8%; top: 41%; }
    .hero-spark--d { right: 16%; top: 22%; }
    .hero-spark--e { right: 24%; top: 16%; }
    .hero-spark--f { right: 6%; top: 30%; }

    .hero-spark--e,
    .hero-spark--f {
        display: none;
    }

    .hero-power-scan {
        display: none;
    }

    .hero-aurora,
    .hero-electric-arc,
    .hero-power-core,
    .hero-power-pulse,
    .hero-spark {
        animation: none !important;
    }

    .hero-content::before {
        inset: -14px -10px -12px -10px;
        border-radius: 18px;
        background:
            linear-gradient(90deg, rgba(3, 11, 23, 0.92) 0%, rgba(3, 11, 23, 0.82) 56%, rgba(3, 11, 23, 0.68) 100%);
    }

    .hero p {
        color: #c4d2e4;
        text-shadow: 0 1px 0 rgba(0, 0, 0, 0.35);
    }

    .hero-showcase {
        min-height: 390px;
    }

    .hero-showcase-main,
    .hero-project-card,
    .hero-mini-card {
        position: static;
        width: 100%;
        margin-bottom: 12px;
        animation: none;
        transform: none !important;
    }

    .glass-card-hero {
        box-shadow: none;
        backdrop-filter: none;
    }

    .hero::before,
    .hero::after {
        opacity: 0.6;
    }

    .nav-links {
        display: flex;
        position: absolute;
        top: calc(100% + 10px);
        right: 16px;
        left: 16px;
        flex-direction: column;
        gap: 10px;
        padding: 14px;
        background: rgba(2, 6, 23, 0.95);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 14px;
        backdrop-filter: blur(12px);
        box-shadow: 0 18px 40px -20px rgba(2, 6, 23, 0.85);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-14px);
        pointer-events: none;
        transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
    }
    
    .mobile-menu-btn {
        display: block;
        z-index: 1002;
    }

    .brand-lockup {
        gap: 8px;
        flex: 1 1 auto;
        max-width: calc(100% - 44px);
        overflow: visible;
    }

    .brand-mark {
        width: 28px;
        height: 28px;
    }

    .logo--full { display: none; }
    .logo--mobile {
        display: inline-block;
        font-size: 18px;
        line-height: 1;
        letter-spacing: 0.2px;
    }

    nav.nav-open .nav-links {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

    nav.nav-open .nav-links a {
        display: block;
        padding: 10px 12px;
        border-radius: 10px;
        opacity: 0;
        transform: translateY(8px);
        animation: navItemIn 0.24s ease forwards;
    }

    nav.nav-open .nav-links li:nth-child(1) a { animation-delay: 0.04s; }
    nav.nav-open .nav-links li:nth-child(2) a { animation-delay: 0.08s; }
    nav.nav-open .nav-links li:nth-child(3) a { animation-delay: 0.12s; }

    @keyframes navItemIn {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    nav.nav-open .nav-links a:hover {
        background: rgba(59, 130, 246, 0.12);
    }
    
    .cta-buttons {
        width: 100%;
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
    }

    .hero-proof {
        gap: 8px;
    }

    .hero-proof-item {
        width: 100%;
        justify-content: space-between;
    }

    .btn { font-size: 17px; }
    
    .process-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-card--featured {
        border-color: rgba(0, 194, 255, 0.32);
        box-shadow: 0 20px 48px -28px rgba(0, 194, 255, 0.5);
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-media {
        min-height: 0;
        aspect-ratio: 4 / 3;
        background: #0b1424;
    }

    .portfolio-image,
    .portfolio-video {
        object-fit: contain;
        background: #0b1424;
    }
    
    .whatsapp-float {
        bottom: calc(84px + env(safe-area-inset-bottom));
        right: 14px;
        width: 55px;
        height: 55px;
    }

    .hero,
    .cta-section {
        padding-bottom: 92px;
    }

    .cta-section {
        background: linear-gradient(180deg, rgba(3, 10, 20, 0.68) 0%, rgba(3, 10, 20, 0.9) 100%);
    }

    .contact-form-container {
        background: rgba(8, 16, 30, 0.56);
        padding: 24px;
    }

    .about-features {
        padding-left: 6px;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-images {
        display: block;
    }

    .about-placeholder {
        text-align: center;
        padding: 24px 20px;
        min-height: 360px;
    }

    .about-circuit-layer {
        opacity: 0.7;
    }

    .about-circuit,
    .about-circuit::after,
    .about-circuit-node,
    .about-glow,
    .about-orbit,
    .chip-shell,
    .chip-shell::before,
    .chip-halo,
    .chip-grid {
        animation: none !important;
    }

    .about-circuit--diag1,
    .about-circuit--diag2,
    .about-circuit--v3,
    .about-circuit-node--d,
    .about-circuit-node--e {
        display: none;
    }

    .about-pill {
        position: static;
        display: inline-flex;
        margin: 0 4px 8px;
    }

    .about-orbit {
        left: 50%;
        top: 45%;
    }

    .about-status {
        position: static;
        width: 100%;
        margin-top: 8px;
    }

    .about-core {
        top: 42%;
    }

    .about-micro-metrics {
        position: static;
        transform: none;
        width: 100%;
        margin-top: 10px;
    }

    .hero-mini-card--coffee {
        width: 100%;
    }

    .footer-bottom {
        align-items: center;
    }
}

@media (pointer: coarse) {
    .hero::before,
    .hero::after,
    .hero-grid,
    .hero-aurora,
    .hero-electric-arc,
    .hero-power-core,
    .hero-power-pulse,
    .hero-cinematic-bg {
        opacity: 0.92;
    }

    .hero-electric-arc--c,
    .hero-power-pulse--c,
    .hero-power-sparks,
    .hero-power-core--secondary {
        display: none;
    }

    .hero-electric-arc {
        opacity: 0.58;
    }

    .hero-power-pulse {
        opacity: 0.38;
    }

    .hero-power-core--main {
        filter: saturate(108%);
        box-shadow:
            0 0 0 1px rgba(232, 246, 255, 0.45) inset,
            0 0 36px rgba(134, 200, 255, 0.56),
            0 20px 44px -26px rgba(72, 119, 255, 0.72);
    }
}

@media (max-width: 390px) {
    .logo--mobile { display: none; }
    .logo--compact {
        display: inline-block;
        font-size: 16px;
        line-height: 1;
        letter-spacing: 0.2px;
    }
}

@media (max-width: 1200px) {
    .hero-electric-arc--a { right: -2%; }
    .hero-electric-arc--b { right: 13%; }
    .hero-electric-arc--c { right: 25%; }
    .hero-power-core--main { right: 24%; }
    .hero-power-core--secondary { right: 14%; }

    .float-icon--left-1 { left: 2%; top: 28%; }
    .float-icon--right-1 { right: 2%; top: 30%; }
    .float-icon--left-2 { left: 4%; top: 70%; }
    .float-icon--right-2 { right: 4%; top: 69%; }
}

@media (max-width: 1024px) {
    body {
        background-attachment: scroll;
    }

    .hero {
        background:
            linear-gradient(90deg, rgba(2, 9, 19, 0.7) 0%, rgba(2, 9, 19, 0.42) 46%, rgba(2, 9, 19, 0.84) 100%);
    }

    .hero-content::before {
        background:
            linear-gradient(90deg, rgba(3, 11, 23, 0.86) 0%, rgba(3, 11, 23, 0.74) 58%, rgba(3, 11, 23, 0.52) 100%);
    }

    .float-icon {
        width: 50px;
        height: 50px;
    }

    .float-icon i {
        font-size: 24px;
    }

    .float-icon--left-2 {
        left: 3%;
        top: 61%;
    }

    .float-icon--right-2 {
        right: 3%;
        top: 60%;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}