/* =============================================
   KUSTOM FX — Digital Display Solutions
   Premium Website Styles
   ============================================= */

/* --- CSS Variables --- */
:root {
    --bg-dark: #0a0a0f;
    --bg-card: #12121a;
    --bg-card-hover: #1a1a2e;
    --bg-surface: #16161f;
    --text-primary: #ffffff;
    --text-secondary: #a0a0b8;
    --text-muted: #6b6b80;
    --accent-cyan: #00f0ff;
    --accent-purple: #a855f7;
    --accent-pink: #ec4899;
    --accent-orange: #f97316;
    --gradient-main: linear-gradient(135deg, #00f0ff, #a855f7);
    --gradient-hover: linear-gradient(135deg, #a855f7, #ec4899);
    --gradient-glow: linear-gradient(135deg, #00f0ff33, #a855f733);
    --border: #2a2a3e;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 30px rgba(0, 240, 255, 0.15);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-display: 'Orbitron', sans-serif;
    --font-body: 'Rajdhani', sans-serif;
}

/* --- Skip Link (Accessibility) --- */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    z-index: 10000;
    padding: 12px 24px;
    background: var(--accent-cyan);
    color: var(--bg-dark);
    font-weight: 700;
    border-radius: 0 0 8px 8px;
    transition: top 0.2s;
}

.skip-link:focus {
    top: 0;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 17px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

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

/* --- Particle Canvas --- */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(10, 10, 15, 0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 10px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text-primary);
}

.nav-logo .logo-k,
.nav-logo .logo-f,
.nav-logo .logo-x {
    font-size: 1.8rem;
    color: #00f0ff;
    background: linear-gradient(135deg, #00f0ff, #a855f7);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Spotlight search for "USTOM" in night mode — two visible beams hunting */
.logo-hidden-wrap {
    display: inline-block;
    position: relative;
    overflow: visible;
}

.logo-hidden {
    color: transparent;
    -webkit-text-fill-color: transparent;
}

/* Beam orbs — visible light that sweeps across */
.logo-hidden-wrap::before,
.logo-hidden-wrap::after {
    content: '';
    position: absolute;
    top: -8px;
    bottom: -8px;
    width: 22px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    filter: blur(5px);
    opacity: 0;
}

/* Cyan beam — sweeps left to right from K */
.logo-hidden-wrap::before {
    background: radial-gradient(ellipse at center,
        rgba(0, 240, 255, 0.8) 0%,
        rgba(0, 240, 255, 0.35) 40%,
        transparent 70%
    );
    box-shadow: 0 0 14px 6px rgba(0, 240, 255, 0.5),
                0 0 28px 10px rgba(0, 240, 255, 0.2);
    animation: beamSweep 10s linear infinite;
}

/* Purple beam — sweeps right to left from X */
.logo-hidden-wrap::after {
    background: radial-gradient(ellipse at center,
        rgba(168, 85, 247, 0.8) 0%,
        rgba(168, 85, 247, 0.35) 40%,
        transparent 70%
    );
    box-shadow: 0 0 14px 6px rgba(168, 85, 247, 0.5),
                0 0 28px 10px rgba(168, 85, 247, 0.2);
    animation: beamSweepR 10s linear infinite;
}

/* Cyan beam: sweep left→right from 3% to 35% of cycle */
@keyframes beamSweep {
    0%, 2%   { left: -15%; opacity: 0; }
    3%       { left: -10%; opacity: 1; }
    35%      { left: 110%; opacity: 1; }
    37%      { left: 115%; opacity: 0; }
    37.1%, 100% { left: -15%; opacity: 0; }
}

/* Purple beam: sweep right→left from 53% to 85% of cycle */
@keyframes beamSweepR {
    0%, 52%  { left: 115%; opacity: 0; }
    53%      { left: 110%; opacity: 1; }
    85%      { left: -10%; opacity: 1; }
    87%      { left: -15%; opacity: 0; }
    87.1%, 100% { left: 115%; opacity: 0; }
}

/*
 * Letter glow synced to beam position.
 * Cyan beam (left→right) 3%→35%: reveals letters, they STAY lit in cyan.
 * Purple beam (right→left) 53%→85%: fades each letter to purple, then invisible.
 *   Cyan reveal:  U≈8%, S≈14%, T≈19%, O≈25%, M≈30%
 *   Purple erase:  M≈58%, O≈64%, T≈69%, S≈75%, U≈80%
 */
.lh-u { animation: spotU 10s linear infinite; }
.lh-s { animation: spotS 10s linear infinite; }
.lh-t { animation: spotT 10s linear infinite; }
.lh-o { animation: spotO 10s linear infinite; }
.lh-m { animation: spotM 10s linear infinite; }

@keyframes spotU {
    /* invisible */
    0%, 6%   { color: transparent; -webkit-text-fill-color: transparent; text-shadow: none; }
    /* cyan beam reveals */
    8%       { color: #00f0ff; -webkit-text-fill-color: #00f0ff; text-shadow: 0 0 12px rgba(0, 240, 255, 0.9), 0 0 24px rgba(0, 240, 255, 0.4); }
    /* stays lit in cyan */
    10%      { color: #00f0ff; -webkit-text-fill-color: #00f0ff; text-shadow: 0 0 8px rgba(0, 240, 255, 0.5); }
    78%      { color: #00f0ff; -webkit-text-fill-color: #00f0ff; text-shadow: 0 0 8px rgba(0, 240, 255, 0.5); }
    /* purple beam arrives — flash purple */
    80%      { color: #a855f7; -webkit-text-fill-color: #a855f7; text-shadow: 0 0 12px rgba(168, 85, 247, 0.9), 0 0 24px rgba(168, 85, 247, 0.4); }
    /* fade to invisible */
    84%      { color: transparent; -webkit-text-fill-color: transparent; text-shadow: none; }
    100%     { color: transparent; -webkit-text-fill-color: transparent; text-shadow: none; }
}

@keyframes spotS {
    0%, 12%  { color: transparent; -webkit-text-fill-color: transparent; text-shadow: none; }
    14%      { color: #00f0ff; -webkit-text-fill-color: #00f0ff; text-shadow: 0 0 12px rgba(0, 240, 255, 0.9), 0 0 24px rgba(0, 240, 255, 0.4); }
    16%      { color: #00f0ff; -webkit-text-fill-color: #00f0ff; text-shadow: 0 0 8px rgba(0, 240, 255, 0.5); }
    73%      { color: #00f0ff; -webkit-text-fill-color: #00f0ff; text-shadow: 0 0 8px rgba(0, 240, 255, 0.5); }
    75%      { color: #a855f7; -webkit-text-fill-color: #a855f7; text-shadow: 0 0 12px rgba(168, 85, 247, 0.9), 0 0 24px rgba(168, 85, 247, 0.4); }
    79%      { color: transparent; -webkit-text-fill-color: transparent; text-shadow: none; }
    100%     { color: transparent; -webkit-text-fill-color: transparent; text-shadow: none; }
}

@keyframes spotT {
    0%, 17%  { color: transparent; -webkit-text-fill-color: transparent; text-shadow: none; }
    19%      { color: #00f0ff; -webkit-text-fill-color: #00f0ff; text-shadow: 0 0 12px rgba(0, 240, 255, 0.9), 0 0 24px rgba(0, 240, 255, 0.4); }
    21%      { color: #00f0ff; -webkit-text-fill-color: #00f0ff; text-shadow: 0 0 8px rgba(0, 240, 255, 0.5); }
    67%      { color: #00f0ff; -webkit-text-fill-color: #00f0ff; text-shadow: 0 0 8px rgba(0, 240, 255, 0.5); }
    69%      { color: #a855f7; -webkit-text-fill-color: #a855f7; text-shadow: 0 0 12px rgba(168, 85, 247, 0.9), 0 0 24px rgba(168, 85, 247, 0.4); }
    73%      { color: transparent; -webkit-text-fill-color: transparent; text-shadow: none; }
    100%     { color: transparent; -webkit-text-fill-color: transparent; text-shadow: none; }
}

@keyframes spotO {
    0%, 23%  { color: transparent; -webkit-text-fill-color: transparent; text-shadow: none; }
    25%      { color: #00f0ff; -webkit-text-fill-color: #00f0ff; text-shadow: 0 0 12px rgba(0, 240, 255, 0.9), 0 0 24px rgba(0, 240, 255, 0.4); }
    27%      { color: #00f0ff; -webkit-text-fill-color: #00f0ff; text-shadow: 0 0 8px rgba(0, 240, 255, 0.5); }
    62%      { color: #00f0ff; -webkit-text-fill-color: #00f0ff; text-shadow: 0 0 8px rgba(0, 240, 255, 0.5); }
    64%      { color: #a855f7; -webkit-text-fill-color: #a855f7; text-shadow: 0 0 12px rgba(168, 85, 247, 0.9), 0 0 24px rgba(168, 85, 247, 0.4); }
    68%      { color: transparent; -webkit-text-fill-color: transparent; text-shadow: none; }
    100%     { color: transparent; -webkit-text-fill-color: transparent; text-shadow: none; }
}

@keyframes spotM {
    0%, 28%  { color: transparent; -webkit-text-fill-color: transparent; text-shadow: none; }
    30%      { color: #00f0ff; -webkit-text-fill-color: #00f0ff; text-shadow: 0 0 12px rgba(0, 240, 255, 0.9), 0 0 24px rgba(0, 240, 255, 0.4); }
    32%      { color: #00f0ff; -webkit-text-fill-color: #00f0ff; text-shadow: 0 0 8px rgba(0, 240, 255, 0.5); }
    56%      { color: #00f0ff; -webkit-text-fill-color: #00f0ff; text-shadow: 0 0 8px rgba(0, 240, 255, 0.5); }
    58%      { color: #a855f7; -webkit-text-fill-color: #a855f7; text-shadow: 0 0 12px rgba(168, 85, 247, 0.9), 0 0 24px rgba(168, 85, 247, 0.4); }
    62%      { color: transparent; -webkit-text-fill-color: transparent; text-shadow: none; }
    100%     { color: transparent; -webkit-text-fill-color: transparent; text-shadow: none; }
}

/* In day mode, everything visible, no beams */
[data-theme="day"] .logo-hidden {
    color: inherit;
    -webkit-text-fill-color: inherit;
    animation: none;
}

[data-theme="day"] .logo-hidden-wrap::before,
[data-theme="day"] .logo-hidden-wrap::after {
    display: none;
}

.logo-k {
    animation: glowK 5s infinite;
}

.glow-f {
    animation: glowF 4s infinite;
}

.glow-x {
    animation: glowX 6s infinite;
}

@keyframes glowK {
    0%, 100% { opacity: 1; }
    20% { opacity: 0.6; }
    22% { opacity: 1; }
    23% { opacity: 0.7; }
    25% { opacity: 1; }
    70% { opacity: 1; }
    71% { opacity: 0.5; }
    73% { opacity: 1; }
    74% { opacity: 0.65; }
    75% { opacity: 1; }
}

@keyframes glowF {
    0%, 100% { opacity: 1; }
    3% { opacity: 0.65; }
    6% { opacity: 1; }
    7% { opacity: 0.6; }
    9% { opacity: 1; }
    55% { opacity: 1; }
    57% { opacity: 0.5; }
    58% { opacity: 1; }
    60% { opacity: 0.65; }
    61% { opacity: 1; }
}

@keyframes glowX {
    0%, 100% { opacity: 1; }
    12% { opacity: 0.7; }
    14% { opacity: 1; }
    40% { opacity: 1; }
    42% { opacity: 0.6; }
    43% { opacity: 1; }
    44% { opacity: 0.5; }
    46% { opacity: 1; }
    83% { opacity: 1; }
    84% { opacity: 0.65; }
    86% { opacity: 1; }
}

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

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-main);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    padding: 8px 20px !important;
    border: 1px solid var(--accent-cyan);
    border-radius: 8px;
    color: var(--accent-cyan) !important;
    font-weight: 600 !important;
}

.nav-cta:hover {
    background: rgba(0, 240, 255, 0.1);
}

.nav-cta::after { display: none !important; }

.nav-cta.pulse {
    border-color: var(--accent-purple);
    color: var(--accent-purple) !important;
    animation: pulse-border 2s infinite;
}

@keyframes pulse-border {
    0%, 100% { box-shadow: 0 0 0 0 rgba(168, 85, 247, 0.4); }
    50% { box-shadow: 0 0 0 6px rgba(168, 85, 247, 0); }
}

.nav-overlay {
    display: none;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
    border-radius: 2px;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(0, 240, 255, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(168, 85, 247, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 100%, rgba(236, 72, 153, 0.05) 0%, transparent 50%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 24px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 24px;
    border: 1px solid var(--border);
    border-radius: 50px;
    font-family: var(--font-display);
    font-size: 0.75rem;
    letter-spacing: 3px;
    color: var(--accent-cyan);
    margin-bottom: 32px;
    background: rgba(0, 240, 255, 0.05);
    animation: fadeInDown 0.8s ease-out;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-title .line-1 {
    display: block;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-title .line-2 {
    display: block;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.gradient-text {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-main);
    color: var(--bg-dark);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 240, 255, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.btn-outline:hover {
    border-color: var(--accent-cyan);
    background: rgba(0, 240, 255, 0.05);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
    justify-content: center;
    margin-top: auto;
}

.btn-glow {
    animation: glow-pulse 2s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% { box-shadow: 0 0 20px rgba(0, 240, 255, 0.2); }
    50% { box-shadow: 0 0 40px rgba(0, 240, 255, 0.4), 0 0 60px rgba(168, 85, 247, 0.2); }
}

/* --- Hero Stats --- */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 64px;
    animation: fadeInUp 0.8s ease-out 1s both;
}

.stat {
    text-align: center;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-plus, .stat-percent {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 4px;
    letter-spacing: 0.5px;
}

/* --- Scroll Indicator --- */
.scroll-indicator {
    display: none;
}

.scroll-indicator span {
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.mouse {
    width: 24px;
    height: 38px;
    border: 2px solid var(--text-muted);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.mouse-wheel {
    width: 3px;
    height: 8px;
    background: var(--accent-cyan);
    border-radius: 3px;
    animation: scroll-wheel 1.5s ease-in-out infinite;
}

@keyframes scroll-wheel {
    0% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(10px); }
}

/* Floating scroll FAB */
.mobile-scroll-fab {
    display: flex;
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    flex-direction: column;
    align-items: center;
}

.fab-scroll-down {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 10px 12px;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    border-radius: 24px;
    transition: opacity 0.3s, transform 0.3s;
}

.fab-scroll-down .mouse {
    width: 18px;
    height: 28px;
    border-width: 1.5px;
    border-color: var(--accent-cyan);
    padding-top: 6px;
}

.fab-scroll-down .mouse-wheel {
    width: 2px;
    height: 6px;
}

.fab-scroll-down span {
    font-size: 0.5rem;
    color: var(--accent-cyan);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.fab-scroll-down.hidden {
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
}

.fab-scroll-up {
    position: absolute;
    inset: 0;
    width: 48px;
    height: 48px;
    margin: auto;
    border-radius: 50%;
    border: 1px solid rgba(0, 240, 255, 0.3);
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    color: var(--accent-cyan);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s, transform 0.3s, border-color 0.3s, box-shadow 0.3s;
    pointer-events: none;
    box-shadow: 0 0 12px rgba(0, 240, 255, 0.1);
}

.fab-scroll-up.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.fab-scroll-up:hover {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
    background: rgba(0, 240, 255, 0.1);
}

.fab-scroll-up:active {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
}

/* --- Section Common --- */
.section {
    position: relative;
    z-index: 1;
    padding: 100px 0;
}

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

.section-tag {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.75rem;
    letter-spacing: 3px;
    color: var(--accent-cyan);
    margin-bottom: 16px;
    padding: 6px 16px;
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 50px;
    background: rgba(0, 240, 255, 0.05);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* --- Animations --- */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- About Section --- */
.about {
    background:
        linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-surface) 50%, var(--bg-dark) 100%);
}

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

.about-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-main);
    opacity: 0;
    transition: var(--transition);
}

.about-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 240, 255, 0.3);
    box-shadow: var(--shadow-glow);
}

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

.about-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    color: var(--accent-cyan);
}

.about-card h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

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

/* --- Services Timeline --- */
.services {
    background: var(--bg-dark);
}

.services-timeline {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.services-timeline::before {
    content: '';
    position: absolute;
    left: 32px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gradient-main);
    opacity: 0.3;
}

.timeline-item {
    display: flex;
    gap: 32px;
    align-items: flex-start;
    margin-bottom: 48px;
    position: relative;
}

.timeline-number {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    min-width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 2px solid var(--accent-cyan);
    border-radius: 50%;
    color: var(--accent-cyan);
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.timeline-item:hover .timeline-number {
    background: var(--gradient-main);
    color: var(--bg-dark);
    border-color: transparent;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
}

.timeline-content h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

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

/* --- Pricing Section --- */
.pricing {
    background:
        linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-surface) 50%, var(--bg-dark) 100%);
}

.tier-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 24px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 4px;
}

.tier-tab {
    flex: 1;
    padding: 8px 12px;
    font-size: 0.85rem;
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--text-muted);
    background: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.tier-tab:hover {
    color: var(--text-primary);
}

.tier-tab.active {
    background: var(--gradient-main);
    color: var(--bg-dark);
}

.tier-panel {
    display: none;
}

.tier-panel.active {
    display: block;
}

.check-bold {
    font-weight: 700;
    color: var(--accent-cyan);
    font-size: 0.95rem;
}

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

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 240, 255, 0.2);
}

.pricing-card.featured {
    border-color: var(--accent-cyan);
    background: linear-gradient(180deg, rgba(0, 240, 255, 0.05) 0%, var(--bg-card) 100%);
    transform: scale(1.03);
    box-shadow: var(--shadow-glow);
}

.pricing-card.featured:hover {
    transform: scale(1.03) translateY(-4px);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-main);
    color: var(--bg-dark);
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 20px;
    border-radius: 20px;
    letter-spacing: 2px;
}

.pricing-name {
    font-family: var(--font-display);
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.pricing-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.pricing-amount {
    display: flex;
    align-items: baseline;
    gap: 2px;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
    position: relative;
    padding-top: 20px;
}

.pricing-amount::before {
    content: 'Starting at';
    position: absolute;
    top: 0;
    left: 0;
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.price {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1;
}

.price.hidden {
    display: none;
}

.period {
    font-size: 1rem;
    color: var(--text-muted);
    margin-left: 4px;
}

.pricing-features {
    margin-bottom: 32px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.pricing-features .check {
    color: var(--accent-cyan);
    font-weight: 700;
    font-size: 1rem;
}

.pricing-features .x {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.pricing-features li.disabled {
    opacity: 0.4;
}

/* --- Gallery Section --- */
.gallery {
    background: var(--bg-dark);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}

.gallery-item.large {
    grid-column: span 2;
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.gallery-placeholder {
    aspect-ratio: 16 / 10;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.gallery-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, var(--accent) 0%, transparent 70%);
    opacity: 0.06;
}

.gallery-item:hover .gallery-placeholder {
    border-color: var(--accent);
    box-shadow: 0 0 30px color-mix(in srgb, var(--accent) 20%, transparent);
}

.gallery-label {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 10px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Gallery Mock Displays */
.gallery-mock {
    text-align: center;
    padding: 20px;
    width: 80%;
}

.gallery-mock .mock-header {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent, var(--accent-cyan));
    letter-spacing: 2px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}

.gallery-mock .mock-items {
    text-align: left;
}

.gallery-mock .mock-item {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    font-size: 0.8rem;
    color: var(--text-secondary);
    border-bottom: 1px dotted rgba(255, 255, 255, 0.05);
}

.gallery-mock .mock-text {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.gallery-mock .mock-bar {
    height: 6px;
    background: var(--border);
    border-radius: 3px;
    margin: 6px 0;
}

.gallery-mock .mock-bar.short {
    width: 60%;
}

.gallery-mock .mock-promo {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 900;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
}

/* Live Preview Iframe */
.gallery-placeholder.live-preview {
    padding: 0;
    position: relative;
}

.gallery-placeholder.live-preview iframe {
    width: 450%;
    height: 450%;
    position: absolute;
    top: 0;
    left: 0;
    border: none;
    border-radius: var(--radius);
    pointer-events: none;
    transform: scale(0.2222);
    transform-origin: 0 0;
}

.gallery-item:hover .gallery-placeholder.live-preview iframe {
    pointer-events: auto;
}

.gallery-item.large .gallery-placeholder.live-preview iframe {
    width: 232.5%;
    height: 232.5%;
    transform: scale(0.43);
}

.gallery-item.portrait {
    max-width: 260px;
    justify-self: center;
}

.gallery-placeholder.portrait-preview {
    aspect-ratio: 9 / 16;
}

.gallery-placeholder.portrait-preview iframe {
    width: 400%;
    height: 400%;
    transform: scale(0.25);
    transform-origin: 0 0;
}

.live-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #10b981;
    color: #fff;
    font-family: var(--font-display);
    font-size: 0.6rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: 2px;
    z-index: 2;
    animation: live-pulse 2s ease-in-out infinite;
}

.live-badge::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    margin-right: 6px;
    vertical-align: middle;
    animation: live-dot 1.5s ease-in-out infinite;
}

@keyframes live-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
    50% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
}

@keyframes live-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.gallery-link {
    color: var(--accent-cyan);
    font-weight: 600;
    transition: var(--transition);
}

.gallery-link:hover {
    text-decoration: underline;
}

.gallery-mock .mock-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    text-align: left;
}

/* --- Contact Section --- */
.contact {
    background:
        linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-surface) 50%, var(--bg-dark) 100%);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    align-items: start;
}

.contact-info p {
    color: var(--text-secondary);
    margin: 16px 0 32px;
    line-height: 1.7;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 240, 255, 0.1);
    border-radius: 10px;
    color: var(--accent-cyan);
    flex-shrink: 0;
}

.contact-icon svg {
    width: 20px;
    height: 20px;
}

.contact-item strong {
    display: block;
    font-size: 0.85rem;
    color: var(--text-primary);
}

.contact-item span {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.phone-link,
.email-link {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-decoration: none;
    pointer-events: none;
    cursor: default;
}

@media (max-width: 768px) {
    .phone-link,
    .email-link {
        pointer-events: auto;
        cursor: pointer;
        color: var(--accent-cyan);
    }
}

/* --- Forms --- */
.contact-form,
.service-form {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.form-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.form-row.three-col {
    grid-template-columns: 1fr 1fr 1fr;
}

.form-group {
    margin-bottom: 16px;
}

.hp-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
    overflow: hidden;
    pointer-events: none;
}

altcha-widget {
    --altcha-color-text: var(--text-primary);
    --altcha-color-border: var(--border);
    --altcha-color-border-focus: var(--accent-cyan);
    --altcha-max-width: 100%;
    margin-bottom: 16px;
    display: block;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 6px;
    letter-spacing: 0.3px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.1);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%236b6b80' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-group select option {
    background: var(--bg-card);
    color: var(--text-primary);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.file-upload-label {
    display: flex !important;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--bg-surface);
    border: 2px dashed var(--border);
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-secondary) !important;
    font-weight: 500 !important;
}

.file-upload-label:hover {
    border-color: var(--accent-cyan);
    background: rgba(0, 240, 255, 0.03);
}

.file-upload-label input {
    display: none;
}

.file-upload-label svg {
    color: var(--accent-cyan);
    flex-shrink: 0;
}

.file-info {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 6px;
    display: block;
}

/* --- Privacy Notice --- */
.privacy-notice {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 12px;
    line-height: 1.5;
    padding: 8px 12px;
    border: 1px solid rgba(0, 240, 255, 0.1);
    border-radius: 8px;
    background: rgba(0, 240, 255, 0.03);
}

.privacy-notice::before {
    content: '\1F512 ';
}

[data-theme="day"] .privacy-notice {
    border-color: rgba(105, 110, 250, 0.15);
    background: rgba(105, 110, 250, 0.05);
}

/* --- Service Request Section --- */
.service-request {
    background: var(--bg-dark);
}

.service-form {
    max-width: 900px;
    margin: 0 auto;
    border: 1px solid rgba(168, 85, 247, 0.2);
    background: linear-gradient(180deg, rgba(168, 85, 247, 0.03) 0%, var(--bg-card) 100%);
}

/* --- Footer --- */
.footer {
    position: relative;
    z-index: 1;
    background: var(--bg-surface);
    border-top: 1px solid var(--border);
    padding: 60px 0 24px;
}

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

.footer-brand p {
    color: var(--text-secondary);
    margin-top: 16px;
    max-width: 300px;
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-links h4 {
    font-family: var(--font-display);
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.footer-links a {
    display: block;
    color: var(--text-secondary);
    font-size: 0.9rem;
    padding: 4px 0;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-cyan);
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    text-align: center;
}

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

/* --- Modal --- */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

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

.modal {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 48px;
    text-align: center;
    max-width: 420px;
    width: 90%;
    transform: scale(0.9);
    transition: var(--transition);
}

.modal-overlay.active .modal {
    transform: scale(1);
}

.modal-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    color: var(--accent-cyan);
}

.modal h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.modal p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.6;
}

/* --- Theme Toggle Button --- */
.theme-toggle {
    background: none;
    border: 1px solid var(--border);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.theme-toggle:hover {
    border-color: var(--accent-cyan);
    background: rgba(0, 240, 255, 0.1);
}

.theme-icon {
    width: 20px;
    height: 20px;
    transition: var(--transition);
}

/* Night mode (default): show sun icon, hide moon */
.theme-icon.sun { display: block; color: var(--accent-cyan); }
.theme-icon.moon { display: none; }

/* Day mode: show moon icon, hide sun */
[data-theme="day"] .theme-icon.sun { display: none; }
[data-theme="day"] .theme-icon.moon { display: block; color: #1a1a2e; }

/* --- Animated Hexagonal Background (Day mode only) --- */
.animated-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    display: none;
}

.animated-background canvas {
    width: 100%;
    height: 100%;
}

[data-theme="day"] .animated-background {
    display: block;
}

[data-theme="day"] #particle-canvas {
    display: none;
}

/* --- Day Mode Theme Overrides --- */
[data-theme="day"] {
    --bg-dark: #e5e5e5;
    --bg-card: rgba(255, 255, 255, 0.45);
    --bg-card-hover: rgba(255, 255, 255, 0.6);
    --bg-surface: rgba(240, 240, 250, 0.5);
    --text-primary: #1a1a2e;
    --text-secondary: #3a3a5c;
    --text-muted: #6b6b80;
    --accent-cyan: #0066cc;
    --accent-purple: #7c3aed;
    --accent-pink: #db2777;
    --gradient-main: linear-gradient(135deg, #0066cc, #7c3aed);
    --gradient-hover: linear-gradient(135deg, #7c3aed, #db2777);
    --border: rgba(105, 110, 250, 0.275);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 30px rgba(0, 102, 204, 0.15);
}

[data-theme="day"],
[data-theme="day"] body {
    background: transparent;
}

/* Section backgrounds become transparent so hex bg shows through */
[data-theme="day"] .about,
[data-theme="day"] .pricing,
[data-theme="day"] .contact,
[data-theme="day"] .services,
[data-theme="day"] .gallery,
[data-theme="day"] .service-request {
    background: transparent;
}

/* Glassmorphism card for each section container in day mode */
[data-theme="day"] .section > .container {
    background: rgba(172, 197, 255, 0.226);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    border: 1px solid rgba(105, 110, 250, 0.275);
    border-radius: 20px;
    padding: 48px 32px;
}

/* Hero content glassmorphism */
[data-theme="day"] .hero-content {
    background: rgba(172, 197, 255, 0.226);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    border: 1px solid rgba(105, 110, 250, 0.275);
    border-radius: 20px;
    padding: 48px 32px;
}

/* Inner cards in day mode — slightly more opaque so they layer nicely */
[data-theme="day"] .about-card,
[data-theme="day"] .pricing-card,
[data-theme="day"] .contact-form,
[data-theme="day"] .service-form,
[data-theme="day"] .modal {
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(105, 110, 250, 0.275);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

[data-theme="day"] .pricing-card.featured {
    background: rgba(255, 255, 255, 0.5);
    border-color: var(--accent-cyan);
}

/* Navbar glassmorphism in day mode */
[data-theme="day"] .navbar.scrolled {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(105, 110, 250, 0.2);
}

[data-theme="day"] .theme-toggle {
    border-color: rgba(105, 110, 250, 0.3);
}

[data-theme="day"] .theme-toggle:hover {
    border-color: var(--accent-cyan);
    background: rgba(0, 102, 204, 0.1);
}

/* Mobile nav drawer in day mode — only on mobile */
@media (max-width: 768px) {
    [data-theme="day"] .nav-links {
        background: rgba(255, 255, 255, 0.85);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
    }
}

/* Nav toggle bars in day mode */
[data-theme="day"] .nav-toggle span {
    background: var(--text-primary);
}

/* Logo text in day mode */
[data-theme="day"] .nav-logo {
    color: var(--text-primary);
}

/* Footer glassmorphism */
[data-theme="day"] .footer {
    background: rgba(172, 197, 255, 0.226);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    border-top: 1px solid rgba(105, 110, 250, 0.275);
}

/* Hero overlay becomes lighter */
[data-theme="day"] .hero-overlay {
    background:
        radial-gradient(ellipse at 20% 50%, rgba(0, 102, 204, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(124, 58, 237, 0.06) 0%, transparent 50%);
}

/* Form inputs in day mode */
[data-theme="day"] .form-group input,
[data-theme="day"] .form-group select,
[data-theme="day"] .form-group textarea {
    background: rgba(255, 255, 255, 0.6);
    border-color: rgba(105, 110, 250, 0.2);
    color: var(--text-primary);
}

[data-theme="day"] .form-group select option {
    background: #fff;
    color: #1a1a2e;
}

/* Tier tabs in day mode */
[data-theme="day"] .tier-tabs {
    background: rgba(255, 255, 255, 0.3);
}

/* Timeline in day mode */
[data-theme="day"] .timeline-number {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* Gallery placeholders in day mode */
[data-theme="day"] .gallery-placeholder {
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-color: rgba(105, 110, 250, 0.2);
}

/* Mobile scroll FAB in day mode */
[data-theme="day"] .fab-scroll-down {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

[data-theme="day"] .fab-scroll-up {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    color: var(--accent-cyan);
    border-color: rgba(0, 102, 204, 0.3);
}

/* Modal overlay in day mode */
[data-theme="day"] .modal-overlay {
    background: rgba(255, 255, 255, 0.5);
}

/* File upload in day mode */
[data-theme="day"] .file-upload-label {
    background: rgba(255, 255, 255, 0.4);
    border-color: rgba(105, 110, 250, 0.3);
}

/* =============================================
   ACCESSIBILITY WIDGET
   ============================================= */

/* --- Floating Trigger Button --- */
.a11y-widget {
    position: fixed;
    bottom: 24px;
    left: 20px;
    z-index: 9998;
}

.a11y-trigger {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4285F4, #2b6de8);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
    padding: 0;
    overflow: hidden;
    color: #fff;
}

.a11y-trigger:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(66, 133, 244, 0.5);
}

.a11y-trigger img {
    width: 36px;
    height: 36px;
    filter: invert(1);
}

/* --- Panel --- */
.a11y-panel {
    position: absolute;
    bottom: 60px;
    left: 0;
    width: 300px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 0;
    opacity: 0;
    transform: translateY(10px) scale(0.95);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
    overflow: hidden;
}

.a11y-panel.open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

[data-theme="day"] .a11y-panel {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-color: rgba(105, 110, 250, 0.275);
}

.a11y-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
}

.a11y-panel-header h3 {
    font-family: var(--font-display);
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin: 0;
}

.a11y-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
    padding: 0 4px;
    transition: var(--transition);
}

.a11y-close:hover {
    color: var(--text-primary);
}

.a11y-options {
    padding: 12px 20px 20px;
}

/* --- Option Row --- */
.a11y-option {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

[data-theme="day"] .a11y-option {
    border-bottom-color: rgba(0, 0, 0, 0.06);
}

.a11y-option:last-of-type {
    border-bottom: none;
}

.a11y-option-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    display: block;
    margin-bottom: 8px;
}

/* --- Font Size Controls --- */
.a11y-font-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.a11y-font-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--bg-surface);
    color: var(--text-primary);
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.a11y-font-btn:hover {
    border-color: var(--accent-cyan);
    background: rgba(0, 240, 255, 0.1);
}

[data-theme="day"] .a11y-font-btn {
    background: rgba(255, 255, 255, 0.5);
}

.a11y-font-value {
    font-family: var(--font-display);
    font-size: 0.85rem;
    color: var(--text-secondary);
    min-width: 40px;
    text-align: center;
}

/* --- Toggle Switch --- */
.a11y-toggle-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.a11y-checkbox {
    display: none;
}

.a11y-toggle-switch {
    width: 44px;
    height: 24px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    position: relative;
    transition: var(--transition);
    flex-shrink: 0;
}

.a11y-toggle-switch::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 18px;
    height: 18px;
    background: var(--text-muted);
    border-radius: 50%;
    transition: var(--transition);
}

.a11y-checkbox:checked + .a11y-toggle-switch {
    background: var(--gradient-main);
    border-color: transparent;
}

.a11y-checkbox:checked + .a11y-toggle-switch::after {
    left: 22px;
    background: #fff;
}

/* --- Reset Button --- */
.a11y-reset {
    width: 100%;
    margin-top: 12px;
    padding: 10px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.a11y-reset:hover {
    border-color: var(--accent-pink);
    color: var(--accent-pink);
}

/* =============================================
   ACCESSIBILITY MODE OVERRIDES
   ============================================= */

/* --- High Contrast --- */
[data-a11y-contrast="true"] {
    --text-primary: #ffffff;
    --text-secondary: #e0e0e0;
    --text-muted: #c0c0c0;
    --bg-dark: #000000;
    --bg-card: #0a0a0a;
    --bg-surface: #050505;
    --border: #ffffff;
    --accent-cyan: #00ffff;
    --accent-purple: #cc99ff;
}

[data-a11y-contrast="true"] .btn-primary {
    background: #00ffff;
    color: #000;
    font-weight: 700;
}

[data-a11y-contrast="true"] .section-tag,
[data-a11y-contrast="true"] .hero-badge {
    border-color: #00ffff;
    color: #00ffff;
}

[data-theme="day"][data-a11y-contrast="true"] {
    --text-primary: #000000;
    --text-secondary: #1a1a1a;
    --text-muted: #333333;
    --border: #000000;
    --accent-cyan: #0000cc;
    --accent-purple: #6600cc;
}

[data-theme="day"][data-a11y-contrast="true"] .section > .container,
[data-theme="day"][data-a11y-contrast="true"] .hero-content {
    background: rgba(255, 255, 255, 0.85);
    border: 2px solid #000;
}

/* --- Dyslexia-Friendly Font --- */
[data-a11y-dyslexia="true"],
[data-a11y-dyslexia="true"] * {
    font-family: 'OpenDyslexic', sans-serif !important;
    letter-spacing: 0.05em;
    word-spacing: 0.1em;
}

/* --- Pause Animations --- */
[data-a11y-motion="true"] *,
[data-a11y-motion="true"] *::before,
[data-a11y-motion="true"] *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
}

[data-a11y-motion="true"] #particle-canvas,
[data-a11y-motion="true"] .animated-background {
    display: none !important;
}

[data-a11y-motion="true"] [data-animate] {
    opacity: 1 !important;
    transform: none !important;
}

/* --- Highlight Links --- */
[data-a11y-links="true"] a {
    text-decoration: underline !important;
    text-decoration-thickness: 2px !important;
    text-underline-offset: 3px !important;
    outline: 2px solid transparent;
    outline-offset: 2px;
    border-radius: 2px;
}

[data-a11y-links="true"] a:focus,
[data-a11y-links="true"] a:hover {
    outline-color: var(--accent-cyan);
    background: rgba(0, 240, 255, 0.1);
}

[data-theme="day"][data-a11y-links="true"] a:focus,
[data-theme="day"][data-a11y-links="true"] a:hover {
    background: rgba(0, 102, 204, 0.1);
}

/* --- Bigger Cursor --- */
[data-a11y-cursor="true"],
[data-a11y-cursor="true"] * {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cpath d='M8 8l24 12-10 4-4 10z' fill='%23000' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E") 8 8, auto !important;
}

[data-a11y-cursor="true"] a,
[data-a11y-cursor="true"] button,
[data-a11y-cursor="true"] [role="button"],
[data-a11y-cursor="true"] input,
[data-a11y-cursor="true"] select,
[data-a11y-cursor="true"] textarea,
[data-a11y-cursor="true"] label {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Ccircle cx='24' cy='24' r='18' fill='none' stroke='%2300f0ff' stroke-width='3'/%3E%3Ccircle cx='24' cy='24' r='4' fill='%2300f0ff'/%3E%3C/svg%3E") 24 24, pointer !important;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }

    .pricing-card.featured {
        transform: none;
    }

    .pricing-card.featured:hover {
        transform: translateY(-4px);
    }

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

    .gallery-item.large {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-card);
        flex-direction: column;
        padding: 80px 32px 32px;
        gap: 20px;
        transition: var(--transition);
        border-left: 1px solid var(--border);
    }

    .nav-links.open {
        right: 0;
    }

    .nav-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.4);
        z-index: 999;
    }

    .nav-overlay.active {
        display: block;
    }

    .nav-links {
        z-index: 1000;
    }

    .hero {
        align-items: flex-start;
        padding-top: 100px;
    }


    .hero-stats {
        gap: 32px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .form-row,
    .form-row.three-col {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

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

    .gallery-placeholder.live-preview iframe,
    .gallery-item.large .gallery-placeholder.live-preview iframe {
        width: 625%;
        height: 625%;
        transform: scale(0.16);
        transform-origin: 0 0;
    }

    .gallery-placeholder.live-preview {
        aspect-ratio: 16 / 9;
    }

    .gallery-item.portrait {
        max-width: 200px;
        justify-self: center;
    }

    .gallery-placeholder.portrait-preview {
        aspect-ratio: 9 / 16;
    }

    .gallery-placeholder.portrait-preview iframe {
        width: 500%;
        height: 500%;
        transform: scale(0.2);
        transform-origin: 0 0;
    }
}

/* --- Reduced Motion (Accessibility) --- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    [data-animate] {
        opacity: 1 !important;
        transform: none !important;
    }

    #particle-canvas {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }

    .contact-form,
    .service-form {
        padding: 24px;
    }

    .section {
        padding: 64px 0;
    }
}
