/* ==========================================================================
   Dice Madly - Global Design System & Stylesheet
   Modern Clean Light Theme with Vivid Crimson Accents
   ========================================================================== */

:root {
    --bg-dark: #fcfcfd;
    --bg-canvas: #f8fafc;
    --bg-surface: #ffffff;
    --bg-elevated: #f1f5f9;
    --bg-card: #ffffff;
    --border-subtle: #e2e8f0;
    --border-accent: rgba(225, 29, 72, 0.28);
    
    --primary: #e11d48;
    --primary-light: #f43f5e;
    --primary-dark: #be123c;
    --primary-glow: rgba(225, 29, 72, 0.18);
    
    --accent-gold: #d97706;
    --accent-purple: #7c3aed;
    --accent-teal: #0891b2;
    --accent-green: #059669;
    
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;
    
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.05), 0 1px 2px 0 rgba(0, 0, 0, 0.03);
    --shadow-glass: 0 10px 30px -5px rgba(0, 0, 0, 0.06), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
    --shadow-elevated: 0 20px 40px -10px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);
    --shadow-glow: 0 10px 35px -5px var(--primary-glow);
    --transition-smooth: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    color-scheme: light;
    background-color: var(--bg-dark);
    font-family: var(--font-body);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--bg-dark);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
    color: var(--text-primary);
}

/* Background Soft Atmosphere */
.bg-ambient-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    background-image: 
        radial-gradient(circle at 12% 15%, rgba(244, 63, 94, 0.07) 0%, transparent 45%),
        radial-gradient(circle at 88% 50%, rgba(245, 158, 11, 0.05) 0%, transparent 45%),
        radial-gradient(circle at 50% 92%, rgba(139, 92, 246, 0.04) 0%, transparent 50%),
        linear-gradient(to bottom, #ffffff 0%, #fafafc 100%);
}

.bg-ambient-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(15, 23, 42, 0.04) 1px, transparent 1px);
    background-size: 32px 32px;
    opacity: 0.8;
    pointer-events: none;
    z-index: 0;
}

/* Container */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 5vw + 1rem, 4.2rem); color: #0f172a; }
h2 { font-size: clamp(2rem, 3.5vw + 0.5rem, 3rem); color: #0f172a; }
h3 { font-size: clamp(1.4rem, 2vw + 0.5rem, 1.85rem); color: #0f172a; }
h4 { font-size: 1.25rem; color: #0f172a; }

p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition-smooth);
}

a:hover {
    color: var(--primary-dark);
}

/* Glassmorphic / Clean Panels */
.glass-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-glass);
    transition: var(--transition-smooth);
}

.glass-panel:hover {
    border-color: var(--border-accent);
    box-shadow: var(--shadow-elevated), var(--shadow-glow);
}

/* Header & Navbar */
.site-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    transition: var(--transition-smooth);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.45rem;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.03em;
}

.brand-logo img {
    height: 42px;
    width: auto;
    object-fit: contain;
}

.brand-logo .dice-icon-badge {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(225, 29, 72, 0.35);
}

.brand-logo span span {
    color: var(--primary);
}

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

.nav-link {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 600;
    transition: var(--transition-smooth);
    position: relative;
    padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent-gold));
    border-radius: 2px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Mobile Menu Toggle */
.mobile-toggle {
    display: none;
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    padding: 8px;
    cursor: pointer;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition-smooth);
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #be123c);
    color: #ffffff !important;
    box-shadow: 0 4px 20px rgba(225, 29, 72, 0.35);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    box-shadow: 0 6px 25px rgba(225, 29, 72, 0.5);
    transform: translateY(-2px);
    color: #ffffff !important;
}

.btn-secondary {
    background: #ffffff;
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.88rem;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.05rem;
}

/* Store Download Badges */
.store-badges-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}

.store-btn {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 10px 22px;
    background: #0f172a;
    border: 1px solid #1e293b;
    border-radius: var(--radius-md);
    color: #ffffff !important;
    text-decoration: none;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.15);
}

.store-btn:hover {
    background: #1e293b;
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px -5px rgba(225, 29, 72, 0.3);
    color: #ffffff !important;
}

.store-btn svg {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.store-btn .store-btn-text {
    display: flex;
    flex-direction: column;
    text-align: left;
    line-height: 1.2;
}

.store-btn .store-btn-sub {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94a3b8;
}

.store-btn .store-btn-title {
    font-size: 1.05rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: #ffffff;
}

/* Hero Section */
.hero-section {
    padding: 90px 0 60px;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: center;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    background: #fff1f2;
    border: 1px solid #fecdd3;
    color: var(--primary);
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-pill .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary);
    animation: pulse 2s infinite;
}

.hero-title {
    margin-bottom: 20px;
}

.hero-title .gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, #be123c 50%, #f43f5e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 1.15rem;
    margin-bottom: 32px;
    max-width: 580px;
    color: var(--text-secondary);
}

.hero-stats-row {
    display: flex;
    align-items: center;
    gap: 36px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--border-subtle);
}

.stat-item h4 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 2px;
}

.stat-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Interactive Dice Roller Widget */
.dice-preview-widget {
    background: #ffffff;
    border: 1px solid #fed7aa;
    border-radius: var(--radius-xl);
    padding: 32px;
    box-shadow: 0 20px 50px -10px rgba(225, 29, 72, 0.12), 0 0 20px rgba(245, 158, 11, 0.08);
    position: relative;
    overflow: hidden;
}

.dice-preview-widget::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(254, 205, 211, 0.4), transparent 70%);
    pointer-events: none;
}

.widget-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-subtle);
}

.widget-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ecfdf5;
    color: var(--accent-green);
    border: 1px solid #a7f3d0;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 600;
}

.interactive-dice-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin: 20px 0;
}

.dice-3d-button {
    width: 84px;
    height: 84px;
    background: linear-gradient(135deg, #e11d48, #be123c);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.8rem;
    color: #ffffff;
    box-shadow: 0 10px 25px rgba(225, 29, 72, 0.4), inset 0 2px 4px rgba(255, 255, 255, 0.4);
    cursor: pointer;
    border: 2px solid rgba(255, 255, 255, 0.6);
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    user-select: none;
}

.dice-3d-button:hover {
    transform: scale(1.08) rotate(6deg);
    box-shadow: 0 14px 35px rgba(225, 29, 72, 0.55);
}

.dice-3d-button:active {
    transform: scale(0.95);
}

.dice-rolling {
    animation: rollDice 0.8s ease-in-out;
}

@keyframes rollDice {
    0% { transform: rotate(0deg) scale(1); }
    25% { transform: rotate(180deg) scale(1.2); }
    50% { transform: rotate(360deg) scale(0.9); }
    75% { transform: rotate(540deg) scale(1.15); }
    100% { transform: rotate(720deg) scale(1); }
}

.dice-match-card {
    background: #fff5f6;
    border: 1px solid #fecdd3;
    border-radius: var(--radius-lg);
    padding: 18px;
    width: 100%;
    transition: var(--transition-smooth);
}

.match-profile-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}

.match-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
}

.match-details h5 {
    font-size: 1.1rem;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 6px;
}

.match-details span {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.match-badge-verified {
    color: #0284c7;
    display: inline-flex;
}

.match-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.tag-pill {
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    background: #ffffff;
    color: var(--text-secondary);
    border: 1px solid #fed7aa;
    font-weight: 500;
}

.affinity-meter {
    margin-top: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    border: 1px solid #fecdd3;
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--primary);
}

/* Features Grid */
.features-section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 60px;
}

.section-tag {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
    margin-bottom: 12px;
    display: block;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 28px;
}

.feature-card {
    padding: 36px 30px;
    position: relative;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-glass);
}

.feature-icon-wrapper {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 22px;
    background: #fff1f2;
    border: 1px solid #fecdd3;
    color: var(--primary);
}

.feature-card.gold .feature-icon-wrapper {
    background: #fffbeb;
    border-color: #fde68a;
    color: var(--accent-gold);
}

.feature-card.purple .feature-icon-wrapper {
    background: #f5f3ff;
    border-color: #ddd6fe;
    color: var(--accent-purple);
}

.feature-card.green .feature-icon-wrapper {
    background: #ecfdf5;
    border-color: #a7f3d0;
    color: var(--accent-green);
}

.feature-card h4 {
    font-size: 1.35rem;
    margin-bottom: 12px;
    color: #0f172a;
}

.feature-card p {
    font-size: 0.98rem;
    color: var(--text-secondary);
}

/* App Screenshots Showcase */
.showcase-section {
    padding: 100px 0 80px;
    position: relative;
    background: #f8fafc;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 50px;
}

.phone-mockup-card {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 36px;
    padding: 12px;
    box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.08), 0 0 20px rgba(225, 29, 72, 0.06);
    position: relative;
    transition: var(--transition-smooth);
    overflow: hidden;
}

.phone-mockup-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--primary);
    box-shadow: 0 20px 45px -5px rgba(225, 29, 72, 0.25);
}

.phone-screen-container {
    border-radius: 26px;
    overflow: hidden;
    position: relative;
    background: #ffffff;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
}

.phone-screen-container img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.phone-mockup-card:hover .phone-screen-container img {
    transform: scale(1.03);
}

.phone-caption {
    margin-top: 14px;
    text-align: center;
}

.phone-caption h5 {
    color: #0f172a;
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.phone-caption span {
    font-size: 0.82rem;
    color: var(--primary);
    font-weight: 600;
}

/* How It Works Steps */
.how-it-works-section {
    padding: 80px 0;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    position: relative;
}

.step-card {
    padding: 36px 28px;
    text-align: center;
    position: relative;
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-glass);
}

.step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #ffffff;
    font-weight: 800;
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 4px 15px rgba(225, 29, 72, 0.35);
}

.step-card h4 {
    margin-bottom: 10px;
    color: #0f172a;
}

/* Security & Verification Banner */
.safety-pledge-card {
    background: linear-gradient(135deg, #fff1f2 0%, #ffffff 100%);
    border: 1px solid #fecdd3;
    border-radius: var(--radius-xl);
    padding: 48px;
    margin: 60px 0;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
    box-shadow: var(--shadow-glass);
}

.safety-check-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 20px;
}

.safety-check-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-primary);
    font-size: 0.98rem;
}

.safety-check-item svg {
    color: var(--accent-green);
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Testimonials */
.testimonials-section {
    padding: 80px 0;
    background: #fafafc;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
}

.testimonial-card {
    padding: 32px;
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-glass);
}

.testimonial-stars {
    color: var(--accent-gold);
    margin-bottom: 16px;
    font-size: 1.1rem;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    color: #334155;
    font-size: 1rem;
}

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent-purple));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 700;
}

/* FAQ Accordion */
.faq-section {
    padding: 80px 0;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    background: #ffffff;
    overflow: hidden;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    background: transparent;
    border: none;
    color: #0f172a;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.faq-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
    color: var(--primary);
}

.faq-answer {
    padding: 0 24px 20px;
    color: var(--text-secondary);
    display: none;
    font-size: 0.98rem;
    line-height: 1.7;
}

.faq-item.active {
    border-color: #fecdd3;
}

.faq-item.active .faq-answer {
    display: block;
}

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

/* CTA Download Banner */
.cta-section {
    padding: 40px 0 80px;
}

.cta-banner {
    background: linear-gradient(135deg, #fff1f2 0%, #fdf4ff 100%);
    border: 1px solid #fecdd3;
    border-radius: var(--radius-xl);
    padding: 60px 40px;
    text-align: center;
    box-shadow: var(--shadow-glass), 0 0 50px rgba(225, 29, 72, 0.08);
}

.cta-banner h2 {
    margin-bottom: 16px;
    color: #0f172a;
}

.cta-banner p {
    max-width: 600px;
    margin: 0 auto 32px;
    color: var(--text-secondary);
}

/* Policy & Legal Document Layout */
.policy-page-header {
    padding: 70px 0 40px;
    background: linear-gradient(180deg, rgba(225, 29, 72, 0.05) 0%, transparent 100%);
    border-bottom: 1px solid var(--border-subtle);
    margin-bottom: 50px;
}

.policy-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 14px;
    background: #fff1f2;
    border: 1px solid #fecdd3;
    border-radius: var(--radius-full);
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.policy-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 48px;
    margin-bottom: 80px;
}

.policy-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.policy-toc {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.policy-toc a {
    display: block;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.policy-toc a:hover, .policy-toc a.active {
    background: #fff1f2;
    color: var(--primary);
    font-weight: 600;
}

.policy-content {
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-glass);
}

.policy-content section {
    margin-bottom: 40px;
    scroll-margin-top: 100px;
}

.policy-content h2 {
    font-size: 1.6rem;
    color: #0f172a;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-subtle);
}

.policy-content h3 {
    font-size: 1.25rem;
    color: #1e293b;
    margin: 20px 0 10px;
}

.policy-content p {
    margin-bottom: 16px;
    font-size: 1rem;
    color: #334155;
}

.policy-content ul, .policy-content ol {
    margin: 14px 0 20px 24px;
    color: #475569;
}

.policy-content li {
    margin-bottom: 10px;
    font-size: 0.98rem;
}

.policy-highlight-box {
    background: #fff1f2;
    border-left: 4px solid var(--primary);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    padding: 18px 24px;
    margin: 24px 0;
}

.policy-highlight-box.green {
    background: #f0fdf4;
    border-left-color: var(--accent-green);
}

.policy-highlight-box.gold {
    background: #fffbeb;
    border-left-color: var(--accent-gold);
}

.policy-highlight-box h4 {
    font-size: 1.05rem;
    margin-bottom: 6px;
    color: #0f172a;
}

.policy-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
}

.policy-table th, .policy-table td {
    padding: 12px 16px;
    text-align: left;
    border: 1px solid var(--border-subtle);
    font-size: 0.92rem;
}

.policy-table th {
    background: #f8fafc;
    color: #0f172a;
    font-weight: 600;
}

.policy-table td {
    color: #334155;
}

/* Forms & Inputs */
.form-group {
    margin-bottom: 22px;
}

.form-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
}

.form-input, .form-select, .form-textarea, .form-control {
    width: 100%;
    padding: 12px 18px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-md);
    color: #0f172a;
    font-family: var(--font-body);
    font-size: 0.98rem;
    transition: var(--transition-smooth);
    display: block;
    box-sizing: border-box;
}

.form-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
    padding-right: 40px;
    cursor: pointer;
}

.form-input:focus, .form-select:focus, .form-textarea:focus, .form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.15);
    background: #ffffff;
}

.form-input.is-invalid, .form-select.is-invalid, .form-control.is-invalid {
    border-color: #dc2626 !important;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15) !important;
}

.form-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 0.92rem;
    color: var(--text-secondary);
}

.form-checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
    margin-top: 3px;
}

.form-error {
    color: #dc2626;
    font-size: 0.82rem;
    margin-top: 6px;
}

.alert-success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-radius: var(--radius-md);
    padding: 18px 24px;
    margin-bottom: 24px;
    color: #065f46;
}

.alert-success h4 {
    color: #047857;
    font-size: 1.1rem;
    margin-bottom: 4px;
}

/* Footer */
.site-footer {
    margin-top: auto;
    background: #f8fafc;
    border-top: 1px solid var(--border-subtle);
    padding: 70px 0 30px;
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-brand p {
    font-size: 0.92rem;
    margin-top: 14px;
    max-width: 320px;
    color: var(--text-secondary);
}

.footer-column h5 {
    font-size: 1.05rem;
    color: #0f172a;
    margin-bottom: 20px;
    font-weight: 700;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(3px);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Responsive Media Queries */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .safety-pledge-card {
        grid-template-columns: 1fr;
    }
    
    .screenshots-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .policy-layout {
        grid-template-columns: 1fr;
    }
    
    .policy-sidebar {
        display: none;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .screenshots-grid {
        grid-template-columns: 1fr;
        max-width: 340px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .policy-content {
        padding: 24px;
    }
    
    .hero-stats-row {
        flex-wrap: wrap;
        gap: 24px;
    }
    
    .mobile-menu-drawer {
        display: flex;
        flex-direction: column;
        gap: 16px;
        padding: 20px 24px;
        background: #ffffff;
        border-bottom: 1px solid var(--border-subtle);
    }
}
