/* WelcomeSign Common Styles
 * Based on the index.html theme with Bootstrap integration
 */

/* ============================================
   CSS Variables (Theme Colors)
   ============================================ */
:root {
    --navy: #1e3a5f;
    --navy-dark: #152a45;
    --navy-light: #2d4a6f;
    --orange: #f97316;
    --orange-light: #fb923c;
    --orange-glow: rgba(249, 115, 22, 0.2);
    --cream: #fefbf6;
    --warm-white: #fffdf9;
    --text: #1e3a5f;
    --text-light: #5a7a9a;
    --success: #10b981;
    --border: rgba(30, 58, 95, 0.1);
}

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

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--cream);
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3 {
    font-family: 'DM Serif Display', Georgia, serif;
    font-weight: 400;
    line-height: 1.2;
}

/* ============================================
   Navigation
   ============================================ */
nav.ws-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(254, 251, 246, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

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

.logo {
    font-family: 'Nunito', 'DM Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo:hover {
    color: var(--navy);
    text-decoration: none;
}

.logo-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.early-access-badge {
    background: var(--orange);
    color: white;
    padding: 0.35rem 0.75rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.nav-cta {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    color: white;
}

.nav-cta:hover {
    transform: translateY(-1px);
    text-decoration: none;
    color: white;
}

.nav-cta-orange {
    background: var(--orange);
}

.nav-cta-orange:hover {
    background: var(--orange-light);
}

.nav-cta-navy {
    background: var(--navy);
}

.nav-cta-navy:hover {
    background: var(--navy-dark);
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
    font-size: 1rem;
}

.btn-primary,
.btn.btn-primary {
    background: var(--orange);
    color: white;
    box-shadow: 0 4px 14px rgba(249, 115, 22, 0.3);
    border: none;
}

.btn-primary:hover,
.btn.btn-primary:hover {
    background: var(--orange-light);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
}

.btn-secondary,
.btn.btn-secondary {
    background: white;
    color: var(--navy);
    border: 2px solid var(--navy);
}

.btn-secondary:hover,
.btn.btn-secondary:hover {
    background: var(--cream);
    border-color: var(--navy-dark);
    color: var(--navy-dark);
}

.btn-navy {
    background: var(--navy);
    color: white;
    border: none;
}

.btn-navy:hover {
    background: var(--navy-dark);
    color: white;
    transform: translateY(-1px);
}

/* ============================================
   Footer
   ============================================ */
footer.ws-footer {
    background: var(--navy-dark);
    color: white;
    padding: 3rem 2rem;
    text-align: center;
}

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

.footer-logo {
    font-family: 'Nunito', 'DM Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

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

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

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

.footer-copy {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   Section Styles
   ============================================ */
.section-container {
    max-width: 1000px;
    margin: 0 auto;
}

.section-label {
    display: inline-block;
    background: var(--success);
    color: white;
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-label.coming {
    background: var(--navy);
}

.section-title {
    font-size: 2.5rem;
    color: var(--navy);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    max-width: 600px;
}

/* ============================================
   Policy/Legal Page Styles
   ============================================ */
.policy-page {
    padding-top: 80px; /* Account for fixed nav */
}

.policy-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.policy-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 3rem;
}

.policy-title {
    font-size: 2.5rem;
    font-family: 'DM Serif Display', Georgia, serif;
    font-weight: 400;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.policy-subtitle {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

.policy-content .section-title {
    font-size: 1.5rem;
    font-family: 'DM Serif Display', Georgia, serif;
    font-weight: 400;
    color: var(--navy);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.policy-content .subsection-title {
    font-size: 1.15rem;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    color: var(--text);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.policy-content p {
    margin-bottom: 1rem;
    color: var(--text);
}

.policy-content ul,
.policy-content ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.policy-content li {
    margin-bottom: 0.5rem;
    color: var(--text);
}

.policy-content a {
    color: var(--orange);
    text-decoration: none;
}

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

/* Table of Contents */
.table-of-contents {
    background: var(--cream);
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid var(--border);
}

.table-of-contents h4 {
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--navy);
}

.table-of-contents ol {
    margin: 0;
    padding-left: 1.25rem;
}

.table-of-contents li {
    margin-bottom: 0.5rem;
}

.table-of-contents a {
    color: var(--orange);
    text-decoration: none;
}

.table-of-contents a:hover {
    text-decoration: underline;
}

/* Highlight Box */
.highlight-box {
    background: var(--cream);
    border-left: 4px solid var(--orange);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 0.5rem 0.5rem 0;
}

/* Warning Box */
.warning-box {
    background: #fef3c7;
    border-left: 4px solid #f59e0b;
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 0.5rem 0.5rem 0;
}

/* Contact Box */
.contact-box {
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.contact-box h4 {
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 1rem;
}

/* ============================================
   Animations
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.animate-in {
    animation: fadeInUp 0.6s ease-out forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

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

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

    .policy-card {
        padding: 1.5rem;
    }

    .policy-title {
        font-size: 1.75rem;
    }

    .policy-content .section-title {
        font-size: 1.25rem;
    }
}

/* ============================================
   Print Styles
   ============================================ */
@media print {
    nav.ws-nav,
    footer.ws-footer {
        display: none;
    }

    .policy-card {
        box-shadow: none;
    }

    .policy-page {
        padding-top: 0;
    }
}
