:root {
    --primary-purple: #834dba;
    /* Purple from your logo */
    --primary-pink: #d655a1;
    /* Pink from your logo */
    --gradient: linear-gradient(45deg, var(--primary-purple), var(--primary-pink));
    --background-primary: #221c35;
    /* Restored dark purple background */
    --background-secondary: #242629;
    --card-background: #1e1e21;
    --text-primary: #fffffe;
    --text-secondary: #94a1b2;
    --border-color: #3b3b41;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.7;
    color: var(--text-primary);
    margin: 0;
    padding: 0;
    background-color: var(--background-primary);
    /* This adds the subtle vector pattern back */
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%2330274a' fill-opacity='0.6' fill-rule='evenodd'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

section {
    padding: 80px 0;
    position: relative;
    /* Added for stacking context if needed */
    z-index: 1;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.5em;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1em;
}

h3 {
    font-size: 1.25rem;
    margin-top: 1em;
    margin-bottom: 0.5em;
    font-weight: 600;
    color: var(--text-primary);
}

p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Make section backgrounds solid to sit on top of the body pattern */
.hero-section,
.problem-section,
.solution-section,
.how-it-works-section,
.founder-section,
.final-cta-section {
    background-color: var(--background-primary);
}

.how-it-works-section,
.solution-section,
.final-cta-section {
    background-color: var(--background-secondary);
}

/* Site Header Styles */
.site-header {
    padding: 20px 0;
    background-color: var(--background-primary);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.site-header .container {
    text-align: left;
}

.site-logo-link {
    display: inline-block;
}

.site-branding {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    /* Controls space between logo and text */
    text-decoration: none;
}

.site-logo {
    height: 32px;
    width: auto;
    display: block;
}

.site-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* Hero Section */
.hero-section {
    padding: 60px 0 60px 0;
}

.sub-headline {
    font-size: 1.25rem;
    margin-bottom: 40px;
}

.hero-image {
    max-width: 100%;
    height: auto;
    margin-bottom: 50px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 0 40px -10px rgba(131, 77, 186, 0.4);
    /* <-- Add this line */
}

/* Waitlist Form */
.waitlist-form {
    display: flex;
    justify-content: center;
    max-width: 550px;
    margin: 0 auto;
    gap: 10px;
}

.waitlist-form input[type="email"] {
    flex-grow: 1;
    padding: 15px 20px;
    font-size: 1rem;
    border: 1px solid var(--border-color);
    background-color: var(--background-secondary);
    color: var(--text-primary);
    border-radius: 8px;
    transition: border-color 0.2s;
}

.waitlist-form input[type="email"]:focus {
    outline: none;
    border-color: var(--primary-purple);
}

.waitlist-form button {
    padding: 15px 30px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    background: linear-gradient(45deg, var(--primary-purple), #9d7fe8);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.waitlist-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(127, 90, 240, 0.3);
}

/* Features Grid & Cards */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 60px;
    text-align: left;
}

.feature-card {
    background: var(--card-background);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.feature-card img {
    max-width: 50px;
    height: auto;
    background-color: var(--background-secondary);
    padding: 10px;
    border-radius: 8px;
}

.feature-card p {
    font-size: 1rem;
}

/* Sections with alternating background */
.how-it-works-section,
.solution-section {
    background-color: var(--background-secondary);
}

.step .step-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-purple);
    background: rgba(127, 90, 240, 0.1);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    margin-bottom: 15px;
}

/* Founder Section */
.founder-container {
    display: flex;
    align-items: center;
    gap: 40px;
    text-align: left;
    max-width: 800px;
}

.founder-headshot {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid var(--border-color);
}

.founder-bio p {
    margin-left: 0;
}

/* Final CTA Section */
.final-cta-section {
    background: var(--background-secondary);
    border-top: 1px solid var(--border-color);
    padding-bottom: 80px;
}

.final-cta-section h2 {
    color: var(--text-primary);
}

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

    h2 {
        font-size: 2rem;
    }

    .founder-container {
        flex-direction: column;
        text-align: center;
    }

    .founder-bio p {
        margin-left: auto;
        margin-right: auto;
    }
}

/* Add these new styles to your CSS file */
.hero-title-group {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px; /* Adjust the space between the logo and title */
    margin-bottom: 1em;
}

/* Add this new style to your CSS */
.hero-logo {
    height: 160px; /* This creates a clean, medium size */
    width: auto;
    margin-bottom: 0px; /* Adds space between the logo and the title below it */
}

/* Adjust the h1 margin to work with the new layout */
h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0; /* Resetting the original margin */
}

/* Media query for smaller screens */
@media (max-width: 768px) {
    .hero-title-group {
        flex-direction: column; /* Stacks the logo on top of the title */
    }

    h1 {
        font-size: 2.5rem;
    }
}