/* SommelAI Website Styles */

:root {
    --burgundy: #722F37;
    --gold: #C4A35A;
    --cream: #F5ECD7;
    --warm-white: #FCF9F2;
    --deep-wine: #501921;
    --charcoal: #2D2926;
    --rose: #B76E79;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--charcoal);
    background: var(--warm-white);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, serif;
}

/* ===== COMING SOON PAGE ===== */

.coming-soon-page {
    background: linear-gradient(160deg, var(--deep-wine) 0%, var(--burgundy) 40%, #8B3A42 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cs-container {
    text-align: center;
    padding: 40px 24px;
    max-width: 560px;
    width: 100%;
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

img.cs-logo {
    width: 80px !important;
    height: 80px !important;
    max-width: 80px !important;
    border-radius: 20px !important;
    margin-bottom: 24px;
    object-fit: cover;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.nav-logo-img {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    vertical-align: middle;
    margin-right: 6px;
    object-fit: cover;
}

.cs-title {
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
}

.cs-tagline {
    font-size: 18px;
    color: var(--gold);
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.cs-divider {
    width: 60px;
    height: 2px;
    background: var(--gold);
    margin: 0 auto 24px;
    opacity: 0.6;
}

.cs-description {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255,255,255,0.85);
    margin-bottom: 32px;
}

.cs-badge {
    margin-bottom: 40px;
}

.cs-badge-text {
    display: inline-block;
    padding: 12px 28px;
    border: 1px solid var(--gold);
    border-radius: 30px;
    color: var(--gold);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.cs-email-signup {
    margin-bottom: 32px;
}

.cs-notify {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 12px;
}

.cs-twitter {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 30px;
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}

.cs-twitter:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.cs-form {
    display: flex;
    gap: 8px;
    max-width: 380px;
    margin: 0 auto;
}

.cs-input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    background: rgba(255,255,255,0.1);
    color: #fff;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: border-color 0.2s;
}

.cs-input::placeholder { color: rgba(255,255,255,0.4); }
.cs-input:focus { border-color: var(--gold); }

.cs-submit {
    padding: 12px 24px;
    background: var(--gold);
    color: var(--deep-wine);
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
    font-family: 'Inter', sans-serif;
}

.cs-submit:hover { opacity: 0.9; }

.cs-confirm {
    color: var(--gold);
    font-size: 14px;
    margin-top: 8px;
}

.cs-early-access {
    background: none;
    border: 1px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.5);
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Inter', sans-serif;
}

.cs-early-access:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.cs-footer {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    text-align: center;
}

.cs-footer p {
    font-size: 12px;
    color: rgba(255,255,255,0.3);
}

/* Unlock Modal */
.unlock-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    z-index: 100;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
}

.unlock-overlay.active { display: flex; }

.unlock-modal {
    background: var(--warm-white);
    padding: 40px;
    border-radius: 20px;
    max-width: 380px;
    width: 90%;
    text-align: center;
    position: relative;
}

.unlock-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--charcoal);
    cursor: pointer;
    opacity: 0.4;
}

.unlock-close:hover { opacity: 1; }

.unlock-title {
    font-size: 24px;
    color: var(--burgundy);
    margin-bottom: 8px;
}

.unlock-subtitle {
    font-size: 14px;
    color: var(--charcoal);
    opacity: 0.6;
    margin-bottom: 24px;
}

.unlock-input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--cream);
    border-radius: 10px;
    font-size: 16px;
    text-align: center;
    outline: none;
    transition: border-color 0.2s;
    font-family: 'Inter', sans-serif;
    margin-bottom: 16px;
}

.unlock-input:focus { border-color: var(--gold); }

.unlock-btn {
    width: 100%;
    padding: 14px;
    background: var(--burgundy);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: opacity 0.2s;
}

.unlock-btn:hover { opacity: 0.9; }

.unlock-error {
    display: none;
    color: var(--rose);
    font-size: 13px;
    margin-top: 12px;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-8px); }
    75% { transform: translateX(8px); }
}

.shake { animation: shake 0.3s ease; }

/* ===== SHOWCASE PAGE ===== */

/* Nav */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    transition: background 0.3s, box-shadow 0.3s;
}

.nav.scrolled {
    background: rgba(252, 249, 242, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 20px rgba(0,0,0,0.06);
}

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

.nav-logo {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--burgundy);
    text-decoration: none;
}

.nav-links { display: flex; gap: 28px; }

.nav-links a {
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    color: var(--charcoal);
    opacity: 0.7;
    transition: opacity 0.2s;
}

.nav-links a:hover { opacity: 1; }

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

.hero-content { flex: 1; max-width: 500px; }

.hero-title {
    font-size: 56px;
    font-weight: 700;
    color: var(--burgundy);
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 18px;
    line-height: 1.7;
    color: var(--charcoal);
    opacity: 0.7;
    margin-bottom: 32px;
}

.badge {
    display: inline-block;
    padding: 12px 28px;
    border: 2px solid var(--gold);
    border-radius: 30px;
    color: var(--burgundy);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.hero-visual { flex: 0 0 auto; }

.phone-mock {
    width: 280px;
    height: 560px;
    background: var(--charcoal);
    border-radius: 36px;
    padding: 12px;
    box-shadow: 0 20px 60px rgba(80, 25, 33, 0.2);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(160deg, var(--deep-wine), var(--burgundy));
    border-radius: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-placeholder {
    text-align: center;
    color: var(--gold);
}

.phone-placeholder span { font-size: 48px; }
.phone-placeholder p {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    margin-top: 8px;
    color: rgba(255,255,255,0.8);
}

/* Sections */
.section {
    padding: 100px 24px;
}

.section-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--burgundy);
    text-align: center;
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--charcoal);
    opacity: 0.6;
    text-align: center;
    margin-bottom: 48px;
}

/* How It Works */
.how-it-works { background: var(--cream); }

.steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 20px;
}

.step {
    text-align: center;
    flex: 1;
    max-width: 260px;
    padding: 24px;
}

.step-icon {
    margin-bottom: 16px;
    display: flex;
    justify-content: center;
}

.step h3 {
    font-size: 22px;
    color: var(--burgundy);
    margin-bottom: 10px;
}

.step p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--charcoal);
    opacity: 0.7;
}

.step-arrow {
    display: flex;
    align-items: center;
    padding-top: 24px;
}

/* Features */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}

.feature-card {
    background: var(--cream);
    padding: 28px;
    border-radius: 16px;
    border: 1px solid rgba(196, 163, 90, 0.15);
    transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(80, 25, 33, 0.08);
}

.feature-icon {
    margin-bottom: 14px;
    display: flex;
}

.feature-card h3 {
    font-size: 18px;
    color: var(--burgundy);
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--charcoal);
    opacity: 0.7;
}

/* Sidney */
.sidney { background: linear-gradient(160deg, var(--deep-wine), var(--burgundy)); }

.sidney .section-title { color: #fff; }

.sidney-intro {
    text-align: center;
    font-size: 18px;
    color: var(--gold);
    margin-bottom: 40px;
}

.sidney-quote {
    max-width: 640px;
    margin: 0 auto;
    padding: 32px;
    background: rgba(255,255,255,0.08);
    border-radius: 16px;
    border-left: 3px solid var(--gold);
}

.sidney-quote p {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255,255,255,0.85);
    margin-bottom: 16px;
}

.sidney-quote p:last-child { margin-bottom: 0; }

/* Partners */
.partners { background: var(--cream); }

.partners-text {
    text-align: center;
    font-size: 16px;
    color: var(--charcoal);
    opacity: 0.7;
    max-width: 560px;
    margin: 0 auto 40px;
}

.partners-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.partner-type {
    background: var(--warm-white);
    padding: 24px;
    border-radius: 14px;
    border: 1px solid rgba(196, 163, 90, 0.15);
}

.partner-type h3 {
    font-size: 16px;
    color: var(--burgundy);
    margin-bottom: 6px;
}

.partner-type p {
    font-size: 13px;
    line-height: 1.5;
    color: var(--charcoal);
    opacity: 0.6;
}

.partners-cta {
    display: inline-block;
    padding: 14px 40px;
    background: var(--burgundy);
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    transition: opacity 0.2s;
    margin: 0 auto;
    text-align: center;
}

.partners .section-inner { text-align: center; }
.partners-cta:hover { opacity: 0.9; }

/* Footer */
.footer {
    background: var(--charcoal);
    padding: 48px 24px;
    text-align: center;
}

.footer-inner {
    max-width: 800px;
    margin: 0 auto;
}

.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
}

.footer-brand p {
    font-size: 13px;
    color: rgba(255,255,255,0.4);
    margin-top: 4px;
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 24px;
}

.footer-links a {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    transition: color 0.2s;
}

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

.footer-copy {
    font-size: 12px;
    color: rgba(255,255,255,0.25);
}

/* Fade-in animation */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile */
@media (max-width: 768px) {
    .nav-links { display: none; }

    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 80px;
    }

    .hero-title { font-size: 40px; }

    .phone-mock {
        width: 220px;
        height: 440px;
    }

    .steps { flex-direction: column; align-items: center; }
    .step-arrow { transform: rotate(90deg); padding: 0; }

    .cs-title { font-size: 36px; }
    .cs-form { flex-direction: column; }

    .feature-grid { grid-template-columns: 1fr; }
    .partners-list { grid-template-columns: 1fr; }

    .section { padding: 60px 20px; }
    .section-title { font-size: 28px; }
}

/* Legal Pages */
.legal-page {
    background: var(--warm-white);
}

.legal-container {
    max-width: 720px;
    margin: 0 auto;
    padding: 80px 24px 60px;
}

.legal-back {
    display: inline-block;
    font-size: 14px;
    color: var(--burgundy);
    text-decoration: none;
    margin-bottom: 24px;
}

.legal-back:hover { text-decoration: underline; }

.legal-container h1 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    color: var(--burgundy);
    margin-bottom: 8px;
}

.legal-updated {
    font-size: 13px;
    color: var(--charcoal);
    opacity: 0.5;
    margin-bottom: 32px;
}

.legal-container h2 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    color: var(--burgundy);
    margin-top: 32px;
    margin-bottom: 12px;
}

.legal-container h3 {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--charcoal);
    margin-top: 20px;
    margin-bottom: 8px;
}

.legal-container p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--charcoal);
    margin-bottom: 12px;
}

.legal-container ul {
    margin: 0 0 16px 20px;
    padding: 0;
}

.legal-container li {
    font-size: 15px;
    line-height: 1.7;
    color: var(--charcoal);
    margin-bottom: 6px;
}

.legal-container a {
    color: var(--burgundy);
}

.legal-container strong {
    font-weight: 600;
}
