/* ═══════════════════════════════════════════
   1MinuteReel — Landing Page Styles
   ═══════════════════════════════════════════ */

:root {
    --color-primary: #6366f1;
    --color-primary-dark: #4f46e5;
    --color-primary-light: #818cf8;
    --color-primary-bg: #eef2ff;
    --color-bg: #ffffff;
    --color-bg-alt: #f8fafc;
    --color-text: #0f172a;
    --color-text-secondary: #475569;
    --color-text-light: #94a3b8;
    --color-border: #e2e8f0;
    --color-success: #22c55e;
    --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --max-width: 1140px;
}

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

html { font-size: 16px; scroll-behavior: smooth; }

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

a { color: var(--color-primary); text-decoration: none; }
img { max-width: 100%; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.text-secondary { color: var(--color-text-secondary); }
.text-light { color: var(--color-text-light); }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.w-full { width: 100%; }

/* ── Chrome Warning ── */
.chrome-warning {
    background: #fef3c7;
    color: #92400e;
    text-align: center;
    padding: 10px 16px;
    font-size: 0.875rem;
    font-weight: 500;
    position: relative;
}
.chrome-warning.hidden { display: none; }
.chrome-warning button {
    background: none;
    border: none;
    color: #92400e;
    font-size: 1.25rem;
    cursor: pointer;
    margin-left: 12px;
    vertical-align: middle;
    line-height: 1;
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    font-size: 0.875rem;
    font-weight: 600;
    border: 1px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s ease;
    text-decoration: none;
    line-height: 1.2;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,0.15); text-decoration: none; }

.btn-primary { background: var(--color-primary); color: #fff; }
.btn-primary:hover { background: var(--color-primary-dark); color: #fff; }

.btn-secondary { background: #fff; color: var(--color-text); border-color: var(--color-border); }
.btn-secondary:hover { background: #f8fafc; color: var(--color-text); }

.btn-lg { padding: 14px 28px; font-size: 1rem; }
.btn-xl { padding: 18px 40px; font-size: 1.125rem; border-radius: 12px; }

/* ── Header ── */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--color-border);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}
.logo {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--color-primary);
    text-decoration: none;
}
.nav {
    display: flex;
    align-items: center;
    gap: 28px;
}
.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: color 0.15s;
}
.nav-link:hover { color: var(--color-text); text-decoration: none; }

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--color-text);
    border-radius: 1px;
    transition: all 0.2s;
}

/* ── Hero ── */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(180deg, var(--color-primary-bg) 0%, var(--color-bg) 100%);
}
.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.hero-badge {
    display: inline-block;
    padding: 4px 12px;
    background: var(--color-primary-bg);
    color: var(--color-primary);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 20px;
    margin-bottom: 16px;
}
.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
}
.hero-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-secondary);
    max-width: 480px;
    margin-bottom: 32px;
    line-height: 1.7;
}
.hero-cta-note {
    font-size: 0.75rem;
    color: var(--color-text-light);
    margin-top: 12px;
}

/* Hero Phone Mockup */
.hero-phone {
    width: 280px;
    height: 560px;
    background: #000;
    border-radius: 36px;
    padding: 12px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
    margin: 0 auto;
}
.hero-phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 24px;
}
.hero-demo-hook {
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    margin-bottom: 40px;
    line-height: 1.3;
}
.hero-demo-captions {
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    text-align: center;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.caption-active {
    background: rgba(255, 255, 0, 0.4);
    padding: 2px 6px;
    border-radius: 4px;
}

/* ── Sections ── */
.section {
    padding: 100px 0;
}
.section-alt {
    background: var(--color-bg-alt);
}
.section-header {
    text-align: center;
    margin-bottom: 60px;
}
.section-header h2 {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 12px;
}
.section-header p {
    font-size: 1.125rem;
    color: var(--color-text-secondary);
}

/* ── Features Grid ── */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.feature-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.2s;
}
.feature-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    border-color: var(--color-primary-light);
    transform: translateY(-4px);
}
.feature-icon {
    font-size: 32px;
    margin-bottom: 16px;
}
.feature-card h3 {
    font-size: 1.125rem;
    margin-bottom: 8px;
}
.feature-card p {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* ── Steps ── */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.step-card {
    text-align: center;
    padding: 24px;
}
.step-number {
    width: 48px;
    height: 48px;
    background: var(--color-primary);
    color: #fff;
    font-size: 1.25rem;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}
.step-card h3 {
    font-size: 1rem;
    margin-bottom: 8px;
}
.step-card p {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
}

/* ── Pricing ── */
.pricing-single {
    max-width: 520px;
    margin: 0 auto;
}
.pricing-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 40px 32px;
    position: relative;
    text-align: center;
}
.pricing-card-featured {
    border-color: var(--color-primary);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.15);
}
.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-primary);
    color: #fff;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}
.pricing-card h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}
.pricing-price {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 4px;
}
.pricing-price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--color-text-secondary);
}
.pricing-period {
    font-size: 0.875rem;
    color: var(--color-text-light);
    margin-bottom: 24px;
}
.pricing-alt-options {
    margin: 16px 0 24px;
    padding: 12px;
    background: var(--color-bg-alt);
    border-radius: 8px;
}
.pricing-features {
    list-style: none;
    margin-bottom: 0;
    text-align: left;
}
.pricing-features li {
    padding: 8px 0;
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    border-bottom: 1px solid var(--color-border);
}
.pricing-features li:last-child { border-bottom: none; }

/* ── Storage Add-ons ── */
.storage-addons {
    margin-top: 32px;
    text-align: center;
}
.storage-addons h4 {
    font-size: 1.125rem;
    margin-bottom: 4px;
}
.storage-table {
    width: 100%;
    margin-top: 16px;
    border-collapse: collapse;
    font-size: 0.875rem;
}
.storage-table th,
.storage-table td {
    padding: 10px 16px;
    text-align: center;
    border-bottom: 1px solid var(--color-border);
}
.storage-table th {
    font-weight: 600;
    color: var(--color-text);
    background: var(--color-bg-alt);
}
.storage-table td {
    color: var(--color-text-secondary);
}

/* ── Social Proof ── */
.proof-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.proof-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 24px;
}
.proof-card p {
    font-size: 0.9375rem;
    font-style: italic;
    margin-bottom: 12px;
    line-height: 1.6;
}

/* ── CTA Section ── */
.cta-section {
    background: linear-gradient(135deg, var(--color-primary-bg), #ddd6fe);
}

/* ── Footer ── */
.footer {
    padding: 48px 0;
    border-top: 1px solid var(--color-border);
}
.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}
.footer-links {
    display: flex;
    gap: 24px;
}
.footer-links a {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
}
.footer-links a:hover { color: var(--color-text); text-decoration: none; }

/* ── Responsive ── */
@media (max-width: 1024px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav { display: none; }
    .nav.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: #fff;
        border-bottom: 1px solid var(--color-border);
        padding: 16px 24px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }
    .mobile-menu-btn { display: flex; }

    .hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .hero h1 { font-size: 2.25rem; }
    .hero-subtitle { margin: 0 auto 32px; }

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

    .section { padding: 60px 0; }
    .section-header { margin-bottom: 40px; }
    .section-header h2 { font-size: 1.75rem; }
}
