/* Root variables matching SkillSnack app theme */
:root {
    --primary-background: #ebf8f6;
    --primary-text: #2e4a54;
    --accent-strawberry: #fa6666;
    --accent-orange: #ffc74d;
    --accent-mint: #99ebe0;
    --card-background: #ffffff;
    --shadow-color: rgba(46, 74, 84, 0.1);
    --border-radius: 20px;
    --small-radius: 12px;
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--primary-background);
    color: var(--primary-text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background-color: var(--card-background);
    box-shadow: 0 2px 20px var(--shadow-color);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 10px;
}

.nav-logo {
    width: auto;
    height: 40px;
    border-radius: var(--small-radius);
    box-shadow: 0 2px 10px var(--shadow-color);
    object-fit: contain;
}

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

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--primary-text);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-strawberry);
}

.cta-button {
    background-color: var(--accent-strawberry);
    color: white !important;
    padding: 0.7rem 1.5rem;
    border-radius: var(--small-radius);
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(250, 102, 102, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(250, 102, 102, 0.4);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-text);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background-color: var(--card-background);
    box-shadow: 0 10px 30px var(--shadow-color);
    z-index: 999;
    padding: 2rem;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-link {
    text-decoration: none;
    color: var(--primary-text);
    font-weight: 500;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.highlight {
    color: var(--accent-strawberry);
    position: relative;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--primary-text);
    opacity: 0.8;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.btn {
    padding: 1rem 2rem;
    border-radius: var(--small-radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background-color: var(--accent-strawberry);
    color: white;
    box-shadow: 0 6px 25px rgba(250, 102, 102, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(250, 102, 102, 0.4);
}

.btn-secondary {
    background-color: var(--card-background);
    color: var(--primary-text);
    border: 2px solid var(--accent-mint);
}

.btn-secondary:hover {
    background-color: var(--accent-mint);
    transform: translateY(-3px);
}

.hero-stats {
    display: flex;
    gap: 3rem;
}

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

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-strawberry);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--primary-text);
    opacity: 0.7;
}

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

.phone-mockup {
    width: 300px;
    height: 300px;
    background: var(--card-background);
    border-radius: 50%;
    padding: 20px;
    box-shadow: 0 20px 60px var(--shadow-color);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.app-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.floating-card {
    position: absolute;
    background: var(--card-background);
    padding: 1rem 1.5rem;
    border-radius: var(--small-radius);
    box-shadow: 0 10px 30px var(--shadow-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: float 3s ease-in-out infinite;
}

.card-icon {
    font-size: 1.5rem;
}

.card-text {
    font-weight: 600;
    color: var(--primary-text);
}

.card-1 {
    top: 10%;
    left: -20%;
    animation-delay: 0s;
}

.card-2 {
    top: 50%;
    right: -20%;
    animation-delay: 1s;
}

.card-3 {
    bottom: 10%;
    left: -10%;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Features Section */
.features {
    padding: 80px 0;
    background-color: var(--card-background);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--primary-text);
    opacity: 0.8;
}

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

.feature-card {
    background: var(--primary-background);
    padding: 2rem;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow-color);
    border-color: var(--accent-mint);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--accent-orange);
    border-radius: var(--small-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
}

.feature-card:nth-child(even) .feature-icon {
    background: var(--accent-strawberry);
}

.feature-card:nth-child(3n) .feature-icon {
    background: var(--accent-mint);
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.feature-description {
    color: var(--primary-text);
    opacity: 0.8;
    line-height: 1.8;
}

/* How It Works Section */
.how-it-works {
    padding: 80px 0;
    background-color: var(--primary-background);
}

.steps-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
}

.step {
    flex: 1;
    text-align: center;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--accent-strawberry);
    color: white;
    font-size: 2rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 10px 30px rgba(250, 102, 102, 0.3);
}

.step:nth-child(3) .step-number {
    background: var(--accent-orange);
    box-shadow: 0 10px 30px rgba(255, 199, 77, 0.3);
}

.step:nth-child(5) .step-number {
    background: var(--accent-mint);
    box-shadow: 0 10px 30px rgba(153, 235, 224, 0.3);
}

.step-connector {
    flex: 0.5;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-strawberry), var(--accent-orange));
    position: relative;
    top: -40px;
}

.step-connector:last-of-type {
    background: linear-gradient(90deg, var(--accent-orange), var(--accent-mint));
}

.step-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.step-description {
    color: var(--primary-text);
    opacity: 0.8;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background-color: var(--card-background);
}

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

.testimonial-card {
    background: var(--primary-background);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px var(--shadow-color);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow-color);
}

.stars {
    color: var(--accent-orange);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author strong {
    display: block;
    margin-bottom: 0.25rem;
}

.testimonial-author span {
    color: var(--primary-text);
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background-color: var(--primary-background);
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    background: var(--card-background);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 40px var(--shadow-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--primary-text);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--accent-mint);
    border-radius: var(--small-radius);
    font-size: 1rem;
    font-family: inherit;
    color: var(--primary-text);
    background-color: var(--card-background);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-strawberry);
    box-shadow: 0 0 0 3px rgba(250, 102, 102, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-status {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: var(--small-radius);
    text-align: center;
    display: none;
    font-weight: 500;
}

.form-status.success {
    background-color: var(--accent-mint);
    color: var(--primary-text);
    display: block;
}

.form-status.error {
    background-color: var(--accent-strawberry);
    color: white;
    display: block;
}

#submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Download Section */
.download {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--accent-strawberry), var(--accent-orange));
    text-align: center;
    position: relative;
    overflow: hidden;
}

.download::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.download-content {
    position: relative;
    z-index: 1;
}

.download-title {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
}

.download-title .highlight {
    color: var(--accent-mint);
}

.download-subtitle {
    font-size: 1.25rem;
    color: white;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.download-buttons {
    margin-bottom: 1rem;
}

.app-store-button img {
    height: 60px;
    transition: transform 0.3s ease;
}

.app-store-button:hover img {
    transform: scale(1.05);
}

.download-note {
    color: white;
    opacity: 0.8;
}

/* Waitlist Form Styles */
.waitlist-form {
    max-width: 500px;
    margin: 0 auto;
}

.waitlist-input-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.waitlist-input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--small-radius);
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.waitlist-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.waitlist-input:focus {
    outline: none;
    border-color: var(--accent-mint);
    background-color: rgba(255, 255, 255, 0.15);
}

.btn-waitlist {
    background-color: var(--accent-mint);
    color: var(--primary-text);
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--small-radius);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-waitlist:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(153, 235, 224, 0.4);
}

.btn-waitlist:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

#waitlist-status {
    margin-top: 1rem;
}

#waitlist-status.success {
    background-color: rgba(153, 235, 224, 0.2);
    border: 1px solid var(--accent-mint);
}

#waitlist-status.error {
    background-color: rgba(250, 102, 102, 0.2);
    border: 1px solid var(--accent-strawberry);
}

@media (max-width: 768px) {
    .waitlist-input-group {
        flex-direction: column;
    }
    
    .waitlist-input,
    .btn-waitlist {
        width: 100%;
    }
}

/* Footer */
.footer {
    background-color: var(--primary-text);
    color: white;
    padding: 3rem 0 2rem;
}

.footer-content {
    text-align: center;
}

.footer-brand {
    margin-bottom: 2rem;
}

.footer-logo {
    width: auto;
    height: 50px;
    border-radius: var(--small-radius);
    margin-bottom: 1rem;
    object-fit: contain;
}

.footer-tagline {
    opacity: 0.8;
    margin-bottom: 2rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.footer-link {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

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

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.6;
}

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

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-menu.active {
        display: flex;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

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

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

    .floating-card {
        display: none;
    }

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

    .steps-container {
        flex-direction: column;
        gap: 3rem;
    }

    .step-connector {
        display: none;
    }

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

    .section-title {
        font-size: 2rem;
    }

    .download-title {
        font-size: 2rem;
    }
}