/* ============================================
   Telugu Font Converter — Design System
   Matches the Android app's warm earth-tone palette
   ============================================ */

/* ── CSS Variables (Light/Dark) ── */
:root {
    --font-body: 'Inter', -apple-system, sans-serif;
    --font-heading: 'Outfit', 'Inter', sans-serif;

    --bg-primary: #FEFAF6;
    --bg-secondary: #F5EDE8;
    --surface: #FFFFFF;
    --surface-hover: #FFF8F3;
    --text-primary: #1C1917;
    --text-secondary: #57534E;
    --text-muted: #A8A29E;
    --accent: #E8590C;
    --accent-hover: #C4420A;
    --accent-light: #FFF1EB;
    --accent-glow: rgba(232, 89, 12, 0.15);
    --border: #E7E0DB;
    --border-light: #F0E8E3;
    --shadow-sm: 0 1px 3px rgba(28, 25, 23, 0.06);
    --shadow-md: 0 4px 16px rgba(28, 25, 23, 0.08);
    --shadow-lg: 0 8px 32px rgba(28, 25, 23, 0.12);
    --shadow-accent: 0 4px 20px rgba(232, 89, 12, 0.25);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --navbar-height: 72px;
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
    --bg-primary: #1A1816;
    --bg-secondary: #231F1C;
    --surface: #2D2924;
    --surface-hover: #352F2A;
    --text-primary: #EDE0D8;
    --text-secondary: #B8A99E;
    --text-muted: #78716C;
    --accent: #FF9A5C;
    --accent-hover: #FFB380;
    --accent-light: rgba(255, 154, 92, 0.1);
    --accent-glow: rgba(255, 154, 92, 0.15);
    --border: #3D3530;
    --border-light: #332D28;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-accent: 0 4px 20px rgba(255, 154, 92, 0.2);
}

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

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

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    transition: background var(--transition), color var(--transition);
    -webkit-font-smoothing: antialiased;
}

main { flex: 1; }

a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-hover); }

img { max-width: 100%; height: auto; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.me-1 { margin-right: 6px; }
.mt-1 { margin-top: 12px; }
.text-accent { color: var(--accent); }
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-primary);
}
h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.125rem; }

.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 { margin-bottom: 12px; }
.section-header p { color: var(--text-secondary); max-width: 600px; margin: 0 auto; font-size: 1.05rem; }
.section-badge {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 16px; border-radius: 20px;
    background: var(--accent-light); color: var(--accent);
    font-size: 0.8rem; font-weight: 600; text-transform: uppercase;
    letter-spacing: 0.05em; margin-bottom: 12px;
}

/* ── Skip Link ── */
.skip-link {
    position: absolute; top: -100%; left: 16px;
    background: var(--accent); color: #fff; padding: 8px 16px;
    border-radius: var(--radius-sm); z-index: 10000; font-weight: 600;
}
.skip-link:focus { top: 16px; }

/* ── Buttons ── */
.btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 10px 24px; border-radius: var(--radius-sm);
    font-family: var(--font-body); font-weight: 600; font-size: 0.925rem;
    border: none; cursor: pointer; transition: all var(--transition);
    text-decoration: none; line-height: 1.5;
}
.btn-sm { padding: 8px 16px; font-size: 0.85rem; }
.btn-lg { padding: 14px 32px; font-size: 1.05rem; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; box-shadow: var(--shadow-accent); transform: translateY(-1px); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-hover); color: #fff; }
.btn-outline {
    background: transparent; color: var(--accent);
    border: 2px solid var(--accent);
}
.btn-outline:hover { background: var(--accent); color: #fff; }
.btn-ghost { background: transparent; color: var(--text-secondary); }
.btn-ghost:hover { background: var(--bg-secondary); color: var(--text-primary); }

/* ── Navbar ── */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    height: var(--navbar-height);
    background: rgba(254, 250, 246, 0.85);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    transition: all var(--transition);
}
[data-theme="dark"] .navbar { background: rgba(26, 24, 22, 0.85); }
.navbar.scrolled { box-shadow: var(--shadow-md); }

.navbar-inner {
    display: flex; align-items: center; justify-content: space-between;
    height: 100%;
}

.navbar-brand {
    display: flex; align-items: center; gap: 10px;
    text-decoration: none; color: var(--text-primary); font-weight: 700;
    font-family: var(--font-heading); font-size: 1.2rem;
}
.brand-icon {
    display: flex; align-items: center; justify-content: center;
    width: 38px; height: 38px; border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--accent), #F97316);
    color: #fff; font-size: 1.3rem; font-weight: 800;
}
.brand-logo {
    width: 38px; height: 38px; border-radius: var(--radius-sm);
    object-fit: contain;
}
.brand-text { color: var(--text-primary); }

.navbar-nav {
    display: flex; align-items: center; gap: 4px;
    list-style: none;
}
.nav-link {
    padding: 8px 16px; border-radius: var(--radius-sm);
    color: var(--text-secondary); font-weight: 500; font-size: 0.925rem;
    transition: all var(--transition); display: flex; align-items: center; gap: 4px;
}
.nav-link:hover, .nav-link.active { color: var(--accent); background: var(--accent-light); }

.nav-dropdown { position: relative; }
.dropdown-menu {
    position: absolute; top: 100%; left: 0; min-width: 200px;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius-md); padding: 8px;
    box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden;
    transform: translateY(8px);
    transition: all var(--transition); list-style: none; z-index: 100;
}
.nav-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu li a {
    display: flex; align-items: center; gap: 8px;
    padding: 10px 14px; border-radius: var(--radius-sm);
    color: var(--text-secondary); font-size: 0.9rem; font-weight: 500;
}
.dropdown-menu li a:hover { background: var(--accent-light); color: var(--accent); }

.navbar-actions { display: flex; align-items: center; gap: 8px; }

.theme-toggle {
    width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border);
    background: var(--surface); color: var(--text-secondary);
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    font-size: 1.15rem; transition: all var(--transition);
}
.theme-toggle:hover { border-color: var(--accent); color: var(--accent); }

.navbar-toggler {
    display: none; flex-direction: column; gap: 5px;
    padding: 8px; background: none; border: none; cursor: pointer;
}
.navbar-toggler span {
    width: 24px; height: 2px; background: var(--text-primary);
    border-radius: 2px; transition: all var(--transition);
}
.navbar-toggler.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.navbar-toggler.active span:nth-child(2) { opacity: 0; }
.navbar-toggler.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.navbar-cta { display: flex; }

/* ── Breadcrumbs ── */
.breadcrumb-bar {
    padding: 12px 0; background: var(--bg-secondary);
    margin-top: var(--navbar-height); border-bottom: 1px solid var(--border-light);
}
.breadcrumbs {
    display: flex; align-items: center; gap: 6px;
    list-style: none; font-size: 0.85rem; color: var(--text-muted);
}
.breadcrumbs li + li::before { content: '/'; margin-right: 6px; color: var(--text-muted); }
.breadcrumbs a { color: var(--text-secondary); }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs li:last-child span { color: var(--text-primary); font-weight: 500; }

/* ── Hero Section ── */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--accent-light) 50%, var(--bg-secondary) 100%);
    position: relative; overflow: hidden;
}
.hero::before {
    content: ''; position: absolute; top: -50%; right: -20%;
    width: 600px; height: 600px; border-radius: 50%;
    background: radial-gradient(circle, var(--accent-glow), transparent 70%);
    animation: heroGlow 8s ease-in-out infinite alternate;
}
@keyframes heroGlow { 0% { transform: scale(1); opacity: 0.5; } 100% { transform: scale(1.3); opacity: 0.8; } }

.hero-content { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.hero h1 { margin-bottom: 16px; }
.hero h1 .highlight { color: var(--accent); }
.hero-sub { font-size: 1.15rem; color: var(--text-secondary); margin-bottom: 32px; line-height: 1.8; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-visual {
    display: flex; justify-content: center; align-items: center;
}
.hero-phone {
    width: 280px; height: 560px; border-radius: 36px;
    background: var(--surface); border: 3px solid var(--border);
    box-shadow: var(--shadow-lg); overflow: hidden; position: relative;
    display: flex; flex-direction: column; align-items: center;
    padding: 40px 20px;
}
.hero-phone .phone-text {
    font-size: 3rem; font-weight: 800; color: var(--accent);
    font-family: var(--font-heading); margin-bottom: 16px;
}
.hero-phone .phone-label {
    font-size: 0.85rem; color: var(--text-muted); text-align: center;
}

/* ── Stats Bar ── */
.stats-bar { padding: 48px 0; background: var(--surface); border-bottom: 1px solid var(--border-light); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-item { text-align: center; }
.stat-value { font-family: var(--font-heading); font-size: 2rem; font-weight: 800; color: var(--accent); }
.stat-label { font-size: 0.85rem; color: var(--text-muted); margin-top: 4px; }

/* ── Card System ── */
.card {
    background: var(--surface); border: 1px solid var(--border-light);
    border-radius: var(--radius-lg); overflow: hidden;
    transition: all var(--transition);
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: var(--border); }
.card-img {
    width: 100%; height: 200px; object-fit: cover;
    background: var(--bg-secondary);
}
.card-body { padding: 20px; }
.card-title {
    font-family: var(--font-heading); font-weight: 600; font-size: 1.1rem;
    margin-bottom: 8px; color: var(--text-primary);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card-text { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.6; margin-bottom: 12px;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.card-meta { display: flex; align-items: center; gap: 12px; font-size: 0.8rem; color: var(--text-muted); }
.card-meta i { color: var(--accent); }
.card-tag {
    display: inline-block; padding: 3px 10px; border-radius: 12px;
    background: var(--accent-light); color: var(--accent);
    font-size: 0.75rem; font-weight: 600;
}

/* ── Grid Layouts ── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ── Section Spacing ── */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-secondary); }

/* ── Feature Cards ── */
.feature-card {
    padding: 32px; border-radius: var(--radius-lg);
    background: var(--surface); border: 1px solid var(--border-light);
    transition: all var(--transition); text-align: center;
}
.feature-card:hover { border-color: var(--accent); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.feature-icon {
    width: 56px; height: 56px; border-radius: var(--radius-md);
    background: var(--accent-light); color: var(--accent);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; margin: 0 auto 16px;
}
.feature-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.feature-card p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6; }

/* ── Tool Cards ── */
.tool-card {
    padding: 32px; border-radius: var(--radius-lg);
    background: var(--surface); border: 1px solid var(--border-light);
    transition: all var(--transition); display: flex; flex-direction: column;
    align-items: flex-start; gap: 16px;
}
.tool-card:hover { border-color: var(--accent); box-shadow: var(--shadow-md); }
.tool-icon {
    width: 48px; height: 48px; border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--accent), #F97316);
    color: #fff; display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
}
.tool-card h3 { font-size: 1.1rem; }
.tool-card p { font-size: 0.9rem; color: var(--text-secondary); }

/* ── Blog Listing ── */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card .card-img { height: 180px; }

/* ── Blog Detail ── */
.blog-hero { padding: 120px 0 40px; background: var(--bg-secondary); }
.blog-hero h1 { max-width: 800px; }
.blog-hero .blog-meta { display: flex; align-items: center; gap: 16px; margin-top: 16px; color: var(--text-muted); font-size: 0.9rem; }

.blog-content-wrap { max-width: 800px; margin: 0 auto; padding: 48px 24px; }
.blog-content { font-size: 1.05rem; line-height: 1.9; }
.blog-content p { margin-bottom: 20px; }
.blog-content h2 { margin: 32px 0 16px; }
.blog-content h3 { margin: 24px 0 12px; }
.blog-content img { border-radius: var(--radius-md); margin: 20px 0; }
.blog-content blockquote {
    border-left: 4px solid var(--accent); padding: 16px 24px;
    background: var(--bg-secondary); border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin: 20px 0; font-style: italic; color: var(--text-secondary);
}
.blog-content a { color: var(--accent); text-decoration: underline; }
.blog-content code { background: var(--bg-secondary); padding: 2px 8px; border-radius: 4px; font-size: 0.9em; }
.blog-content pre { background: var(--bg-secondary); padding: 20px; border-radius: var(--radius-md); overflow-x: auto; margin: 16px 0; }

.blog-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 32px 0; }
.blog-share { display: flex; align-items: center; gap: 12px; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--border-light); }
.blog-share a {
    width: 40px; height: 40px; border-radius: 50%; display: flex;
    align-items: center; justify-content: center;
    background: var(--bg-secondary); color: var(--text-secondary); font-size: 1.1rem;
}
.blog-share a:hover { background: var(--accent); color: #fff; }

/* ── Trends / Calendar ── */
.calendar-wrap { background: var(--surface); border: 1px solid var(--border-light); border-radius: var(--radius-lg); overflow: hidden; }
.calendar-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 24px; background: var(--accent); color: #fff;
}
.calendar-header h3 { color: #fff; font-size: 1.1rem; }
.calendar-header button {
    background: rgba(255,255,255,0.2); border: none; color: #fff;
    width: 36px; height: 36px; border-radius: 50%; cursor: pointer; font-size: 1.1rem;
    display: flex; align-items: center; justify-content: center;
}
.calendar-header button:hover { background: rgba(255,255,255,0.3); }

.calendar-grid {
    display: grid; grid-template-columns: repeat(7, 1fr);
    gap: 1px; background: var(--border-light); padding: 1px;
}
.calendar-day-name {
    padding: 12px; text-align: center; font-weight: 600;
    font-size: 0.8rem; color: var(--text-muted);
    background: var(--bg-secondary); text-transform: uppercase;
}
.calendar-day {
    min-height: 70px; padding: 8px; background: var(--surface);
    position: relative; cursor: pointer; transition: all var(--transition);
}
.calendar-day:hover { background: var(--surface-hover); }
.calendar-day.empty { background: var(--bg-secondary); cursor: default; }
.calendar-day.today { background: var(--accent-light); }
.calendar-day .day-num { font-size: 0.85rem; font-weight: 600; color: var(--text-primary); }
.calendar-day .day-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--accent); position: absolute;
    bottom: 8px; left: 50%; transform: translateX(-50%);
}

.trend-list { display: grid; gap: 16px; margin-top: 32px; }
.trend-item {
    display: flex; gap: 16px; padding: 16px;
    background: var(--surface); border: 1px solid var(--border-light);
    border-radius: var(--radius-md); transition: all var(--transition);
}
.trend-item:hover { border-color: var(--accent); }
.trend-item img { width: 80px; height: 80px; border-radius: var(--radius-sm); object-fit: cover; background: var(--bg-secondary); }
.trend-item-body h4 { font-size: 1rem; margin-bottom: 4px; }
.trend-item-body p { font-size: 0.85rem; color: var(--text-secondary); }
.trend-item-body .trend-date { font-size: 0.8rem; color: var(--accent); font-weight: 600; }

/* ── Legal Pages ── */
.legal-content { max-width: 800px; margin: 0 auto; padding: 48px 24px; }
.legal-content h1 { margin-bottom: 8px; }
.legal-content .legal-updated { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 32px; }
.legal-content h2 { margin: 32px 0 12px; font-size: 1.3rem; }
.legal-content h3 { margin: 24px 0 8px; }
.legal-content p, .legal-content li { color: var(--text-secondary); line-height: 1.8; margin-bottom: 12px; }
.legal-content ul, .legal-content ol { padding-left: 24px; }

/* ── Tools Interface ── */
.tool-layout { padding: 120px 0 60px; }
.tool-workspace {
    background: var(--surface); border: 1px solid var(--border-light);
    border-radius: var(--radius-lg); padding: 32px; margin-top: 24px;
}
.tool-input {
    width: 100%; padding: 16px; border: 2px solid var(--border);
    border-radius: var(--radius-md); background: var(--bg-primary);
    color: var(--text-primary); font-size: 1.1rem; font-family: var(--font-body);
    resize: vertical; transition: border-color var(--transition);
}
.tool-input:focus { outline: none; border-color: var(--accent); }
.tool-output {
    margin-top: 24px; padding: 24px;
    background: var(--bg-secondary); border-radius: var(--radius-md);
    min-height: 200px;
}

/* Unicode Pad */
.unicode-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(52px, 1fr)); gap: 6px;
}
.unicode-char {
    width: 52px; height: 52px; display: flex; align-items: center; justify-content: center;
    background: var(--surface); border: 1px solid var(--border-light);
    border-radius: var(--radius-sm); font-size: 1.4rem; cursor: pointer;
    transition: all var(--transition); position: relative;
}
.unicode-char:hover { background: var(--accent); color: #fff; border-color: var(--accent); transform: scale(1.1); }
.unicode-char .tooltip {
    position: absolute; bottom: 110%; left: 50%; transform: translateX(-50%);
    background: var(--text-primary); color: var(--bg-primary);
    padding: 4px 8px; border-radius: 4px; font-size: 0.7rem;
    white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity var(--transition);
}
.unicode-char:hover .tooltip { opacity: 1; }

/* ── Contact Form ── */
.form-group { margin-bottom: 20px; }
.form-label { display: block; margin-bottom: 6px; font-weight: 500; font-size: 0.9rem; color: var(--text-primary); }
.form-control {
    width: 100%; padding: 12px 16px; border: 2px solid var(--border);
    border-radius: var(--radius-md); background: var(--surface);
    color: var(--text-primary); font-family: var(--font-body); font-size: 0.95rem;
    transition: border-color var(--transition);
}
.form-control:focus { outline: none; border-color: var(--accent); }
textarea.form-control { resize: vertical; min-height: 120px; }

/* ── CTA Banner ── */
.cta-banner {
    padding: 80px 0; text-align: center;
    background: linear-gradient(135deg, var(--accent), #F97316);
    color: #fff; position: relative; overflow: hidden;
}
.cta-banner h2 { color: #fff; margin-bottom: 16px; }
.cta-banner p { color: rgba(255,255,255,0.85); margin-bottom: 32px; font-size: 1.1rem; }
.cta-banner .btn { background: #fff; color: var(--accent); }
.cta-banner .btn:hover { background: #F5F5F5; box-shadow: var(--shadow-lg); }

/* ── Pagination ── */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 48px; }
.pagination a, .pagination span {
    width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
    border-radius: var(--radius-sm); font-weight: 600; font-size: 0.9rem;
    border: 1px solid var(--border); color: var(--text-secondary);
    transition: all var(--transition);
}
.pagination a:hover { border-color: var(--accent); color: var(--accent); }
.pagination .active { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ── Ad Container ── */
.ad-container { min-height: 90px; display: flex; align-items: center; justify-content: center; margin: 24px 0; }

/* ── Footer ── */
.site-footer {
    padding: 64px 0 0; background: var(--bg-secondary);
    border-top: 1px solid var(--border-light); margin-top: 80px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.1rem; color: var(--text-primary); font-family: var(--font-heading); margin-bottom: 12px; }
.footer-brand .brand-icon { width: 32px; height: 32px; font-size: 1rem; }
.footer-desc { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.7; }
.footer-heading { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); margin-bottom: 16px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: var(--text-secondary); font-size: 0.9rem; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom {
    display: flex; justify-content: space-between; align-items: center;
    padding: 24px 0; margin-top: 48px;
    border-top: 1px solid var(--border-light); font-size: 0.85rem; color: var(--text-muted);
}
.footer-credit { font-size: 0.8rem; }

/* ── Back to Top ── */
.back-to-top {
    position: fixed; bottom: 24px; right: 24px;
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--accent); color: #fff; border: none;
    cursor: pointer; font-size: 1.2rem;
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-accent); opacity: 0; visibility: hidden;
    transform: translateY(20px); transition: all var(--transition); z-index: 900;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-3px); }

/* ── Animations ── */
.fade-in { opacity: 0; transform: translateY(20px); transition: all 0.6s ease-out; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ── Responsive ── */
@media (max-width: 992px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-visual { display: none; }
    .hero-actions { justify-content: center; }
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .navbar-nav {
        position: fixed; top: var(--navbar-height); left: 0; right: 0;
        background: var(--surface); flex-direction: column;
        padding: 16px; border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-lg); transform: translateY(-110%);
        transition: transform var(--transition); gap: 4px;
    }
    .navbar-nav.open { transform: translateY(0); }
    .nav-link { width: 100%; justify-content: flex-start; padding: 12px 16px; }
    .navbar-toggler { display: flex; }
    .navbar-cta { display: none; }
    .dropdown-menu {
        position: static; box-shadow: none; opacity: 1; visibility: visible;
        transform: none; background: var(--bg-secondary); margin: 4px 0 4px 24px;
    }
    .blog-grid { grid-template-columns: 1fr; }
    .grid-3 { grid-template-columns: 1fr; }
    .grid-2 { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
    .section { padding: 48px 0; }
    .hero { padding: 110px 0 48px; }
    .calendar-day { min-height: 50px; }
}

/* ── Print (Legal pages) ── */
@media print {
    .navbar, .site-footer, .back-to-top, .ad-container, .breadcrumb-bar { display: none; }
    body { background: #fff; color: #000; }
    .legal-content { max-width: 100%; padding: 0; }
    a { color: #000; text-decoration: underline; }
}
