@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@700;800&family=Outfit:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --cyan: #6AA8C8;
    --cyan-bright: #9AC4DC;
    --navy: #0D1E30;
    --navy-mid: #1A3250;
    --purple: #3A6282;
    --white: #EEF3F8;
    --black: #080F1C;
}

html {
    scroll-behavior: auto;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--black);
    color: var(--white);
    overflow-x: hidden;
    cursor: none;
}

/* ─── Noise Overlay ─── */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
    z-index: 9997;
}

/* ─── Custom Cursor ─── */
.cursor-ring {
    width: 36px;
    height: 36px;
    border: 1.5px solid var(--cyan);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 10000;
    will-change: transform;
    transition: border-color 0.3s ease;
}

.cursor-dot {
    width: 5px;
    height: 5px;
    background: var(--cyan);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 10001;
    will-change: transform;
}

/* ─── Scroll Indicator ─── */
.scroll-indicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, var(--cyan), var(--purple));
    z-index: 9998;
    pointer-events: none;
}

/* ─── Preloader ─── */
.preloader {
    position: fixed;
    inset: 0;
    background: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}

.preloader-logo-img {
    width: 90px;
    height: 90px;
    filter: brightness(1.1) saturate(0.6);
    animation: preloaderPulse 2s ease-in-out infinite;
}

.preloader-logo-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@keyframes preloaderPulse {
    0%, 100% { opacity: 0.7; transform: scale(1); }
    50%       { opacity: 1;   transform: scale(1.05); }
}

.loader {
    width: 240px;
    height: 2px;
    background: rgba(106, 168, 200, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.loader-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--cyan), var(--purple));
    border-radius: 10px;
    box-shadow: 0 0 20px var(--cyan);
}

.preloader-percent {
    font-size: 12px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
    font-weight: 500;
}

/* ─── Navigation ─── */
nav.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 36px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: padding 0.5s cubic-bezier(0.23, 1, 0.32, 1),
                background 0.5s ease,
                border-color 0.5s ease;
    border-bottom: 1px solid transparent;
    opacity: 0;
}

nav.main-nav.scrolled {
    padding: 14px 60px;
    background: rgba(4, 12, 20, 0.96);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom-color: rgba(106, 168, 200, 0.1);
}

.logo {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.logo:hover { opacity: 0.8; }

.logo-icon {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
    background: transparent;
    perspective: 400px;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    animation: spin3d 8s linear infinite;
    transform-style: preserve-3d;
    will-change: filter;
}

@keyframes spin3d {
    0%   { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}
.nav-brand {
    text-decoration: none;
    transition: opacity 0.3s ease;
    flex-shrink: 0;
}

.nav-brand:hover { opacity: 0.8; }

.nav-brand-name {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 22px;
    color: var(--white);
    letter-spacing: 1.5px;
    white-space: nowrap;
}
.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
    padding: 8px 0;
    letter-spacing: 0.5px;
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--cyan), var(--purple));
    transition: width 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.nav-links a:hover { color: var(--cyan); }
.nav-links a:hover::before { width: 100%; }

/* ─── Hero ─── */
.hero {
    height: 100vh;
    padding-top: 112px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

#hero-canvas {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
    z-index: 0;
    will-change: transform;
}

.hero-video--mobile { display: none; }

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 55% 55% at 70% 30%, rgba(26, 50, 80, 0.5) 0%, transparent 60%),
        linear-gradient(
            to bottom,
            rgba(8, 15, 28, 0.65) 0%,
            rgba(13, 30, 48, 0.45) 50%,
            rgba(8, 15, 28, 0.85) 100%
        );
    z-index: 1;
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(106, 168, 200, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(106, 168, 200, 0.04) 1px, transparent 1px);
    background-size: 80px 80px;
    animation: gridMove 25s linear infinite;
    opacity: 0.6;
    z-index: 2;
}

@keyframes gridMove {
    0%   { transform: translateY(0); }
    100% { transform: translateY(80px); }
}

.hero-content {
    text-align: center;
    z-index: 10;
    position: relative;
    padding: 0 20px;
}

.hero-label {
    font-size: 13px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--cyan);
    margin-bottom: 32px;
    opacity: 0;
}

.hero-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(56px, 9vw, 130px);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 32px;
    letter-spacing: -4px;
}

.hero-title .word {
    display: inline-block;
    opacity: 0;
    transform: translateY(100px);
}

.gradient-text {
    background: linear-gradient(135deg, var(--cyan) 0%, var(--purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.gradient-text::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    background: linear-gradient(135deg, var(--cyan) 0%, var(--purple) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: blur(24px);
    opacity: 0.5;
}

.hero-subtitle {
    font-size: clamp(16px, 2vw, 22px);
    color: rgba(255, 255, 255, 0.65);
    max-width: 580px;
    margin: 0 auto 50px;
    opacity: 0;
    font-weight: 300;
    line-height: 1.7;
}

.hero-cta {
    opacity: 0;
}

/* ─── Hero Watermark ─── */
.hero-watermark {
    position: absolute;
    right: -5%;
    bottom: -8%;
    width: 55vmin;
    height: 55vmin;
    opacity: 0.04;
    pointer-events: none;
    z-index: 2;
    filter: grayscale(1) brightness(3);
    animation: watermarkFloat 12s ease-in-out infinite;
}

.hero-watermark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@keyframes watermarkFloat {
    0%, 100% { transform: translateY(0) rotate(-5deg); }
    50%       { transform: translateY(-20px) rotate(-3deg); }
}

/* ─── Scroll Down Indicator ─── */
.scroll-down {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 10;
    opacity: 0;
}

.scroll-down-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--cyan), transparent);
    transform-origin: top;
    animation: scrollLineAnim 2s ease-in-out infinite;
}

@keyframes scrollLineAnim {
    0%   { transform: scaleY(0); opacity: 1; }
    50%  { transform: scaleY(1); opacity: 1; }
    100% { transform: scaleY(1); opacity: 0; }
}

.scroll-down-text {
    font-size: 10px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
}

/* ─── Buttons ─── */
.btn {
    display: inline-block;
    padding: 18px 50px;
    background: linear-gradient(135deg, var(--cyan), var(--purple));
    color: var(--black);
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.4s ease;
    box-shadow: 0 16px 50px rgba(106, 168, 200, 0.3);
    border: none;
    cursor: pointer;
    will-change: transform;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before { left: 100%; }
.btn:hover { box-shadow: 0 24px 70px rgba(106, 168, 200, 0.55); }

/* ─── Floating Shapes ─── */
.floating-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 4;
}

.shape {
    position: absolute;
    opacity: 0.08;
    animation: float 24s ease-in-out infinite;
}

.shape-1 {
    top: 18%;
    left: 8%;
    width: 100px;
    height: 100px;
    border: 2px solid var(--cyan);
    border-radius: 20px;
    animation-delay: 0s;
}

.shape-2 {
    top: 55%;
    right: 12%;
    width: 150px;
    height: 150px;
    border: 2px solid var(--purple);
    border-radius: 50%;
    animation-delay: 6s;
}

.shape-3 {
    bottom: 18%;
    left: 18%;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--cyan), var(--purple));
    filter: blur(40px);
    opacity: 0.2;
    animation-delay: 12s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33%       { transform: translate(30px, -30px) rotate(120deg); }
    66%       { transform: translate(-20px, 20px) rotate(240deg); }
}

/* ─── Section Commons ─── */
.section-header {
    max-width: 1400px;
    margin: 0 auto 100px;
}

.section-label {
    font-size: 13px;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--cyan);
    margin-bottom: 20px;
    opacity: 0;
}

.section-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(36px, 5.5vw, 72px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -2px;
    max-width: 820px;
    opacity: 0;
}

/* ─── Services ─── */
.services {
    padding: 200px 60px;
    position: relative;
    background:
        url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='rgba(106,168,200,0.055)' stroke-width='1'%3E%3Cpath d='M15 40 H35 V15'/%3E%3Ccircle cx='15' cy='40' r='2.5'/%3E%3Ccircle cx='35' cy='15' r='2.5'/%3E%3Cpath d='M65 40 H45 V65'/%3E%3Ccircle cx='65' cy='40' r='2.5'/%3E%3Ccircle cx='45' cy='65' r='2.5'/%3E%3C/g%3E%3C/svg%3E"),
        linear-gradient(180deg, var(--black) 0%, var(--navy) 50%, var(--black) 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2px;
    max-width: 1400px;
    margin: 0 auto;
    background: rgba(106, 168, 200, 0.08);
}

.service-card {
    background: var(--black);
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: background 0.5s ease, box-shadow 0.5s ease;
    cursor: pointer;
    transform-style: preserve-3d;
    will-change: transform;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(106, 168, 200, 0.07), rgba(58, 98, 130, 0.07));
    opacity: 0;
    transition: opacity 0.5s ease;
}

.service-card:hover::before { opacity: 1; }
.service-card:hover { background: rgba(15, 37, 55, 0.6); }

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--cyan), var(--purple));
    transition: width 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.service-card:hover::after { width: 100%; }

.service-number {
    font-size: 13px;
    color: var(--cyan);
    margin-bottom: 30px;
    font-weight: 600;
    letter-spacing: 3px;
}

.service-icon {
    font-size: 46px;
    margin-bottom: 28px;
    display: block;
    transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.service-card:hover .service-icon {
    transform: scale(1.2) rotate(8deg);
}

.service-card h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 26px;
    margin-bottom: 18px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.service-card p {
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.75;
    font-size: 15px;
    margin-bottom: 30px;
    flex: 1;
}

.service-card .btn {
    margin-top: auto;
    display: block;
    text-align: center;
    opacity: 0;
}

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

/* ─── Marquee Strip ─── */
.marquee-strip {
    overflow: hidden;
    background: rgba(106, 168, 200, 0.04);
    border-top: 1px solid rgba(106, 168, 200, 0.1);
    border-bottom: 1px solid rgba(106, 168, 200, 0.1);
    padding: 22px 0;
    white-space: nowrap;
}

.marquee-track {
    display: inline-flex;
    gap: 60px;
    align-items: center;
    will-change: transform;
}

.marquee-track span {
    font-size: 13px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 500;
    flex-shrink: 0;
}

.marquee-sep {
    color: var(--cyan) !important;
    font-size: 9px !important;
    opacity: 0.7;
}

/* ─── Developers ─── */
.developers {
    padding: 160px 60px;
    background:
        radial-gradient(ellipse 70% 60% at 50% 50%, rgba(13, 30, 48, 0.9) 0%, transparent 100%),
        url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='rgba(106,168,200,0.05)' stroke-width='1'%3E%3Cpath d='M40 10 V30 H60'/%3E%3Ccircle cx='40' cy='10' r='2.5'/%3E%3Ccircle cx='60' cy='30' r='2.5'/%3E%3Cpath d='M40 70 V50 H20'/%3E%3Ccircle cx='40' cy='70' r='2.5'/%3E%3Ccircle cx='20' cy='50' r='2.5'/%3E%3C/g%3E%3C/svg%3E"),
        linear-gradient(180deg, var(--black) 0%, var(--navy) 50%, var(--black) 100%);
    text-align: center;
}

.developers-grid {
    display: flex;
    justify-content: center;
    gap: 100px;
    max-width: 900px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.developer-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    will-change: transform;
    opacity: 0;
}

.developer-photo {
    width: 190px;
    height: 190px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--cyan);
    box-shadow: 0 0 0 0 rgba(106, 168, 200, 0.4);
    animation: photoPulse 3s ease-in-out infinite;
    transition: box-shadow 0.4s ease;
}

@keyframes photoPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(106, 168, 200, 0.25), 0 0 30px rgba(58, 98, 130, 0.2); }
    50%       { box-shadow: 0 0 0 10px rgba(106, 168, 200, 0), 0 0 50px rgba(106, 168, 200, 0.25); }
}

.developer-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.developer-card:hover .developer-photo img {
    transform: scale(1.08);
}

.developer-name {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--white);
}

.developer-role {
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--cyan);
    font-weight: 500;
}

.developer-socials {
    display: flex;
    gap: 14px;
    margin-top: 20px;
    align-items: center;
    justify-content: center;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(106, 168, 200, 0.08);
    border: 1px solid rgba(106, 168, 200, 0.15);
    color: rgba(238, 243, 248, 0.6);
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
    text-decoration: none;
}

.social-link svg {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
}

.social-link:hover {
    transform: translateY(-3px);
}

.social-link--whatsapp:hover  { background: rgba(37, 211, 102, 0.15);  border-color: #25D366; color: #25D366; }
.social-link--instagram:hover { background: rgba(228, 64, 95, 0.15);   border-color: #E4405F; color: #E4405F; }
.social-link--linkedin:hover  { background: rgba(10, 102, 194, 0.15);  border-color: #0A66C2; color: #0A66C2; }
.social-link--tiktok:hover    { background: rgba(255, 255, 255, 0.1);  border-color: #fff;    color: #fff; }

/* ─── Projects ─── */
.projects {
    padding: 200px 60px;
    background: var(--black);
    position: relative;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2px;
    max-width: 1400px;
    margin: 0 auto;
    background: rgba(106, 168, 200, 0.06);
}

.project-card {
    background: var(--black);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    will-change: transform;
    opacity: 0;
}

.project-preview video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.project-preview::before {
    content: '▶';
    font-size: 36px;
    color: rgba(106, 168, 200, 0.25);
    transition: opacity 0.3s ease;
}

.project-card:hover .project-preview::before { opacity: 0; }

.project-preview video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-card:hover .project-preview img { transform: scale(1.06); }

.project-info {
    padding: 24px 28px;
    border-top: 1px solid rgba(106, 168, 200, 0.08);
    transition: border-color 0.4s ease, background 0.4s ease;
}

.project-card:hover .project-info {
    border-color: rgba(106, 168, 200, 0.35);
    background: rgba(15, 37, 55, 0.4);
}

.project-name {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.3px;
    transition: color 0.3s ease;
}

.project-card:hover .project-name { color: var(--cyan); }

/* ─── CTA ─── */
.cta {
    padding: 200px 60px;
    background:
        url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='rgba(106,168,200,0.045)' stroke-width='1'%3E%3Cpath d='M10 40 H30 V10 H60'/%3E%3Ccircle cx='10' cy='40' r='2'/%3E%3Ccircle cx='60' cy='10' r='2'/%3E%3Cpath d='M70 40 H50 V70 H20'/%3E%3Ccircle cx='70' cy='40' r='2'/%3E%3Ccircle cx='20' cy='70' r='2'/%3E%3C/g%3E%3C/svg%3E"),
        linear-gradient(160deg, var(--navy-mid) 0%, var(--black) 60%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(ellipse, rgba(106, 168, 200, 0.12) 0%, rgba(58, 98, 130, 0.06) 40%, transparent 70%);
    animation: ctaPulse 6s ease-in-out infinite;
    pointer-events: none;
}

@keyframes ctaPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50%       { transform: translate(-50%, -50%) scale(1.3); opacity: 0.9; }
}

.cta-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0;
}

.cta h2 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(36px, 5.5vw, 66px);
    font-weight: 800;
    margin-bottom: 30px;
    line-height: 1.1;
    letter-spacing: -2px;
}

.cta p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 50px;
}

/* ─── Footer ─── */
footer {
    padding: 80px 60px 40px;
    background: var(--black);
    border-top: 1px solid rgba(106, 168, 200, 0.08);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto 60px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.footer-brand {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.75;
    font-size: 14px;
}

.footer-section h4 {
    margin-bottom: 20px;
    color: var(--cyan);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
}

.footer-section ul { list-style: none; }
.footer-section ul li { margin-bottom: 12px; }

.footer-section a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-section a:hover { color: var(--cyan); }

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 40px;
    border-top: 1px solid rgba(106, 168, 200, 0.08);
    text-align: center;
    color: rgba(255, 255, 255, 0.3);
    font-size: 13px;
}

/* ─── Hamburger ─── */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1100;
    position: relative;
}

.hamburger span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: transform 0.35s ease, opacity 0.35s ease;
    transform-origin: center;
}

.hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ─── Menu Backdrop ─── */
.menu-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 900;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
    backdrop-filter: blur(4px);
}

.menu-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

/* ─── Responsive 1024px ─── */
@media (max-width: 1024px) {
    nav.main-nav { padding: 20px 30px; }
    nav.main-nav.scrolled { padding: 12px 30px; }

    .hero { padding-top: 80px; }

    .services, .projects, .developers, .cta {
        padding: 120px 30px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

/* ─── Responsive 768px (mobile) ─── */
@media (max-width: 768px) {
    body { cursor: auto; }

    .cursor-ring, .cursor-dot { display: none; }

    .logo { left: 74%; }
    .logo .logo-icon { width: 64px; height: 64px; }

    .hero-video--desktop { display: none; }
    .hero-video--mobile {
        display: block;
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        min-width: unset;
        min-height: unset;
        transform: none;
        object-fit: cover;
    }

    .hamburger { display: flex; }
    .menu-backdrop { display: block; }

    .hero { padding-top: 70px; }

    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        width: 75vw;
        max-width: 300px;
        height: 100dvh;
        background: rgba(4, 12, 20, 0.97);
        backdrop-filter: blur(24px);
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        gap: 8px;
        padding: 80px 40px 40px;
        z-index: 1000;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
        display: flex;
        border-left: 1px solid rgba(106, 168, 200, 0.12);
    }

    .nav-links.open { transform: translateX(0); }

    .nav-links li {
        width: 100%;
        opacity: 0;
        transform: translateX(20px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .nav-links.open li { opacity: 1; transform: translateX(0); }
    .nav-links.open li:nth-child(1) { transition-delay: 0.10s; }
    .nav-links.open li:nth-child(2) { transition-delay: 0.15s; }
    .nav-links.open li:nth-child(3) { transition-delay: 0.20s; }
    .nav-links.open li:nth-child(4) { transition-delay: 0.25s; }

    .nav-links a {
        font-size: 22px;
        padding: 14px 0;
        display: block;
        border-bottom: 1px solid rgba(106, 168, 200, 0.07);
        width: 100%;
    }

    .hero-content {
        padding: 0 28px;
        width: 100%;
        text-align: center;
    }

    .hero-label {
        font-size: 9px;
        letter-spacing: 2.5px;
        margin-bottom: 20px;
        opacity: 1;
        white-space: normal;
        word-break: normal;
    }

    .hero-title {
        font-size: clamp(32px, 9vw, 52px);
        letter-spacing: -1px;
        line-height: 1.05;
        margin-bottom: 24px;
        word-break: normal;
        overflow-wrap: normal;
    }

    .hero-title .word {
        display: block;
        overflow: visible;
    }

    .hero-subtitle {
        font-size: 14px;
        line-height: 1.65;
        margin-bottom: 36px;
        padding: 0;
        max-width: 100%;
    }

    .section-title { font-size: 34px; }
    .scroll-down { display: none; }

    .btn {
        padding: 14px 30px;
        font-size: 14px;
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }

    .hero-cta .btn {
        width: auto;
        padding: 16px 40px;
    }

    .service-card {
        padding: 40px 24px;
    }

    .service-card .btn {
        opacity: 1;
        width: 100%;
    }

    .projects-grid { grid-template-columns: 1fr; }

    .developers-grid { gap: 50px; }

    .developer-photo {
        width: 150px;
        height: 150px;
    }

    .footer-content { text-align: center; }
    .footer-section ul { padding: 0; }

    /* No transform on hover for touch */
    .btn:hover,
    .service-card:hover,
    .project-card:hover,
    .developer-card:hover {
        transform: none !important;
    }
}

/* ─── WhatsApp Float Widget ─── */
.wa-widget {
    position: fixed;
    bottom: 28px;
    right: 28px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
    z-index: 9990;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s cubic-bezier(0.34,1.56,0.64,1),
                transform 0.5s cubic-bezier(0.34,1.56,0.64,1);
    pointer-events: none;
}
.wa-widget--visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* ── Popup ── */
.wa-popup {
    width: 300px;
    background: rgba(13, 30, 48, 0.72);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(106, 168, 200, 0.18);
    border-radius: 18px;
    padding: 20px 18px 18px;
    box-shadow:
        0 24px 64px rgba(0,0,0,0.45),
        0 0 0 1px rgba(106,168,200,0.08),
        inset 0 1px 0 rgba(255,255,255,0.07);
    opacity: 0;
    transform: translateY(16px) scale(0.96);
    transform-origin: bottom right;
    transition: opacity 0.35s ease, transform 0.4s cubic-bezier(0.34,1.4,0.64,1);
    pointer-events: none;
    position: relative;
}
.wa-popup--visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}
.wa-popup--exit {
    opacity: 0;
    transform: translateY(8px) scale(0.97);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.wa-popup-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 26px;
    height: 26px;
    background: rgba(106,168,200,0.1);
    border: 1px solid rgba(106,168,200,0.15);
    border-radius: 50%;
    color: var(--cyan);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s, transform 0.2s;
    padding: 0;
}
.wa-popup-close svg { width: 13px; height: 13px; }
.wa-popup-close:hover {
    background: rgba(106,168,200,0.2);
    color: var(--white);
    transform: scale(1.1);
}

.wa-popup-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    padding-right: 28px;
}
.wa-popup-avatar-wrap {
    position: relative;
    flex-shrink: 0;
}
.wa-popup-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(106,168,200,0.3);
    background: var(--navy);
}
.wa-popup-status-dot {
    position: absolute;
    bottom: 1px;
    right: 1px;
    width: 10px;
    height: 10px;
    background: #25D366;
    border-radius: 50%;
    border: 2px solid var(--navy);
    box-shadow: 0 0 6px rgba(37,211,102,0.7);
}
.wa-popup-name {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--white);
    letter-spacing: 0.01em;
}
.wa-popup-online {
    display: block;
    font-size: 0.72rem;
    color: #25D366;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.wa-popup-text {
    font-size: 0.82rem;
    line-height: 1.6;
    color: rgba(238,243,248,0.82);
    margin-bottom: 16px;
    font-family: 'Outfit', sans-serif;
    font-weight: 400;
}

.wa-popup-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px 16px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border-radius: 10px;
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.82rem;
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: filter 0.2s, transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 18px rgba(37,211,102,0.25);
}
.wa-popup-cta svg { width: 14px; height: 14px; }
.wa-popup-cta:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(37,211,102,0.35);
}

/* ── Button ── */
.wa-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 8px 32px rgba(37,211,102,0.35),
        0 2px 8px rgba(0,0,0,0.3);
    text-decoration: none;
    position: relative;
    transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1),
                box-shadow 0.3s ease;
    cursor: pointer;
}
.wa-button:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow:
        0 14px 40px rgba(37,211,102,0.45),
        0 4px 12px rgba(0,0,0,0.35);
}
.wa-icon {
    width: 30px;
    height: 30px;
    color: #fff;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}
.wa-button:hover .wa-icon { transform: scale(1.08); }

/* Ping ring — ativo quando popup está visível */
.wa-ping {
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    border: 2px solid rgba(37,211,102,0.6);
    opacity: 0;
    animation: none;
}
.wa-button--pulse .wa-ping {
    animation: waPing 1.6s cubic-bezier(0,0,0.2,1) infinite;
}

@keyframes waPing {
    0%   { transform: scale(1);    opacity: 0.7; }
    80%  { transform: scale(1.65); opacity: 0; }
    100% { transform: scale(1.65); opacity: 0; }
}

@media (max-width: 480px) {
    .wa-widget { bottom: 18px; right: 18px; }
    .wa-popup  { width: calc(100vw - 56px); }
    .wa-button { width: 54px; height: 54px; }
    .wa-icon   { width: 27px; height: 27px; }
}

/* ─── Promo Section ─── */
.promo {
    padding: 140px 60px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg, var(--navy) 0%, var(--black) 60%);
    text-align: center;
    isolation: isolate;
}

.promo-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 700px;
    background: radial-gradient(ellipse, rgba(106,168,200,0.14) 0%, rgba(58,98,130,0.07) 45%, transparent 70%);
    animation: ctaPulse 7s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.promo-inner {
    position: relative;
    z-index: 1;
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.promo-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(106,168,200,0.18), rgba(58,98,130,0.18));
    border: 1px solid rgba(106,168,200,0.35);
    border-radius: 100px;
    padding: 8px 22px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--cyan-bright);
    animation: promoBadgePulse 2.5s ease-in-out infinite;
}

@keyframes promoBadgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(106,168,200,0.3); }
    50%       { box-shadow: 0 0 0 8px rgba(106,168,200,0); }
}

.promo-badge-fire {
    font-size: 16px;
    animation: fireShake 0.6s ease-in-out infinite alternate;
}

@keyframes fireShake {
    0%   { transform: rotate(-8deg) scale(1); }
    100% { transform: rotate(8deg) scale(1.15); }
}

.promo-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(36px, 5.5vw, 68px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -2px;
    color: var(--white);
}

.promo-highlight {
    background: linear-gradient(135deg, var(--cyan) 0%, var(--purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.promo-desc {
    font-size: clamp(15px, 2vw, 19px);
    color: rgba(255,255,255,0.65);
    line-height: 1.75;
    max-width: 620px;
}

.promo-desc strong { color: var(--white); }

/* ── Countdown ── */
.promo-countdown {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    margin: 4px 0;
}

.countdown-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    background: rgba(106,168,200,0.07);
    border: 1px solid rgba(106,168,200,0.2);
    border-radius: 16px;
    padding: 20px 28px;
    min-width: 90px;
}

.countdown-num {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, var(--cyan-bright), var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -2px;
}

.countdown-label {
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
    font-weight: 600;
}

.countdown-sep {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 40px;
    font-weight: 800;
    color: rgba(106,168,200,0.4);
    line-height: 1;
    margin-top: -20px;
}

/* ── Perks ── */
.promo-perks {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    justify-content: center;
}

.promo-perk {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(255,255,255,0.75);
    font-weight: 500;
}

.promo-perk-icon { font-size: 16px; }

/* ── CTA ── */
.promo-cta {
    padding: 22px 60px;
    font-size: 17px;
    animation: promoCTAGlow 3s ease-in-out infinite;
}

@keyframes promoCTAGlow {
    0%, 100% { box-shadow: 0 16px 50px rgba(106,168,200,0.3); }
    50%       { box-shadow: 0 24px 80px rgba(106,168,200,0.6); }
}

.promo-urgency {
    font-size: 13px;
    color: rgba(255,255,255,0.45);
    letter-spacing: 0.3px;
}

.promo-urgency strong { color: var(--cyan-bright); }

/* ─── AI Chatbot Widget ─── */
.ai-widget {
    position: fixed;
    bottom: 28px;
    left: 28px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    z-index: 9990;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s cubic-bezier(0.34,1.56,0.64,1),
                transform 0.5s cubic-bezier(0.34,1.56,0.64,1);
    pointer-events: none;
}
.ai-widget--visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* ── Chat Window ── */
.ai-window {
    width: 320px;
    max-height: 480px;
    background: rgba(13, 30, 48, 0.82);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(106, 168, 200, 0.2);
    border-radius: 20px;
    box-shadow:
        0 24px 64px rgba(0,0,0,0.5),
        0 0 0 1px rgba(106,168,200,0.08),
        inset 0 1px 0 rgba(255,255,255,0.07);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    transform-origin: bottom left;
    transition: opacity 0.35s ease, transform 0.4s cubic-bezier(0.34,1.4,0.64,1);
    pointer-events: none;
}
.ai-window--visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

/* ── Header ── */
.ai-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 16px 14px;
    border-bottom: 1px solid rgba(106,168,200,0.1);
    background: rgba(10,25,42,0.6);
    flex-shrink: 0;
}
.ai-header-info {
    display: flex;
    align-items: center;
    gap: 10px;
}
.ai-avatar-wrap {
    position: relative;
    flex-shrink: 0;
}
.ai-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(106,168,200,0.35);
    background: var(--navy);
}
.ai-status-dot {
    position: absolute;
    bottom: 1px;
    right: 1px;
    width: 9px;
    height: 9px;
    background: var(--cyan);
    border-radius: 50%;
    border: 2px solid var(--navy);
    box-shadow: 0 0 6px rgba(106,168,200,0.8);
    animation: aiStatusPulse 2s ease-in-out infinite;
}
@keyframes aiStatusPulse {
    0%, 100% { box-shadow: 0 0 4px rgba(106,168,200,0.6); }
    50%       { box-shadow: 0 0 10px rgba(106,168,200,0.9); }
}
.ai-header-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.ai-name {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--white);
    letter-spacing: 0.01em;
}
.ai-status {
    font-size: 0.70rem;
    color: var(--cyan-bright);
    font-weight: 500;
    letter-spacing: 0.02em;
}
.ai-close {
    width: 26px;
    height: 26px;
    background: rgba(106,168,200,0.1);
    border: 1px solid rgba(106,168,200,0.15);
    border-radius: 50%;
    color: var(--cyan);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s, transform 0.2s;
    padding: 0;
    flex-shrink: 0;
}
.ai-close svg { width: 13px; height: 13px; }
.ai-close:hover {
    background: rgba(106,168,200,0.22);
    color: var(--white);
    transform: scale(1.1);
}

/* ── Messages ── */
.ai-messages {
    flex: 1;
    overflow-y: auto;
    padding: 14px 14px 8px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    scrollbar-width: thin;
    scrollbar-color: rgba(106,168,200,0.2) transparent;
}
.ai-messages::-webkit-scrollbar { width: 4px; }
.ai-messages::-webkit-scrollbar-thumb { background: rgba(106,168,200,0.25); border-radius: 4px; }

.ai-msg { display: flex; }
.ai-msg--bot  { justify-content: flex-start; }
.ai-msg--user { justify-content: flex-end; }

.ai-bubble {
    max-width: 82%;
    padding: 10px 13px;
    border-radius: 14px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.80rem;
    line-height: 1.55;
    word-break: break-word;
}
.ai-msg--bot .ai-bubble {
    background: rgba(106,168,200,0.1);
    border: 1px solid rgba(106,168,200,0.18);
    color: rgba(238,243,248,0.9);
    border-bottom-left-radius: 4px;
}
.ai-msg--user .ai-bubble {
    background: linear-gradient(135deg, var(--cyan) 0%, var(--purple) 100%);
    color: #fff;
    border-bottom-right-radius: 4px;
    font-weight: 500;
}
.ai-msg--bot .ai-bubble strong { color: var(--cyan-bright); }

/* Typing indicator */
.ai-typing {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 12px 16px;
}
.ai-typing span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--cyan);
    animation: aiTyping 1.2s ease-in-out infinite;
}
.ai-typing span:nth-child(2) { animation-delay: 0.2s; }
.ai-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes aiTyping {
    0%, 100% { opacity: 0.3; transform: translateY(0); }
    50%       { opacity: 1;   transform: translateY(-4px); }
}

/* ── Suggestions ── */
.ai-suggestions {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 6px 14px 10px;
    flex-shrink: 0;
}
.ai-suggestion {
    text-align: left;
    background: rgba(106,168,200,0.07);
    border: 1px solid rgba(106,168,200,0.2);
    border-radius: 10px;
    padding: 8px 12px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.76rem;
    color: rgba(238,243,248,0.8);
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.15s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ai-suggestion:hover {
    background: rgba(106,168,200,0.14);
    border-color: rgba(106,168,200,0.4);
    color: var(--white);
    transform: translateX(3px);
}

/* ── Input Area ── */
.ai-input-area {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    border-top: 1px solid rgba(106,168,200,0.1);
    background: rgba(8,15,28,0.5);
    flex-shrink: 0;
}
.ai-input {
    flex: 1;
    background: rgba(106,168,200,0.07);
    border: 1px solid rgba(106,168,200,0.18);
    border-radius: 10px;
    padding: 9px 12px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.80rem;
    color: var(--white);
    outline: none;
    transition: border-color 0.2s, background 0.2s;
}
.ai-input::placeholder { color: rgba(238,243,248,0.35); }
.ai-input:focus {
    border-color: rgba(106,168,200,0.45);
    background: rgba(106,168,200,0.1);
}
.ai-input:disabled { opacity: 0.5; }
.ai-send {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--cyan) 0%, var(--purple) 100%);
    border: none;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
    box-shadow: 0 4px 16px rgba(106,168,200,0.3);
}
.ai-send svg { width: 16px; height: 16px; }
.ai-send:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 22px rgba(106,168,200,0.45);
    filter: brightness(1.1);
}
.ai-send:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

/* ── Toggle Button ── */
.ai-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--navy-mid) 0%, var(--navy) 50%, #0a1929 100%);
    border: 1.5px solid rgba(106,168,200,0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 8px 32px rgba(0,0,0,0.4),
        0 0 0 1px rgba(106,168,200,0.15),
        inset 0 1px 0 rgba(106,168,200,0.12);
    cursor: pointer;
    position: relative;
    transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1),
                box-shadow 0.3s ease,
                border-color 0.3s ease;
}
.ai-toggle:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow:
        0 14px 40px rgba(106,168,200,0.25),
        0 0 0 1px rgba(106,168,200,0.3),
        inset 0 1px 0 rgba(106,168,200,0.2);
    border-color: rgba(106,168,200,0.6);
}
.ai-toggle--open {
    border-color: rgba(106,168,200,0.55);
    box-shadow:
        0 8px 32px rgba(106,168,200,0.2),
        0 0 0 1px rgba(106,168,200,0.25),
        inset 0 1px 0 rgba(106,168,200,0.15);
}

/* Animated icon swap */
.ai-toggle-icon {
    position: absolute;
    width: 26px;
    height: 26px;
    color: var(--cyan-bright);
    transition: opacity 0.25s ease, transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
.ai-toggle-icon--chat  { opacity: 1;  transform: scale(1) rotate(0deg); }
.ai-toggle-icon--close { opacity: 0;  transform: scale(0.5) rotate(-90deg); }
.ai-toggle--open .ai-toggle-icon--chat  { opacity: 0;  transform: scale(0.5) rotate(90deg); }
.ai-toggle--open .ai-toggle-icon--close { opacity: 1;  transform: scale(1) rotate(0deg); }

/* Badge "IA" */
.ai-toggle-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: linear-gradient(135deg, var(--cyan) 0%, var(--purple) 100%);
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 2px 5px;
    border-radius: 8px;
    border: 1.5px solid var(--black);
    line-height: 1.3;
}

/* Ping ring */
.ai-toggle-ping {
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    border: 2px solid rgba(106,168,200,0.5);
    animation: aiPing 2.5s cubic-bezier(0,0,0.2,1) infinite;
}
@keyframes aiPing {
    0%   { transform: scale(1);   opacity: 0.65; }
    75%  { transform: scale(1.6); opacity: 0; }
    100% { transform: scale(1.6); opacity: 0; }
}
.ai-toggle--open .ai-toggle-ping { animation: none; opacity: 0; }

/* ── Responsive ── */
@media (max-width: 480px) {
    .ai-widget  { bottom: 18px; left: 18px; }
    .ai-window  { width: calc(100vw - 36px); max-height: 420px; }
    .ai-toggle  { width: 54px; height: 54px; }
    .ai-toggle-icon { width: 23px; height: 23px; }
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .promo { padding: 100px 24px; }

    .countdown-block {
        min-width: 70px;
        padding: 14px 16px;
    }

    .countdown-num { font-size: 34px; }
    .countdown-sep { font-size: 28px; margin-top: -14px; }

    .promo-perks { flex-direction: column; align-items: center; gap: 12px; }

    .promo-cta {
        width: 100%;
        padding: 18px 24px;
        font-size: 15px;
    }
}
