/* ============================================
   Client Koi — Shared Design System
   Antigravity Glassmorphism Dark Theme
   ============================================ */

/* --- Design Tokens --- */
:root {
    --bg-color: #020617;
    --surface-1: rgba(255, 255, 255, 0.02);
    --surface-2: rgba(255, 255, 255, 0.04);
    --surface-3: rgba(255, 255, 255, 0.06);
    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(29, 185, 84, 0.4);
    --accent: #1DB954;
    --accent-glow: rgba(29, 185, 84, 0.4);
    --accent-soft: rgba(29, 185, 84, 0.1);
    --accent-border: rgba(29, 185, 84, 0.2);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-heading: #fff;
    --whatsapp: #25D366;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 40px;
    --shadow-card: 0 10px 30px rgba(0,0,0,0.3);
    --shadow-card-hover: 0 15px 40px rgba(29, 185, 84, 0.2);
    --shadow-deep: 0 30px 60px rgba(0,0,0,0.5), 0 0 40px rgba(29,185,84,0.15);
    --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    width: 100%;
}

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

a:hover {
    color: #23e066;
}

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

/* --- Accessibility --- */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* --- Background Orbs --- */
.orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    pointer-events: none;
    z-index: -1;
    will-change: transform;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: var(--accent);
    top: 10%;
    left: 10%;
    animation: float-1 20s ease-in-out infinite alternate;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: #3b82f6;
    bottom: 10%;
    right: 10%;
    animation: float-2 25s ease-in-out infinite alternate-reverse;
}

@keyframes float-1 {
    0% { transform: translate3d(0, 0, 0) scale(1); }
    100% { transform: translate3d(100px, 50px, 0) scale(1.2); }
}

@keyframes float-2 {
    0% { transform: translate3d(0, 0, 0) scale(1); }
    100% { transform: translate3d(-100px, -80px, 0) scale(1.1); }
}

/* --- Container --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Glass Panel --- */
.glass-panel {
    background: var(--surface-1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
}

/* --- Glow Card --- */
.glow-card {
    transition: border-color var(--transition-smooth), transform var(--transition-bounce);
}

.glow-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(800px circle at var(--mouse-x) var(--mouse-y), rgba(29, 185, 84, 0.08), transparent 40%);
    z-index: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity var(--transition-smooth);
}

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

.glow-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-8px);
}

.glow-card > * {
    position: relative;
    z-index: 1;
}

/* --- Navigation --- */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 0;
    background: rgba(2, 6, 23, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: -0.02em;
    text-decoration: none;
    color: inherit;
}

.logo img {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 12px rgba(29,185,84,0.3);
    object-fit: cover;
}

.nav-links {
    display: flex;
    gap: 24px;
    font-weight: 500;
    font-size: 0.95rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    transition: color var(--transition-smooth);
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-main);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent);
    border-radius: 1px;
}

/* Mobile Menu Toggle */
.nav-toggle {
    display: none;
    background: none;
    border: 1px solid var(--border);
    color: var(--text-main);
    padding: 8px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
}

/* --- Buttons --- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent);
    color: #000;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all var(--transition-smooth);
    border: none;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(29, 185, 84, 0.2);
    position: relative;
    overflow: hidden;
    font-family: inherit;
    font-size: 1rem;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%; left: -50%; width: 200%; height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.4), transparent);
    transform: rotate(45deg) translate(-100%, 0);
    transition: transform 0.6s;
}

.btn-primary:hover::after {
    transform: rotate(45deg) translate(100%, 0);
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 10px 40px rgba(29, 185, 84, 0.6);
    color: #000;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--accent);
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all var(--transition-smooth);
    border: 2px solid var(--accent);
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
}

.btn-outline:hover {
    background: var(--accent-soft);
    transform: translateY(-2px);
    color: var(--accent);
}

/* --- Hero Section --- */
.hero {
    padding-top: 180px;
    padding-bottom: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.badge {
    background: var(--accent-soft);
    border: 1px solid rgba(29, 185, 84, 0.3);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 32px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 0 15px rgba(29,185,84,0.15);
}

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

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

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 5.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.04em;
    margin-bottom: 24px;
    background: linear-gradient(180deg, #fff 0%, #a1a1aa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto 40px;
}

/* --- Page Hero (for subpages) --- */
.page-hero {
    padding-top: 160px;
    padding-bottom: 80px;
    text-align: center;
    position: relative;
}

.page-hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
    background: linear-gradient(180deg, #fff 0%, #a1a1aa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-hero .subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

/* --- Sections --- */
.section {
    padding: 80px 0;
    position: relative;
    z-index: 10;
}

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

.section-header h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-heading);
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-top: 8px;
}

/* --- Features Grid --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.feature-card {
    padding: 32px;
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: var(--accent-soft);
    border: 1px solid var(--accent-border);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    margin-bottom: 24px;
    box-shadow: inset 0 0 20px rgba(29,185,84,0.05);
    transition: transform var(--transition-bounce);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(-5deg);
    background: rgba(29, 185, 84, 0.2);
}

.feature-icon .material-symbols-outlined {
    font-size: 28px;
}

.feature-card h3 {
    margin-bottom: 8px;
    font-size: 1.25rem;
    color: var(--text-heading);
}

.feature-card p,
.text-muted {
    color: var(--text-muted);
}

/* --- Setup / Video --- */
.setup-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-deep);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.5s ease;
    z-index: 2;
    cursor: pointer;
}

.video-wrapper:hover {
    transform: scale(1.03) translateY(-10px);
    box-shadow: 0 40px 80px rgba(0,0,0,0.6), 0 0 60px rgba(29,185,84,0.3);
    border-color: rgba(29,185,84,0.5);
}

.video-wrapper iframe,
.video-wrapper .yt-facade {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    border: 0;
}

/* YouTube Facade (performance optimization) */
.yt-facade {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background-size: cover;
    background-position: center;
}

.yt-facade .play-btn {
    width: 68px;
    height: 48px;
    background: rgba(255,0,0,0.85);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition-smooth), transform var(--transition-bounce);
}

.yt-facade:hover .play-btn {
    background: #f00;
    transform: scale(1.1);
}

.yt-facade .play-btn::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 0 10px 18px;
    border-color: transparent transparent transparent #fff;
    margin-left: 4px;
}

/* --- Steps List --- */
.steps-list {
    list-style: none;
    counter-reset: setup-counter;
}

.step-item {
    position: relative;
    padding-left: 64px;
    margin-bottom: 40px;
}

.step-item::before {
    counter-increment: setup-counter;
    content: counter(setup-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 44px;
    height: 44px;
    background: var(--surface-2);
    border: 1px solid var(--accent);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    font-family: 'JetBrains Mono', monospace;
    box-shadow: 0 0 15px rgba(29,185,84,0.2);
    transition: all var(--transition-smooth);
}

.step-item:hover::before {
    background: var(--accent);
    color: #000;
    transform: scale(1.1) rotate(5deg);
}

.step-title {
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 6px;
    color: var(--text-heading);
}

.step-desc {
    color: var(--text-muted);
    font-size: 1rem;
}

.bangla-text {
    display: none;
    color: #cbd5e1;
    font-size: 0.95rem;
    margin-top: 10px;
    padding-left: 16px;
    border-left: 2px solid var(--accent);
    font-weight: 500;
}

/* --- Explore Cards (Internal Link Hub) --- */
.explore-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.explore-card {
    padding: 32px;
    text-decoration: none;
    color: inherit;
    display: block;
    transition: all var(--transition-bounce);
}

.explore-card:hover {
    color: inherit;
}

.explore-card .card-icon {
    width: 56px;
    height: 56px;
    background: var(--accent-soft);
    border: 1px solid var(--accent-border);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    margin-bottom: 20px;
    transition: transform var(--transition-bounce);
}

.explore-card:hover .card-icon {
    transform: scale(1.1) rotate(-5deg);
    background: rgba(29, 185, 84, 0.2);
}

.explore-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-heading);
}

.explore-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.explore-card .card-link {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap var(--transition-smooth);
}

.explore-card:hover .card-link {
    gap: 8px;
}

/* --- CTA Section --- */
.cta-section {
    text-align: center;
    padding-bottom: 60px;
}

.cta-panel {
    padding: 80px 40px;
    position: relative;
    overflow: hidden;
}

.cta-glow {
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 400px;
    background: var(--accent);
    filter: blur(150px);
    opacity: 0.2;
    z-index: 0;
    pointer-events: none;
}

.cta-panel h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
    color: var(--text-heading);
}

.cta-panel p {
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-bottom: 32px;
    position: relative;
    z-index: 1;
}

.cta-panel .btn-primary {
    position: relative;
    z-index: 1;
    padding: 18px 40px;
    font-size: 1.2rem;
}

/* --- Footer --- */
footer {
    border-top: 1px solid var(--border);
    padding: 80px 0 40px;
    margin-top: 80px;
    background: rgba(255,255,255,0.01);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 48px;
    margin-bottom: 64px;
}

.footer-brand {
    grid-column: span 2;
}

.footer-col h3,
.footer-col h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all var(--transition-smooth);
}

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

.footer-links .material-symbols-outlined {
    font-size: 18px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-heading);
    margin-bottom: 16px;
    text-decoration: none;
}

.footer-logo img {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    object-fit: cover;
}

/* --- QR Card --- */
.qr-card {
    background: rgba(255,255,255,0.03);
    padding: 20px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.1);
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: var(--shadow-card);
}

.qr-card::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(37, 211, 102, 0.15) 0%, transparent 60%);
    animation: rotate-glow 10s linear infinite;
    z-index: 0;
    pointer-events: none;
}

@keyframes rotate-glow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.qr-card:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: var(--whatsapp);
    box-shadow: var(--shadow-card-hover);
    background: rgba(37, 211, 102, 0.05);
}

.qr-image-wrapper {
    background: #fff;
    padding: 10px;
    border-radius: 12px;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.qr-card img {
    width: 140px;
    height: 140px;
    display: block;
}

.qr-text {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: var(--text-main);
    font-weight: 600;
    z-index: 1;
}

.qr-text .material-symbols-outlined {
    color: var(--whatsapp);
}

/* --- Article / Guide Content --- */
.article-content {
    max-width: 800px;
    margin: 0 auto;
}

.article-content h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-top: 64px;
    margin-bottom: 16px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    color: var(--text-heading);
}

.article-content h2:first-of-type {
    border-top: none;
    margin-top: 0;
}

.article-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-top: 32px;
    margin-bottom: 12px;
    color: var(--text-heading);
}

.article-content p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.article-content strong {
    color: var(--text-main);
}

.article-content ul,
.article-content ol {
    color: var(--text-muted);
    padding-left: 24px;
    margin-bottom: 20px;
}

.article-content li {
    margin-bottom: 8px;
    line-height: 1.7;
}

.article-content code {
    background: var(--surface-2);
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid var(--border);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9em;
    color: var(--accent);
}

/* --- Tips Grid --- */
.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 24px;
}

.tip-card {
    padding: 32px;
    counter-increment: tip-counter;
}

.tip-number {
    width: 40px;
    height: 40px;
    background: var(--accent-soft);
    border: 1px solid var(--accent-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
    color: var(--accent);
    margin-bottom: 16px;
    font-size: 1rem;
}

.tip-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-heading);
}

.tip-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* --- Comparison Table --- */
.comparison-wrapper {
    overflow-x: auto;
    border-radius: var(--radius-lg);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    min-width: 700px;
}

.comparison-table thead tr {
    border-bottom: 2px solid var(--border);
}

.comparison-table th {
    padding: 20px 16px;
    font-weight: 600;
    color: var(--text-muted);
}

.comparison-table th.highlight {
    color: var(--accent);
    font-weight: 700;
}

.comparison-table td {
    padding: 16px;
    border-bottom: 1px solid var(--border);
    color: var(--text-main);
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.check {
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.cross {
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* --- TOC (Table of Contents) --- */
.toc {
    background: var(--surface-1);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px 32px;
    margin-bottom: 48px;
}

.toc h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-heading);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.toc ol {
    list-style: decimal;
    padding-left: 20px;
}

.toc li {
    margin-bottom: 8px;
}

.toc a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--transition-smooth);
    font-size: 0.95rem;
}

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

/* --- Footer Bottom --- */
.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-bottom a {
    color: var(--text-muted);
    text-decoration: none;
}

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

/* --- GSAP Animation Helpers --- */
.gsap-reveal {
    opacity: 0;
    visibility: hidden;
}

/* --- Breadcrumb --- */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    justify-content: center;
}

.breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--transition-smooth);
}

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

.breadcrumb .separator {
    opacity: 0.5;
}

/* --- Responsive --- */
@media (max-width: 900px) {
    .setup-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero {
        padding-top: 120px;
        padding-bottom: 60px;
    }

    .hero h1 {
        font-size: clamp(2rem, 8vw, 2.5rem);
        line-height: 1.2;
        min-height: 3em;
    }

    .page-hero {
        padding-top: 120px;
        padding-bottom: 60px;
    }

    .glass-panel {
        padding: 30px 20px;
    }

    .footer-brand {
        grid-column: span 1;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 65px;
        left: 0;
        right: 0;
        background: rgba(2, 6, 23, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid var(--border);
        z-index: 99;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav-download {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .nav-download .material-symbols-outlined {
        display: none;
    }

    .tips-grid {
        grid-template-columns: 1fr;
    }

    .explore-grid {
        grid-template-columns: 1fr;
    }

    .cta-panel {
        padding: 60px 24px;
    }
}
