/* Import Satoshi Font */
@import url('https://fonts.cdnfonts.com/css/satoshi');

/* Reset y variables CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-black: #0a0a0a;
    --color-white: #FFFFFF;
    --color-primary: #0077FF;
    --color-orange: #FFA040;
    --color-gray: #999999;
    --color-gray-light: #FCFCFA;
    --color-gray-dark: #1a1a1a;
    --color-dark: #0D0D0D;
    --color-transparent: rgba(0, 0, 0, 0);
    --color-blue-gradient-start: rgba(0, 119, 255, 0.98);
    --color-blue-gradient-end: rgba(0, 80, 255, 1);
    --font-primary: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    --font-inter: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --max-width: 1920px;
    --container-width: 1200px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-black);
    color: var(--color-white);
    line-height: 1.6;
    overflow-x: hidden;
    /* Safe area insets for iOS devices with notch */
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 60px;
}

/* Navigation */
.nav-desktop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    /* Safe area for iOS notch */
    padding-top: env(safe-area-inset-top);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo img {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-menu a {
    color: var(--color-white);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--color-primary);
}

.btn-primary {
    background: var(--color-primary);
    padding: 12px 30px;
    border-radius: 9999px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--color-blue-gradient-end);
    color: var(--color-white) !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 119, 255, 0.3);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(180deg,
        #000000 0%,
        rgba(13, 13, 13, 0.5) 15%,
        #0D0D0D 50%,
        rgba(13, 13, 13, 0.5) 85%,
        #000000 100%
    );
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
}

.bg-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: none;
    background-size: 200px;
    background-repeat: repeat;
    opacity: 0.25;
    z-index: 1;
    animation: waveMove 20s ease-in-out infinite;
}

@keyframes waveMove {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(50px, 50px);
    }
}

.bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.1);
    z-index: 2;
}

.bg-gradient-top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(180deg,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 1) 64%);
    z-index: 3;
}

.bg-gradient-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 435px;
    background: linear-gradient(180deg,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 1) 55%);
    z-index: 4;
    pointer-events: none;
}

.hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 60px;
    display: flex;
    justify-content: flex-end;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 32px;
}

.hero-heading {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 796px;
}

.hero-title {
    font-family: 'Satoshi', sans-serif;
    font-weight: 900;
    font-size: 75.8px;
    line-height: 88px;
    letter-spacing: -3.2px;
    text-align: center;
    margin: 0;
}

.text-white {
    color: var(--color-white);
}

.text-blue {
    color: var(--color-primary);
    position: relative;
    display: inline-block;
}

.hero-description {
    max-width: 619px;
}

.hero-subtitle {
    font-family: 'Satoshi', sans-serif;
    font-weight: 900;
    font-size: 18.8px;
    line-height: 28px;
    letter-spacing: -0.4px;
    color: var(--color-gray);
    text-align: center;
    margin: 0;
}

.hero-buttons {
    margin-top: 16px;
}

.btn-cta {
    position: relative;
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 2rem;
    font-weight: 500;
    color: white;
    background: #0b0c10;
    border: 2px solid rgba(120, 140, 255, 0.4);
    border-radius: 50px;
    cursor: pointer;
    overflow: hidden;
    transition: border-color 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
    box-shadow: 0 0 6px rgba(120, 140, 255, 0.3);
    text-decoration: none;
    font-family: 'Satoshi', sans-serif;
}

.btn-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shine-cta 2.5s infinite;
    animation-delay: 0.5s;
    z-index: 1;
}

@keyframes shine-cta {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

.btn-cta:hover {
    background: radial-gradient(circle at 30% 30%, rgba(0, 118, 255, 0.35), rgba(0, 0, 0, 0));
    border-color: rgba(0, 118, 255, 0.7);
    box-shadow: 0 0 18px rgba(0, 118, 255, 0.6);
}

.btn-cta-galaxy {
    pointer-events: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.4s ease;
    overflow: hidden;
    mask-image: radial-gradient(white, transparent 70%);
    -webkit-mask-image: radial-gradient(white, transparent 70%);
}

.btn-cta:hover .btn-cta-galaxy {
    opacity: 1;
}

.btn-cta-star {
    position: absolute;
    top: 50%;
    left: 50%;
    width: var(--size);
    height: var(--size);
    border-radius: 50%;
    background: radial-gradient(circle, #fff, rgba(255, 255, 255, 0));
    opacity: var(--alpha);
    transform: translate(-50%, -50%) translateY(calc(var(--distance) * 1px));
    animation: orbit-btn var(--duration) linear infinite;
}

@keyframes orbit-btn {
    to {
        transform: translate(-50%, -50%) rotate(360deg) translateY(calc(var(--distance) * 1px));
    }
}

@keyframes orbit-elia {
    to {
        transform: translate(-50%, -50%) rotate(360deg) translateY(var(--distance, 60px));
    }
}

/* Focus Section */
.focus {
    padding: 80px 0;
    background: linear-gradient(180deg,
        #000000 0%,
        rgba(0, 16, 32, 0.3) 5%,
        rgba(10, 37, 64, 0.6) 12%,
        rgba(0, 102, 204, 0.8) 25%,
        rgba(0, 163, 255, 1) 50%,
        rgba(0, 102, 204, 0.8) 75%,
        rgba(10, 37, 64, 0.6) 88%,
        rgba(0, 16, 32, 0.3) 95%,
        #000000 100%
    );
    text-align: center;
    position: relative;
    overflow: hidden;
}

.focus::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(0, 119, 255, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(0, 119, 255, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.focus-content {
    position: relative;
    z-index: 1;
}

.focus-title {
    font-family: 'Satoshi', sans-serif;
    font-weight: 500;
    font-size: 32px;
    line-height: 1.2;
    color: #000000;
    max-width: 600px;
    margin: 0 auto;
    filter: blur(8px);
    opacity: 0.6;
    transition: filter 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.focus-title.focused {
    filter: blur(0px);
    opacity: 1;
}

.section-title {
    font-family: 'Satoshi', sans-serif;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 32px;
    color: var(--color-white);
    text-align: center;
}

.section-subtitle {
    font-family: var(--font-inter);
    font-size: 20px;
    line-height: 1.6;
    color: var(--color-gray);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

/* Services Section */
.services {
    padding: 120px 0;
    background: #000000;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.service-card {
    padding: 40px 30px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    border-radius: 16px;
    text-align: left;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(255, 255, 255, 0.1),
        transparent 40%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

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

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -200%;
    width: 200%;
    height: 100%;
    transform: skewX(-25deg);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
    transition: left 1.2s cubic-bezier(0.2, 1, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.3);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
}

.service-card:hover::after {
    left: 200%;
}

/* Elia Section */
.elia-section {
    padding: 120px 0;
    background: #000000;
    position: relative;
}

.elia-connections {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.6;
}

.connection-line {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    filter: drop-shadow(0 0 8px #0077FF) drop-shadow(0 0 16px #0077FF);
    animation: draw-line 3s ease-in-out forwards;
}

.connection-line.line-1 {
    animation-delay: 0.2s;
}

.connection-line.line-2 {
    animation-delay: 0.4s;
}

.connection-line.line-3 {
    animation-delay: 0.6s;
}

.connection-line.line-4 {
    animation-delay: 0.8s;
}

@keyframes draw-line {
    to {
        stroke-dashoffset: 0;
    }
}

.elia-section .container {
    position: relative;
    z-index: 1;
}

.elia-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
}

.elia-title-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
}

.elia-header-image {
    display: none;
}

.elia-title {
    font-family: 'Satoshi', sans-serif;
    font-size: 48px;
    font-weight: 700;
    text-align: left;
    position: relative;
    display: inline-block;
    background: linear-gradient(90deg,
        #FF8F2D 0%,
        #FFB84D 30%,
        #FFF 45%,
        #FFEB3B 50%,
        #FFF 55%,
        #FFB84D 70%,
        #FF8F2D 100%
    );
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: elia-shine-smooth 3s linear infinite;
    filter: drop-shadow(0 0 15px rgba(255, 160, 64, 0.4));
    margin: 0;
}

@keyframes elia-shine-smooth {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.btn-elia {
    position: relative;
    display: inline-block;
    padding: 0.8rem 2rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
    background: linear-gradient(90deg,
        #FF8F2D 0%,
        #FFB84D 40%,
        #FFC870 50%,
        #FFB84D 60%,
        #FF8F2D 100%
    );
    background-size: 200% 100%;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(255, 160, 64, 0.3);
    text-decoration: none;
    font-family: 'Satoshi', sans-serif;
    animation: btn-elia-shine 4s linear infinite;
}

@keyframes btn-elia-shine {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.btn-elia:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(255, 160, 64, 0.8), 0 0 60px rgba(255, 160, 64, 0.4), 0 0 90px rgba(255, 200, 100, 0.3);
}

.btn-elia-galaxy {
    pointer-events: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.4s ease;
    overflow: hidden;
    mask-image: radial-gradient(white, transparent 70%);
    -webkit-mask-image: radial-gradient(white, transparent 70%);
}

.btn-elia:hover .btn-elia-galaxy {
    opacity: 1;
}

.elia-title sup {
    font-size: 24px;
    vertical-align: super;
}

.elia-wrapper {
    display: flex;
    gap: 40px;
    margin-top: 60px;
    align-items: flex-start;
}

.elia-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    flex: 1;
    max-width: 700px;
}

.elia-image-container {
    position: relative;
    flex: 0 0 600px;
}

.elia-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
}

.elia-feature {
    padding: 25px;
    aspect-ratio: 1;
    background: linear-gradient(145deg, rgba(255, 160, 64, 0.08), rgba(255, 160, 64, 0.03));
    border-radius: 16px;
    text-align: left;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 160, 64, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.elia-feature::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 160, 64, 0.15) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.elia-feature:hover::before {
    opacity: 1;
}

.elia-feature:hover {
    background: linear-gradient(145deg, rgba(255, 160, 64, 0.15), rgba(255, 160, 64, 0.08));
    border-color: rgba(255, 160, 64, 0.6);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -5px rgba(255, 160, 64, 0.3),
                0 10px 20px -5px rgba(0, 0, 0, 0.2);
}

/* Hide image and link elements on desktop */
.elia-feature-image,
.elia-feature-link {
    display: none;
}

.elia-feature-content {
    display: contents;
}

.elia-feature h4 {
    font-family: 'Satoshi', sans-serif;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #FFB84D, #FF8F2D);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
}

.elia-feature p {
    font-family: var(--font-inter);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
    margin: 0;
    position: relative;
    z-index: 1;
}

.service-card h3 {
    font-family: 'Satoshi', sans-serif;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--color-white);
}

.elia-card h3 {
    color: var(--color-primary);
    text-shadow: 0 0 12px rgba(0, 119, 255, 0.8);
}

.service-card p {
    font-family: var(--font-inter);
    font-size: 16px;
    color: var(--color-gray);
    line-height: 1.6;
}

.elia-card p {
    color: rgba(255, 255, 255, 0.85);
}

/* Comparison Section */
.comparison {
    padding: 120px 0;
    background: linear-gradient(180deg,
        #000000 0%,
        rgba(26, 26, 26, 0.5) 15%,
        #1a1a1a 50%,
        rgba(26, 26, 26, 0.5) 85%,
        #000000 100%
    );
    min-height: 659px;
}

.comparison-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    margin-top: 60px;
}

.comparison-col {
    padding: 50px;
    background: rgba(10, 10, 10, 0.5);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.comparison-col:hover {
    border-color: rgba(0, 119, 255, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3),
                0 10px 10px -5px rgba(0, 0, 0, 0.2);
}

.comparison-col.highlight {
    background: rgba(0, 119, 255, 0.08);
    border-color: rgba(0, 119, 255, 0.5);
    box-shadow: 0 0 0 1px rgba(0, 119, 255, 0.1),
                0 4px 6px -1px rgba(0, 0, 0, 0.1),
                0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.comparison-col.highlight:hover {
    border-color: rgba(0, 119, 255, 0.7);
    box-shadow: 0 0 0 1px rgba(0, 119, 255, 0.2),
                0 20px 25px -5px rgba(0, 119, 255, 0.2),
                0 10px 10px -5px rgba(0, 0, 0, 0.2);
}

.comparison-col h3 {
    font-size: 32px;
    margin-bottom: 30px;
    text-align: center;
}

.comparison-col ul {
    list-style: none;
}

.comparison-col ul li {
    padding: 16px 0;
    font-size: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.comparison-col ul li:last-child {
    border-bottom: none;
}

.comparison-col.highlight ul li::before {
    content: '✓ ';
    color: var(--color-primary);
    font-weight: bold;
    margin-right: 10px;
}

.comparison-logo {
    display: block;
    height: 36px;
    width: auto;
    margin: 0 auto 24px auto;
}

/* Process Section */
.process {
    padding: 120px 0;
    background: #000000;
    color: var(--color-white);
}

.process .section-title {
    color: var(--color-white);
    text-align: center;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 80px;
}

/* Compatibilidad con efecto de tarjetas apiladas */
.stack-container {
    position: relative;
    perspective: 1200px;
    overflow: visible;
}

.stack-container .card {
    will-change: transform, opacity;
    transform-origin: center center;
}

/* Disable stacked effect on mobile - static layout */
@media (max-width: 768px) {
    .stack-container {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        perspective: none !important;
        position: relative !important;
        height: auto !important;
        padding-top: 0 !important;
    }

    .stack-container .card {
        position: relative !important;
        transform: none !important;
        opacity: 1 !important;
        z-index: auto !important;
        will-change: auto !important;
    }
}

.step {
    text-align: left;
    padding: 50px;
    min-height: 350px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.step:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
}

/* 3D Stacked Effect */
.stacked-3d-effect {
    position: relative;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.stacked-3d-effect::before,
.stacked-3d-effect::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(0, 119, 255, 0.18), rgba(0, 119, 255, 0.02));
    border: 1px solid rgba(0, 119, 255, 0.25);
    transform: translate3d(0, 0, -1px);
    pointer-events: none;
    transition: transform 0.4s ease, opacity 0.4s ease;
    opacity: 0.8;
}

.stacked-3d-effect::before {
    transform: translate3d(8px, 8px, -8px);
    filter: blur(0.2px);
    opacity: 0.6;
}

.stacked-3d-effect::after {
    transform: translate3d(16px, 16px, -16px);
    opacity: 0.35;
}

.stacked-3d-effect:hover {
    transform: translateY(-6px) rotateX(3deg) rotateY(-3deg);
}

.stacked-3d-effect:hover::before {
    transform: translate3d(10px, 12px, -12px);
    opacity: 0.7;
}

.stacked-3d-effect:hover::after {
    transform: translate3d(22px, 22px, -22px);
    opacity: 0.45;
}

.step h3 {
    font-family: 'Satoshi', sans-serif;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--color-white);
}

.step p {
    font-family: var(--font-inter);
    font-size: 16px;
    color: var(--color-gray);
    line-height: 1.6;
    margin-bottom: 12px;
}

.step p.result {
    margin-top: 20px;
    color: var(--color-white);
}

/* CTA Section */
.cta {
    padding: 120px 0;
    background: linear-gradient(180deg,
        #000000 0%,
        rgba(26, 26, 26, 0.5) 15%,
        #1a1a1a 50%,
        rgba(26, 26, 26, 0.5) 85%,
        #000000 100%
    );
    min-height: 659px;
}

.cta-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 700px;
    margin: 0 auto;
}

.cta-item {
    text-align: center;
    padding: 60px 40px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: block;
}

.cta-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
    cursor: pointer;
}

.aurora-linkedin {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.5;
    z-index: 0;
}

.cta-linkedin h3 {
    position: relative;
    z-index: 1;
}

.cta-item h3 {
    font-family: 'Satoshi', sans-serif;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--color-white);
}

.cta-item .btn-cta {
    margin-top: 20px;
}

/* Security Section */
.security {
    padding: 120px 0;
    background: #000000;
}

/* Flashlight Effect */
.flashlight-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 4rem 2rem;
    min-height: 50vh;
}

.flashlight-container::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: radial-gradient(
        circle 200px at var(--cursor-x, 50%) var(--cursor-y, 50%),
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.85) 100%
    );
}

.flashlight-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    filter: drop-shadow(0 2px 8px rgba(255, 255, 255, 0.1));
}

.flashlight-title {
    font-size: clamp(1.2rem, 2vw + 0.5rem, 2rem);
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 1rem 0;
    max-width: 700px;
}

.flashlight-text {
    font-size: clamp(1rem, 1.5vw + 0.5rem, 1.5rem);
    line-height: 1.5;
    max-width: 800px;
    margin: 0;
}

/* Footer */
.footer {
    padding: 40px 0 80px;
    background: #000000;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    text-align: center;
}

.footer-link {
    font-family: var(--font-inter);
    font-size: 14px;
    color: var(--color-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--color-white);
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: relative;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--color-white);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(10.5px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-10.5px) rotate(-45deg);
}

body.menu-open {
    overflow: hidden;
}

/* Responsive */
@media (max-width: 1199px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .elia-wrapper {
        flex-direction: column;
        gap: 40px;
    }

    .elia-features-grid {
        max-width: 100%;
        grid-template-columns: repeat(2, 1fr);
    }

    .elia-image-container {
        flex: 1;
        max-width: 100%;
    }

    .comparison-content {
        gap: 40px;
    }

    .process-steps {
        gap: 30px;
    }
}

@media (max-width: 968px) {
    .container {
        padding: 0 40px;
    }

    .hero-container {
        padding: 0 40px;
    }

    .hero-title {
        font-size: 56px;
        line-height: 1.15;
        letter-spacing: -2px;
    }

    .hero-subtitle {
        font-size: 17px;
    }

    .section-title {
        font-size: 42px;
    }

    .section-subtitle {
        font-size: 18px;
        margin-bottom: 50px;
    }

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

    .elia-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .elia-title {
        font-size: 42px;
    }

    .comparison-col {
        padding: 40px 35px;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .hero-container {
        padding: 0 20px;
    }

    /* Navigation Mobile */
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        height: calc(100vh - 80px);
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 40px 24px;
        gap: 0;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        overflow-y: auto;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-menu li {
        width: 100%;
        padding: 16px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-menu li:last-child {
        border-bottom: none;
        margin-top: 20px;
    }

    .nav-menu a {
        font-size: 20px;
        display: block;
        width: 100%;
        text-align: center;
    }

    .btn-primary {
        display: block;
        width: 100%;
        text-align: center;
    }

    /* Hero Section */
    .hero-title {
        font-size: 48px;
        line-height: 1.08;
        letter-spacing: -2px;
        padding: 0 8px;
    }

    .hero-subtitle {
        font-size: 19px;
        line-height: 1.5;
        padding: 0 8px;
    }

    .btn-cta {
        font-size: 1.6rem;
        padding: 16px 40px;
        min-height: 56px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    /* Sections */
    .services,
    .elia-section,
    .comparison,
    .process,
    .cta,
    .security {
        padding: 64px 0;
    }

    .section-title {
        font-size: 32px;
        margin-bottom: 24px;
        line-height: 1.15;
        padding: 0 8px;
    }

    .section-subtitle {
        font-size: 17px;
        margin-bottom: 48px;
        line-height: 1.5;
        padding: 0 8px;
    }

    /* Services */
    .services-grid {
        gap: 16px;
        margin-top: 48px;
    }

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

    .service-card h3 {
        font-size: 24px;
        margin-bottom: 16px;
    }

    .service-card p {
        font-size: 17px;
        line-height: 1.5;
    }

    /* Elia Section */
    .elia-header {
        margin-bottom: 40px;
    }

    .elia-title-wrapper {
        flex-direction: row;
        align-items: center;
        gap: 16px;
    }

    /* Hide large elia image on mobile */
    .elia-image-container {
        display: none;
    }

    .elia-header-image {
        display: block !important;
        width: 220px;
        height: auto;
        border-radius: 0;
        box-shadow: none;
    }

    .elia-title {
        font-size: 44px;
        margin-bottom: 0;
    }

    .elia-title sup {
        font-size: 26px;
    }

    .btn-elia {
        font-size: 1.1rem;
        padding: 0.8rem 2rem;
    }

    .elia-wrapper {
        margin-top: 40px;
        gap: 30px;
    }

    .elia-features-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    /* Apple-style cards for mobile */
    .elia-feature {
        padding: 0;
        aspect-ratio: auto;
        min-height: auto;
        border-radius: 24px;
        background: linear-gradient(180deg, rgba(15, 15, 15, 0.98) 0%, rgba(8, 8, 8, 0.99) 100%);
        border: 1px solid rgba(255, 160, 64, 0.15);
        display: flex;
        flex-direction: column;
        overflow: hidden;
        justify-content: flex-start;
    }

    .elia-feature::before {
        display: none;
    }

    .elia-feature-image {
        width: 100%;
        height: 220px;
        object-fit: cover;
        background: #040405;
        display: flex !important;
        align-items: center;
        justify-content: center;
    }

    .elia-feature-image img {
        width: 65%;
        height: auto;
        max-height: 180px;
        object-fit: contain;
    }

    .elia-feature-content {
        padding: 28px 24px 32px;
        flex: 1;
        display: flex !important;
        flex-direction: column;
    }

    .elia-feature h4 {
        font-size: 24px;
        margin-bottom: 12px;
        font-weight: 700;
        line-height: 1.2;
    }

    .elia-feature p {
        font-size: 16px;
        line-height: 1.55;
        color: rgba(255, 255, 255, 0.75);
        margin-bottom: 20px;
        flex: 1;
    }

    .elia-feature-link {
        font-size: 16px;
        color: var(--color-orange);
        text-decoration: none;
        font-weight: 600;
        display: inline-flex !important;
        align-items: center;
        gap: 6px;
        transition: gap 0.3s ease;
    }

    .elia-feature-link:hover {
        gap: 10px;
    }

    .elia-feature-link::after {
        content: '→';
        font-size: 18px;
        transition: transform 0.3s ease;
    }

    .elia-feature-link:hover::after {
        transform: translateX(4px);
    }

    /* Override hover effect for mobile cards */
    .elia-feature:hover {
        background: linear-gradient(180deg, rgba(20, 20, 20, 0.98) 0%, rgba(12, 12, 12, 0.99) 100%);
        border-color: rgba(255, 160, 64, 0.3);
        transform: translateY(-4px);
    }

    /* Comparison */
    .comparison-content {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-top: 40px;
    }

    .comparison-col {
        padding: 36px 28px;
    }

    .comparison-col h3 {
        font-size: 30px;
        margin-bottom: 26px;
    }

    .comparison-col ul li {
        font-size: 18px;
        padding: 16px 0;
        line-height: 1.5;
    }

    .comparison-logo {
        height: 34px;
        margin-bottom: 22px;
    }

    /* Process */
    .process-steps {
        margin-top: 40px;
        gap: 20px;
    }

    .step {
        padding: 36px 28px;
        min-height: auto;
    }

    .step h3 {
        font-size: 24px;
        margin-bottom: 18px;
    }

    .step p {
        font-size: 17px;
        margin-bottom: 12px;
        line-height: 1.6;
    }

    /* CTA */
    .cta-content {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .cta-item {
        padding: 40px 24px;
        border-radius: 16px;
    }

    .cta-item h3 {
        font-size: 28px;
        margin-bottom: 24px;
        line-height: 1.2;
        padding: 0 8px;
    }

    .flashlight-container {
        margin-top: 40px;
        padding: 3rem 1.5rem;
        min-height: 40vh;
    }

    .flashlight-icon {
        width: 52px;
        height: 52px;
        margin-bottom: 1.2rem;
    }

    .flashlight-title {
        font-size: 1.15rem;
        line-height: 1.4;
    }

    .flashlight-text {
        font-size: 1.05rem;
        line-height: 1.6;
    }

    /* Footer */
    .footer {
        padding: 32px 0 60px;
    }

    .footer-link {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-container {
        padding: 0 16px;
    }

    .hero-content {
        padding: 8px;
        gap: 24px;
    }

    .hero-title {
        font-size: 40px;
        line-height: 1.1;
        letter-spacing: -1.5px;
        padding: 0 4px;
    }

    .hero-subtitle {
        font-size: 17px;
        line-height: 1.45;
        padding: 0 4px;
    }

    .btn-cta {
        font-size: 1.4rem;
        padding: 14px 32px;
        min-height: 52px;
        width: auto;
    }

    .section-title {
        font-size: 28px;
        line-height: 1.15;
        padding: 0 4px;
    }

    .section-subtitle {
        font-size: 16px;
        line-height: 1.45;
        padding: 0 4px;
    }

    .service-card {
        padding: 24px 20px;
        border-radius: 12px;
    }

    .service-card h3 {
        font-size: 21px;
        margin-bottom: 12px;
    }

    .service-card p {
        font-size: 15px;
        line-height: 1.5;
    }

    .elia-header-image {
        width: 180px;
    }

    .elia-title {
        font-size: 34px;
        line-height: 1.15;
    }

    .elia-title sup {
        font-size: 22px;
    }

    .btn-elia {
        font-size: 1rem;
        padding: 12px 28px;
        min-height: 48px;
    }

    /* Apple-style cards for small mobile */
    .elia-feature {
        padding: 0;
        min-height: auto;
        border-radius: 20px;
    }

    .elia-feature-image {
        height: 200px;
        background: #040405;
    }

    .elia-feature-image img {
        width: 60%;
        max-height: 160px;
    }

    .elia-feature-content {
        padding: 24px 20px 28px;
    }

    .elia-feature h4 {
        font-size: 21px;
        margin-bottom: 10px;
    }

    .elia-feature p {
        font-size: 15px;
        line-height: 1.5;
        margin-bottom: 18px;
    }

    .elia-feature-link {
        font-size: 15px;
    }

    .comparison-col {
        padding: 32px 20px;
        border-radius: 12px;
    }

    .comparison-col h3 {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .comparison-col ul li {
        font-size: 16px;
        padding: 14px 0;
        line-height: 1.45;
    }

    .step {
        padding: 32px 20px;
        border-radius: 12px;
    }

    .step h3 {
        font-size: 21px;
        margin-bottom: 16px;
        line-height: 1.3;
    }

    .step p {
        font-size: 15px;
        line-height: 1.5;
    }

    .cta-item {
        padding: 36px 20px;
        border-radius: 12px;
    }

    .cta-item h3 {
        font-size: 26px;
        line-height: 1.2;
        padding: 0 4px;
    }

    .social-proof {
        flex-direction: row;
        gap: 12px;
        align-items: center;
        justify-content: center;
        margin-top: 20px;
    }

    .avatars-wrapper {
        width: 140px;
    }

    .avatars img {
        width: 38px;
        height: 38px;
        margin-left: -12px;
        border-width: 2px;
    }

    .joined {
        font-size: 0.85rem;
        padding: 8px 16px;
        white-space: nowrap;
    }

    .flashlight-container {
        padding: 2rem 1rem;
    }
}
/* Service Card Background Images */
.service-card-1 {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../images/card1.png');
    background-size: cover;
    background-position: center;
}

.service-card-2 {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../images/card2.png');
    background-size: cover;
    background-position: center;
}

.service-card-3 {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../images/card3.png');
    background-size: cover;
    background-position: center;
}

/* Touch Interactions - Mobile Enhancement */
@media (hover: none) and (pointer: coarse) {
    /* Better touch targets */
    .nav-menu a {
        min-height: 48px;
        min-width: 48px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 12px 24px;
    }

    .btn-primary,
    .btn-cta,
    .btn-elia {
        min-height: 56px;
        min-width: 56px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 16px 32px;
    }

    .mobile-menu-toggle {
        min-height: 44px;
        min-width: 44px;
        padding: 8px;
    }

    /* Remove hover effects on touch devices */
    .service-card:hover,
    .elia-feature:hover,
    .comparison-col:hover,
    .step:hover,
    .cta-item:hover {
        transform: none;
    }

    /* Active states for touch feedback - iOS style */
    .btn-primary:active,
    .btn-cta:active,
    .btn-elia:active {
        transform: scale(0.96);
        opacity: 0.85;
        transition: transform 0.15s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.15s ease;
    }

    .service-card:active,
    .elia-feature:active,
    .comparison-col:active {
        opacity: 0.88;
        transition: opacity 0.15s ease;
    }

    .cta-item:active {
        opacity: 0.9;
        transform: scale(0.98);
        transition: opacity 0.15s ease, transform 0.15s ease;
    }

    /* Disable animations that might cause performance issues */
    .service-card::after,
    .elia-feature::before,
    .btn-cta::before {
        display: none;
    }

    /* Improve scrolling */
    .nav-menu.active,
    body {
        -webkit-overflow-scrolling: touch;
    }

    /* Smooth scroll behavior */
    * {
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    }
}

/* Landscape mode optimizations for mobile */
@media (max-width: 968px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
        height: auto;
    }

    .hero-container {
        min-height: 100vh;
        padding: 80px 24px 40px;
    }

    .hero-content {
        padding: 1rem;
    }

    .hero-title {
        font-size: 32px;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .btn-cta {
        font-size: 1.2rem;
        padding: 0.7rem 1.8rem;
    }

    .services,
    .elia-section,
    .comparison,
    .process,
    .cta,
    .security {
        padding: 60px 0;
    }
}

/* Prevent horizontal scroll on mobile */
@media (max-width: 768px) {
    body {
        overflow-x: hidden;
    }

    * {
        max-width: 100%;
    }

    img {
        height: auto;
    }
}

/* iOS Specific Enhancements */
@supports (-webkit-touch-callout: none) {
    /* iOS Safari specific styles */
    body {
        /* Prevent overscroll bounce effect showing white background */
        background-attachment: fixed;
    }

    .hero,
    .services,
    .elia-section,
    .comparison,
    .process,
    .cta,
    .security {
        /* Ensure sections respect safe area */
        padding-left: max(20px, env(safe-area-inset-left));
        padding-right: max(20px, env(safe-area-inset-right));
    }

    /* Improve touch feedback */
    a, button {
        -webkit-tap-highlight-color: rgba(0, 119, 255, 0.1);
    }
}

/* Smooth Typography for Retina Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    body {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        text-rendering: optimizeLegibility;
    }
}

/* Improve scrolling performance on mobile */
@media (max-width: 768px) {
    .service-card,
    .elia-feature,
    .comparison-col,
    .step,
    .cta-item {
        /* Use GPU acceleration for better performance */
        transform: translateZ(0);
        -webkit-transform: translateZ(0);
        will-change: transform;
    }
}