/* ===== CSS Variables ===== */
:root {
    --black: #000000;
    --white: #ffffff;
    --gray-100: #f5f5f5;
    --gray-200: #e5e5e5;
    --gray-300: #d4d4d4;
    --gray-400: #a3a3a3;
    --gray-500: #737373;
    --gray-600: #525252;
    --gray-700: #404040;
    --gray-800: #262626;
    --gray-900: #171717;
}

/* ===== Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Typography ===== */
h1, h2, h3 {
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 16px 0;
    border-bottom: 1px solid var(--gray-200);
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-icon {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.logo-text {
    font-weight: 500;
    font-size: 1.3rem;
    letter-spacing: 0.2em;
    color: var(--black);
    transition: color 0.2s;
}

.logo:hover .logo-text {
    color: var(--black);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 36px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--black);
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.2s;
}

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

.nav-cta {
    background: var(--black);
    color: var(--white) !important;
    padding: 8px 18px;
    border-radius: 8px;
    font-weight: 600 !important;
    transition: background 0.2s, transform 0.1s !important;
}

.nav-cta:hover {
    background: var(--gray-800);
    transform: translateY(-1px);
}

/* Hamburger menu */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--black);
    margin: 5px 0;
    border-radius: 2px;
    transition: all 0.3s;
}

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

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

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

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 80px;
    max-width: 1200px;
    margin: 0 auto;
    gap: 60px;
}

.hero-text {
    flex: 1;
    max-width: 540px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gray-600);
    margin-bottom: 24px;
    letter-spacing: 0.02em;
}

.hero-badge-dot {
    width: 6px;
    height: 6px;
    background: var(--black);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--black);
    line-height: 1.1;
}

.hero h1 .gradient-text {
    color: var(--black);
    /* keep as plain black for the minimalist theme */
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    background-clip: unset;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--gray-600);
    margin-bottom: 36px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-phones {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    max-width: 500px;
}

/* ===== Phone Mockup ===== */
.phone-mockup {
    width: 280px;
    background: var(--gray-900);
    border-radius: 32px;
    border: 3px solid var(--gray-300);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    position: relative;
    flex-shrink: 0;
}

.phone-mockup img {
    display: block;
    width: 100%;
    height: auto;
}

.phone-mockup.phone-back {
    transform: translateX(-30px) scale(0.9);
    z-index: 0;
}

.phone-mockup.phone-front {
    z-index: 1;
    transform: translateX(30px);
}

.hero-phones-stack {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--black);
    color: var(--white);
    border: 2px solid var(--black);
}

.btn-primary:hover {
    background: var(--gray-800);
    border-color: var(--gray-800);
}

.btn-secondary {
    background: var(--white);
    color: var(--black);
    border: 2px solid var(--gray-300);
}

.btn-secondary:hover {
    border-color: var(--black);
}

/* ===== Features Section ===== */
.features {
    padding: 120px 24px;
    background: var(--gray-100);
}

.section-title {
    text-align: center;
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--black);
}

.section-subtitle {
    text-align: center;
    color: var(--gray-500);
    font-size: 1rem;
    margin-bottom: 60px;
}

/* Feature alternating rows */
.feature-rows {
    display: flex;
    flex-direction: column;
    gap: 80px;
    max-width: 1100px;
    margin: 0 auto;
}

.feature-row {
    display: flex;
    align-items: center;
    gap: 60px;
}

.feature-row:nth-child(even) {
    flex-direction: row-reverse;
}

.feature-row-img {
    flex: 0 0 280px;
}

.feature-phone {
    width: 280px;
    background: var(--gray-900);
    border-radius: 32px;
    border: 3px solid var(--gray-300);
    overflow: hidden;
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.1);
}

.feature-phone img {
    display: block;
    width: 100%;
    height: auto;
}

.feature-row-text {
    flex: 1;
}

.feature-row-text h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--black);
    margin-bottom: 14px;
}

.feature-row-text > p {
    color: var(--gray-600);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.feature-row-text ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-row-text ul li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 10px;
    color: var(--gray-700);
    font-size: 0.95rem;
    line-height: 1.6;
}

.feature-row-text ul li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--gray-400);
    font-weight: 600;
}

/* ===== About Section ===== */
.about {
    padding: 120px 24px;
    background: var(--white);
}

.about-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.about h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    color: var(--black);
    margin-bottom: 24px;
}

.about p {
    color: var(--gray-600);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-lead {
    font-size: 1.15rem;
    color: var(--gray-700);
}

.about-beliefs {
    margin: 40px 0;
    text-align: left;
    background: var(--gray-100);
    border-radius: 16px;
    padding: 32px 36px;
}

.about-beliefs h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 16px;
    text-align: center;
}

.about-beliefs ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.about-beliefs li {
    color: var(--gray-600);
    font-size: 1rem;
    line-height: 1.6;
    padding-left: 24px;
    position: relative;
}

.about-beliefs li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--gray-400);
    font-weight: 700;
}

.about-closing {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--black);
    margin-top: 8px;
    margin-bottom: 24px;
}

.about-contact-btn {
    display: inline-block;
    padding: 14px 36px;
    background: var(--black);
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 50px;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.about-contact-btn:hover {
    opacity: 0.85;
    transform: translateY(-1px);
}

/* ===== FAQ Section ===== */
.faq {
    padding: 120px 24px;
    background: var(--gray-100);
}

.faq-grid {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.2s;
}

.faq-item:hover {
    border-color: var(--gray-400);
}

.faq-item.active {
    border-color: var(--black);
}

.faq-question {
    width: 100%;
    padding: 18px 22px;
    background: transparent;
    border: none;
    color: var(--black);
    font-size: 0.95rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-family: inherit;
}

.faq-icon {
    font-size: 1.25rem;
    color: var(--gray-400);
    transition: all 0.3s;
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--black);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-content {
    padding: 0 22px 18px;
    color: var(--gray-600);
    line-height: 1.7;
    font-size: 0.9rem;
}

/* ===== Waitlist / Download Section ===== */
.download {
    padding: 120px 24px;
    background: var(--black);
    text-align: center;
}

.download h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
}

.download > .container > p {
    color: var(--gray-400);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.waitlist-form {
    display: flex;
    justify-content: center;
    gap: 12px;
    max-width: 480px;
    margin: 0 auto 20px;
}

.waitlist-input {
    flex: 1;
    padding: 14px 18px;
    border: 2px solid var(--gray-700);
    border-radius: 8px;
    background: var(--gray-900);
    color: var(--white);
    font-size: 1rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
}

.waitlist-input::placeholder {
    color: var(--gray-500);
}

.waitlist-input:focus {
    border-color: var(--white);
}

.waitlist-btn {
    padding: 14px 28px;
    background: var(--white);
    color: var(--black);
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.waitlist-btn:hover {
    background: var(--gray-200);
}

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

.waitlist-success {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.waitlist-error {
    color: #ef4444;
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.waitlist-note {
    color: var(--gray-500);
    font-size: 0.85rem;
    margin-top: 8px;
}

/* ===== Footer ===== */
.footer {
    background: var(--white);
    padding: 48px 24px;
    border-top: 1px solid var(--gray-200);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo .logo-icon {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.footer-logo .logo-text {
    font-weight: 300;
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    color: var(--gray-600);
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    color: var(--gray-500);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--black);
}

.copyright {
    color: var(--gray-400);
    font-size: 0.8rem;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        border-bottom: 1px solid var(--gray-200);
        flex-direction: column;
        padding: 20px 24px;
        gap: 16px;
    }

    .nav-links.active {
        display: flex;
    }

    .hero {
        flex-direction: column;
        padding-top: 100px;
        padding-bottom: 60px;
        text-align: center;
        gap: 40px;
    }

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

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

    .hero-phones {
        max-width: 340px;
    }

    .phone-mockup {
        width: 210px;
        border-radius: 26px;
    }

    .phone-mockup.phone-back {
        transform: translateX(-20px) scale(0.88);
    }

    .phone-mockup.phone-front {
        transform: translateX(20px);
    }

    .feature-rows {
        gap: 60px;
    }

    .feature-row,
    .feature-row:nth-child(even) {
        flex-direction: column;
        text-align: center;
        gap: 32px;
    }

    .feature-row-img {
        flex: 0 0 auto;
    }

    .feature-phone {
        width: 240px;
        border-radius: 26px;
        margin: 0 auto;
    }

    .feature-row-text ul li {
        text-align: left;
    }

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

    .waitlist-btn {
        width: 100%;
    }

    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 14px;
    }

    .btn {
        padding: 12px 24px;
    }
}

@media (max-width: 480px) {
    .phone-mockup {
        width: 170px;
        border-radius: 22px;
    }

    .feature-phone {
        width: 200px;
        border-radius: 22px;
    }
}

/* ===== Contact Form ===== */
.contact-section {
    padding: 120px 24px 80px;
    max-width: 600px;
    margin: 0 auto;
    min-height: 100vh;
}

.contact-section h1 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--black);
}

.contact-section .section-subtitle {
    text-align: left;
    margin-bottom: 32px;
}

.contact-form {
    margin-top: 0;
}

.contact-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contact-field {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.contact-field label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 6px;
}

.contact-field .required {
    color: var(--gray-400);
}

.contact-field input,
.contact-field textarea {
    padding: 12px 14px;
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--black);
    background: var(--white);
    outline: none;
    transition: border-color 0.2s;
    width: 100%;
}

.contact-field input:focus,
.contact-field textarea:focus {
    border-color: var(--black);
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
    color: var(--gray-400);
}

.contact-field textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    background: var(--black);
    color: var(--white);
    border: 2px solid var(--black);
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s;
}

.contact-btn:hover {
    background: var(--gray-800);
    border-color: var(--gray-800);
}

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

.contact-success {
    text-align: center;
    padding: 48px 0;
}

.contact-success h2 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    margin-top: 0;
    color: var(--black);
}

.contact-success p {
    color: var(--gray-600);
    font-size: 1.05rem;
}

.contact-error {
    color: #ef4444;
    font-size: 0.95rem;
    margin-top: 8px;
}

.contact-alt {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--gray-200);
    color: var(--gray-500);
    font-size: 0.9rem;
}

.contact-alt a {
    color: var(--black);
    font-weight: 600;
}

@media (max-width: 768px) {
    .contact-row {
        grid-template-columns: 1fr;
    }
}

/* ===== Legal Pages (Privacy/Terms) ===== */
.legal-page {
    padding: 120px 24px 80px;
    max-width: 700px;
    margin: 0 auto;
    min-height: 100vh;
}

.legal-page h1 {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--black);
}

.legal-page .last-updated {
    color: var(--gray-500);
    margin-bottom: 40px;
    font-size: 0.9rem;
}

.legal-page h2 {
    font-size: 1.375rem;
    font-weight: 700;
    margin-top: 48px;
    margin-bottom: 16px;
    color: var(--black);
}

.legal-page h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-top: 28px;
    margin-bottom: 12px;
    color: var(--black);
}

.legal-page p, .legal-page li {
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.legal-page ul, .legal-page ol {
    padding-left: 24px;
    margin-bottom: 16px;
}

.legal-page a {
    color: var(--black);
    text-decoration: underline;
}

.legal-page a:hover {
    color: var(--gray-600);
}

.legal-page strong {
    color: var(--black);
}

.legal-page .warning-box {
    background: var(--gray-100);
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    padding: 20px;
    margin: 28px 0;
}

.legal-page .warning-box p {
    color: var(--gray-700);
    margin-bottom: 0;
}
