/* ===== NYO - CSS Variables ===== */
:root {
    /* Brand Colors - Navy/Green matching logo */
    --primary: #4ade80;
    --primary-dark: #22c55e;
    --primary-light: #86efac;
    --secondary: #0ea5e9;
    --accent: #4ade80;
    --accent-2: #2dd4bf;
    --navy: #0a1628;
    --navy-light: #0f2140;
    --navy-mid: #132d54;
    --success: #4ade80;
    --warning: #fbbf24;
    --error: #ef4444;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #4ade80 0%, #2dd4bf 50%, #0ea5e9 100%);
    --gradient-secondary: linear-gradient(135deg, #0ea5e9 0%, #4ade80 100%);
    --gradient-dark: linear-gradient(180deg, #060e1a 0%, #0a1628 50%, #0f2140 100%);
    --gradient-card: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    --gradient-glow: linear-gradient(135deg, rgba(74, 222, 128, 0.15), rgba(45, 212, 191, 0.1), rgba(14, 165, 233, 0.1));

    /* Background */
    --bg-dark: #060e1a;
    --bg-darker: #040a14;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.06);

    /* Text */
    --text-primary: #f0f6fc;
    --text-secondary: rgba(240, 246, 252, 0.7);
    --text-muted: rgba(240, 246, 252, 0.45);

    /* Border */
    --border-color: rgba(255, 255, 255, 0.08);
    --border-color-light: rgba(255, 255, 255, 0.04);

    /* Effects */
    --glow-primary: 0 0 40px rgba(74, 222, 128, 0.25);
    --glow-secondary: 0 0 40px rgba(14, 165, 233, 0.2);

    /* Spacing */
    --container-width: 1200px;
    --section-padding: 120px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input,
textarea,
select {
    font-family: inherit;
    font-size: inherit;
}

/* ===== Utility ===== */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== Neural Network Canvas ===== */
.neural-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.4;
}

/* ===== Cursor Glow ===== */
.cursor-glow {
    position: fixed;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(74, 222, 128, 0.08) 0%, rgba(45, 212, 191, 0.04) 40%, transparent 70%);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
    opacity: 0;
    will-change: transform;
    contain: strict;
}

.cursor-glow.active {
    opacity: 1;
}

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0;
    transition: var(--transition-normal);
    background: transparent;
    height: 72px;
}

.header.scrolled {
    background: rgba(6, 14, 26, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    height: 64px;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1001;
    height: 100%;
}

.logo-img {
    height: 80px;
    width: auto;
    object-fit: contain;
    /* Logo is visually large but doesn't push the header height */
    margin: -10px 0;
}

.nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    gap: 4px;
}

.nav-link {
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    transition: var(--transition-normal);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
    background: rgba(74, 222, 128, 0.08);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--primary);
}

.btn-header {
    padding: 12px 24px;
    font-size: 0.9rem;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    z-index: 1001;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-normal);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #060e1a;
    box-shadow: var(--glow-primary);
}

.btn-primary:hover {
    transform: translateY(-2px) translateZ(0);
    box-shadow: 0 10px 40px rgba(74, 222, 128, 0.35);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: var(--transition-slow);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-glow {
    animation: btnGlow 3s ease-in-out infinite;
}

@keyframes btnGlow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(74, 222, 128, 0.25);
    }

    50% {
        box-shadow: 0 0 40px rgba(74, 222, 128, 0.4), 0 0 80px rgba(74, 222, 128, 0.15);
    }
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.btn-outline:hover {
    border-color: var(--primary);
    background: rgba(74, 222, 128, 0.08);
    color: var(--primary);
}

.btn-whatsapp {
    background: #25D366;
    color: white;
}

.btn-whatsapp:hover {
    background: #20bd5a;
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(37, 211, 102, 0.3);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1.05rem;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.btn-block {
    width: 100%;
}

.btn i {
    font-size: 0.9em;
    transition: var(--transition-normal);
}

.btn:hover i:last-child {
    transform: translateX(4px);
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.grid-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(74, 222, 128, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(74, 222, 128, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    animation: orbPulse 8s ease-in-out infinite;
    will-change: transform, opacity;
    contain: strict;
    transform: translateZ(0);
}

.gradient-orb-1 {
    width: 700px;
    height: 700px;
    background: rgba(74, 222, 128, 0.15);
    top: -300px;
    right: -200px;
    animation-delay: 0s;
}

.gradient-orb-2 {
    width: 500px;
    height: 500px;
    background: rgba(14, 165, 233, 0.12);
    bottom: -200px;
    left: -100px;
    animation-delay: 3s;
}

.gradient-orb-3 {
    width: 350px;
    height: 350px;
    background: rgba(45, 212, 191, 0.1);
    top: 40%;
    left: 40%;
    animation-delay: 5s;
}

@keyframes orbPulse {

    0%,
    100% {
        opacity: 0.3;
        transform: scale(1) translateZ(0);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.15) translateZ(0);
    }
}

.hero .container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 650px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px 8px 12px;
    background: rgba(74, 222, 128, 0.08);
    border: 1px solid rgba(74, 222, 128, 0.2);
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--primary);
    margin-bottom: 28px;
    animation: fadeInUp 0.6s ease;
    font-weight: 500;
}

.pulse {
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 50%;
    position: relative;
}

.pulse::before {
    content: '';
    position: absolute;
    inset: -4px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.5;
    animation: pulseRing 2s ease-in-out infinite;
}

@keyframes pulseRing {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.8);
        opacity: 0;
    }
}

.hero-title {
    font-family: 'Sora', sans-serif;
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease 0.1s both;
    letter-spacing: -0.02em;
}

.typing-container {
    display: inline-block;
}

.typing-text {
    color: var(--primary);
    text-shadow: 0 0 30px rgba(74, 222, 128, 0.3);
}

.cursor-blink {
    animation: blink 1s infinite;
    color: var(--primary);
}

@keyframes blink {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0;
    }
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 36px;
    animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-subtitle strong {
    color: var(--text-primary);
    font-weight: 600;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 52px;
    animation: fadeInUp 0.6s ease 0.3s both;
}

.hero-stats {
    display: inline-flex;
    align-items: center;
    gap: 40px;
    animation: fadeInUp 0.6s ease 0.4s both;
    background: transparent;
    border: none;
    padding: 0;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0;
}

.stat-item:hover .stat-icon {
    transform: scale(1.1) rotate(5deg);
    background: var(--primary);
    color: #060e1a;
    box-shadow: 0 0 20px rgba(74, 222, 128, 0.4);
}

.stat-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(74, 222, 128, 0.1);
    border: 1px solid rgba(74, 222, 128, 0.2);
    border-radius: 14px;
    color: var(--primary);
    font-size: 1.4rem;
    transition: var(--transition-normal);
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-value {
    display: flex;
    align-items: baseline;
    gap: 2px;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-primary);
    font-family: 'Sora', sans-serif;
    line-height: 1;
    letter-spacing: -0.02em;
}

.stat-suffix {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

.stat-divider {
    display: block;
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.1), transparent);
}


/* ===== AI Terminal (Hero Visual) ===== */
.hero-visual {
    position: relative;
    animation: fadeInRight 0.8s ease 0.3s both;
}

.ai-terminal {
    background: rgba(10, 22, 40, 0.95);
    border: 1px solid rgba(74, 222, 128, 0.15);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow:
        0 25px 60px -12px rgba(0, 0, 0, 0.6),
        0 0 60px rgba(74, 222, 128, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.terminal-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid var(--border-color);
}

.terminal-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red {
    background: #ff5f57;
}

.dot.yellow {
    background: #febc2e;
}

.dot.green {
    background: #28c840;
}

.terminal-title {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    color: var(--text-muted);
    flex: 1;
}

.terminal-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 500;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulseRing 2s infinite;
}

.terminal-body {
    padding: 24px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    line-height: 1.9;
    min-height: 320px;
}

.terminal-body code {
    color: var(--text-secondary);
}

.terminal-body .keyword {
    color: #c792ea;
}

.terminal-body .function {
    color: #82aaff;
}

.terminal-body .string {
    color: #c3e88d;
}

.terminal-body .variable {
    color: #ffcb6b;
}

.terminal-body .comment {
    color: #546e7a;
}

.terminal-body .method {
    color: #89ddff;
}

.terminal-body .number {
    color: #f78c6c;
}

/* ===== Floating Cards ===== */
.floating-cards {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(10, 22, 40, 0.95);
    border: 1px solid rgba(74, 222, 128, 0.15);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(74, 222, 128, 0.05);
    animation: floatCard 6s ease-in-out infinite;
    will-change: transform;
    transform: translateZ(0);
    backdrop-filter: blur(10px);
}

.floating-card i {
    font-size: 1.2rem;
    color: var(--primary);
}

.card-1 {
    top: 10px;
    right: -20px;
    animation-delay: 0s;
}

.card-2 {
    bottom: 100px;
    left: -40px;
    animation-delay: 2s;
}

.card-3 {
    bottom: 20px;
    right: 30px;
    animation-delay: 4s;
}

@keyframes floatCard {

    0%,
    100% {
        transform: translateY(0) translateZ(0);
    }

    50% {
        transform: translateY(-15px) translateZ(0);
    }
}

/* ===== Scroll Indicator ===== */
.scroll-indicator {
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
    font-size: 0.85rem;
    animation: fadeIn 1s ease 1s both;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 0.75rem;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid rgba(74, 222, 128, 0.3);
    border-radius: 20px;
    position: relative;
}

.wheel {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--primary);
    border-radius: 2px;
    animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {

    0%,
    100% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    50% {
        opacity: 0;
        transform: translateX(-50%) translateY(12px);
    }
}

/* ===== Section Styles ===== */
section {
    position: relative;
    z-index: 1;
    content-visibility: auto;
    contain-intrinsic-size: 0 500px;
}

.section-header {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 72px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(74, 222, 128, 0.08);
    border: 1px solid rgba(74, 222, 128, 0.2);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.section-tag i {
    font-size: 0.8rem;
}

.section-title {
    font-family: 'Sora', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== Social Proof / Tech Bar ===== */
.social-proof {
    padding: 60px 0;
    background: var(--bg-darker);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
}

.social-proof-label {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 600;
    margin-bottom: 30px;
}

.tech-carousel {
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.tech-track {
    display: flex;
    gap: 32px;
    animation: scrollTech 35s linear infinite;
    width: max-content;
    will-change: transform;
    transform: translateZ(0);
}

@keyframes scrollTech {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px 28px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
    min-width: 120px;
}

.tech-item:hover {
    border-color: rgba(74, 222, 128, 0.3);
    transform: translateY(-4px);
    background: rgba(74, 222, 128, 0.05);
}

.tech-item i {
    font-size: 2rem;
    color: var(--primary);
}

.tech-item span {
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* ===== Services Section ===== */
.services {
    padding: var(--section-padding) 0;
    background: var(--bg-dark);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.service-card {
    position: relative;
    padding: 40px 32px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: var(--transition-normal);
    overflow: hidden;
    contain: layout style;
    transform: translateZ(0);
}

.service-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(74, 222, 128, 0.06), transparent 60%);
    opacity: 0;
    transition: var(--transition-slow);
    pointer-events: none;
}

.service-card:hover .service-glow {
    opacity: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-8px) translateZ(0);
    border-color: rgba(74, 222, 128, 0.2);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), 0 0 30px rgba(74, 222, 128, 0.05);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card.featured {
    border-color: rgba(74, 222, 128, 0.2);
    background: linear-gradient(145deg, rgba(74, 222, 128, 0.06), rgba(255, 255, 255, 0.02));
}

.service-card.featured::before {
    opacity: 1;
}

.featured-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 6px 14px;
    background: var(--gradient-primary);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #060e1a;
    display: flex;
    align-items: center;
    gap: 6px;
}

.featured-badge i {
    font-size: 0.7rem;
}

.service-icon {
    position: relative;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.icon-bg {
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    opacity: 0.12;
}

.service-icon i {
    font-size: 1.8rem;
    color: var(--primary);
    position: relative;
    z-index: 1;
}

.service-title {
    font-family: 'Sora', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.service-description {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.7;
}

.service-features {
    margin-bottom: 24px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.service-features i {
    color: var(--primary);
    font-size: 0.85rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
}

.service-link:hover {
    gap: 14px;
}

/* ===== Process Section ===== */
.process {
    padding: var(--section-padding) 0;
    background: var(--bg-darker);
}

.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 35px;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), var(--accent-2), var(--secondary));
    opacity: 0.3;
}

.process-step {
    display: flex;
    gap: 30px;
    margin-bottom: 48px;
    position: relative;
}

.process-step:last-child {
    margin-bottom: 0;
}

.process-step::before {
    content: attr(data-step);
    position: absolute;
    left: 10px;
    top: 55px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    opacity: 0.5;
    font-family: 'JetBrains Mono', monospace;
}

.step-icon {
    width: 70px;
    height: 70px;
    min-width: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    font-size: 1.5rem;
    color: var(--primary);
    position: relative;
    z-index: 1;
    transition: var(--transition-normal);
}

.process-step:hover .step-icon {
    background: var(--primary);
    color: #060e1a;
    border-color: var(--primary);
    box-shadow: var(--glow-primary);
}

.step-content {
    padding-top: 12px;
}

.step-content h3 {
    font-family: 'Sora', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.step-content p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== Results Section ===== */
.results {
    padding: var(--section-padding) 0;
    background: var(--bg-dark);
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-bottom: 72px;
}

.result-card {
    text-align: center;
    padding: 40px 24px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: var(--transition-normal);
}

.result-card:hover {
    border-color: rgba(74, 222, 128, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2), 0 0 40px rgba(74, 222, 128, 0.05);
}

.result-metric {
    margin-bottom: 16px;
}

.result-number {
    font-family: 'Sora', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}

.result-suffix {
    font-family: 'Sora', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
}

.result-card h4 {
    font-family: 'Sora', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.result-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ===== Testimonials ===== */
.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.testimonial-card {
    padding: 32px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: var(--transition-normal);
}

.testimonial-card:hover {
    border-color: rgba(74, 222, 128, 0.2);
    transform: translateY(-4px);
}

.stars {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
}

.stars i {
    color: #fbbf24;
    font-size: 1rem;
}

.testimonial-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 24px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 50%;
}

.author-avatar i {
    color: #060e1a;
    font-size: 1.2rem;
}

.author-info h4 {
    font-weight: 600;
    margin-bottom: 2px;
}

.author-info span {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ===== CTA Section ===== */
.cta-section {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.cta-gradient {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(74, 222, 128, 0.12), rgba(45, 212, 191, 0.08), rgba(14, 165, 233, 0.06));
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 750px;
    margin: 0 auto;
}

.cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(74, 222, 128, 0.1);
    border: 1px solid rgba(74, 222, 128, 0.25);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.cta-content h2 {
    font-family: 'Sora', sans-serif;
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.cta-content p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 36px;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.cta-guarantees {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.guarantee-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.guarantee-item i {
    color: var(--primary);
    font-size: 0.85rem;
}

/* ===== Contact Section ===== */
.contact {
    padding: var(--section-padding) 0;
    background: var(--bg-darker);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.contact-info .section-tag {
    margin-bottom: 16px;
}

.contact-info .section-title {
    text-align: left;
    margin-bottom: 16px;
}

.contact-info>p {
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.7;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
}

.contact-method:hover {
    border-color: rgba(74, 222, 128, 0.2);
    transform: translateX(8px);
    background: rgba(74, 222, 128, 0.03);
}

.method-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(74, 222, 128, 0.1);
    border-radius: var(--radius-sm);
}

.method-icon i {
    font-size: 1.4rem;
    color: var(--primary);
}

.method-icon.whatsapp {
    background: rgba(37, 211, 102, 0.15);
}

.method-icon.whatsapp i {
    color: #25D366;
}

.method-icon.instagram {
    background: rgba(14, 118, 168, 0.15);
}

.method-icon.instagram i {
    color: #0e76a8;
}

.method-info span {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.method-info strong {
    font-weight: 600;
}

.response-time {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.response-time i {
    color: var(--primary);
}

/* ===== Contact Form ===== */
.contact-form-wrapper {
    padding: 40px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.form-header {
    margin-bottom: 28px;
}

.form-header h3 {
    font-family: 'Sora', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.form-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(6, 14, 26, 0.8);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 1rem;
    transition: var(--transition-normal);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.1);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%234ade80' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.form-group select option {
    background: var(--bg-dark);
    color: var(--text-primary);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-disclaimer {
    text-align: center;
    margin-top: 16px;
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.form-disclaimer i {
    color: var(--primary);
    font-size: 0.8rem;
}

/* ===== Footer ===== */
/* ===== Footer ===== */
.footer {
    padding: 80px 0 30px;
    background: var(--bg-darker);
    border-top: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(74, 222, 128, 0.3), transparent);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.footer-brand {
    max-width: 600px;
    display: flex;
    align-items: center;
    gap: 28px;
    text-align: left;
}

.footer-brand .logo-img {
    height: 240px;
    margin-bottom: 0;
    flex-shrink: 0;
}

.footer-brand p {
    color: var(--text-secondary);
    line-height: 1.5;
    font-size: 1.1rem;
    margin: 0;
}

.footer-newsletter {
    background: rgba(255, 255, 255, 0.02);
    padding: 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    width: 100%;
    max-width: 400px;
}

.footer-newsletter h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.footer-newsletter p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.newsletter-form {
    display: flex;
    gap: 8px;
}

.newsletter-form input {
    flex: 1;
    padding: 10px 16px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 0.9rem;
    font-size: 0.95rem;
    transition: var(--transition-normal);
}

.newsletter-form input:focus {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(74, 222, 128, 0.1);
    outline: none;
}

.newsletter-form .btn-icon {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: #060e1a;
    border-radius: var(--radius-sm);
    transition: var(--transition-normal);
    cursor: pointer;
    border: none;
    font-size: 1.1rem;
}

.newsletter-form .btn-icon:hover {
    background: var(--primary-light);
    transform: translateX(4px);
    box-shadow: 0 0 15px rgba(74, 222, 128, 0.4);
}

.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    margin: 60px 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.footer-links-group h4,
.footer-social h4 {
    font-family: 'Sora', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--text-primary);
    display: inline-block;
}

.footer-links-group ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-group ul li {
    margin-bottom: 14px;
}

.footer-links-group ul li a {
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: var(--transition-normal);
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.footer-links-group ul li a:hover {
    color: var(--primary);
    transform: translateX(6px);
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-secondary);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-links a:hover {
    background: var(--primary);
    color: #060e1a;
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(74, 222, 128, 0.25);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
    color: var(--text-muted);
    flex-wrap: wrap;
    gap: 20px;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: var(--text-muted);
    transition: var(--transition-normal);
    text-decoration: none;
}

.footer-legal a:hover {
    color: var(--primary);
}

/* ===== Nyo Energy Section ===== */
.nyo-energy {
    padding: var(--section-padding) 0;
    background: radial-gradient(circle at 70% 50%, rgba(255, 191, 0, 0.05), transparent 60%),
        var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.energy-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 191, 0, 0.1);
    border: 1px solid rgba(255, 191, 0, 0.3);
    border-radius: 50px;
    margin-bottom: 24px;
}

.section-badge i,
.section-badge span {
    color: #fbbf24;
    font-weight: 600;
    font-size: 0.9rem;
}

.energy-features {
    margin: 40px 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
    list-style: none;
    padding: 0;
}

.energy-features li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 191, 0, 0.1);
    border-radius: 12px;
    color: #fbbf24;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.feature-text strong {
    display: block;
    font-size: 1.05rem;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.feature-text p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* Energy Carousel */
.energy-visual {
    position: relative;
}

.energy-carousel {
    position: relative;
    width: 100%;
    aspect-ratio: 16/10;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.carousel-track {
    display: flex;
    height: 100%;
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    padding: 24px;
    display: flex;
    box-sizing: border-box;
}

.slide-content.card-glass {
    width: 100%;
    height: 100%;
    background: rgba(10, 22, 40, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
}

.slide-header {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 12px;
}

.slide-header i {
    color: #fbbf24;
    font-size: 1.2rem;
}

.slide-header span {
    font-weight: 600;
    color: var(--text-primary);
}

.slide-body {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Mock Graphics */
.mock-chart-large {
    flex: 1;
    background: linear-gradient(180deg, rgba(255, 191, 0, 0.1) 0%, transparent 100%);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.mock-chart-large::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0 100 L0 80 L20 60 L40 75 L60 40 L80 50 L100 20 L100 100 Z' fill='%23fbbf24' opacity='0.2'/%3E%3Cpath d='M0 100 L0 80 L20 60 L40 75 L60 40 L80 50 L100 20' fill='none' stroke='%23fbbf24' stroke-width='2'/%3E%3C/svg%3E");
    background-size: cover;
}

.mock-stats-row {
    display: flex;
    gap: 12px;
    height: 60px;
}

.mock-stat {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
}

.mock-table {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mock-row {
    height: 40px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    position: relative;
}

.mock-row::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 10px;
    bottom: 10px;
    width: 60%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.mock-alert {
    height: 50px;
    background: rgba(239, 68, 68, 0.1);
    border-left: 4px solid #ef4444;
    border-radius: 4px;
}

.mock-alert:nth-child(2) {
    background: rgba(251, 191, 36, 0.1);
    border-color: #fbbf24;
}

.carousel-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}

.nav-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-dot.active {
    background: #fbbf24;
    width: 24px;
    border-radius: 4px;
}

/* Floating Stats */
.energy-stats-floating {
    position: absolute;
    top: -20px;
    right: -20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    z-index: 3;
}

.floating-stat {
    background: rgba(10, 22, 40, 0.9);
    border: 1px solid rgba(255, 191, 0, 0.3);
    padding: 12px 20px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    animation: float 6s ease-in-out infinite;
}

.floating-stat.delay {
    animation-delay: 3s;
    border-color: rgba(74, 222, 128, 0.3);
}

.floating-stat .stat-value {
    display: block;
    font-size: 1.4rem;
    font-weight: 800;
    color: #fbbf24;
}

.floating-stat.delay .stat-value {
    color: #4ade80;
}

.floating-stat .stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@media (max-width: 1024px) {
    .energy-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .energy-features li {
        text-align: left;
    }

    .energy-visual {
        margin-top: 40px;
    }
}

/* ===== WhatsApp Float ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25D366;
    border-radius: 50%;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition-normal);
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
    color: white;
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    background: white;
    color: #333;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: var(--transition-normal);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* ===== Back to Top ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 100px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-primary);
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    z-index: 998;
    transition: var(--transition-normal);
    cursor: pointer;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #060e1a;
    box-shadow: var(--glow-primary);
}

/* ===== Animations ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px) translateZ(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
    will-change: transform, opacity;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0) translateZ(0);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }

    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        display: none;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-info .section-title {
        text-align: center;
    }

    .contact-info>p {
        text-align: center;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .header .container {
        gap: 20px;
    }

    .nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--bg-dark);
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        visibility: hidden;
        transition: var(--transition-normal);
        z-index: 990;
    }

    .nav.active {
        opacity: 1;
        visibility: visible;
    }

    .nav-list {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .nav-link {
        font-size: 1.2rem;
        padding: 12px 24px;
    }

    .btn-header {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .logo-img {
        height: 40px;
    }

    .header {
        height: 60px;
    }

    .header.scrolled {
        height: 56px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 0;
        border-radius: var(--radius-md);
    }

    .stat-item {
        padding: 16px 20px;
    }

    .stat-divider {
        width: 80%;
        height: 1px;
        margin: 0 auto;
        align-self: center;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .timeline-line {
        left: 20px;
    }

    .process-step {
        gap: 20px;
    }

    .process-step::before {
        display: none;
    }

    .step-icon {
        width: 50px;
        height: 50px;
        min-width: 50px;
        font-size: 1.2rem;
    }

    .results-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-slider {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-guarantees {
        gap: 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    /* Footer Mobile */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-links-group,
    .footer-social {
        text-align: center;
    }

    .footer-links-group h4,
    .footer-social h4 {
        margin-bottom: 20px;
    }

    .footer-links-group ul li,
    .social-links {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    /* Floating Buttons Mobile */
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }

    .back-to-top {
        right: 85px;
        bottom: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .btn-lg {
        padding: 16px 28px;
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .service-card {
        padding: 30px 24px;
    }

    .contact-form-wrapper {
        padding: 24px;
    }

    .whatsapp-tooltip {
        display: none;
    }

    .results-grid {
        grid-template-columns: 1fr;
    }

    .result-number {
        font-size: 2.8rem;
    }

    .guarantee-item span {
        font-size: 0.8rem;
    }
}

/* ===== Accessibility ===== */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .cursor-glow,
    .neural-bg {
        display: none;
    }

    .tech-track {
        animation: none;
    }
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* ===== NYO Energy Modal ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    width: 95%;
    max-width: 1200px;
    height: 90vh;
    background: #0f172a;
    /* Fallback */
    background: var(--bg-card, #0f172a);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.modal-overlay.active .modal-container {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: #ef4444;
    border-color: #ef4444;
    transform: rotate(90deg);
}

.modal-body {
    flex: 1;
    width: 100%;
    height: 100%;
    background: #000;
}

.modal-body iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}