/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #2d3748;
    background-color: #ffffff;
    overflow-x: hidden;
}

svg {
    user-select: none;
}

:root {
    --shadow-grey: rgba(100, 100, 100, 0.15);
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 700;
}

h1 {
    font-size: 3rem;
    color: #1a202c;
}

h2 {
    font-size: 2.25rem;
    color: #1a202c;
    margin-bottom: 2rem;
    text-align: center;
}

h3 {
    font-size: 1.25rem;
    color: #2d3748;
}

p {
    margin-bottom: 1rem;
    color: #4a5568;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.nav-left {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
}

.logo {
    max-width: 100%;
    height: auto;
    max-height: 2rem;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: #2d3748;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle:hover {
    color: var(--primary-color);
}

.theme-toggle svg {
    width: 18px;
    height: 18px;
}

.theme-toggle-desktop {
    display: flex;
}

.theme-toggle-mobile {
    display: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    flex-direction: row;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.nav-links a {
    text-decoration: none;
    color: #2d3748;
    font-weight: 500;
    transition: color 0.3s;
}

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

.btn-nav {
    background: var(--primary-color);
    color: white !important;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
}

.btn-nav:hover {
    background: var(--primary-dark);
    color: white !important;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: #2d3748;
    transition: color 0.3s;
    margin-left: auto;
}

.hamburger:hover {
    color: var(--primary-color);
}

.hamburger svg {
    width: 24px;
    height: 24px;
}

sup {
    font-size: 0.6em;
    vertical-align: super;
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.375rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px var(--shadow-grey);
    cursor: pointer;
}

section.cta .btn-primary {
    background-color: #1a202c;
    color: white;
    border: none;
    font-weight: 700;
}

section.cta .btn-primary:hover {
    background-color: #0f1419;
    color: white;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
    background-color: #f7fafc;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: #edf2f7;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* Page Content Wrapper */
.page-content {
    position: relative;
    /* z-index: 2; */
    background: white;
    /* margin-top: 60px; */
    /* pointer-events: none; */
}

.page-content > * {
    pointer-events: auto;
}

/* Hero Anchor */
#hero {
    scroll-margin-top: 60px;
}

/* Hero Section */
.hero {
    background: url('oscillate2.svg') no-repeat center / cover,
                linear-gradient(135deg, var(--hero-bg-light) 0%, var(--hero-bg-dark) 100%);
    /* position: sticky; */
    /* top: 60px; */
    width: 100%;
    display: block;
    padding: 120px 0 80px;
    margin-top: 60px;
    /* z-index: 0; */
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    /* gap: 4rem; */
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.hero-content h1 {
    font-size: 2.75rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #1a202c;
}

.subtitle {
    font-size: 1.25rem;
    color: #4a5568;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-content .subtitle {
    max-width: 30rem;
}

.trial-note {
    font-size: 0.875rem;
    /* color: #718096; */
    margin-top: 1.5rem;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    margin-top: 2rem;
}

.app-store-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    user-select: none;
    width: fit-content;
    height: fit-content;
}

.app-store-badge {
    max-height: 3.26rem;
    display: block;
    object-fit: contain;
    user-select: none;
}

.hero-cta .btn {
    display: flex;
    align-items: center;
}

/* Phone Mockup */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    width: 280px;
    height: 560px;
    background: #000;
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 55%;
    height: 25px;
    background: #000;
    border-radius: 0 0 40px 40px;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 32px;
    /* overflow: hidden; */
    display: flex;
    flex-direction: column;
    padding: 25px 15px 15px;
    gap: 10px;
}

.phone-header {
    font-size: 0.95rem;
    color: #1a202c;
    padding: 0 15px 10px 15px;
    text-align: center;
}

.message {
    padding: 10px 15px;
    border-radius: 18px;
    font-size: 0.875rem;
    line-height: 1.4;
    max-width: 85%;
    opacity: 0;
    word-wrap: break-word;
}

.message.incoming {
    background: #e2e8f0;
    color: #1a202c;
    align-self: flex-start;
}

.message.outgoing {
    background: var(--primary-color);
    color: white;
    align-self: flex-end;
}

/* Sections Spacing */
section {
    padding: 80px 0;
}

section.problem {
    background-color: #f7fafc;
}

section.how-it-works {
    background-color: #ffffff;
    padding-bottom: 0;
}

section.social-proof {
    background-color: #f7fafc;
}

section.cta {
    background-image: url('oscillate.svg'), linear-gradient(135deg, var(--primary-color) 0%, var(--gradient-end) 100%);
    background-repeat: no-repeat;
    background-size: cover, auto;
    background-position: center -100px, center;
    color: white;
    text-align: center;
    padding: 100px 20px;
}

section.cta h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

section.cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

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

.cta-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: fit-content;
    margin: 0 auto;
}

.cta-note {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    margin-bottom: 0;
}

/* Problem Section */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.problem-card {
    border: 1px solid #e2e8f0;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.problem-card .icon {
    font-size: 3rem;
    margin-bottom: 0;
}

.problem-card .icon svg {
    width: 4rem;
    height: auto;
    fill: var(--primary-color);
}


.problem-card h3 {
    margin-bottom: 0.5rem;
    color: #1a202c;
}

.problem-card p {
    color: #4a5568;
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* How It Works */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 3rem;
}

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

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.step h3 {
    color: #1a202c;
    margin-bottom: 0.5rem;
}

.step p {
    color: #4a5568;
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Features Section */
.features-grid {
    text-align: center;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature {
    border: 1px solid #e2e8f0;
    padding: 2rem 2rem 0 2rem;
    background: #f7fafc;
    border-radius: 12px;
    /* border-left: 4px solid var(--primary-color); */
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 0rem;
    display: block;
}

.feature-icon svg {
    width: 4rem;
    height: auto;
    fill: var(--primary-color);
}

.feature h3 {
    color: #1a202c;
    margin-bottom: 0.75rem;
}

.feature p {
    color: #4a5568;
    font-size: 0.95rem;
}

/* Benefits Section */
.benefits-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-item {
    border: 1px solid #e2e8f0;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.benefit-item h3 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.benefit-item p {
    color: #4a5568;
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Audience Cards */
.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.audience-card {
    border: 1px solid #e2e8f0;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    /* border-top: 4px solid var(--primary-color); */
}

.audience-card h3 {
    color: #1a202c;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.audience-card p {
    color: #4a5568;
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Pricing Section */
.pricing {
    background-color: #f7fafc;
    padding-top: 0;
}

.pricing-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: #4a5568;
    margin-bottom: 3rem;
}

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

.pricing-card {
    text-align: center;
    border: 1px solid #e2e8f0;
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 2px solid transparent;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card.featured {
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px var(--shadow-grey);
    transform: scale(1.02);
}

.pricing-card h3 {
    color: #1a202c;
    margin: .5rem;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.price span {
    font-size: 1rem;
    color: #718096;
    font-weight: 400;
}

.price-note {
    color: #718096;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 0;
    color: #4a5568;
    font-size: 0.95rem;
}

.pricing-footer {
    text-align: center;
    color: #718096;
    font-size: 0.875rem;
}

.badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

/* FAQ Section */
.faq {
    background-color: #ffffff;
}

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

.faq-item {
    border: 1px solid #e2e8f0;
    padding: 2rem;
    background: #f7fafc;
    border-radius: 12px;
}

.faq-item h3 {
    color: #1a202c;
    font-size: 1.05rem;
    margin-bottom: 0.75rem;
}

.faq-item p {
    color: #4a5568;
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Footer */
.footer {
    background-color: #1a202c;
    color: white;
    padding: 3rem 0 1rem;
    position: relative;
    z-index: 2;
}

.footer-branding {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.footer-branding p {
    margin: 0;
    color: #a0aec0;
    font-size: 0.875rem;
}

.footer-content {
    display: flex;
    gap: 3rem;
    margin-bottom: 2rem;
    justify-content: space-between;
}

.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
    font-weight: 700;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #cbd5e0;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: white;
}

.footer-logo {
    height: auto;
    width: auto;
    max-width: 8rem;
}

.footer-section p {
    color: #cbd5e0;
    font-size: 0.95rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    color: #a0aec0;
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-cta {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

    .app-store-badge {
        width: 100%;
        height: auto;
    }

    .app-store-link {
        justify-content: center;
        margin: 0 auto;
    }

    .nav-right {
        gap: 0.5rem;
    }

    .theme-toggle-desktop {
        display: none;
    }

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

    .nav-links {
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background: white;
        gap: 0;
        overflow: hidden;
        transition: opacity 0.3s ease;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        opacity: 0;
        pointer-events: none;
        z-index: 999;
        display: flex;
    }

    .nav-links.active {
        opacity: 1;
        pointer-events: auto;
    }

    .nav-links li {
        padding: 1rem 20px;
        border-bottom: 1px solid #edf2f7;
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-links a {
        display: block;
    }

    .btn-nav {
        margin: 0;
    }

    .hamburger {
        display: block;
    }

    .hero .container {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .hero {
        padding: 60px 60px 0 60px;
        background: url('oscillate2.svg') no-repeat center 340px / 150%,
                    linear-gradient(135deg, var(--hero-bg-light) 0%, var(--hero-bg-dark) 100%);
    }

    .hero-content {
        text-align: center;
        padding: 0 20px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content .btn {
        display: block;
        margin: 1rem auto 0 auto;
    }

    .hero .container {
        padding: 0;
    }

    .hero-visual {
        display: flex;
        justify-content: center;
        /* margin-top: 2rem; */
        margin-bottom: 0;
    }

    .phone-container {
        width: 100%;
        height: 380px;
        overflow-x: hidden;
        border-radius: 0;
        pointer-events: none;
    }

    .phone-mockup {
        width: 280px;
        height: 560px;
        margin: 40px auto;
    }

    .phone-screen {
        padding: 30px 12px 12px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .problem-grid,
    .steps,
    .features-grid,
    .benefits-list,
    .audience-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .cta-content {
        max-width: 100%;
        padding: 0 20px;
    }

    .cta-buttons {
        width: 100%;
        max-width: 100%;
    }

    .cta-buttons .btn {
        margin: 0 auto;
    }

    section {
        padding: 60px 0;
    }

    section.cta {
        padding: 80px 20px;
    }
}

@media (max-width: 700px) {
    .footer-content {
        display: block;
    }

    .footer-section {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    .footer-logo {
        max-width: 5rem;
    }

    .navbar {
        padding: 0.75rem 0;
    }

    .nav-container {
        flex-direction: row;
        gap: 1rem;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .logo {
        height: 30px;
    }

    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.25rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .hero {
        padding: 40px 0 0 0;
    }

    .phone-mockup {
        width: 240px;
        height: 480px;
    }

    .feature,
    .benefit-item,
    .audience-card,
    .pricing-card,
    .problem-card,
    .faq-item {
        padding: 1.5rem;
    }

    .pricing-cards {
        gap: 1rem;
    }

    section {
        padding: 40px 0;
    }

    section.cta {
        padding: 60px 15px;
    }

    section.cta h2 {
        font-size: 1.5rem;
    }
}
