:root {
    /* Colors */
    --primary: #6366f1;
    --primary-hover: #4f46e5;
    --secondary: #000000;
    --accent: #8b5cf6;
    --background: #ffffff;
    --surface: #f8fafc;
    --text: #0f172a;
    --text-muted: #64748b;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.7);
    --border: rgba(0, 0, 0, 0.05);

    /* Spacing */
    --container-width: 1200px;
    --section-padding: 100px 20px;

    /* Animation */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

#neural-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    opacity: 0.4;
    /* Slightly lower opacity for white background */
}

section,
.header,
.footer {
    position: relative;
    z-index: 1;
}

.hero,
.benefits,
.how-it-works {
    background: transparent;
}

h1,
h2,
h3,
h4,
.logo-text {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

.section {
    padding: var(--section-padding);
}

/* Typography Helpers */
.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.5));
}

.badge {
    display: inline-block;
    padding: 10px 30px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    border-radius: 100px;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
    border: 1px solid rgba(99, 102, 241, 0.3);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.2);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.5);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.2);
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--white);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--border);
}

.btn-outline:hover {
    background-color: var(--surface);
    border-color: var(--text);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(20px);
    background-color: var(--glass);
    border-bottom: 1px solid var(--border);
}

.nav-container {
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 2.25rem;
}

.logo-text span {
    color: var(--primary);
    text-shadow: 0 0 20px rgba(99, 102, 241, 0.6);
}

.logo-img {
    height: 80px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
}

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

.menu-toggle {
    display: none;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding-top: 180px;
    padding-bottom: 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.05) 0%, transparent 70%);
    z-index: -1;
}

.hero .container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 540px;
}

.hero-btns {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    gap: 48px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    font-family: 'Outfit';
    color: var(--primary);
    text-shadow: 0 0 15px rgba(99, 102, 241, 0.4);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Hero Visual */
.hero-visual {
    position: relative;
}

.main-image-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: visible;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.1);
}

.hero-img {
    width: 100%;
    border-radius: 24px;
    display: block;
}

.floating-card {
    position: absolute;
    background: white;
    padding: 16px 24px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    font-weight: 600;
    z-index: 2;
}

.card-1 {
    top: 10%;
    left: -20px;
    animation: float 4s ease-in-out infinite;
}

.card-2 {
    bottom: 20%;
    right: -20px;
    animation: float 4s ease-in-out infinite 1s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Solution Grid */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 2.5rem;
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.solution-card {
    padding: 40px;
    background: var(--surface);
    border-radius: 24px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.solution-card:hover {
    transform: translateY(-10px);
    background-color: var(--white);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.icon-box {
    width: 56px;
    height: 56px;
    background: var(--primary);
    color: white;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.solution-card h3 {
    margin-bottom: 16px;
}

.solution-card p {
    color: var(--text-muted);
}

/* Process Section */
.how-it-works {
    background-color: var(--surface);
}

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

.process-item {
    text-align: center;
    border-radius: 24px;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 20px;
    border: 1px solid rgba(139, 92, 246, 0.2);
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.05);
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.process-item:nth-child(1) {
    animation-delay: 0.2s;
}

.process-item:nth-child(2) {
    animation-delay: 0.4s;
}

.process-item:nth-child(3) {
    animation-delay: 0.6s;
}

.process-item:hover {
    border-color: #8b5cf6;
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.3);
    transform: translateY(-10px);
}

.process-img-box {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 4/5;
    background: #ffffff;
    border: 1px solid var(--border);
    margin-bottom: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.process-img-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

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

.result-img {
    border-radius: 0;
    border: 1px solid var(--border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    object-position: right center;
}

.step-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--white);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 800;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.process-info h4 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.process-info p {
    color: var(--text-muted);
}

/* Benefits Section */
.benefits {
    padding: 100px 0;
    background-color: var(--background);
}

.benefits .solution-card {
    border: 1px solid rgba(139, 92, 246, 0.2);
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.05);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.benefits .solution-card:nth-child(1) {
    animation-delay: 0.2s;
}

.benefits .solution-card:nth-child(2) {
    animation-delay: 0.4s;
}

.benefits .solution-card:nth-child(3) {
    animation-delay: 0.6s;
}

.benefits .solution-card:hover {
    border-color: #8b5cf6;
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.3);
    transform: translateY(-10px);
}

.benefits .icon-box {
    background: linear-gradient(135deg, #6366f1, #d946ef);
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.4);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* CTA Final */
.cta-final .cta-box {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 40px;
    padding: 80px 40px;
    text-align: center;
    color: white;
}

.cta-box h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.cta-box p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    gap: 10px;
}

.cta-form input {
    flex: 1;
    padding: 16px 24px;
    border-radius: 12px;
    border: none;
    font-family: inherit;
    font-size: 1rem;
}

/* Footer */
.footer {
    padding: 60px 0 40px;
    background-color: rgba(139, 92, 246, 0.1);
    backdrop-filter: blur(10px);
}

.footer-logo-container {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.footer-logo {
    height: 40px;
    opacity: 0.8;
    transition: var(--transition);
    filter: brightness(0);
}

.footer-logo:hover {
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid rgba(139, 92, 246, 0.2);
    padding-top: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 20px;
    color: var(--text-muted);
    font-size: 0.875rem;
    text-align: center;
}

.social-links {
    display: flex;
    gap: 20px;
}

/* Responsive */
@media (max-width: 1024px) {

    .hero .container,
    .process-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        margin: 0 auto 40px;
    }

    .hero-btns,
    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        max-width: 500px;
        margin: 40px auto 0;
    }

    .solution-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-grid {
        gap: 60px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

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

    .cta-form {
        flex-direction: column;
    }

    .hero-title {
        font-size: 2.5rem;
    }
}