/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,600;0,9..144,700;1,9..144,400&display=swap');

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

:root {
    --primary-color: #007AFF;
    --primary-dark: #0051D5;
    --secondary-color: #34C759;
    --text-dark: #1D1D1F;
    --text-light: #6E6E73;
    --bg-light: #F5F5F7;
    --bg-white: #FFFFFF;
    --border-color: #D2D2D7;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.1);
    --font-heading: 'Fraunces', serif;
    --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    background: var(--bg-white);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
}

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

/* Navigation */
.navbar {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.95);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    text-decoration: none;
    font-family: var(--font-heading);
}

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

.logo-icon img {
    width: 1.5rem;
    height: 1.5rem;
    filter: brightness(0) saturate(100%) invert(37%) sepia(93%) saturate(2878%) hue-rotate(200deg) brightness(102%) contrast(104%);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: all 0.3s;
    border-radius: 3px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Hero Section */
.hero {
    padding: 4rem 0 2rem;
    background: linear-gradient(135deg, #F5F5F7 0%, #FFFFFF 100%);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Waitlist Form */
.waitlist-form {
    margin: 2rem 0;
}

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

.email-input {
    flex: 1;
    padding: 1rem 1.25rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.email-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.btn-primary {
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-primary:active {
    transform: translateY(0);
}

.form-message {
    margin-top: 1rem;
    font-size: 0.95rem;
    min-height: 1.5rem;
}

.form-message.success {
    color: var(--secondary-color);
}

.form-message.error {
    color: #FF3B30;
}

.privacy-note {
    margin-top: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

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

.phone-mockup {
    width: 300px;
    height: 600px;
    border: 12px solid var(--text-dark);
    border-radius: 40px;
    background: #000000;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.screenshot-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    color: var(--text-light);
    font-size: 3rem;
}

.screenshot-placeholder p:last-child {
    font-size: 1rem;
    margin-top: 1rem;
}

.app-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 28px;
    display: block;
}

/* Simplicity Section */
.simplicity {
    padding: 4rem 0;
    background: var(--bg-white);
}

.simplicity-content {
    max-width: 650px;
    margin: 0 auto;
    text-align: center;
    padding: 0 2rem;
}

.simplicity-content h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
    line-height: 1.3;
}

.simplicity-content p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-body);
    margin-bottom: 1.5rem;
}

.simplicity-content p:last-child {
    margin-bottom: 0;
}

/* Features Section */
.features {
    padding: 2rem 0 6rem;
    background: var(--bg-white);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
    line-height: 1.2;
}

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

.feature-card {
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 16px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.feature-icon i {
    display: block;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* How It Works Section */
.how-it-works {
    padding: 6rem 0;
    background: linear-gradient(135deg, #F5F5F7 0%, #FFFFFF 100%);
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.step {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

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

.step-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.step-content p {
    color: var(--text-light);
    line-height: 1.6;
}

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

.screenshot-item {
    text-align: center;
}

.screenshot-item .screenshot-placeholder {
    width: 100%;
    height: 500px;
    border-radius: 20px;
    margin-bottom: 1rem;
    font-size: 4rem;
}

.feature-screenshot {
    width: 100%;
    height: auto;
    max-width: 300px;
    border-radius: 20px;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-lg);
}

.screenshot-caption {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Pricing Section */
.pricing {
    padding: 6rem 0;
    background: var(--bg-white);
}

.pricing-subtitle {
    text-align: center;
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

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

.pricing-card {
    padding: 2.5rem;
    background: var(--bg-light);
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    background: linear-gradient(135deg, #007AFF 0%, #0051D5 100%);
    color: white;
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured .plan-name,
.pricing-card.featured .pricing-features li,
.pricing-card.featured .pricing-note {
    color: white;
}

.pricing-card.featured .amount {
    color: white;
}

.pricing-card.featured .period,
.pricing-card.featured .savings {
    color: rgba(255, 255, 255, 0.9);
}

.best-value-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary-color);
    color: white;
    padding: 0.4rem 1.2rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: var(--shadow);
}

.plan-name {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.price {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin-bottom: 1rem;
}

.currency {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

.amount {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.period {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-top: 1.5rem;
}

.savings {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.pricing-features {
    list-style: none;
    margin: 1.5rem 0;
    text-align: left;
}

.pricing-features li {
    padding: 0.6rem 0;
    font-size: 1rem;
    color: var(--text-dark);
}

.pricing-features li i.fa-check {
    color: var(--secondary-color);
    margin-right: 0.75rem;
    font-size: 1rem;
}

.pricing-features li i.fa-xmark {
    color: #FF3B30;
    margin-right: 0.75rem;
    font-size: 1rem;
}

.pricing-card.featured .pricing-features li i.fa-check {
    color: white;
}

.pricing-note {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 1.5rem;
}

.pricing-footer {
    text-align: center;
    color: var(--text-light);
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* CTA Section */
.cta {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
}

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

.cta p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

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

.waitlist-form-inline .email-input {
    background: white;
}

.waitlist-form-inline .btn-primary {
    background: white;
    color: var(--primary-color);
}

.waitlist-form-inline .btn-primary:hover {
    background: var(--bg-light);
}

.cta .form-message {
    color: white;
}

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

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

.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

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

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

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

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

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Page Styles (for FAQ, Support, etc.) */
.page-header {
    padding: 4rem 0 1rem;
    background: linear-gradient(135deg, #F5F5F7 0%, #FFFFFF 100%);
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    line-height: 1.2;
}

.page-header p {
    font-size: 1.25rem;
    color: var(--text-light);
}

.page-content {
    padding: 2rem 0;
    max-width: 800px;
    margin: 0 auto;
}

.page-content h2 {
    font-size: 2rem;
    margin-top: 3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    line-height: 1.2;
}

.page-content h3 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.page-content p {
    margin-bottom: 1rem;
    color: var(--text-light);
    line-height: 1.8;
}

.page-content ul, .page-content ol {
    margin: 1rem 0 1rem 2rem;
    color: var(--text-light);
    line-height: 1.8;
}

.page-content a {
    color: var(--primary-color);
    text-decoration: none;
}

.page-content a:hover {
    text-decoration: underline;
}

/* FAQ Styles */
.faq-item {
    margin-bottom: 2rem;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 12px;
}

.faq-item h3 {
    margin-top: 0;
    color: var(--text-dark);
}

.faq-item h3 i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 2rem auto;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 16px;
}

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

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

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-content {
        position: relative;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-white);
        flex-direction: column;
        gap: 0;
        padding: 0;
        margin: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        border-top: 1px solid var(--border-color);
    }

    .nav-links.active {
        max-height: 300px;
    }

    .nav-links li {
        border-bottom: 1px solid var(--border-color);
    }

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

    .nav-links a {
        display: block;
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }

    .hero {
        padding: 1rem 0 2rem;
    }

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

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

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

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-image {
        order: -1;
    }

    .phone-mockup {
        width: 250px;
        height: 500px;
    }

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

    .simplicity {
        padding: 4rem 0;
    }

    .simplicity-content {
        padding: 0 1.5rem;
    }

    .simplicity-content h2 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .simplicity-content p {
        font-size: 1rem;
    }

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

    .step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

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

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

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

    .pricing-card {
        padding: 2rem;
    }

    .amount {
        font-size: 3rem;
    }

    .page-header {
        padding: 2rem 0 1rem;
    }

    .page-header h1 {
        font-size: 2rem;
        line-height: 1.2;
    }

    .page-header p {
        font-size: 1rem;
    }
}
