:root {
    --bg-color: #FFFFFF;
    --text-primary: #0F172A;
    /* Deep Black/Blue for high contrast */
    --text-secondary: #64748B;
    /* Cool Gray */
    --accent-blue: #3B82F6;
    --accent-purple: #8B5CF6;
    --gradient-primary: linear-gradient(135deg, #2563EB 0%, #7C3AED 100%);
    /* Stronger, deeper gradient */
    --border-color: #E2E8F0;
    --card-bg: #FFFFFF;
    --hover-bg: #F8FAFC;
    --radius-sm: 12px;
    --radius-md: 24px;
    --radius-lg: 32px;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: 'Quicksand', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* --- Background Animation --- */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 20s infinite alternate ease-in-out;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: #E0E7FF;
    /* Very light indigo */
    animation-delay: 0s;
}

.blob-2 {
    bottom: -10%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: #F3E8FF;
    /* Very light purple */
    animation-delay: -5s;
}

.blob-3 {
    top: 40%;
    left: 40%;
    width: 40vw;
    height: 40vw;
    background: #DBEAFE;
    /* Very light blue */
    animation-delay: -10s;
    opacity: 0.3;
}

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

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

/* --- Utilities --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.gradient-text {
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    padding: 1rem 2rem;
    border-radius: var(--radius-lg);
    /* Rounded pill shape */
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s, opacity 0.2s;
    display: inline-block;
    border: none;
}

.btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.btn-secondary {
    background: white;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    padding: 1rem 2rem;
    border-radius: var(--radius-lg);
    /* Rounded pill shape */
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
    display: inline-block;
}

.btn-secondary:hover {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
    background: var(--hover-bg);
}

/* --- Navigation --- */
.glass-nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 100;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 90px;
    /* Increased size again as requested */
    width: auto;
    object-fit: contain;
}

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

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

/* --- Hero Section --- */
.hero {
    padding: 10rem 2rem 6rem;
    text-align: center;
    background: white;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #EFF6FF;
    border-radius: var(--radius-lg);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-blue);
    margin-bottom: 2rem;
    letter-spacing: 0.02em;
}

h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 2rem;
    letter-spacing: -0.03em;
    color: var(--text-primary);
}

.subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.cta-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* --- Cards & Grid --- */
.card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    /* Softer corners */
    padding: 2.5rem;
    transition: all 0.3s ease;
}

.card:hover {
    border-color: var(--accent-blue);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
    /* Very subtle lift */
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

/* --- Sections --- */
section {
    padding: 8rem 0;
    border-bottom: 1px solid transparent;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.title-icon {
    height: 2em;
    width: auto;
    object-fit: contain;
    vertical-align: middle;
}

.section-intro {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 5rem;
    font-size: 1.25rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Problem Section --- */
.problem-icon {
    height: 80px;
    width: auto;
    margin-bottom: 1.5rem;
    object-fit: contain;
}

.problem-icon-placeholder {
    font-size: 4rem;
    margin-bottom: 1rem;
    line-height: 1;
}

.problem-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
}

.solution-statement {
    margin-top: 5rem;
    text-align: center;
    font-size: 1.75rem;
    font-weight: 700;
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Bento Grid --- */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    min-height: 400px;
}

.bento-large {
    grid-column: span 1;
    background: #F9FAFB;
}

.tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent-blue);
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tag-icon {
    height: 3.5em;
    width: auto;
    object-fit: contain;
}

.bento-grid h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.bento-grid ul {
    list-style: none;
}

.bento-grid li {
    margin-bottom: 1rem;
    padding-left: 0;
    position: relative;
    color: var(--text-secondary);
    font-size: 1rem;
}

/* --- AI Section --- */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.ai-content .section-title {
    text-align: left;
    margin-bottom: 1.5rem;
}

.ai-content p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.ai-features {
    list-style: none;
}

.ai-features li {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    color: var(--text-primary);
    font-weight: 500;
    padding-left: 0;
}

.chat-interface {
    background: #F9FAFB;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    height: 350px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.message {
    padding: 1.25rem;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    max-width: 85%;
    line-height: 1.5;
}

.message.user {
    background: var(--gradient-primary);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.message.ai {
    background: white;
    border: 1px solid var(--border-color);
    align-self: flex-start;
    color: var(--text-primary);
    border-bottom-left-radius: 4px;
}

/* --- Stats --- */
.stats-section {
    background: #F9FAFB;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 6rem 0;
}

.stat-item .number {
    font-size: 4.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-item .label {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* --- Team --- */
.avatar {
    width: 64px;
    height: 64px;
    background: #EFF6FF;
    /* Light blue */
    color: var(--accent-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.team-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* --- Subscription Section --- */
.subscription-section {
    padding: 4rem 0;
}

.subscription-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 4rem 2rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.05);
}

.subscribe-form {
    display: flex;
    gap: 1rem;
    justify-content: center;
    max-width: 500px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.email-input {
    flex: 1;
    min-width: 250px;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s;
}

.email-input:focus {
    border-color: var(--accent-blue);
}

/* --- Footer --- */
.footer-cta {
    text-align: center;
    background: white;
    padding: 10rem 0;
}

.footer-cta h2 {
    margin-bottom: 1.5rem;
    font-size: 3rem;
}

.footer-cta p {
    margin-bottom: 3rem;
    font-size: 1.25rem;
    color: var(--text-secondary);
}

footer {
    background: white;
    padding: 4rem 0;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-logo-img {
    height: 90px;
    /* Increased to match header logo */
    width: auto;
    object-fit: contain;
}

.footer-logo {
    /* Removed font styles as it's now an image */
    display: flex;
    align-items: center;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    h1 {
        font-size: 3rem;
    }

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

    .bento-large {
        grid-column: span 1;
    }

    .split-layout {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }
}