/* ===================================
   SEESHOP LANDING PAGE
   Brand tokens mirror the app's COLORS constants (src/constants/index.ts)
   =================================== */

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

:root {
    /* Color palette — matches the mobile app */
    --primary-color: #FF6B35;
    --primary-dark: #E85A28;
    --secondary-color: #F7931E;
    --accent-color: #FFD23F;
    --text-dark: #212529;
    --text-light: #6C757D;
    --bg-light: #F8F9FA;
    --bg-white: #FFFFFF;
    --border-color: #DEE2E6;
    --success-color: #28A745;
    --error-color: #DC3545;
    --warning-color: #FFC107;

    /* Scale tokens */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);
    --transition: 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

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

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

/* ===================================
   HEADER / NAV
   =================================== */
.header {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo img {
    display: block;
    height: 42px;
    width: auto;
}

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

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color var(--transition);
}

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

.btn-primary {
    background: var(--primary-color);
    color: white !important;
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-sm);
    transition: background var(--transition);
    border: none;
    font-weight: 600;
    cursor: pointer;
}

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

.btn-secondary {
    display: inline-block;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
    transition: background var(--transition), color var(--transition);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

/* Hamburger button — hidden on desktop */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-dark);
    margin: 5px 0;
    transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}
.nav-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===================================
   HERO
   =================================== */
.hero {
    background: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
    color: white;
    padding: 3rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="white" opacity="0.1"/></svg>');
    opacity: 0.3;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

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

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.btn-large {
    display: inline-block;
    background: white;
    color: var(--primary-color);
    padding: 1rem 2.5rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.125rem;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
    text-align: center;
    border: 2px solid white;
}

.btn-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    background: transparent;
    color: white;
}

.hero-note {
    font-size: 0.875rem;
    opacity: 0.9;
}

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

.hero-image img {
    max-height: 500px;
    width: auto;
    height: auto;
    border-radius: 24px;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
}

/* ===================================
   SECTIONS (shared)
   =================================== */
.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

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

/* ===================================
   DEMO VIDEO
   =================================== */
.demo-video {
    padding: 4rem 0;
    background: var(--bg-white);
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.video-container iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-lg);
}

/* ===================================
   FEATURES
   =================================== */
.features {
    padding: 5rem 0;
    background: var(--bg-light);
}

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

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
}

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

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

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

/* ===================================
   HOW IT WORKS
   =================================== */
.how-it-works {
    padding: 5rem 0;
    background: white;
}

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

.steps-gap {
    margin-top: 4rem;
}

.step {
    text-align: center;
}

.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;
    margin: 0 auto 1rem;
}

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

.step p {
    color: var(--text-light);
}

/* ===================================
   DOWNLOAD
   =================================== */
.download {
    padding: 5rem 0;
    background: var(--bg-light);
}

.download-buttons-container {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin: 3rem 0 0;
}

.btn-download-app {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    background: #1a1a1a;
    color: white;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: transform var(--transition), box-shadow var(--transition);
    min-width: 220px;
    box-shadow: var(--shadow-md);
}

.btn-download-app:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.download-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.btn-download-app div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.download-label {
    font-size: 11px;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.download-platform {
    font-size: 18px;
    font-weight: 700;
}

/* ===================================
   FAQ
   =================================== */
.faq {
    padding: 5rem 0;
    background: white;
}

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

.faq-item {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: var(--radius-lg);
}

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

.faq-item p {
    color: var(--text-light);
}

.faq-item a {
    color: var(--primary-color);
    font-weight: 600;
}

/* ===================================
   ABOUT
   =================================== */
.about {
    padding: 5rem 0;
    background: var(--bg-light);
}

.about-content {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
    align-items: start;
    max-width: 950px;
    margin: 0 auto;
}

.about-photo {
    text-align: center;
}

.about-photo img {
    width: 100%;
    max-width: 280px;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.about-photo-caption {
    margin-top: 0.75rem;
    font-weight: 600;
    color: var(--text-light);
    font-size: 0.95rem;
}

.about-text p {
    margin-bottom: 1.25rem;
    color: var(--text-dark);
}

.about-link {
    margin-top: 0.5rem;
}

/* ===================================
   CONTACT
   =================================== */
.contact {
    padding: 5rem 0;
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
    align-items: start;
}

.contact-form {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-field {
    margin-bottom: 1.25rem;
    display: flex;
    flex-direction: column;
}

.form-field label {
    font-weight: 600;
    margin-bottom: 0.4rem;
    font-size: 0.95rem;
}

.form-field input,
.form-field select,
.form-field textarea {
    padding: 0.85rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-family: inherit;
    background: white;
    transition: border-color var(--transition);
}

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

/* Honeypot — visually gone, still in the DOM for bots */
.form-gotcha {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.contact-submit {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.05rem;
    border-radius: var(--radius-sm);
}

.form-status {
    margin-top: 1rem;
    font-weight: 600;
    min-height: 1.5rem;
}

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

.form-status.error {
    color: var(--error-color);
}

.contact-aside h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contact-aside p {
    color: var(--text-light);
    margin-bottom: 1.75rem;
}

.contact-aside a {
    color: var(--primary-color);
    font-weight: 600;
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-logo {
    margin-bottom: 0.5rem;
    filter: brightness(0) invert(1);
}

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

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
}

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

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

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color var(--transition);
}

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

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    font-size: 1.5rem;
}

.social-links a {
    color: rgba(255, 255, 255, 0.8);
}

.social-links a:hover {
    color: white;
}

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

/* ===================================
   LEGAL PAGES (privacy.html / terms.html)
   =================================== */
.legal {
    max-width: 780px;
    margin: 0 auto;
    padding: 3rem 20px 5rem;
}

.legal h1 {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.legal .legal-updated {
    color: var(--text-light);
    margin-bottom: 2.5rem;
}

.legal h2 {
    font-size: 1.4rem;
    margin: 2.25rem 0 0.75rem;
    color: var(--text-dark);
}

.legal p,
.legal li {
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.legal ul {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal a {
    color: var(--primary-color);
    font-weight: 600;
}

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

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-md);
        border-top: 1px solid var(--border-color);
        z-index: 1000;
    }

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

    .nav-menu a {
        padding: 12px 0;
        border-bottom: 1px solid var(--border-color);
        text-align: center;
        width: 100%;
    }

    .nav-menu a:last-child {
        border-bottom: none;
    }

    .hero {
        padding: 2rem 0;
    }

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

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

    .hero-image img {
        max-height: 420px;
    }

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

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

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

    .about-text {
        text-align: left;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .download-buttons-container {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .btn-download-app {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }

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

    .btn-large {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
}
