:root {
    --bg-color: #FAFAFA;
    --bg-alt-color: #F5F5F5;
    --text-color: #1a1a1a;
    --primary-color: #3B82F6; /* Soft Blue */ 
    --accent-color: #06b6d4; /* Cyan for AI accents */
    --line-color: #EEEEEE;
    --glass-bg: rgba(255, 255, 255, 0.5);
    --glass-border: rgba(255, 255, 255, 0.8);
    --inset-shadow: rgba(0, 0, 0, 0.05);
    --pill-bg: #E0E7FF;
    --pill-text: #3730A3;
    --text-coreidon-blue: #00284b; 
}

.text-coreidon-blue {
    color: var(--text-coreidon-blue)
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 20h20v20' stroke='%233B82F6' stroke-width='1' fill='none' stroke-opacity='0.05'/%3E%3Ccircle cx='20' cy='20' r='2' fill='%233B82F6' fill-opacity='0.1'/%3E%3Ccircle cx='40' cy='40' r='2' fill='%233B82F6' fill-opacity='0.1'/%3E%3Cpath d='M60 20v20h20' stroke='%233B82F6' stroke-width='1' fill='none' stroke-opacity='0.05'/%3E%3Ccircle cx='60' cy='20' r='2' fill='%233B82F6' fill-opacity='0.1'/%3E%3Ccircle cx='80' cy='40' r='2' fill='%233B82F6' fill-opacity='0.1'/%3E%3Cpath d='M20 60v20h20' stroke='%233B82F6' stroke-width='1' fill='none' stroke-opacity='0.05'/%3E%3Ccircle cx='20' cy='60' r='2' fill='%233B82F6' fill-opacity='0.1'/%3E%3Ccircle cx='40' cy='80' r='2' fill='%233B82F6' fill-opacity='0.1'/%3E%3Cpath d='M80 60h-20v20' stroke='%233B82F6' stroke-width='1' fill='none' stroke-opacity='0.05'/%3E%3Ccircle cx='80' cy='60' r='2' fill='%233B82F6' fill-opacity='0.1'/%3E%3Ccircle cx='60' cy='80' r='2' fill='%233B82F6' fill-opacity='0.1'/%3E%3C/svg%3E");
    overflow-x: hidden;
}

/* Ambient Background Glows */
body::before {
    content: '';
    position: fixed;
    top: -20%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
    z-index: -2;
    pointer-events: none;
    animation: pulse-blob 10s infinite alternate;
}

body::after {
    content: '';
    position: fixed;
    bottom: -20%;
    left: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.08) 0%, transparent 70%);
    z-index: -2;
    pointer-events: none;
    animation: pulse-blob 15s infinite alternate-reverse;
}

@keyframes pulse-blob {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.2); opacity: 0.8; }
}

/* Step 1: Vanta.js Background Canvas */
#vanta-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
}

.content-wrapper {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* --- Header & Navigation --- */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
}

.logo-container {
    perspective: 800px; /* For the 3D effect */
}

/* Step 2: 3D Glass Logo */
.glass-logo-wrapper {
    position: relative;
    padding: 1rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease;
    transform: rotateX(10deg) rotateY(-10deg);
}

.glass-logo-wrapper:hover {
    transform: rotateX(0) rotateY(0);
}

.logo-img {
    height: 80px;
    display: block;
    animation: float 3s ease-in-out infinite;
}

.showcase-img {
    perspective: 800px;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
    transition: transform 0.4s ease;
    transform: rotateX(10deg) rotateY(-10deg);
    animation: float 3s ease-in-out infinite;
}

.showcase-img:hover {
    transform: rotateX(0) rotateY(0);
}

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

.desktop-nav {
    display: flex;
    gap: 0.5rem;
}

/* Step 4: Magnetic & Liquid Buttons */
.magnetic-button {
    position: relative;
    display: inline-block;
    padding: 0.75rem 1.5rem;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.magnetic-button span {
    position: relative;
    z-index: 2;
    display: inline-block;
    transition: transform 0.3s ease;
}

.magnetic-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    border-radius: 50%;
    transform: scale(0);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
    z-index: 1;
}

.magnetic-button:hover::before {
    transform: scale(2.5);
    opacity: 1;
}

.magnetic-button:hover span {
    color: white;
}

.cta-button {
    background-color: var(--text-coreidon-blue);
    color: var(--bg-color);
    border-radius: 8px;
}

.cta-button:hover span {
    color: var(--text-color);
}

/* --- Hero Section --- */
.hero-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 2rem;
    padding: 4rem 0;
    min-height: 70vh;
}

.hero-title {
    font-family: 'Space Grotesk';
    font-size: clamp(4rem, 8vw, 7.5rem); /* Responsive font size */
    font-weight: 900;
    letter-spacing: -0.05em; /* Tight letter-spacing */
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #555;
    max-width: 450px;
    margin: 1.5rem 0;
}

.hero-spline-scene {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border-radius: 20px;
    overflow: hidden;
}

#hero-3d-scene {
    width: 100%;
    height: 100%;
    min-height: 400px;
}

/* --- Generic Content Section --- */
.content-section {
    padding: 5rem 0;
    text-align: center;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #555;
    max-width: 650px;
    margin: 1rem auto 0;
    line-height: 1.6;
}

/* --- Clients Section --- */
.clients-section {
    padding: 4rem 0;
}

.clients-section .section-title {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--text-coreidon-blue);
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 3rem;
}

.clients-carousel-container {
    width: 100%;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
    mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
    perspective: 1000px;
}

.clients-carousel-track {
    display: flex;
    width: fit-content;
    animation: scroll 30s linear infinite;
}

.clients-carousel-container:hover .clients-carousel-track {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.client-card {
    flex-shrink: 0;
    width: 250px;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s ease;
    transform: rotateY(-15deg);
}

.client-glass-panel {
    height: 100px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    padding: 1rem;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.client-glass-panel img {
    max-width: 80%;
    max-height: 80%;
    transition: all 0.3s ease;
}

.client-card:hover {
    transform: rotateY(0) scale(1.05);
    z-index: 10;
}

.client-card:hover .client-glass-panel {
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* --- Step 3: Feature Connector --- */
.feature-connector-section {
    position: relative;
    padding: 5rem 0;
}

.svg-container {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 100%;
    width: 100px;
    z-index: -1;
}

.feature-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15rem; /* Space between features */
}

.feature-item {
    text-align: center;
    max-width: 500px;
    transition: transform 0.5s ease, opacity 0.5s ease;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.1), 0 4px 20px rgba(59, 130, 246, 0.05);
    background-image: 
        radial-gradient(circle at top right, rgba(59, 130, 246, 0.08) 0%, transparent 40%),
        url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 20h20v20' stroke='%233B82F6' stroke-width='1' fill='none' stroke-opacity='0.1'/%3E%3Ccircle cx='20' cy='20' r='2' fill='%233B82F6' fill-opacity='0.15'/%3E%3Ccircle cx='40' cy='40' r='2' fill='%233B82F6' fill-opacity='0.15'/%3E%3Cpath d='M60 20v20h20' stroke='%233B82F6' stroke-width='1' fill='none' stroke-opacity='0.1'/%3E%3Ccircle cx='60' cy='20' r='2' fill='%233B82F6' fill-opacity='0.15'/%3E%3Ccircle cx='80' cy='40' r='2' fill='%233B82F6' fill-opacity='0.15'/%3E%3Cpath d='M20 60v20h20' stroke='%233B82F6' stroke-width='1' fill='none' stroke-opacity='0.1'/%3E%3Ccircle cx='20' cy='60' r='2' fill='%233B82F6' fill-opacity='0.15'/%3E%3Ccircle cx='40' cy='80' r='2' fill='%233B82F6' fill-opacity='0.15'/%3E%3Cpath d='M80 60h-20v20' stroke='%233B82F6' stroke-width='1' fill='none' stroke-opacity='0.1'/%3E%3Ccircle cx='80' cy='60' r='2' fill='%233B82F6' fill-opacity='0.15'/%3E%3Ccircle cx='60' cy='80' r='2' fill='%233B82F6' fill-opacity='0.15'/%3E%3C/svg%3E");
}

.feature-item h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

/* --- Services Section --- */
.services-section {
    padding: 5rem 0;
    overflow: hidden; /* Prevent scrollbars from absolute elements */
}

/* --- Orbit Circular Layout (New Design) --- */
.orbit-layout {
    position: relative;
    width: 100%;
    max-width: 1000px;
    height: 500px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 1024px) {
    .orbit-layout {
        height: 700px;
    }
}

.orbit-connections {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    pointer-events: none;
}

.orbit-path {
    stroke: url(#orbit-gradient);
    stroke-width: 3;
    fill: none;
    opacity: 0.6;
    animation: pulse 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 0.3; }
}

.orbit-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 20;
}

.orbit-center-node {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    background: linear-gradient(to bottom right, #60a5fa, #2563eb);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border: 4px solid #bfdbfe;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.orbit-ping {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background-color: #60a5fa;
    animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
    opacity: 0.2;
}

@keyframes ping {
    75%, 100% { transform: scale(2); opacity: 0; }
}

.orbit-center-text {
    position: relative;
    z-index: 20;
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
    font-family: 'Space Grotesk', sans-serif;
    text-shadow: rgba(0, 0, 0, 0.5) 0px 0px 10px;
}

.orbit-item {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 30;
    /* Transform is handled inline for specific positions */
}

.orbit-service-card {
    width: 12rem;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(4px);
    border-radius: 0.5rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    border: 2px solid #bfdbfe;
    transition: all 0.3s ease;
}

.orbit-service-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: #60a5fa;
    transform: scale(1.05);
    z-index: 40;
}

.card-content {
    padding: 1rem;
    text-align: center;
    position: relative;
}

.card-indicator {
    position: absolute;
    top: -0.25rem;
    left: -0.25rem;
    width: 0.75rem;
    height: 0.75rem;
    background-color: #3b82f6;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background-color: rgba(59, 130, 246, 0.1);
    margin-bottom: 0.75rem;
    transition: transform 0.3s;
    border: 2px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.orbit-service-card:hover .card-icon {
    transform: scale(1.1);
}

.card-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: #3b82f6;
}

.orbit-service-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.orbit-service-card p {
    color: #64748b;
    font-size: 0.75rem;
    line-height: 1.625;
}

@media (min-width: 1024px) {
    .orbit-service-card {
        width: 14rem;
    }
    .card-content {
        padding: 1.25rem;
    }
    .card-icon {
        width: 3.5rem;
        height: 3.5rem;
    }
    .card-icon svg {
        width: 1.75rem;
        height: 1.75rem;
    }
    .orbit-service-card h3 {
        font-size: 1rem;
    }
}

.orbit-bg-circle-1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20rem;
    height: 20rem;
    border: 1px solid rgba(191, 219, 254, 0.3);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.orbit-bg-circle-2 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24rem;
    height: 24rem;
    border: 1px solid rgba(191, 219, 254, 0.2);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

@media (min-width: 1024px) {
    .orbit-bg-circle-1 { width: 24rem; height: 24rem; }
    .orbit-bg-circle-2 { width: 30rem; height: 30rem; }
}

/* --- Spotlight Card Effect (n8n style) --- */
.service-card {
    position: relative;
    background-color: rgba(255, 255, 255, 0.05); /* Darker, glass-like */
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

/* The glowing gradient follower */
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(59, 130, 246, 0.15), transparent 40%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    z-index: 0;
}

/* The border glow */
.service-card::after {
    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(59, 130, 246, 0.6), transparent 40%);
    opacity: 0;
    z-index: -1;
    border-radius: inherit;
    /* Mask trick to show gradient only on border */
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask-composite: xor;
    pointer-events: none;
    transition: opacity 0.3s;
}

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

.service-card h3, .service-card p {
    position: relative;
    z-index: 1;
}


/* --- Step 4: Bento Grid --- */
.bento-grid-section {
    padding: 5rem 0;
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--text-coreidon-blue);
    text-align: center;
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: -0.04em;
    margin-bottom: 3rem;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.bento-card {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.1), 0 4px 20px rgba(59, 130, 246, 0.05);
    transition: transform 0.3s ease;
    background-image: 
        radial-gradient(circle at top right, rgba(59, 130, 246, 0.08) 0%, transparent 40%),
        url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 20h20v20' stroke='%233B82F6' stroke-width='1' fill='none' stroke-opacity='0.1'/%3E%3Ccircle cx='20' cy='20' r='2' fill='%233B82F6' fill-opacity='0.15'/%3E%3Ccircle cx='40' cy='40' r='2' fill='%233B82F6' fill-opacity='0.15'/%3E%3Cpath d='M60 20v20h20' stroke='%233B82F6' stroke-width='1' fill='none' stroke-opacity='0.1'/%3E%3Ccircle cx='60' cy='20' r='2' fill='%233B82F6' fill-opacity='0.15'/%3E%3Ccircle cx='80' cy='40' r='2' fill='%233B82F6' fill-opacity='0.15'/%3E%3Cpath d='M20 60v20h20' stroke='%233B82F6' stroke-width='1' fill='none' stroke-opacity='0.1'/%3E%3Ccircle cx='20' cy='60' r='2' fill='%233B82F6' fill-opacity='0.15'/%3E%3Ccircle cx='40' cy='80' r='2' fill='%233B82F6' fill-opacity='0.15'/%3E%3Cpath d='M80 60h-20v20' stroke='%233B82F6' stroke-width='1' fill='none' stroke-opacity='0.1'/%3E%3Ccircle cx='80' cy='60' r='2' fill='%233B82F6' fill-opacity='0.15'/%3E%3Ccircle cx='60' cy='80' r='2' fill='%233B82F6' fill-opacity='0.15'/%3E%3C/svg%3E");
}

.bento-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 0 1px var(--accent-color), 0 10px 30px rgba(6, 182, 212, 0.2);
}

.bento-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.bento-card p {
    color: #555;
}


/* --- Step 5: Mobile-First Optimizations --- */
.mobile-nav {
    display: none; /* Hidden on desktop by default */
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 65px;
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-top: 1px solid rgba(255, 255, 255, 0.9);
    justify-content: space-around;
    align-items: center;
    z-index: 100;
}

.feature-swiper {
    display: none; /* Hidden on desktop */
}

/* Asymmetrical sizes */
.bento-card.card-large { grid-column: span 2; grid-row: span 2; }
.bento-card.card-medium { grid-column: span 2; }


@media (max-width: 768px) {
    .content-wrapper {
        padding: 0 1rem;
    }

    .mobile-nav {
        display: flex; /* Show on mobile */
    }

    /* Hide desktop nav, show mobile toggle if needed */
    .desktop-nav, .main-header .cta-button {
        display: none;
    }

    /* Disable 3D background for performance */
    #vanta-canvas {
        display: none;
    }

    .hero-section {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 2rem 0;
    }

    .hero-subtitle {
        margin: 1.5rem auto;
    }

    .hero-spline-scene {
        grid-row: 1; /* Move 3D scene to the top on mobile */
        height: 300px;
    }

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

    .bento-card.card-large, .bento-card.card-medium {
        grid-column: span 1;
        grid-row: span 1;
    }

    /* Services Orbit Section on Mobile */
    .orbit-layout {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        height: auto; /* Override fixed height for dynamic content */
    }

    .orbit-connections,
    .orbit-center,
    .orbit-bg-circle-1,
    .orbit-bg-circle-2 {
        display: none; /* Hide decorative elements on mobile */
    }

    .orbit-item {
        position: static; /* Reset absolute positioning to fall into flex flow */
        width: 100%;
        display: flex;
        justify-content: center;
        transform: none !important; /* Override inline transform for mobile view */
    }

    .orbit-service-card {
        width: 80%;
        max-width: 400px; /* Prevent cards from being too wide on tablets */
    }
}

/* --- Quote Section --- */
.quote-section {
    padding: 6rem 0;
    text-align: center;
}

.quote-logo {
    height: 280px;
    margin: 0 auto 2rem auto;
    display: block;
}

.quote-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-coreidon-blue);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.4;
    letter-spacing: -0.02em;
}

@media (max-width: 768px) {
    .quote-section { padding: 4rem 1rem; }
    .quote-text { font-size: 1.25rem; }
}

/* --- Footer --- */
.main-footer-section {
    padding: 4rem 2rem 2rem;
    color: #fff;
    background-color: var(--text-coreidon-blue);
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto 2rem auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-column h4 {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 1rem;
}

.footer-column p {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.footer-column a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid var(--line-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.9rem;
}

.footer-legal-links {
    display: flex;
    gap: 1.5rem;
}

.footer-legal-links a {
    color: #E0E7FF;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal-links a:hover {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column-reverse;
        text-align: center;
    }

    .mobile-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 60px;
        height: 50px;
        text-decoration: none;
        color: #555;
        border-radius: 999px;
        transition: background-color 0.3s ease;
    }

    .mobile-nav-item span {
        font-size: 0.65rem;
    }

    .mobile-nav-item.active {
        background-color: var(--pill-bg);
        color: var(--primary-color);
    }

    .mobile-nav-item.cta {
        background-color: var(--text-coreidon-blue);
        color: var(--bg-color);
    }
}

/* Product Modal & Hover Effects */
.feature-item {
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}
.feature-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 30px -10px rgba(59, 130, 246, 0.5);
    border-color: #3B82F6;
    background: rgba(255, 255, 255, 0.05);
}
.click-hint {
    position: absolute;
    bottom: 10px;
    right: 15px;
    font-size: 0.8rem;
    color: #3B82F6;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    font-weight: 600;
}
.feature-item:hover .click-hint {
    opacity: 1;
    transform: translateY(0);
}


/* Modal Styles */
.product-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.product-modal.active {
    opacity: 1;
    pointer-events: auto;
}
.product-modal-content {
    background: #111827;
    border: 1px solid #374151;
    border-radius: 16px;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
}
.product-modal.active .product-modal-content {
    transform: scale(1);
}
.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: background 0.2s;
    z-index: 10;
}
.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
}
.modal-body {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 0;
    overflow-y: auto;
}
.modal-info {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.modal-info h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.modal-info p {
    color: #9ca3af;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}
.modal-image-wrapper {
    background: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border-left: 1px solid #374151;
}
.modal-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
    border: 1px solid #374151;
}
@media (max-width: 768px) {
    .modal-body {
        grid-template-columns: 1fr;
    }
    .modal-image-wrapper {
        border-left: none;
        border-top: 1px solid #374151;
        order: -1;
    }
    .modal-info {
        padding: 25px;
    }
}

/* Legal Modal Styles */
.modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.modal.active {
    display: flex;
}
.modal-content-wrapper {
    background-color: #111827;
    color: #9ca3af;
    border: 1px solid #374151;
    border-radius: 16px;
    width: 90%;
    max-width: 800px;
    padding: 30px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    max-height: 80vh;
    display: flex;
    flex-direction: column;
}
.modal-header {
    margin-bottom: 20px;
    padding-right: 40px;
}

#legal-modal-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

#legal-modal-body h3 {
    color: var(--line-color);
    margin: 10px;
}

#legal-modal-body p {
    margin: 10px;
}

/* schedule modal */

.modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.7);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 1000;
            backdrop-filter: blur(5px);
        }
        .modal-content {
            background: #1a1a1a;
            color: #fff;
            padding: 2rem;
            border-radius: 16px;
            width: 90%;
            max-width: 600px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            box-shadow: 0 10px 30px rgba(0,0,0,0.5);
            max-height: 90vh;
            overflow-y: auto;
        }
        .modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            padding-bottom: 1rem;
            margin-bottom: 1.5rem;
        }
        .modal-header h2 {
            font-size: 1.5rem;
            font-weight: 700;
        }
        .close-modal-btn {
            background: none;
            border: none;
            color: #fff;
            font-size: 2rem;
            cursor: pointer;
        }
        .form-group {
            margin-bottom: 1rem;
        }
        .form-group label {
            display: block;
            margin-bottom: 0.5rem;
            font-size: 0.875rem;
            font-weight: 500;
        }
        .form-group input, .form-group textarea {
            width: 100%;
            padding: 0.75rem;
            background: rgba(0,0,0,0.2);
            border: 1px solid rgba(255,255,255,0.1);
            border-radius: 8px;
            color: #fff;
            font-size: 1rem;
        }
        #calendar-container {
            background: rgba(0,0,0,0.2);
            border-radius: 8px;
            padding: 1rem;
            border: 1px solid rgba(255,255,255,0.1);
        }
        .calendar-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1rem;
        }
        .calendar-header button {
            background: none;
            border: none;
            color: #3B82F6;
            font-size: 1.5rem;
            cursor: pointer;
        }
        .calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; text-align: center; }
        .calendar-day, .calendar-weekday { padding: 0.5rem; font-size: 0.8rem; }
        .calendar-weekday { font-weight: bold; }
        .calendar-day { cursor: pointer; border-radius: 50%; border: 1px solid transparent; }
        .calendar-day:not(.disabled):not(.weekend):hover { background: rgba(59, 130, 246, 0.3); }
        .calendar-day.disabled, .calendar-day.weekend { color: #555; cursor: not-allowed; }
        .calendar-day.selected { background: #3B82F6; color: #fff; font-weight: bold; }
        #time-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 0.5rem; }
        .time-slot { padding: 0.75rem; border: 1px solid rgba(255,255,255,0.2); border-radius: 8px; text-align: center; cursor: pointer; transition: all 0.2s ease; }
        .time-slot:hover:not(.disabled):not(.selected) { background: rgba(59, 130, 246, 0.3); border-color: #3B82F6; }
        .time-slot.selected { background: #3B82F6; color: #fff; font-weight: bold; border-color: #3B82F6; }
        .time-slot.disabled { background: #333; color: #777; cursor: not-allowed; text-decoration: line-through; }
        .modal-footer { border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 1rem; margin-top: 1.5rem; text-align: right; }
        .modal-footer .cta-button { border: none; }