:root {
    --color-bg: #FFFBF5;
    --color-text-primary: #1a1a1a;
    --color-text-secondary: #4a4a4a;
    --color-primary: #FF7F50;
    /* Coral */
    --color-primary-hover: #ff6b3d;
    --color-action: #3498db;
    /* Blue for Upload button */
    --color-action-hover: #2980b9;
    --color-border: #e0e0e0;
    --font-family: 'Outfit', sans-serif;
    --spacing-unit: 1rem;
    --container-width: 1200px;
}

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

body {
    font-family: var(--font-family);
    background-color: var(--color-bg);
    color: var(--color-text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

header {
    padding: 1.5rem 0;
}

.logo {
    font-weight: 700;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #2d3436;
    font-style: italic;
}

.hero {
    min-height: 85vh;
    /* Increased slightly for phone mockup */
    display: flex;
    align-items: center;
    padding: 2rem 0 4rem 0;
    background: radial-gradient(circle at 30% 50%, rgba(255, 127, 80, 0.05) 0%, rgba(255, 251, 245, 0) 70%);
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    text-align: left;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #2d3436;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.subheadline {
    font-size: 1.5rem;
    color: var(--color-text-secondary);
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.supporting-text {
    font-size: 1.125rem;
    color: #636e72;
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.waitlist-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
}

.waitlist-form input[type="email"] {
    flex: 1;
    padding: 0.875rem 1.25rem;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

.waitlist-form input[type="email"]:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(255, 127, 80, 0.1);
}

.waitlist-form button {
    padding: 0.875rem 2rem;
    background-color: var(--color-primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
    font-family: inherit;
}

.waitlist-form button:hover {
    background-color: var(--color-primary-hover);
}

.waitlist-form button:active {
    transform: translateY(1px);
}

/* Phone Mockup Styling */
.phone-frame {
    width: 320px;
    background: #fff;
    border-radius: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1), 0 0 0 10px #f0f0f0;
    padding: 1.5rem;
    position: relative;
    border: 8px solid #333;
    /* Dark frame border */
}

/* Simulate clean iPhone-ish look without heavy borders if preferred, 
   but user asked for "Phone frame". Let's make it cleaner. */
.phone-frame {
    width: 340px;
    border: 12px solid #e0e0e0;
    border-radius: 48px;
    background: white;
    overflow: hidden;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.phone-status-bar {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 1.5rem 0.5rem 1.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #333;
}

.phone-screen {
    padding: 1rem 1.5rem 2rem 1.5rem;
}

.phone-screen h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #2d3436;
    font-size: 1.25rem;
}

.user-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.user-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f5f5f5;
}

.user-item:last-child {
    border-bottom: none;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    background-color: #eee;
}

.user-name {
    font-weight: 500;
    color: #2d3436;
    flex: 1;
}

.status-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.status-icon svg {
    width: 24px;
    height: 24px;
}

.status-icon.success {
    color: #2ecc71;
}

.status-icon.success svg {
    fill: none;
    stroke: currentColor;
}

/* Adjusting svg stroke for better visibility */
.status-icon.success circle,
.status-icon.failure circle {
    stroke-width: 1.5;
}

.status-icon.failure {
    color: #bdc3c7;
}

.upload-btn {
    width: 100%;
    padding: 1rem;
    background-color: var(--color-action);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.upload-btn:hover {
    background-color: var(--color-action-hover);
}

.upload-btn:disabled {
    background-color: #bdc3c7;
    /* Gray */
    cursor: not-allowed;
    opacity: 0.8;
}

.upload-btn:disabled:hover {
    background-color: #bdc3c7;
    /* No hover effect */
}

.upload-btn::before {
    content: "↑";
    font-size: 1.2rem;
    font-weight: 800;
}


@media (max-width: 900px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
    }

    .supporting-text {
        margin-left: auto;
        margin-right: auto;
    }

    .waitlist-form {
        margin: 0 auto;
    }

    .hero-visual {
        margin-top: 2rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2.5rem;
    }

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

    .waitlist-form input,
    .waitlist-form button {
        width: 100%;
    }

    .phone-frame {
        width: 100%;
        max-width: 320px;
    }
}

/* How It Works Section */
.how-it-works {
    padding: 6rem 0;
    background-color: var(--color-bg);
    /* Keeping same background for flow, or white if preferred. User image showed cream bg. */
}

.how-it-works h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3436;
    margin-bottom: 1rem;
}

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

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

.step-card {
    background: #fff;
    border-radius: 24px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    /* Subtle shadow */
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.icon-wrapper {
    width: 64px;
    height: 64px;
    background-color: #e3f2fd;
    /* Light blue */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: #1976d2;
    /* Darker blue icon */
}

.step-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d3436;
    margin-bottom: 1rem;
}

.step-card p {
    color: #636e72;
    font-size: 1rem;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .steps-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
}

/* FAQ Section */
.faq-section {
    padding: 4rem 0 8rem 0;
    background-color: var(--color-bg);
}

.faq-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3436;
    margin-bottom: 3rem;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

details {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
}

details:last-child {
    border-bottom: none;
}

summary {
    padding: 1.5rem 0;
    cursor: pointer;
    font-size: 1.25rem;
    font-weight: 600;
    color: #2d3436;
    list-style: none;
    /* Remove default triangle */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

summary::-webkit-details-marker {
    display: none;
}

summary::after {
    content: "";
    width: 12px;
    height: 12px;
    border-right: 2px solid #2d3436;
    border-bottom: 2px solid #2d3436;
    transform: rotate(45deg);
    /* Arrow down */
    transition: transform 0.2s;
    margin-right: 0.5rem;
}

details[open] summary::after {
    transform: rotate(-135deg);
    /* Arrow up */
}

.faq-answer {
    padding-bottom: 1.5rem;
    color: #636e72;
    font-size: 1.125rem;
    line-height: 1.6;
    max-width: 90%;
}

/* Footer */
footer {
    padding: 2rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    text-align: center;
    color: #636e72;
    font-size: 0.9rem;
    background-color: var(--color-bg);
}