/* ============================================================
   GetDunk — Layout: Navigation, Footer, Dashboard
   ============================================================ */

/* ── Custom Cursor ────────────────────────────────────────── */
.cursor {
    width: 8px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 50%;
    position: fixed;
    top: 0; left: 0;
    pointer-events: none;
    z-index: var(--z-cursor);
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, background 0.2s;
}

.cursor-follower {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(212, 227, 48, 0.25);
    border-radius: 50%;
    position: fixed;
    top: 0; left: 0;
    pointer-events: none;
    z-index: calc(var(--z-cursor) - 1);
    transform: translate(-50%, -50%);
    transition: transform 0.08s ease-out, width 0.2s, height 0.2s, border-color 0.2s;
}

.cursor.hover { width: 12px; height: 12px; background: transparent; }
.cursor-follower.hover {
    width: 56px; height: 56px;
    background: var(--accent-glow);
    border-color: var(--accent-primary);
    backdrop-filter: blur(2px);
}

/* ── Navigation ───────────────────────────────────────────── */
.navbar {
    position: fixed;
    top: 24px; left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1000px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-pill);
    z-index: var(--z-nav);
    transition: var(--transition);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
}

.navbar.scrolled {
    top: 12px;
    box-shadow: var(--shadow-md);
}

.nav-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    transition: var(--transition-fast);
}

.logo span { color: var(--accent-primary); }
.logo:hover { opacity: 0.85; }

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav-link {
    font-size: var(--fs-body-sm);
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 0; height: 2px;
    background: var(--text-main);
    border-radius: 1px;
    transition: width var(--duration-normal) var(--ease-out-expo);
}

.nav-link:hover { color: var(--text-main); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-link.active { color: var(--text-main); }

/* ── Mobile Nav Toggle ────────────────────────────────────── */
.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 44px; height: 44px;
    background: transparent;
    border: none;
    z-index: calc(var(--z-nav) + 100);
    padding: 12px 7px;
    pointer-events: auto;
    border-radius: 50%;
    transition: var(--transition);
}

.mobile-nav-toggle.active {
    background: var(--accent-primary);
    box-shadow: 0 4px 15px var(--accent-glow);
}

.mobile-nav-toggle span {
    width: 100%; height: 2px;
    background-color: var(--text-main);
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.mobile-nav-toggle.active span:nth-child(1) { transform: translateY(9.5px) rotate(45deg); }
.mobile-nav-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-nav-toggle.active span:nth-child(3) { transform: translateY(-9.5px) rotate(-45deg); }

/* ── Mobile Menu Overlay ──────────────────────────────────── */
.mobile-menu {
    position: fixed;
    top: 0; right: -100%;
    width: 100%; height: 100vh;
    background: var(--bg-surface);
    z-index: var(--z-modal);
    transition: all 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu.active { right: 0; }

.mobile-menu-container {
    width: 100%; height: 100%;
    padding: 120px 40px 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.mobile-menu-link {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-main);
    transition: var(--transition);
}

.mobile-menu-link:hover {
    color: var(--accent-primary);
    transform: translateX(10px);
}

.mobile-menu-footer {
    border-top: 1px solid var(--border-color);
    padding-top: var(--space-xl);
}

.mobile-menu-socials {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
    margin-bottom: var(--space-md);
}

.mobile-menu-socials a {
    font-size: 1.5rem;
    color: var(--text-muted);
    transition: var(--transition);
}

.mobile-menu-socials a:hover { color: var(--accent-primary); }

/* ── Footer ───────────────────────────────────────────────── */
.footer {
    border-top: 1px solid var(--border-color);
    padding: var(--space-3xl) 0 var(--space-xl);
    background: var(--bg-surface);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-3xl);
    margin-bottom: var(--space-3xl);
}

.footer-brand .logo { margin-bottom: var(--space-md); }

.footer-brand p {
    color: var(--text-muted);
    font-size: var(--fs-body-sm);
    max-width: 280px;
    line-height: 1.7;
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: var(--fs-body-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-main);
    margin-bottom: var(--space-lg);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-links a {
    color: var(--text-muted);
    font-size: var(--fs-body-sm);
    transition: var(--transition);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-xl);
    border-top: 1px solid var(--border-color);
    color: var(--text-dim);
    font-size: var(--fs-body-sm);
}

.social-links {
    display: flex;
    gap: var(--space-lg);
}

.social-links a {
    font-size: 1.35rem;
    color: var(--text-muted);
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--accent-primary);
    transform: translateY(-3px);
}

/* ── Glow Orbs ────────────────────────────────────────────── */
.glow-orb {
    display: none;
}

.orb-1 { display: none; }
.orb-2 { display: none; }
.orb-3 { display: none; }

/* ── Clients Section (Marquee) ──────────────────────────────────────── */
.clients-section {
    padding: 60px 0;
    overflow: hidden;
    background: var(--bg-surface);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.clients-eyebrow {
    text-align: center;
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-size: var(--fs-caption);
    letter-spacing: 0.15em;
    color: var(--text-dim);
    margin-bottom: var(--space-xl);
    font-weight: 700;
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    white-space: nowrap;
}

.marquee-container::before,
.marquee-container::after {
    content: "";
    position: absolute;
    top: 0; width: 150px; height: 100%;
    z-index: 2;
}

.marquee-container::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-surface) 0%, transparent 100%);
}

.marquee-container::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-surface) 0%, transparent 100%);
}

.marquee-track {
    display: inline-flex;
    gap: 80px;
    align-items: center;
    animation: marquee 30s linear infinite;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.marquee-track img {
    height: 40px;
    width: auto;
    object-fit: contain;
    filter: invert(1) grayscale(100%) opacity(0.4);
    transition: var(--transition);
}

.marquee-track img:hover {
    filter: invert(1) grayscale(100%) opacity(0.8);
}

/* ── Dashboard Layout ─────────────────────────────────────── */
.dashboard-body { background-color: var(--bg-dark); }
.dashboard-layout { display: flex; min-height: 100vh; }

.sidebar {
    width: 280px;
    background: var(--bg-dark);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
}

.sidebar-header {
    padding: var(--space-lg);
    border-bottom: 1px solid var(--border-color);
}

.sidebar-nav {
    padding: var(--space-lg) var(--space-md);
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    font-weight: 500;
    transition: var(--transition);
    font-size: var(--fs-body-sm);
}

.sidebar-link i { font-size: 1.25rem; }

.sidebar-link:hover, .sidebar-link.active {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
}

.sidebar-link.active {
    color: var(--accent-primary);
    background: rgba(212, 227, 48, 0.1);
}

.sidebar-link .badge {
    margin-left: auto;
    background: var(--accent-primary);
    color: white;
    font-size: var(--fs-caption);
    padding: 2px 8px;
    border-radius: var(--radius-pill);
}

.sidebar-footer {
    padding: var(--space-lg);
    border-top: 1px solid var(--border-color);
}

.sidebar-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: calc(var(--z-nav) - 50);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.sidebar-overlay.active { opacity: 1; pointer-events: all; }

.user-profile { display: flex; align-items: center; gap: var(--space-sm); }

.user-avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
}

.user-info { display: flex; flex-direction: column; }
.user-name { font-weight: 600; font-size: var(--fs-body-sm); }
.user-role { font-size: var(--fs-caption); color: var(--text-muted); }

.logout-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.25rem;
    transition: var(--transition);
}

.logout-btn:hover { color: var(--accent-primary); }

/* Dashboard Main */
.dashboard-main { flex: 1; display: flex; flex-direction: column; }

.dashboard-header {
    height: var(--nav-height);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--space-2xl);
    background: var(--bg-surface);
    position: sticky;
    top: 0;
    z-index: var(--z-sticky);
}

.header-search {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--text-muted);
    background: var(--bg-elevated);
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    width: 300px;
}

.header-search input {
    background: transparent;
    border: none;
    color: var(--text-main);
    outline: none;
    width: 100%;
}

.dashboard-content { padding: var(--space-2xl); flex: 1; }

.content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-xl);
}

/* ── Project Cards ────────────────────────────────────────── */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--space-lg);
}

.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
}

.project-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--space-md);
}

.project-status {
    font-size: var(--fs-caption);
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-todo { background: rgba(255, 255, 255, 0.08); color: var(--text-muted); }
.status-new { background: rgba(255, 255, 255, 0.08); color: var(--text-muted); }
.status-in-progress { background: rgba(59, 130, 246, 0.15); color: #60A5FA; }
.status-review { background: rgba(245, 158, 11, 0.15); color: #FBBF24; }
.status-done { background: rgba(16, 185, 129, 0.15); color: #34D399; }

.project-card h3 { font-size: 1.2rem; margin-bottom: var(--space-xs); }
.project-card p { color: var(--text-muted); font-size: var(--fs-body-sm); margin-bottom: var(--space-lg); flex: 1; }

.project-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-md);
    border-top: 1px solid var(--border-color);
    font-size: var(--fs-body-sm);
    color: var(--text-muted);
}

.project-meta-item { display: flex; align-items: center; gap: 6px; }
.project-meta-item i { color: var(--accent-primary); }

/* ── Modals ────────────────────────────────────────────────── */
.modal {
    position: fixed; inset: 0;
    z-index: var(--z-modal);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.modal.active { opacity: 1; pointer-events: all; }

.modal-overlay {
    position: fixed; inset: 0;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(8px);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    z-index: calc(var(--z-modal) - 1);
}

.modal-overlay.active { opacity: 1; pointer-events: all; }

.modal-container {
    position: relative;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    z-index: calc(var(--z-modal) + 1);
    overflow-y: auto;
    transform: translateY(30px);
    transition: transform 0.4s var(--ease-out-expo);
}

.modal.active .modal-container { transform: translateY(0); }

.modal-close {
    position: absolute;
    top: 20px; right: 20px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    width: 44px; height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    font-size: 1.25rem;
    z-index: 10;
    transition: var(--transition);
}

.modal-close:hover {
    color: white;
    background: var(--accent-primary);
    border-color: var(--accent-primary);
}

.modal-content { padding: var(--space-2xl); }

.modal-header {
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid var(--border-color);
}

.modal-title { font-size: var(--fs-h3); margin: var(--space-md) 0; }

/* ── Giant Bottom CTA (Aaply Style) ───────────────────────── */
.cta-box {
    background: #000000;
    color: #ffffff;
    padding: var(--space-4xl) var(--space-2xl);
    border-radius: var(--radius-2xl);
    text-align: center;
    box-shadow: var(--shadow-xl);
    margin-top: var(--space-2xl);
}

.cta-box h2 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: var(--space-md);
    color: #ffffff;
}

.cta-box p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--space-3xl);
    font-size: var(--fs-body-lg);
}

/* Adjust email form for dark background inside CTA */
.cta-box .hero-email-form {
    background: #1a1a1a;
    border-color: #333;
}

.cta-box .hero-email-form input {
    color: #fff;
}

.cta-box .hero-email-form input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

/* ── Login Page ───────────────────────────────────────────── */
.login-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.login-container {
    width: 100%;
    max-width: 450px;
    padding: var(--space-lg);
    position: relative;
    z-index: 10;
}

.login-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    backdrop-filter: blur(12px);
}

.login-header { text-align: center; margin-bottom: var(--space-xl); }
.login-header .logo { display: block; font-size: 2rem; margin-bottom: var(--space-lg); }
.login-header h2 { font-size: 1.75rem; margin-bottom: var(--space-xs); }
.login-header p { color: var(--text-muted); }
.login-form .form-group { margin-bottom: var(--space-lg); }
.login-form label { display: block; margin-bottom: var(--space-xs); font-weight: 500; color: var(--text-muted); }

.login-error {
    background: rgba(248, 113, 113, 0.08);
    border: 1px solid rgba(248, 113, 113, 0.2);
    color: var(--status-error);
    padding: var(--space-sm);
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-lg);
    font-size: var(--fs-body-sm);
    text-align: center;
}

.login-footer {
    margin-top: var(--space-xl);
    text-align: center;
    color: var(--text-muted);
    font-size: var(--fs-body-sm);
}

.login-footer a { color: var(--accent-primary); font-weight: 500; }

/* ── CTA Box Contact Form ───────────────────────── */
.cta-box .contact-form {
    max-width: 650px;
    margin: 0 auto;
    text-align: left;
}

.cta-box .form-group {
    margin-bottom: var(--space-md);
}

.cta-box .form-group label {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    font-size: var(--fs-body-sm);
    margin-bottom: 8px;
    display: block;
}

.cta-box .form-group input,
.cta-box .form-group textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: #ffffff;
    padding: 14px 20px;
    font-size: var(--fs-body-sm);
    transition: all 0.3s ease;
    width: 100%;
}

.cta-box .form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.cta-box .form-group input:hover,
.cta-box .form-group textarea:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

.cta-box .form-group input:focus,
.cta-box .form-group textarea:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(212, 227, 48, 0.15);
    outline: none;
}

.cta-box .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

@media (max-width: 768px) {
    .cta-box .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* ============================================================
   GetDunk — Admin Dashboard Dark Theme overrides
   ============================================================ */
.dashboard-body,
.login-page {
    /* ── Dark Theme Color Tokens ───────────────────────── */
    --bg-dark: #070709;
    --bg-surface: #0e0e12;
    --bg-card: #15151b;
    --bg-card-hover: #1e1e27;
    --bg-card-solid: #15151b;
    --bg-elevated: #111116;
    --bg-glass: rgba(14, 14, 18, 0.75);

    --text-main: #ffffff;
    --text-secondary: #e5e5ea;
    --text-muted: #8e8e93;
    --text-dim: #aeaeb2;

    --border-color: rgba(255, 255, 255, 0.08);
    --border-subtle: rgba(255, 255, 255, 0.04);
    --border-hover: rgba(255, 255, 255, 0.18);
    --border-accent: rgba(212, 227, 48, 0.8);
    
    background-color: var(--bg-dark);
    color: var(--text-main);
}

/* Visual Tuning Overrides for Admin Views */
.dashboard-body .modal-overlay,
.login-page .modal-overlay {
    background: rgba(0, 0, 0, 0.7);
}

.dashboard-body .sidebar-link:hover, 
.dashboard-body .sidebar-link.active {
    background: rgba(255, 255, 255, 0.05);
    color: var(--accent-primary);
}

.dashboard-body .content-card {
    background: var(--bg-card) !important;
    border: 1px solid var(--border-color) !important;
}

.dashboard-body table th {
    background: rgba(255, 255, 255, 0.02) !important;
    color: var(--text-muted) !important;
    border-bottom: 1px solid var(--border-color) !important;
}

.dashboard-body input:focus,
.dashboard-body textarea:focus,
.dashboard-body select:focus,
.login-page input:focus {
    border-color: var(--accent-primary) !important;
    background: rgba(212, 227, 48, 0.02) !important;
    box-shadow: 0 0 0 3px rgba(212, 227, 48, 0.15) !important;
}

.dashboard-body select option {
    background: var(--bg-card);
    color: var(--text-main);
}

.dashboard-body .faq-item,
.dashboard-body .step {
    background: var(--bg-card);
    border-color: var(--border-color);
}

/* ============================================================
   GetDunk — Public Website Dark Mode overrides
   ============================================================ */
html.dark-mode {
    /* ── Dark Theme Color Tokens ───────────────────────── */
    --bg-dark: #070709;
    --bg-surface: #0e0e12;
    --bg-card: #15151b;
    --bg-card-hover: #1e1e27;
    --bg-card-solid: #15151b;
    --bg-elevated: #111116;
    --bg-glass: rgba(14, 14, 18, 0.75);

    --text-main: #ffffff;
    --text-secondary: #e5e5ea;
    --text-muted: #8e8e93;
    --text-dim: #aeaeb2;

    --border-color: rgba(255, 255, 255, 0.08);
    --border-subtle: rgba(255, 255, 255, 0.04);
    --border-hover: rgba(255, 255, 255, 0.18);
    --border-accent: rgba(212, 227, 48, 0.8);
}

/* Specific UI updates for dark mode on public pages */
html.dark-mode .navbar {
    background: rgba(14, 14, 18, 0.85);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

html.dark-mode .mobile-menu {
    background: #0e0e12;
}

html.dark-mode .mobile-menu-footer {
    border-color: rgba(255, 255, 255, 0.08);
}

html.dark-mode .faq-item,
html.dark-mode .step,
html.dark-mode .bento-card,
html.dark-mode .aaply-feature-card {
    background: var(--bg-card);
    border-color: var(--border-color);
}

html.dark-mode .faq-item:hover,
html.dark-mode .step:hover {
    background: var(--bg-card-hover);
    border-color: var(--accent-primary);
}

html.dark-mode .aaply-feature-card:hover {
    border-color: var(--border-hover);
}

html.dark-mode .portfolio-item {
    border-color: var(--border-color);
}

html.dark-mode .portfolio-item:hover {
    border-color: var(--accent-primary);
}

html.dark-mode .portfolio-content {
    background: linear-gradient(to top, rgba(14, 14, 18, 0.95) 0%, rgba(14, 14, 18, 0.8) 60%, transparent 100%);
}

html.dark-mode .marquee-track img {
    filter: grayscale(100%) opacity(0.4); /* Original white logos are visible on dark background without inversion */
}

html.dark-mode .marquee-track img:hover {
    filter: grayscale(100%) opacity(0.8);
}

html.dark-mode .floating-emoji {
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.6));
}

html.dark-mode .hero-grid {
    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);
    mask-image: radial-gradient(ellipse 60% 60% at 50% 40%, black 45%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 40%, black 45%, transparent 100%);
}

/* ── iOS Theme Switch ────────────────────────────────────── */
.ios-switch {
    width: 48px;
    height: 26px;
    background: rgba(0, 0, 0, 0.08);
    border-radius: 100px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 0;
    position: relative;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
}

.ios-switch-thumb {
    width: 20px;
    height: 20px;
    background: #ffffff;
    border-radius: 50%;
    position: absolute;
    left: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ios-switch-thumb::after {
    content: "☀️";
    font-size: 0.75rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Active Dark Mode switch styling */
html.dark-mode .ios-switch {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
}

html.dark-mode .ios-switch-thumb {
    left: calc(100% - 22px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

html.dark-mode .ios-switch-thumb::after {
    content: "🌙";
    font-size: 0.75rem;
}





