:root {
    /* Modern Light Tech Palette (Aligned with AppTheme) */
    --bg-color: #F8FAFC;
    /* Slate 50 - Matches AppTheme.scaffoldBackgroundColor */
    --bg-surface: #FFFFFF;

    --primary: #00AAFF;
    /* Primary Blue - Matches AppTheme.seedColor */
    --primary-hover: #0088CC;
    /* Darker shade for hover */
    --secondary: #0088CC;
    /* Consolidate secondary to the darker blue */
    --accent: #06B6D4;
    /* Cyan 500 - Keep for gradients/accents */

    --text-main: #0F172A;
    /* Slate 900 - Matches AppTheme.onSurface */
    --text-muted: #475569;
    /* Slate 600 */
    --text-light: #94A3B8;
    /* Slate 400 */

    --border-color: #E2E8F0;
    /* Slate 200 - Matches AppTheme input border */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);

    --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --card-hover-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.03);
    --glow-shadow: 0 0 15px rgba(0, 170, 255, 0.2);

    --radius-lg: 16px;
    --radius-md: 12px;
}

body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background Effects */
.bg-gradient-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.gradient-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: blob-float 10s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
}

.blob-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 170, 255, 0.15) 0%, rgba(0, 170, 255, 0) 70%);
    top: -100px;
    right: -100px;
}

.blob-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.15) 0%, rgba(6, 182, 212, 0) 70%);
    bottom: -50px;
    left: -100px;
    animation-delay: -5s;
}

.blob-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(244, 63, 94, 0.1) 0%, rgba(244, 63, 94, 0) 70%);
    /* Rose tint */
    top: 40%;
    left: 40%;
    animation-duration: 15s;
}

@keyframes blob-float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(30px, 50px) scale(1.1);
    }
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-main);
    letter-spacing: -0.02em;
}

.logo-icon-img {
    height: 32px;
    width: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    background: rgba(255, 255, 255, 0.5);
    padding: 0.75rem 2rem;
    border-radius: 99px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(8px);
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s;
}

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

.btn-console {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    padding: 0.5rem 1.25rem;
    border-radius: 99px;
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.btn-console:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

/* Hero Section */
.hero {
    max-width: 1200px;
    margin: 6rem auto 8rem;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3.75rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: var(--text-main);
    letter-spacing: -0.03em;
    font-weight: 800;
    background: linear-gradient(135deg, var(--text-main) 30%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    /* Standard property for compatibility */
}

.hero-sub {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 540px;
    line-height: 1.7;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 1rem;
    background: rgba(0, 170, 255, 0.1);
    color: var(--primary);
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 2rem;
    border: 1px solid rgba(0, 170, 255, 0.2);
    box-shadow: 0 2px 4px rgba(0, 170, 255, 0.05);
}

.cta-group {
    display: flex;
    gap: 1.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 0.875rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px -1px rgba(0, 170, 255, 0.3), 0 2px 4px -1px rgba(0, 170, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
    opacity: 0;
    transition: opacity 0.2s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 170, 255, 0.4), 0 4px 6px -2px rgba(0, 170, 255, 0.2);
}

.btn-primary:hover::after {
    opacity: 1;
}

.btn-secondary {
    padding: 0.875rem 2rem;
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.2s;
    backdrop-filter: blur(4px);
}

.btn-secondary:hover {
    background: white;
    border-color: #CBD5E1;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

/* Hero Visual (Glass Card) */
.glass-card {
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 24px;
    padding: 2.5rem;
    position: relative;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow:
        0 20px 25px -5px rgba(0, 0, 0, 0.05),
        0 8px 10px -6px rgba(0, 0, 0, 0.01),
        inset 0 0 0 1px rgba(255, 255, 255, 0.5);
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) translateY(-5px);
}

.chat-bubble {
    padding: 1.25rem;
    border-radius: 16px;
    margin-bottom: 1.25rem;
    font-size: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    position: relative;
}

.chat-bubble.user {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    align-self: flex-end;
    margin-left: 20%;
    border-top-right-radius: 4px;
}

.chat-bubble.ai {
    background: white;
    border: 1px solid var(--border-color);
    color: var(--text-main);
    margin-right: 10%;
    border-top-left-radius: 4px;
}

.ai-label {
    display: inline-block;
    font-size: 0.75rem;
    color: var(--primary);
    background: rgba(0, 170, 255, 0.1);
    padding: 2px 8px;
    border-radius: 99px;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

/* Sections General */
.section-header {
    text-align: center;
    margin-bottom: 5rem;
    position: relative;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-main);
    letter-spacing: -0.02em;
    font-weight: 700;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Features */
.features {
    max-width: 1200px;
    margin: 0 auto 8rem;
    padding: 0 2rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.feature-card {
    background: var(--bg-surface);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.3s ease;
    box-shadow: var(--card-shadow);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--card-hover-shadow);
    border-color: rgba(0, 170, 255, 0.1);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.icon-box {
    width: 56px;
    height: 56px;
    background: rgba(0, 170, 255, 0.1);
    /* Light Blue Tint */
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 1.5rem;
    transition: all 0.3s;
}

.feature-card:hover .icon-box {
    background: var(--primary);
    color: white;
    transform: scale(1.1) rotate(5deg);
}

.feature-card h3 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
    color: var(--text-main);
    font-weight: 700;
}

.feature-card p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* Solutions */
.solutions {
    background: linear-gradient(180deg, rgba(248, 250, 252, 0) 0%, rgba(241, 245, 249, 1) 100%);
    padding: 6rem 2rem;
}

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

.solution-item {
    text-align: center;
    padding: 2rem;
}

.solution-item h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 700;
}

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

/* How It Works */
.how-it-works {
    max-width: 1200px;
    margin: 8rem auto;
    padding: 0 2rem;
}

.steps-container {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    position: relative;
}

.steps-container::after {
    content: '';
    position: absolute;
    top: 40px;
    left: 100px;
    right: 100px;
    height: 2px;
    background: repeating-linear-gradient(to right, var(--border-color) 0, var(--border-color) 10px, transparent 10px, transparent 20px);
    z-index: -1;
}

.step {
    flex: 1;
    text-align: center;
    background: var(--bg-surface);
    /* Mask the line */
    padding: 1rem;
}

.step-number {
    width: 80px;
    height: 80px;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-muted);
    margin: 0 auto 2rem;
    box-shadow: var(--card-shadow);
    transition: all 0.3s;
}

.step:hover .step-number {
    border-color: var(--primary);
    color: var(--primary);
    transform: scale(1.1);
    box-shadow: var(--glow-shadow);
}

.step h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-main);
}

/* Pricing / CTA */
.pricing {
    background: var(--text-main);
    color: white;
    padding: 6rem 2rem;
    text-align: center;
    margin-top: 6rem;
    border-radius: 32px 32px 0 0;
    position: relative;
    overflow: hidden;
}

.pricing::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 170, 255, 0.2) 0%, rgba(0, 0, 0, 0) 60%);
    pointer-events: none;
}

.pricing h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.pricing p {
    color: #94A3B8;
    margin-bottom: 3rem;
    font-size: 1.2rem;
}

.pricing .btn-primary {
    background: white;
    color: var(--primary);
    box-shadow: none;
}

.pricing .btn-primary:hover {
    background: #F1F5F9;
    transform: translateY(-2px);
}

/* Footer */
footer {
    background: #020617;
    /* Even darker than text-main for contrast */
    color: #94A3B8;
    padding: 4rem 2rem 2rem;
    margin-top: 0;
    border-top: 1px solid #1E293B;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 4rem;
}

.footer-brand span {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
}

.footer-contact h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer-contact a {
    color: var(--primary);
    text-decoration: none;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #1E293B;
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        margin-top: 4rem;
        gap: 3rem;
    }

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

    .cta-group {
        justify-content: center;
    }

    .glass-card {
        transform: none;
        max-width: 600px;
        margin: 0 auto;
    }

    .glass-card:hover {
        transform: translateY(-5px);
    }

    .steps-container {
        flex-direction: column;
        align-items: center;
    }

    .steps-container::after {
        display: none;
    }

    .step {
        width: 100%;
        max-width: 400px;
    }

    .solutions-grid,
    .footer-content {
        grid-template-columns: 1fr;
        flex-direction: column;
        gap: 3rem;
        text-align: center;
        align-items: center;
    }

    .nav-links {
        display: none;
    }
}

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

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

.hero-content h1 {
    animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.hero-sub {
    animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.1s both;
}

.badge {
    animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.05s both;
}

.cta-group {
    animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.2s both;
}

.glass-card {
    animation: fadeInUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.3s both;
}

.feature-card {
    animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.4s both;
}

.feature-card:nth-child(2) {
    animation-delay: 0.5s;
}

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

.feature-card:nth-child(4) {
    animation-delay: 0.7s;
}