/* ==========================================
   Shared Site Styles — Header, Nav, Footer, Pages
   SmartPinMaker
   ========================================== */

/* ==========================================
   Design Tokens
   ========================================== */
:root {
    --bg-main: #08080e;
    --bg-card: #14142a;
    --bg-input: #1c1c3a;
    --bg-elevated: #24244e;
    --border-color: #2e2e54;
    --border-subtle: #222248;
    --text-primary: #eeeff5;
    --text-secondary: #9498b0;
    --text-muted: #666a88;
    --accent: #e60023;
    --accent-hover: #ff1a3d;
    --accent-glow: rgba(230, 0, 35, 0.15);
    --accent-rgb: 230, 0, 35;
    --accent-secondary: #ff6b8a;
    --accent-dim: rgba(230, 0, 35, 0.5);
    --accent-bg: rgba(230, 0, 35, 0.08);
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    --gradient-accent: linear-gradient(135deg, #e60023 0%, #ff4d6a 50%, #ff8fa3 100%);
    --gradient-card: linear-gradient(145deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0) 100%);
    --gradient-glow: linear-gradient(135deg, rgba(230,0,35,0.04), rgba(255,77,106,0.02));
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.4);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.5);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.6);
    --shadow-glow: 0 0 40px rgba(230, 0, 35, 0.2);
    --shadow-glow-lg: 0 0 80px rgba(230, 0, 35, 0.12);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --header-height: 72px;
    --header-bg: rgba(8, 8, 14, 0.82);
    --header-bg-scrolled: rgba(8, 8, 14, 0.95);
    --header-shadow-scrolled: 0 2px 20px rgba(0,0,0,0.5);
    --pin-preview-bg: #fff;
    --pin-actions-bg: linear-gradient(to bottom, rgba(0,0,0,0.32), transparent 30%);
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ==========================================
   Light Theme
   ========================================== */
[data-theme="light"] {
    --bg-main: #f5f4f0;
    --bg-card: #ffffff;
    --bg-input: #efeeea;
    --bg-elevated: #ffffff;
    --border-color: #ddd9d2;
    --border-subtle: #e8e5de;
    --text-primary: #1b1928;
    --text-secondary: #565266;
    --text-muted: #8a869b;
    --accent: #e60023;
    --accent-hover: #cc001f;
    --accent-glow: rgba(230, 0, 35, 0.08);
    --accent-rgb: 230, 0, 35;
    --accent-dim: rgba(200, 0, 30, 0.4);
    --accent-bg: rgba(230, 0, 35, 0.06);
    --gradient-card: linear-gradient(145deg, rgba(0,0,0,0.01) 0%, rgba(0,0,0,0) 100%);
    --gradient-glow: linear-gradient(135deg, rgba(230,0,35,0.02), rgba(255,77,106,0.01));
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.06);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.08);
    --shadow-glow: 0 0 40px rgba(230, 0, 35, 0.1);
    --shadow-glow-lg: 0 0 80px rgba(230, 0, 35, 0.05);
    --header-bg: rgba(255, 255, 255, 0.82);
    --header-bg-scrolled: rgba(255, 255, 255, 0.96);
    --header-shadow-scrolled: 0 2px 20px rgba(0,0,0,0.06);
    --pin-preview-bg: #ffffff;
    --pin-actions-bg: linear-gradient(to bottom, rgba(0,0,0,0.18), transparent 30%);
}

/* ==========================================
   SEO Utility
   ========================================== */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ==========================================
   Theme Transition — smooth switch
   ========================================== */
.theme-transitioning,
.theme-transitioning *,
.theme-transitioning *::before,
.theme-transitioning *::after {
    transition: background-color 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                color 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                background 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* ==========================================
   Theme Toggle Button — Circular Icon
   ========================================== */
.theme-toggle {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    background: var(--bg-elevated);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    box-shadow: 0 2px 8px var(--shadow-sm);
}

.theme-toggle:hover {
    border-color: var(--accent);
    background: var(--accent-glow);
    box-shadow: 0 0 16px var(--accent-glow);
    transform: scale(1.08);
}

.theme-toggle:active {
    transform: scale(0.92);
}

.theme-toggle:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

.theme-toggle i {
    font-size: 18px;
    transition: color 0.3s ease, transform 0.4s ease;
    pointer-events: none;
    color: var(--accent);
    filter: drop-shadow(0 0 4px rgba(230,0,35,0.4));
}

.theme-toggle:hover i {
    transform: scale(1.15);
}

/* Spinning animation during theme switch */
.theme-toggle.switching i {
    animation: themeSpin 0.4s ease;
}

@keyframes themeSpin {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.2); }
    100% { transform: rotate(360deg) scale(1); }
}

/* ==========================================
   Page Reveal Animations
   ========================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* Staggered children */
.stagger-children > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0.05s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.1s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.15s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.25s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.3s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(7) { transition-delay: 0.35s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(8) { transition-delay: 0.4s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(9) { transition-delay: 0.45s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(10) { transition-delay: 0.5s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(11) { transition-delay: 0.55s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(12) { transition-delay: 0.6s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(13) { transition-delay: 0.65s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(14) { transition-delay: 0.7s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(15) { transition-delay: 0.75s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(16) { transition-delay: 0.8s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(17) { transition-delay: 0.85s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(18) { transition-delay: 0.9s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(19) { transition-delay: 0.95s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(20) { transition-delay: 1.0s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(n+21) { transition-delay: 1.0s; opacity: 1; transform: translateY(0); }

/* ==========================================
   Premium Card Variants
   ========================================== */
.card-glow {
    position: relative;
}

.card-glow::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(230,0,35,0.08), transparent, rgba(230,0,35,0.04));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.card-glow:hover::after {
    opacity: 1;
}

.card-glass {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-subtle);
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

.card-border-gradient {
    position: relative;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
}

.card-border-gradient::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, var(--accent), transparent 40%, transparent 60%, var(--accent-secondary));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.card-border-gradient:hover::before {
    opacity: 1;
}

/* ==========================================
   Floating Particles / Orbs
   ========================================== */
.float-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(60px);
    opacity: 0.12;
    animation: orbFloat 8s ease-in-out infinite;
}

.float-orb:nth-child(2) { animation-delay: -2s; }
.float-orb:nth-child(3) { animation-delay: -4s; }
.float-orb:nth-child(4) { animation-delay: -6s; }

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(20px, -20px) scale(1.05); }
    50% { transform: translate(-10px, 10px) scale(0.95); }
    75% { transform: translate(15px, 15px) scale(1.02); }
}

/* ==========================================
   Shimmer / Loading Skeleton
   ========================================== */
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.shimmer {
    background: linear-gradient(90deg, var(--bg-card) 25%, var(--bg-elevated) 50%, var(--bg-card) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s ease-in-out infinite;
}

/* ==========================================
   Badge Variants
   ========================================== */
.badge-gradient {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    background: var(--gradient-accent);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    border-radius: 100px;
    letter-spacing: 0.3px;
}

.badge-outline {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border: 1px solid rgba(230,0,35,0.3);
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 700;
    border-radius: 100px;
    letter-spacing: 0.3px;
    background: var(--accent-glow);
}

/* ==========================================
   Section Divider with icon
   ========================================== */
.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 8px 0;
    color: var(--text-muted);
    font-size: 0.8rem;
}

.section-divider::before,
.section-divider::after {
    content: '';
    flex: 1;
    max-width: 120px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

.section-divider-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 0.95rem;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-main); }
::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }

/* ==========================================
   Site Header
   ========================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: var(--header-bg);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid var(--border-subtle);
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: background 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0.3;
    pointer-events: none;
}

.site-header.scrolled {
    background: var(--header-bg-scrolled);
    box-shadow: var(--header-shadow-scrolled);
}

.header-inner {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    transition: transform 0.2s;
}

.brand:hover {
    transform: scale(1.02);
}

.brand-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.brand-icon {
    background: var(--gradient-accent);
}
.brand-icon i {
    font-size: 17px;
    color: #fff;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-name {
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.3px;
    color: var(--text-primary);
}

.brand-tagline {
    font-size: 0.65rem;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Primary Navigation */
.main-nav {
    display: flex;
    align-items: center;
    gap: 2px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: 8px;
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    white-space: nowrap;
    position: relative;
}

.nav-link i {
    font-size: 0.78rem;
    width: 0.78rem;
    text-align: center;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.nav-link:hover {
    color: var(--text-primary);
    background: var(--accent-glow);
    transform: translateY(-1px);
}

.nav-link.active {
    color: var(--accent);
    background: var(--accent-glow);
    font-weight: 600;
}

.nav-link.active::before {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 18px;
    height: 3px;
    background: var(--gradient-accent);
    border-radius: 3px;
}

.nav-link.nav-cta {
    background: var(--gradient-accent);
    color: white;
    font-weight: 600;
    padding: 7px 16px;
    box-shadow: 0 2px 12px rgba(230, 0, 35, 0.25);
}

.nav-link.nav-cta i {
    opacity: 1;
}

.nav-link.nav-cta:hover {
    box-shadow: 0 4px 20px rgba(230, 0, 35, 0.4);
    transform: translateY(-1px);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: var(--bg-card);
    color: var(--text-primary);
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.2s;
}

.menu-toggle:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-glow);
}

/* ==========================================
   Page Body Offset
   ========================================== */
.page-body {
    padding-top: var(--header-height);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.page-content {
    flex: 1;
}

/* ==========================================
   Hero Section (Home)
   ========================================== */
.hero {
    position: relative;
    padding: 120px 32px 100px;
    text-align: center;
    overflow: hidden;
    background: radial-gradient(ellipse at 50% 0%, rgba(230,0,35,0.08) 0%, transparent 60%),
                radial-gradient(ellipse at 80% 50%, rgba(230,0,35,0.04) 0%, transparent 40%);
}

.hero-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    pointer-events: none;
}

.hero-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(230,0,35,0.12) 0%, transparent 70%);
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    filter: blur(60px);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: var(--accent-glow);
    border: 1px solid rgba(230, 0, 35, 0.3);
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 28px;
    letter-spacing: 0.3px;
}

.hero-badge .pulse-dot {
    width: 7px;
    height: 7px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(230,0,35,0.5); }
    50% { opacity: 0.8; box-shadow: 0 0 0 6px rgba(230,0,35,0); }
}

.hero-title {
    font-size: clamp(2.5rem, 5.5vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 50%, var(--text-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.accent-word, .hero-title .accent-word {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-secondary);
    max-width: 580px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: var(--gradient-accent);
    color: white;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: var(--radius-md);
    border: none;
    transition: background 0.25s;
}

.btn-hero-primary:hover {
    background: linear-gradient(135deg, #ff1a3d 0%, #ff6b8a 50%, #ffb3c6 100%);
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all 0.25s;
}

.btn-hero-secondary:hover {
    border-color: var(--text-muted);
    background: var(--bg-elevated);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-top: 64px;
    padding-top: 40px;
    border-top: 1px solid var(--border-subtle);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.stat-number .accent {
    color: var(--accent);
}

.stat-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

/* ==========================================
   Features Section
   ========================================== */
.section {
    padding: 48px 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

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

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(230,0,35,0.3), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-card:hover {
    border-color: var(--border-color);
    background: var(--bg-elevated);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--accent-glow);
    border: 1px solid rgba(230,0,35,0.2);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--accent);
    margin-bottom: 20px;
}

.feature-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ==========================================
   Templates Section
   ========================================== */
.templates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.template-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.3s;
    cursor: pointer;
    position: relative;
    aspect-ratio: 2 / 3;
}

.template-card:hover {
    border-color: var(--accent);
    background: var(--bg-elevated);
}

.template-preview {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 24px;
    position: relative;
    overflow: hidden;
}

.template-preview-bg {
    position: absolute;
    inset: 0;
    opacity: 0.6;
}

.template-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.template-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: white;
}

.template-tag {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 3px 8px;
    background: var(--accent);
    color: white;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ==========================================
   CTA Section
   ========================================== */
.cta-section {
    padding: 100px 32px;
    text-align: center;
    background: radial-gradient(ellipse at 50% 50%, rgba(230,0,35,0.06) 0%, transparent 60%);
    position: relative;
}

.cta-inner {
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.cta-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.7;
}

.page-hero {
    padding: 80px 32px 60px;
    text-align: center;
    background: radial-gradient(ellipse at 50% 0%, rgba(230,0,35,0.06) 0%, transparent 50%);
}

.page-hero-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
}

.page-hero-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.7;
}



/* ==========================================
   Support Us Page
   ========================================== */
.support-hero {
    padding: 80px 32px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: radial-gradient(ellipse at 50% 0%, rgba(230,0,35,0.08) 0%, transparent 50%);
}

.support-hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.support-float-heart {
    position: absolute;
    opacity: 0.15;
    animation: supportFloat 6s ease-in-out infinite;
    will-change: transform;
}

@keyframes supportFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-18px) rotate(12deg); }
}

.support-hero-icon {
    width: 88px;
    height: 88px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: white;
    margin: 0 auto 24px;
    box-shadow: 0 0 0 0 rgba(230,0,35,0.4);
    animation: supportPulse 2s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

@keyframes supportPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(230,0,35,0.35); }
    50% { box-shadow: 0 0 0 16px rgba(230,0,35,0); }
}

.support-hero h1 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}

.support-hero-tagline {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.support-hero p {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

.support-options {
    max-width: 820px;
    margin: 0 auto;
    padding: 0 32px 80px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}

.support-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    padding: 44px 28px 36px;
    text-align: center;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.support-card-shine {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.04) 0%, transparent 50%);
    pointer-events: none;
}

.support-card:hover {
    border-color: var(--border-color);
    background: var(--bg-elevated);
}

.support-card-icon {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 22px;
}

.support-card-icon.kofi {
    background: linear-gradient(135deg, #ff5e5b, #ff9472);
    color: white;
}

.support-card-icon.bmc {
    background: linear-gradient(135deg, #ffdd00, #ffb800);
    color: #000;
}

.support-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.support-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
    flex: 1;
    max-width: 320px;
}

.support-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 28px;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 12px;
    border: none;
    transition: all 0.25s ease;
    width: 100%;
    justify-content: center;
    cursor: pointer;
    letter-spacing: 0.3px;
}

.support-btn.kofi {
    background: linear-gradient(135deg, #ff5e5b, #ff9472);
    color: white;
}

.support-btn.kofi:hover {
    background: linear-gradient(135deg, #ff7a78, #ffa88a);
}

.support-btn.bmc {
    background: linear-gradient(135deg, #ffdd00, #ffb800);
    color: #000;
}

.support-btn.bmc:hover {
    background: linear-gradient(135deg, #ffe633, #ffc933);
}

.support-perks {
    max-width: 780px;
    margin: 0 auto;
    padding: 0 32px 80px;
}

.perks-header {
    text-align: center;
    margin-bottom: 36px;
}

.perks-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    background: rgba(230,0,35,0.08);
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 700;
    border-radius: 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.perks-title {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.perks-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    max-width: 480px;
    margin: 0 auto;
    line-height: 1.6;
}

.perks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}

.perk-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    font-size: 0.9rem;
    transition: all 0.25s ease;
}

.perk-card:hover {
    border-color: var(--border-color);
    background: var(--bg-elevated);
}

.perk-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    background: linear-gradient(135deg, rgba(230,0,35,0.1), rgba(230,0,35,0.04));
    color: var(--accent);
    flex-shrink: 0;
}

.perk-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.perk-text strong {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.perk-text span {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.support-cta .cta-inner {
    position: relative;
}

.support-cta .cta-glow {
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(230,0,35,0.08) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.cta-fine {
    margin-top: 16px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ==========================================
   Testimonials / Carousel
   ========================================== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all 0.35s ease;
    position: relative;
}

.testimonial-card:hover {
    border-color: var(--border-color);
    background: var(--bg-elevated);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.testimonial-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 48px 40px;
    cursor: default;
}
.testimonial-empty:hover {
    transform: none;
    background: var(--bg-card);
    border-color: var(--border-color);
    box-shadow: var(--shadow-md);
}
.testimonial-empty .testimonial-text {
    font-size: 1.1rem;
    max-width: 480px;
    margin: 0 auto;
    color: var(--text-secondary);
}

.testimonial-stars {
    color: #f59e0b;
    font-size: 0.85rem;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.testimonial-quote {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-quote::before {
    content: '\201C';
    font-size: 2rem;
    color: var(--accent);
    opacity: 0.4;
    line-height: 0;
    vertical-align: -6px;
    margin-right: 4px;
}

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

.testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.testimonial-name {
    font-size: 0.9rem;
    font-weight: 600;
}

.testimonial-role {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* ==========================================
   SEO Content Section — Visual Guide
   ========================================== */
.section-seo .seo-content-body {
    max-width: 800px;
    margin: 0 auto;
}
.section-seo .seo-content-body p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

/* --- Guide Stats Bar --- */
.guide-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 800px;
    margin: 0 auto 36px;
}
.guide-stat {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    padding: 24px 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.guide-stat:hover {
    border-color: var(--accent);
    box-shadow: 0 0 20px rgba(230,0,35,0.08);
}
.guide-stat-num {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.1;
}
.guide-stat-num .accent {
    color: var(--accent);
}
.guide-stat-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* --- Guide Block (each subsection) --- */
.guide-block {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 28px 32px;
    margin-bottom: 24px;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.guide-block:hover {
    border-color: var(--accent-dim);
    box-shadow: 0 4px 24px rgba(0,0,0,0.04);
}
.guide-block-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}
.guide-block-icon {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-bg);
    border-radius: 12px;
    font-size: 1.15rem;
    color: var(--accent);
}
.guide-block h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

/* --- Highlight callout --- */
.guide-highlight {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: var(--accent-bg);
    border-left: 3px solid var(--accent);
    border-radius: 10px;
    padding: 16px 20px;
    margin-top: 18px;
    font-size: 0.9rem;
    color: var(--text-primary);
    line-height: 1.7;
}
.guide-highlight i {
    font-size: 1.1rem;
    color: var(--accent);
    margin-top: 3px;
    flex-shrink: 0;
}
.guide-highlight strong {
    color: var(--accent);
}

/* --- Benefits mini-row --- */
.guide-benefits-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 18px;
}
.guide-benefit-mini {
    background: var(--bg-body);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 18px 14px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}
.guide-benefit-mini i {
    font-size: 1.4rem;
    color: var(--accent);
    margin-bottom: 4px;
}
.guide-benefit-mini strong {
    font-size: 0.85rem;
    color: var(--text-primary);
    font-weight: 700;
}
.guide-benefit-mini span {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* --- Tips grid (numbered cards) --- */
.guide-tips-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-top: 18px;
}
.guide-tip-card {
    background: var(--bg-body);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 18px 18px 18px 18px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: border-color 0.3s, transform 0.2s;
}
.guide-tip-card:hover {
    border-color: var(--accent-dim);
    transform: translateY(-2px);
}
.guide-tip-num {
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: 0.06em;
    margin-bottom: 4px;
}
.guide-tip-card strong {
    font-size: 0.88rem;
    color: var(--text-primary);
    font-weight: 700;
}
.guide-tip-card span {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* --- Dimension highlight variant --- */
.guide-highlight-dimension {
    background: linear-gradient(135deg, var(--accent-bg), transparent);
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .guide-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .guide-stat {
        padding: 18px 12px;
    }
    .guide-stat-num {
        font-size: 1.3rem;
    }
    .guide-block {
        padding: 22px 18px;
    }
    .guide-benefits-row {
        grid-template-columns: 1fr;
    }
    .guide-tips-grid {
        grid-template-columns: 1fr;
    }
    .guide-highlight {
        flex-direction: column;
        gap: 10px;
    }
}

/* ==========================================
   Internal Links Section
   ========================================== */
.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    max-width: 900px;
    margin: 0 auto;
}
.link-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    transition: all 0.3s;
}
.link-card:hover {
    border-color: var(--accent);
    background: var(--bg-elevated);
}
.link-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: var(--accent-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--accent);
    flex-shrink: 0;
}
.link-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.link-text strong {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-primary);
}
.link-text span {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ==========================================
   FAQ Accordion
   ========================================== */
.faq-list {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.faq-item:hover {
    border-color: var(--border-color);
}

.faq-item.active {
    border-color: rgba(230,0,35,0.3);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: color 0.2s;
}

.faq-question:hover {
    color: var(--accent);
}

.faq-question i {
    font-size: 0.8rem;
    color: var(--text-muted);
    transition: transform 0.3s ease, color 0.3s;
    flex-shrink: 0;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--accent);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1), padding 0.3s ease;
    padding: 0 24px;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 24px 20px;
}

.faq-answer p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ==========================================
   Steps / Process Timeline
   ========================================== */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    counter-reset: step;
}

.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    text-align: center;
    transition: all 0.35s ease;
    position: relative;
    counter-increment: step;
}

.step-card:hover {
    border-color: var(--border-color);
    background: var(--bg-elevated);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 1.1rem;
    margin: 0 auto 20px;
}

.step-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.step-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ==========================================
   Stats Counter Section
   ========================================== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.stat-card {
    text-align: center;
    padding: 32px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    transition: all 0.35s ease;
}

.stat-card:hover {
    border-color: var(--border-color);
    background: var(--bg-elevated);
    transform: translateY(-2px);
}

.stat-card-icon {
    font-size: 1.6rem;
    color: var(--accent);
    margin-bottom: 12px;
}

.stat-card-number {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 4px;
}

.stat-card-label {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ==========================================
   Team / About Cards
   ========================================== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.team-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    transition: all 0.35s ease;
}

.team-card:hover {
    border-color: var(--border-color);
    background: var(--bg-elevated);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.team-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--gradient-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    font-size: 1.8rem;
    color: white;
}

.team-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.team-role {
    font-size: 0.82rem;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 12px;
}

.team-bio {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ==========================================
   Timeline (About Page)
   ========================================== */
.timeline {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 28px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    opacity: 0.3;
}

.timeline-item {
    display: flex;
    gap: 24px;
    padding: 0 0 40px 0;
    position: relative;
}

.timeline-dot {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 2px solid var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--accent);
    font-size: 1.2rem;
    z-index: 1;
}

.timeline-content {
    flex: 1;
    padding-top: 8px;
}

.timeline-content h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.timeline-date {
    font-size: 0.8rem;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 8px;
}

.timeline-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ==========================================
   Pricing / Donation Tier Cards
   ========================================== */
.tiers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.tier-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 40px 28px 32px;
    text-align: center;
    transition: all 0.35s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.tier-card:hover {
    border-color: var(--border-color);
    background: var(--bg-elevated);
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.tier-card.featured {
    border-color: var(--accent);
    background: linear-gradient(135deg, var(--bg-card), rgba(230,0,35,0.04));
    box-shadow: var(--shadow-glow);
}

.tier-card.featured::before {
    content: 'Popular';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 18px;
    background: var(--gradient-accent);
    color: white;
    font-size: 0.72rem;
    font-weight: 700;
    border-radius: 0 0 100px 100px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.tier-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    font-size: 1.6rem;
}

.tier-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.tier-price {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.tier-price small {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
}

.tier-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
    flex: 1;
}

.tier-features {
    text-align: left;
    margin-bottom: 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tier-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.tier-features li i {
    color: var(--success);
    font-size: 0.75rem;
    width: 18px;
    text-align: center;
}

/* ==========================================
   Enhanced Button Variants
   ========================================== */
.btn-gradient {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 28px;
    background: var(--gradient-accent);
    color: white;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: var(--radius-md);
    border: none;
    transition: all 0.3s ease;
    cursor: pointer;
    justify-content: center;
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-gradient:active {
    transform: translateY(0);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 26px;
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    cursor: pointer;
    justify-content: center;
}

.btn-outline:hover {
    border-color: var(--accent);
    background: var(--accent-glow);
    color: var(--accent);
}

.btn-glow {
    position: relative;
}

.btn-glow::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: calc(var(--radius-md) + 2px);
    background: var(--gradient-accent);
    z-index: -1;
    opacity: 0;
    filter: blur(12px);
    transition: opacity 0.3s ease;
}

.btn-glow:hover::after {
    opacity: 0.5;
}

/* ==========================================
   Empty State / 404 Illustration
   ========================================== */
.error-section {
    padding: 120px 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.error-section .error-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.error-section .error-orb:nth-child(1) {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(230,0,35,0.08), transparent);
    top: -100px;
    left: -100px;
    animation: orbFloat 8s ease-in-out infinite;
}

.error-section .error-orb:nth-child(2) {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(230,0,35,0.06), transparent);
    bottom: -50px;
    right: -50px;
    animation: orbFloat 10s ease-in-out infinite reverse;
}

.error-code {
    font-size: clamp(6rem, 15vw, 10rem);
    font-weight: 900;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    letter-spacing: -4px;
    margin-bottom: 16px;
}

.error-title {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 800;
    margin-bottom: 12px;
}

.error-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 420px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

.error-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ==========================================
   Footer
   ========================================== */
/* ==========================================
   Footer — Modern Redesign
   ========================================== */
.site-footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border-subtle);
    padding: 56px 32px 0;
    margin-top: auto;
    position: relative;
    transition: background 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-footer::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), rgba(var(--accent-rgb), 0.3), var(--accent), transparent);
    opacity: 0.5;
}

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

.footer-grid {
    display: grid;
    grid-template-columns: 2.2fr 1fr 1fr 1.2fr;
    gap: 48px;
    padding-bottom: 48px;
}

/* Brand column */
.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.footer-brand-icon {
    width: 34px;
    height: 34px;
    background: var(--gradient-accent);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    color: white;
    flex-shrink: 0;
}

.footer-brand-name {
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.footer-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 340px;
    margin-bottom: 20px;
}

/* Social / external links row */
.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    background: var(--bg-input);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
}

.footer-social a:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(var(--accent-rgb), 0.06);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(var(--accent-rgb), 0.12);
}

/* Link columns */
.footer-heading {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
    margin-bottom: 18px;
    position: relative;
    display: inline-block;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: var(--accent);
    opacity: 0.6;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    font-size: 0.86rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
    position: relative;
    display: inline-flex;
    align-items: center;
}

.footer-links a::before {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width 0.25s ease;
}

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

.footer-links a:hover::before {
    width: 100%;
}

/* Bottom bar */
.footer-bottom {
    padding: 20px 0;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-copyright {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ==========================================
   Generator Page Override
   ========================================== */
body.generator-page {
    height: 100vh;
    overflow: hidden;
}

body.generator-page .page-body {
    height: 100vh;
    overflow: hidden;
}

body.generator-page .app-container {
    flex: 1;
    min-height: 0;
}

/* ==========================================
   Light Theme — Component Overrides
   ========================================== */
[data-theme="light"] .hero-bg-grid {
    background-image:
        linear-gradient(rgba(0,0,0,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,0,0,0.03) 1px, transparent 1px);
}

[data-theme="light"] .hero-glow {
    background: radial-gradient(circle, rgba(230,0,35,0.06) 0%, transparent 70%);
}

[data-theme="light"] .feature-card::before {
    background: linear-gradient(90deg, transparent, rgba(230,0,35,0.15), transparent);
}

[data-theme="light"] .template-info {
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
}

[data-theme="light"] .menu-toggle {
    background: var(--bg-card);
}

[data-theme="light"] .hero {
    background: radial-gradient(ellipse at 50% 0%, rgba(230,0,35,0.04) 0%, transparent 60%),
                radial-gradient(ellipse at 80% 50%, rgba(230,0,35,0.02) 0%, transparent 40%);
}

[data-theme="light"] .cta-section {
    background: radial-gradient(ellipse at 50% 50%, rgba(230,0,35,0.03) 0%, transparent 60%);
}

[data-theme="light"] .page-hero {
    background: radial-gradient(ellipse at 50% 0%, rgba(230,0,35,0.03) 0%, transparent 50%);
}

[data-theme="light"] .support-hero {
    background: radial-gradient(ellipse at 50% 0%, rgba(230,0,35,0.04) 0%, transparent 50%);
}

[data-theme="light"] .perk-card:hover {
    background: var(--bg-card);
}

[data-theme="light"] .tier-card.featured {
    background: linear-gradient(135deg, var(--bg-card), rgba(230,0,35,0.02));
}

[data-theme="light"] .testimonial-card:hover {
    background: var(--bg-card);
}

[data-theme="light"] .step-card:hover {
    background: var(--bg-card);
}

[data-theme="light"] .stat-card:hover {
    background: var(--bg-card);
}

[data-theme="light"] .team-card:hover {
    background: var(--bg-card);
}

[data-theme="light"] .tier-card:hover {
    background: var(--bg-card);
}

[data-theme="light"] .timeline-dot {
    border-color: var(--bg-main);
}

/* ==========================================
   Responsive
   ========================================== */
@media (max-width: 1024px) {
    .header-inner {
        padding: 0 20px;
    }

    .main-nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        z-index: 1001;
        background: var(--header-bg-scrolled);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--border-subtle);
        flex-direction: column;
        padding: 16px;
        gap: 4px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s;
    }

    .main-nav.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-link {
        width: 100%;
        padding: 12px 16px;
        border-radius: var(--radius-sm);
    }

    .nav-link.active::before {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .hero { padding: 80px 20px 60px; }
    .hero-stats { gap: 24px; flex-wrap: wrap; }

}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 640px) {
    .header-inner { padding: 0 16px; gap: 12px; }
    .brand-tagline { display: none; }

    .hero { padding: 60px 16px 50px; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn-hero-primary,
    .hero-actions .btn-hero-secondary { width: 100%; justify-content: center; }

    .section { padding: 60px 16px; }
    .features-grid { grid-template-columns: 1fr; }
    .support-options { padding: 0 16px 60px; grid-template-columns: 1fr; }
    .perks-grid { grid-template-columns: 1fr; }
    .support-hero { padding: 60px 16px 40px; }
    .support-perks { padding: 0 16px 60px; }

    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-bottom { flex-direction: column; text-align: center; }

    .page-hero { padding: 60px 16px 40px; }
}

@media (max-width: 380px) {
    .brand-name { font-size: 0.88rem; }
    .hero-stats { gap: 16px; }
    .stat-number { font-size: 1.4rem; }
}

/* ==========================================
   Error Section Responsive
   ========================================== */
@media (max-width: 640px) {
    .error-section { padding: 80px 16px; }
    .error-actions { flex-direction: column; }
    .error-actions .btn-gradient,
    .error-actions .btn-outline { width: 100%; justify-content: center; }
}

/* ==========================================
   Timeline Responsive
   ========================================== */
@media (max-width: 640px) {
    .timeline-item { padding-left: 52px; }
    .timeline::before { left: 18px; }
    .timeline-dot { width: 40px; height: 40px; font-size: 0.9rem; }
}

/* ==========================================
   Tiers / Team Responsive
   ========================================== */
@media (max-width: 640px) {
    .tiers-grid,
    .team-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .stat-card-number { font-size: 1.5rem; }
}

/* ==========================================
   Steps Responsive Override
   ========================================== */
@media (max-width: 640px) {
    .steps-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
    }
}

/* ==========================================
   Back to Top Button
   ========================================== */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: none;
    background: var(--accent);
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px) scale(0.9);
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.35s,
                transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.25s;
    box-shadow: 0 4px 20px rgba(230, 0, 35, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.back-to-top:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 30px rgba(230, 0, 35, 0.45);
}

.back-to-top:active {
    transform: translateY(0) scale(0.95);
}

@media (max-width: 640px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 46px;
        height: 46px;
        font-size: 1rem;
    }
}

/* ==========================================
   Breadcrumb Navigation
   ========================================== */
.breadcrumb {
    padding: 16px 32px 0;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}
.breadcrumb ol {
    list-style: none;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 0.82rem;
    color: var(--text-muted);
}
.breadcrumb a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}
.breadcrumb a:hover {
    color: var(--accent);
}
.breadcrumb li:not(:last-child)::after {
    content: '\203A';
    margin-left: 8px;
    color: var(--text-muted);
    opacity: 0.5;
}
.breadcrumb .sep {
    display: none;
}
