/* ============================================
   APTIXITY HOMEPAGE — PREMIUM DARK THEME v2.0
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&family=Fira+Code:wght@400;500&display=swap');

/* Animated gradient angle property */
@property --gradient-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

:root {
  --bg-primary: #0a0c0a;
  --bg-secondary: #111310;
  --bg-surface: rgba(22, 25, 20, 0.75);
  --bg-card: rgba(28, 33, 26, 0.55);
  --bg-card-hover: rgba(38, 45, 35, 0.75);

  --border-color: rgba(139, 162, 130, 0.08);
  --border-glow: rgba(139, 162, 130, 0.3);

  --text-primary: #f0f2ee;
  --text-secondary: #b3b8b0;
  --text-muted: #7d8479;

  --color-primary: #8ba282;
  --color-primary-light: #a9bfa0;
  --color-primary-dark: #32392d;
  --color-secondary: #495443;
  --color-success: #709467;
  --color-danger: #d46a6a;

  --gradient-primary: linear-gradient(135deg, #8ba282, #495443);
  --gradient-text: linear-gradient(135deg, #c2d4b9, #8ba282);
  --gradient-glow: linear-gradient(135deg, rgba(139, 162, 130, 0.4), rgba(50, 57, 45, 0.4));
  --gradient-border: conic-gradient(from var(--gradient-angle), transparent 25%, #8ba282 50%, transparent 75%);

  --font-body: 'Inter', -apple-system, sans-serif;
  --font-heading: 'Outfit', sans-serif;
  --font-mono: 'Fira Code', monospace;

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes rotateGradient {
  0% { --gradient-angle: 0deg; }
  100% { --gradient-angle: 360deg; }
}

*, *::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-color: var(--bg-primary); color: var(--text-primary); overflow-x: hidden; line-height: 1.6; }

#three-canvas { display: none; position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; z-index: 0; pointer-events: none; }
.cursor-glow { display: none; position: fixed; top: 0; left: 0; width: 500px; height: 500px; border-radius: 50%; background: radial-gradient(circle, rgba(139, 162, 130, 0.05) 0%, transparent 65%); pointer-events: none; z-index: 1; will-change: transform; }

@media (min-width: 769px) {
  #three-canvas { display: block; }
  .cursor-glow { display: block; }
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; position: relative; z-index: 2; }

/* NAVIGATION */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 1rem 0; transition: var(--transition); background: transparent; }
.navbar.scrolled { background: rgba(10, 12, 10, 0.88); backdrop-filter: blur(24px) saturate(180%); -webkit-backdrop-filter: blur(24px) saturate(180%); border-bottom: 1px solid rgba(139, 162, 130, 0.06); padding: 0.75rem 0; box-shadow: 0 1px 20px rgba(0, 0, 0, 0.3); }
.nav-container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; gap: 0.6rem; font-family: var(--font-heading); font-weight: 700; font-size: 1.5rem; color: var(--text-primary); text-decoration: none; }
.nav-logo i { background: var(--gradient-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; font-size: 1.4rem; }
.nav-links { display: flex; gap: 2rem; }
.nav-link { color: var(--text-secondary); text-decoration: none; font-size: 0.95rem; font-weight: 500; transition: var(--transition); position: relative; }
.nav-link::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--gradient-primary); transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1); border-radius: 1px; }
.nav-link:hover { color: var(--text-primary); }
.nav-link:hover::after { width: 100%; }
.nav-actions { display: flex; gap: 0.75rem; align-items: center; }
.mobile-menu-btn { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.mobile-menu-btn span { display: block; width: 22px; height: 2px; background: var(--text-primary); border-radius: 2px; transition: var(--transition); }

/* Right-side Mobile Nav Sidebar */
.mobile-nav-overlay { display: none; position: fixed; inset: 0; background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); z-index: 1150; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
.mobile-nav-overlay.active { opacity: 1; pointer-events: auto; }

.mobile-nav-sidebar { display: none; position: fixed; top: 0; right: 0; bottom: 0; width: 280px; height: 100vh; background: rgba(10, 12, 10, 0.98); border-left: 1px solid rgba(139, 162, 130, 0.08); z-index: 1200; padding: 2rem; transform: translateX(100%); transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1); flex-direction: column; gap: 2rem; backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); box-shadow: -20px 0 40px rgba(0,0,0,0.5); }
.mobile-nav-sidebar.active { transform: translateX(0); }

.mobile-nav-close { align-self: flex-end; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.06); color: var(--text-muted); font-size: 1.1rem; cursor: pointer; width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.mobile-nav-close:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }

.mobile-nav-brand { display: flex; align-items: center; gap: 0.6rem; font-family: var(--font-heading); font-weight: 700; font-size: 1.3rem; color: #fff; }
.mobile-nav-brand i { color: var(--color-primary-light); }

.mobile-nav-links { display: flex; flex-direction: column; gap: 1.25rem; }
.mobile-nav-link { color: var(--text-secondary); text-decoration: none; font-size: 1.05rem; font-weight: 600; transition: var(--transition); }
.mobile-nav-link:hover { color: #fff; padding-left: 4px; }

.mobile-nav-actions { display: flex; flex-direction: column; gap: 0.75rem; }


/* BUTTONS */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.6rem 1.25rem; font-size: 0.9rem; font-weight: 600; font-family: var(--font-body); border-radius: 10px; border: 1px solid transparent; cursor: pointer; text-decoration: none; transition: var(--transition); white-space: nowrap; position: relative; overflow: hidden; }
.btn::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at var(--ripple-x, 50%) var(--ripple-y, 50%), rgba(255,255,255,0.2) 0%, transparent 60%); opacity: 0; transition: opacity 0.5s ease; pointer-events: none; }
.btn:active::after { opacity: 1; transition: opacity 0s; }
.btn-primary { background: var(--color-primary); color: #0a0c0a; border-color: var(--color-primary); font-weight: 700; }
.btn-primary:hover { background: var(--color-primary-light); border-color: var(--color-primary-light); transform: translateY(-2px); box-shadow: 0 4px 20px rgba(139, 162, 130, 0.3); }
.btn-ghost { background: rgba(255, 255, 255, 0.03); border-color: rgba(255, 255, 255, 0.1); color: var(--text-primary); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.18); transform: translateY(-2px); }
.btn-secondary { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.08); color: var(--text-primary); }
.btn-secondary:hover { background: rgba(255, 255, 255, 0.1); }
.btn-lg { padding: 0.85rem 1.75rem; font-size: 1rem; border-radius: 12px; }
.btn-sm { padding: 0.45rem 0.9rem; font-size: 0.82rem; border-radius: 8px; }
.btn-block, .btn-full { display: flex; width: 100%; }
.btn-glow { box-shadow: 0 0 20px rgba(139, 162, 130, 0.2), 0 0 60px rgba(139, 162, 130, 0.08); }
.btn-glow:hover { box-shadow: 0 0 30px rgba(139, 162, 130, 0.35), 0 0 80px rgba(139, 162, 130, 0.12); }

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

/* HERO */
.hero { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 8rem 2rem 4rem; position: relative; z-index: 2; }
.hero-content { max-width: 800px; }
.hero-badge { display: inline-flex; align-items: center; gap: 0.5rem; background: rgba(139, 162, 130, 0.06); border: 1px solid rgba(139, 162, 130, 0.15); color: var(--color-primary-light); padding: 0.4rem 1rem; border-radius: 50px; font-size: 0.85rem; font-weight: 500; margin-bottom: 1.5rem; }
.badge-dot { width: 6px; height: 6px; background: var(--color-success); border-radius: 50%; box-shadow: 0 0 6px var(--color-success); }
.hero-title { font-family: var(--font-heading); font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 800; line-height: 1.08; letter-spacing: -2px; margin-bottom: 1.5rem; }
.hero-subtitle { font-size: 1.15rem; color: var(--text-secondary); max-width: 580px; margin: 0 auto 2.5rem; line-height: 1.7; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 3rem; }
.hero-stats { display: flex; align-items: center; justify-content: center; gap: 2rem; }
.stat { display: flex; flex-direction: column; align-items: center; }
.stat-value { font-family: var(--font-heading); font-size: 2rem; font-weight: 700; }
.stat-suffix { font-family: var(--font-heading); font-size: 1.2rem; font-weight: 700; color: var(--color-primary-light); }
.stat-label { font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 0.25rem; }
.stat-divider { width: 1px; height: 40px; background: linear-gradient(to bottom, transparent, var(--border-color), transparent); }

/* Hero Terminal */
.hero-visual { margin-top: 4rem; perspective: 1200px; }
.terminal-3d-wrapper { transform: rotateX(8deg) rotateY(-3deg); transform-style: preserve-3d; transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1); }
.terminal-3d-wrapper:hover { transform: rotateX(2deg) rotateY(0deg) scale(1.02); }
.terminal-3d { width: min(700px, 90vw); background: #0d1117; border-radius: 12px; border: 1px solid rgba(139, 162, 130, 0.1); overflow: hidden; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(139, 162, 130, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.04); }
.terminal-bar { display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem 1rem; background: #161b22; border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
.terminal-dots { display: flex; gap: 6px; }
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot.red { background: #ff5f56; } .dot.yellow { background: #ffbd2e; } .dot.green { background: #27c93f; }
.terminal-title { font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-muted); }
.terminal-body { padding: 1.25rem; font-family: var(--font-mono); font-size: 0.85rem; line-height: 1.8; min-height: 200px; color: #c9d1d9; position: relative; }
.terminal-body::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(transparent 0px, transparent 2px, rgba(0,0,0,0.03) 2px, rgba(0,0,0,0.03) 4px); pointer-events: none; }
.terminal-line { margin-bottom: 0.3rem; opacity: 1; }
.prompt { color: var(--color-success); margin-right: 0.5rem; }
.terminal-line .info { color: #58a6ff; } .terminal-line .success { color: #3fb950; } .terminal-line .warn { color: #d29922; }

.hero-scroll-indicator { position: absolute; bottom: 2rem; display: flex; flex-direction: column; align-items: center; gap: 0.5rem; color: var(--text-muted); font-size: 0.75rem; }
.scroll-mouse { width: 22px; height: 34px; border-radius: 11px; border: 2px solid rgba(139, 162, 130, 0.15); position: relative; }
.scroll-wheel { width: 3px; height: 8px; background: var(--color-primary); border-radius: 2px; position: absolute; top: 12px; left: 50%; transform: translateX(-50%); }

/* TRUSTED */
.trusted-section { padding: 3rem 0; border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); position: relative; z-index: 2; }
.trusted-label { text-align: center; color: var(--text-muted); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 1.5rem; }
.trusted-logos { display: flex; justify-content: center; align-items: center; gap: 3rem; flex-wrap: wrap; }
.trust-logo { display: flex; align-items: center; gap: 0.5rem; color: var(--text-muted); font-size: 1rem; font-weight: 500; opacity: 0.45; transition: var(--transition); }
.trust-logo:hover { opacity: 1; color: var(--color-primary-light); transform: translateY(-2px); }
.trust-logo i { font-size: 1.3rem; }

/* SECTION HEADERS */
.section-header { text-align: center; margin-bottom: 4rem; }
.section-tag { display: inline-block; background: rgba(139, 162, 130, 0.06); border: 1px solid rgba(139, 162, 130, 0.12); color: var(--color-primary-light); padding: 0.3rem 0.85rem; border-radius: 50px; font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1rem; }
.section-title { font-family: var(--font-heading); font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; letter-spacing: -0.8px; margin-bottom: 1rem; line-height: 1.15; }
.section-subtitle { color: var(--text-secondary); font-size: 1.1rem; max-width: 560px; margin: 0 auto; line-height: 1.7; }

/* FEATURES */
.features-section { padding: 7rem 0; position: relative; z-index: 2; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.feature-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 16px; padding: 2rem; transition: var(--transition); transform-style: preserve-3d; perspective: 800px; position: relative; }
.feature-card::before { content: ''; position: absolute; inset: -1px; border-radius: 17px; background: var(--gradient-border); z-index: -1; opacity: 0; transition: opacity 0.4s ease; animation: rotateGradient 4s linear infinite; }
.feature-card::after { content: ''; position: absolute; inset: 0; border-radius: 16px; box-shadow: 0 0 40px rgba(139, 162, 130, 0.08); opacity: 0; transition: opacity 0.4s ease; pointer-events: none; }
.feature-card:hover { border-color: transparent; background: var(--bg-card-hover); transform: translateY(-6px); }
.feature-card:hover::before { opacity: 1; }
.feature-card:hover::after { opacity: 1; }
.feature-icon-wrap { width: 48px; height: 48px; border-radius: 12px; background: var(--gradient-primary); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; color: #fff; margin-bottom: 1.25rem; box-shadow: 0 4px 15px rgba(139, 162, 130, 0.25); transition: var(--transition); }
.feature-card:hover .feature-icon-wrap { transform: scale(1.1) rotate(-3deg); box-shadow: 0 6px 25px rgba(139, 162, 130, 0.35); }
.feature-card h3 { font-family: var(--font-heading); font-size: 1.2rem; font-weight: 600; margin-bottom: 0.6rem; letter-spacing: -0.2px; }
.feature-card p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.6; }

/* HOW IT WORKS */
.how-section { padding: 7rem 0; position: relative; z-index: 2; }
.steps-timeline { max-width: 700px; margin: 0 auto; }
.step-card { display: grid; grid-template-columns: 60px 1fr 200px; gap: 1.5rem; align-items: center; padding: 2rem; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 16px; transition: var(--transition); position: relative; }
.step-card::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--gradient-primary); border-radius: 16px 0 0 16px; opacity: 0; transition: opacity 0.3s ease; }
.step-card:hover { border-color: rgba(139, 162, 130, 0.15); transform: translateX(8px); box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2); }
.step-card:hover::before { opacity: 1; }
.step-number { font-family: var(--font-heading); font-size: 2rem; font-weight: 800; background: var(--gradient-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.step-content h3 { font-family: var(--font-heading); font-size: 1.15rem; font-weight: 600; margin-bottom: 0.4rem; }
.step-content p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.5; }
.step-connector { display: flex; justify-content: center; padding: 0.5rem 0; }
.connector-line { width: 2px; height: 32px; background: linear-gradient(to bottom, rgba(139, 162, 130, 0.3), transparent); }

.mock-input, .mock-upload, .mock-live { background: rgba(255, 255, 255, 0.02); border: 1px solid var(--border-color); border-radius: 8px; padding: 0.6rem 0.85rem; font-size: 0.8rem; }
.mock-input { display: flex; flex-direction: column; gap: 0.25rem; }
.mock-label { font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.mock-value { color: var(--text-primary); font-family: var(--font-mono); }
.mock-upload { display: flex; align-items: center; gap: 0.5rem; color: var(--text-secondary); }
.mock-upload i { color: var(--color-primary-light); }
.upload-progress { flex: 1; height: 4px; background: rgba(255, 255, 255, 0.05); border-radius: 2px; overflow: hidden; }
.upload-progress .progress-fill { height: 100%; width: 85%; background: var(--gradient-primary); border-radius: 2px; }
.mock-live { display: flex; align-items: center; gap: 0.5rem; color: var(--color-success); font-weight: 500; }
.live-dot { width: 8px; height: 8px; background: var(--color-success); border-radius: 50%; box-shadow: 0 0 8px var(--color-success); }

/* PRICING */
.pricing-section { padding: 7rem 0; position: relative; z-index: 2; }
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; align-items: start; }
.pricing-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 20px; padding: 2.5rem 2rem; transition: var(--transition-bounce); position: relative; }
.pricing-card:hover { border-color: rgba(139, 162, 130, 0.15); transform: translateY(-8px); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25); }
.pricing-featured { border-color: rgba(139, 162, 130, 0.25); background: rgba(139, 162, 130, 0.03); box-shadow: 0 0 40px rgba(139, 162, 130, 0.06); transform: scale(1.05); }
.pricing-featured:hover { transform: scale(1.05) translateY(-8px); border-color: rgba(139, 162, 130, 0.4); box-shadow: 0 20px 60px rgba(139, 162, 130, 0.1); }
.pricing-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--gradient-primary); color: #fff; padding: 0.25rem 1rem; border-radius: 50px; font-size: 0.75rem; font-weight: 600; white-space: nowrap; box-shadow: 0 0 10px rgba(139, 162, 130, 0.3); }
.pricing-header { margin-bottom: 2rem; }
.pricing-header h3 { font-family: var(--font-heading); font-size: 1.3rem; font-weight: 600; margin-bottom: 0.75rem; }
.price { font-family: var(--font-heading); font-size: 3rem; font-weight: 800; letter-spacing: -1px; }
.currency { font-size: 1.5rem; color: var(--text-secondary); vertical-align: super; }
.period { font-size: 1rem; color: var(--text-muted); font-weight: 400; }
.pricing-features { list-style: none; margin-bottom: 2rem; }
.pricing-features li { display: flex; align-items: center; gap: 0.6rem; padding: 0.6rem 0; color: var(--text-secondary); font-size: 0.95rem; }
.pricing-features li i { color: var(--color-primary-light); font-size: 0.85rem; }
.swipe-indicator { display: none; align-items: center; justify-content: center; gap: 0.5rem; font-size: 0.8rem; color: var(--text-muted); margin-bottom: 1rem; }
.animate-swipe { opacity: 0.7; }

/* CTA */
.cta-section { padding: 5rem 0; position: relative; z-index: 2; }
.cta-card { background: var(--bg-card); border: 1px solid rgba(139, 162, 130, 0.12); border-radius: 24px; padding: 4rem; text-align: center; position: relative; overflow: hidden; }
.cta-bg-shapes { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.cta-shape { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.12; }
.cta-shape-1 { width: 400px; height: 400px; background: var(--color-primary); top: -150px; right: -100px; }
.cta-shape-2 { width: 300px; height: 300px; background: var(--color-secondary); bottom: -120px; left: -80px; }
.cta-card h2 { font-family: var(--font-heading); font-size: clamp(1.8rem, 3.5vw, 2.5rem); font-weight: 700; margin-bottom: 1rem; position: relative; }
.cta-card p { color: var(--text-secondary); font-size: 1.1rem; margin-bottom: 2rem; position: relative; }
.cta-card .btn { position: relative; }

/* FOOTER */
.footer { padding: 4rem 0 2rem; border-top: 1px solid var(--border-color); position: relative; z-index: 2; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand p { color: var(--text-secondary); font-size: 0.9rem; margin-top: 1rem; line-height: 1.6; max-width: 280px; }
.footer-col h4 { font-family: var(--font-heading); font-size: 0.95rem; font-weight: 600; margin-bottom: 1rem; }
.footer-col a { display: block; color: var(--text-secondary); text-decoration: none; font-size: 0.9rem; padding: 0.3rem 0; transition: var(--transition); }
.footer-col a:hover { color: var(--color-primary-light); transform: translateX(3px); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 2rem; border-top: 1px solid var(--border-color); }
.footer-bottom p { color: var(--text-muted); font-size: 0.85rem; }
.footer-socials { display: flex; gap: 1rem; }
.footer-socials a { color: var(--text-muted); font-size: 1.1rem; transition: var(--transition); }
.footer-socials a:hover { color: var(--color-primary-light); transform: translateY(-3px); }

/* ANIMATIONS */
.animate-in { opacity: 1; transform: none; filter: none; transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1), filter 0.8s cubic-bezier(0.4, 0, 0.2, 1); }
.animate-in.visible { opacity: 1; transform: none; filter: none; }
.feature-card, .step-card, .pricing-card { opacity: 1; transform: none; filter: none; transition: opacity 0.6s ease, transform 0.6s ease, filter 0.6s ease; }
.feature-card.revealed, .step-card.revealed, .pricing-card.revealed { opacity: 1; transform: none; filter: none; }
@keyframes fadeInLine { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: translateX(0); } }

/* RELIABLE HOSTING */
.reliable-section { padding: 6rem 0; position: relative; overflow: visible; z-index: 2; }
.reliable-wrapper { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 4rem; align-items: center; }
.reliable-visual { position: relative; width: 100%; }
.mock-dash-card { position: relative; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 16px; overflow: visible; padding: 1.5rem; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4); transition: transform 0.6s ease, box-shadow 0.6s ease; }
.mock-dash-card:hover { transform: translateY(-4px); box-shadow: 0 35px 70px rgba(0, 0, 0, 0.5), 0 0 30px rgba(139, 162, 130, 0.04); }
.mock-dash-header { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--border-color); padding-bottom: 1rem; margin-bottom: 1.5rem; }
.dash-logo { display: flex; align-items: center; gap: 0.5rem; font-family: var(--font-heading); font-weight: 700; color: var(--text-primary); font-size: 1.1rem; }
.dash-logo i { color: var(--color-primary); }
.mock-menu { display: flex; gap: 1rem; font-size: 0.8rem; color: var(--text-secondary); }
.mock-dash-body h3 { font-family: var(--font-heading); font-size: 1.5rem; color: var(--text-primary); margin-bottom: 1rem; }
.mock-websites-list { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1.5rem; }
.mock-site-item { display: flex; justify-content: space-between; align-items: center; background: rgba(255, 255, 255, 0.02); border: 1px solid var(--border-color); padding: 0.75rem 1rem; border-radius: 8px; transition: var(--transition); }
.mock-site-item:hover { border-color: rgba(139, 162, 130, 0.15); background: rgba(139, 162, 130, 0.03); }
.site-info { display: flex; flex-direction: column; gap: 0.2rem; text-align: left; }
.site-title { font-family: var(--font-mono); font-size: 0.85rem; color: var(--text-primary); }
.site-desc { font-size: 0.75rem; color: var(--text-muted); }
.mock-btn-launch { font-size: 0.75rem; background: transparent; border: 1px solid var(--color-primary); color: var(--color-primary); padding: 0.35rem 0.75rem; border-radius: 4px; cursor: pointer; transition: var(--transition); }
.mock-btn-launch:hover { background: var(--color-primary); color: var(--bg-primary); }
.mock-settings-panel { border-top: 1px solid var(--border-color); padding-top: 1rem; text-align: left; }
.mock-settings-panel h4 { font-size: 0.9rem; color: var(--text-secondary); margin-bottom: 0.75rem; }
.setting-row { display: flex; justify-content: space-between; font-size: 0.8rem; margin-bottom: 0.5rem; color: var(--text-muted); }
.setting-val { color: var(--text-secondary); font-family: var(--font-mono); }

.uptime-gauge-card { position: absolute; bottom: -2rem; right: -2rem; background: var(--bg-surface); border: 1px solid var(--border-color); border-radius: 12px; padding: 1rem; display: flex; align-items: center; gap: 1rem; width: 240px; box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5); z-index: 5; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.gauge-svg-container { position: relative; width: 70px; height: 42px; display: flex; justify-content: center; align-items: flex-end; }
.gauge-svg { width: 100%; height: 100%; }
.gauge-center-icon { position: absolute; bottom: 0; font-size: 1.1rem; color: var(--color-primary-light); }
.gauge-text { display: flex; flex-direction: column; text-align: left; }
.gauge-percentage { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; color: var(--text-primary); line-height: 1.2; }
.gauge-label { font-size: 0.7rem; color: var(--text-secondary); }

.reliable-content { display: flex; flex-direction: column; align-items: flex-start; }
.reliable-badge { font-size: 0.85rem; color: var(--color-primary); font-weight: 600; margin-bottom: 0.75rem; border-bottom: 2px solid var(--color-primary-dark); padding-bottom: 0.25rem; }
.reliable-title { font-family: var(--font-heading); font-size: 2.5rem; line-height: 1.2; font-weight: 800; color: var(--text-primary); margin-bottom: 1rem; text-align: left; letter-spacing: -0.5px; }
.reliable-desc { color: var(--text-secondary); font-size: 1.05rem; margin-bottom: 2rem; text-align: left; }
.reliable-features-list { list-style: none; display: flex; flex-direction: column; gap: 1.25rem; width: 100%; margin-bottom: 1.5rem; }
.reliable-features-list li { display: flex; align-items: center; gap: 1rem; }
.reliable-features-list li .feature-icon { width: 36px; height: 36px; background: var(--color-primary-dark); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--color-primary); font-size: 1.1rem; border: 1px solid var(--border-color); flex-shrink: 0; }
.reliable-features-list li .feature-text { color: var(--text-secondary); font-size: 0.95rem; text-align: left; }
.reliable-features-list li .feature-text strong { color: var(--text-primary); }
.reliable-footer-text { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.75rem; }

/* RESPONSIVE */
@media (max-width: 1024px) { .features-grid { grid-template-columns: repeat(2, 1fr); } .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } .reliable-wrapper { gap: 2rem; } }
@media (max-width: 1280px) { .swipe-indicator { display: flex; } .pricing-grid { display: flex; overflow-x: auto; gap: 1.5rem; padding: 2rem 1rem; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; } .pricing-grid::-webkit-scrollbar { display: none; } .pricing-card { flex: 0 0 290px; scroll-snap-align: center; } .pricing-featured { transform: none; } .pricing-featured:hover { transform: translateY(-4px); } }
@media (max-width: 768px) {
  /* Landing page responsive */
  .reliable-wrapper { grid-template-columns: 1fr; gap: 3rem; }
  .uptime-gauge-card { right: 0; bottom: -1rem; }
  .reliable-title { font-size: 2rem; }
  .nav-links, .nav-actions { display: none; }
  .mobile-menu-btn { display: flex; }
  .hero-title { font-size: 2.2rem; letter-spacing: -1px; }
  .hero-subtitle { font-size: 1rem; }
  .hero-stats { gap: 1rem; }
  .stat-value { font-size: 1.5rem; }
  .features-grid { grid-template-columns: 1fr; }
  .step-card { grid-template-columns: 50px 1fr; }
  .step-visual { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .cta-card { padding: 2.5rem 1.5rem; }
}
@media (max-width: 480px) { .hero { padding: 6rem 1rem 3rem; } .hero-actions { flex-direction: column; align-items: center; } .hero-stats { flex-direction: column; gap: 1.5rem; } .stat-divider { width: 40px; height: 1px; } .container { padding: 0 1rem; } }

/* BILLING PORTAL & SSO DASHBOARD */
.modal { position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 1000; background: rgba(10, 12, 10, 0.88); backdrop-filter: blur(12px) saturate(120%); -webkit-backdrop-filter: blur(12px) saturate(120%); display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.35s ease; }
.modal.active { opacity: 1; pointer-events: auto; }
.modal-content { width: 100%; max-width: 440px; background: rgba(18, 20, 18, 0.95); border: 1px solid rgba(139, 162, 130, 0.08); border-radius: 20px; padding: 2.5rem; position: relative; transform: scale(0.92) translateY(10px); filter: blur(4px); transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.35s ease; box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(139, 162, 130, 0.04); }
.modal.active .modal-content { transform: scale(1) translateY(0); filter: blur(0); }
.modal-close { position: absolute; top: 1.25rem; right: 1.25rem; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06); color: var(--text-muted); font-size: 1.25rem; cursor: pointer; transition: var(--transition); width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; line-height: 1; }
.modal-close:hover { color: #fff; background: rgba(255,255,255,0.08); transform: rotate(90deg); }
.modal-subtitle { font-size: 0.88rem; color: var(--text-secondary); margin-top: 0.25rem; margin-bottom: 2rem; }

.form-group { margin-bottom: 1.5rem; text-align: left; }
.form-row { display: flex; gap: 1rem; }
.form-row .col { flex: 1; }
.form-label { display: block; font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-secondary); margin-bottom: 0.5rem; }
.form-input { width: 100%; background: rgba(0, 0, 0, 0.3); border: 1px solid rgba(139, 162, 130, 0.08); color: #fff; padding: 0.75rem 1rem; border-radius: 10px; font-family: inherit; font-size: 0.92rem; transition: all 0.25s ease; }
.form-input:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(139, 162, 130, 0.15), 0 0 20px rgba(139, 162, 130, 0.05); }
.input-with-icon { position: relative; }
.input-icon { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--text-muted); }
.icon-padding { padding-left: 2.75rem; }

/* Dashboard Portal */
/* Mobile Header/Drawer Default Hidden */
.dash-mobile-header { display: none; }
.dash-sidebar-overlay { display: none; }
.dash-sidebar-close { display: none; }

.dashboard-container { display: grid; grid-template-columns: 260px 1fr; height: 100vh; overflow: hidden; width: 100%; }
.dashboard-sidebar { display: flex; flex-direction: column; background: rgba(14, 16, 14, 0.95); border-right: 1px solid rgba(139, 162, 130, 0.05); padding: 2rem; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); height: 100vh; overflow-y: hidden; }
.user-profile-card { text-align: center; padding-bottom: 2rem; border-bottom: 1px solid rgba(139, 162, 130, 0.05); margin-bottom: 2rem; }
.user-avatar { background: linear-gradient(135deg, #8ba282 0%, #495443 100%); color: #0a0c0a; width: 64px; height: 64px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.75rem; font-weight: 700; margin: 0 auto 1rem auto; box-shadow: 0 8px 25px rgba(139, 162, 130, 0.25); transition: var(--transition); }
.user-avatar:hover { transform: scale(1.05); box-shadow: 0 10px 30px rgba(139, 162, 130, 0.35); }
.user-profile-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.4rem; color: #fff; }
.badge-plan { background: rgba(139, 162, 130, 0.08); border: 1px solid rgba(139, 162, 130, 0.15); color: #8ba282; padding: 0.25rem 0.65rem; border-radius: 12px; font-size: 0.72rem; font-weight: 700; }

.sidebar-menu { display: flex; flex-direction: column; gap: 0.35rem; flex: 1; overflow-y: auto; }
.sidebar-menu::-webkit-scrollbar { display: none; } /* Hide sidebar menu scrollbar */
.menu-item { display: flex; align-items: center; gap: 0.75rem; background: transparent; border: none; color: var(--text-secondary); padding: 0.75rem 1rem; border-radius: 8px; font-family: inherit; font-size: 0.9rem; font-weight: 600; text-align: left; cursor: pointer; text-decoration: none; transition: all 0.25s ease; position: relative; }
.menu-item:hover { background: rgba(139, 162, 130, 0.04); color: #fff; transform: translateX(2px); }
.menu-item.active { background: rgba(139, 162, 130, 0.06); color: #8ba282; border-left: 3px solid #8ba282; border-radius: 0 8px 8px 0; }
.menu-item.launch-panel { margin-top: 2rem; border: 1px solid rgba(139, 162, 130, 0.15); color: #8ba282; }
.menu-item.launch-panel:hover { background: linear-gradient(135deg, #8ba282 0%, #495443 100%); color: #0a0c0a; border-color: transparent; }

.dashboard-content { padding: 3rem; text-align: left; height: 100vh; overflow-y: auto; }
.dash-header { margin-bottom: 2.5rem; }
.dash-header h2 { font-size: 2rem; font-weight: 700; color: #fff; letter-spacing: -0.3px; }
.dash-header p { color: var(--text-secondary); margin-top: 0.25rem; }

.resource-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-bottom: 2.5rem; }
.resource-card { background: rgba(139, 162, 130, 0.02); border: 1px solid rgba(139, 162, 130, 0.06); border-radius: 14px; padding: 1.5rem; display: flex; gap: 1rem; transition: var(--transition); }
.resource-card:hover { border-color: rgba(139, 162, 130, 0.12); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15); }
.card-icon { background: rgba(139, 162, 130, 0.06); border: 1px solid rgba(139, 162, 130, 0.08); width: 48px; height: 48px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.25rem; color: #8ba282; flex-shrink: 0; }
.card-info { flex: 1; }
.card-info h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-secondary); margin-bottom: 0.25rem; }
.usage-number { font-size: 1.25rem; font-weight: 700; color: #fff; margin-bottom: 0.5rem; }
.progress-bar { background: rgba(255, 255, 255, 0.05); height: 6px; border-radius: 3px; overflow: hidden; }
.dashboard-content .progress-fill { height: 100%; border-radius: 3px; background: linear-gradient(90deg, #495443, #8ba282); transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1); position: relative; }
.dashboard-content .progress-fill::after { display: none; }

.sso-banner-card { display: flex; justify-content: space-between; align-items: center; gap: 2rem; background: linear-gradient(135deg, rgba(139, 162, 130, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%); border: 1px solid rgba(139, 162, 130, 0.06); border-radius: 14px; padding: 2rem; margin-bottom: 2.5rem; transition: var(--transition); }
.sso-banner-card .btn { flex-shrink: 0; }
.sso-banner-card:hover { border-color: rgba(139, 162, 130, 0.12); }
.banner-text h3 { font-size: 1.25rem; font-weight: 700; color: #fff; }
.banner-text p { font-size: 0.88rem; color: var(--text-secondary); margin-top: 0.25rem; }

.glass-card { background: rgba(139, 162, 130, 0.02); border: 1px solid rgba(139, 162, 130, 0.06); border-radius: 14px; }
.table-card { padding: 2rem; }
.table-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 1.5rem; color: #fff; }
.dash-table { width: 100%; border-collapse: collapse; text-align: left; }
.dash-table th, .dash-table td { padding: 1rem; border-bottom: 1px solid rgba(139, 162, 130, 0.05); font-size: 0.88rem; }
.dash-table th { font-family: 'Space Grotesk', sans-serif; text-transform: uppercase; font-size: 0.78rem; letter-spacing: 0.5px; color: var(--text-muted); font-weight: 700; }
.dash-table td { color: var(--text-secondary); }
.dash-table tr { transition: background 0.2s ease; }
.dash-table tbody tr:hover { background: rgba(139, 162, 130, 0.03); }
.domain-link { color: #8ba282; text-decoration: none; transition: var(--transition); }
.domain-link:hover { text-decoration: underline; color: var(--color-primary-light); }
.status-badge { display: inline-block; padding: 0.2rem 0.5rem; border-radius: 4px; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; }
.status-badge.active { background: rgba(34, 197, 94, 0.1); color: #4ade80; }
.status-badge.suspended { background: rgba(239, 68, 68, 0.1); color: #f87171; }

.empty-state { text-align: center; padding: 4rem 2rem; }
.empty-state i { font-size: 3rem; color: var(--text-muted); opacity: 0.2; margin-bottom: 1rem; }
.empty-state h4 { font-size: 1.1rem; margin-bottom: 0.25rem; color: #fff; }
.empty-state p { font-size: 0.85rem; color: var(--text-secondary); }

.store-grid { display: flex; overflow-x: auto; gap: 1.5rem; padding: 1.5rem 0.5rem; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.store-grid::-webkit-scrollbar { display: none; }
.store-card { flex: 0 0 280px; scroll-snap-align: start; background: rgba(139, 162, 130, 0.02); border: 1px solid rgba(139, 162, 130, 0.06); border-radius: 14px; padding: 2rem; position: relative; transition: var(--transition-bounce); }
.store-card:hover { transform: translateY(-4px); border-color: rgba(139, 162, 130, 0.15); box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2); }
.store-card.featured { border-color: rgba(139, 162, 130, 0.2); box-shadow: 0 0 30px rgba(139, 162, 130, 0.05); }
.featured-badge { position: absolute; top: -10px; right: 1.5rem; background: var(--gradient-primary); color: #fff; padding: 0.2rem 0.75rem; border-radius: 20px; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.store-plan-header { margin-bottom: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid rgba(139, 162, 130, 0.05); }
.store-plan-header h3 { font-size: 1.25rem; font-weight: 700; color: #fff; }
.store-price { font-size: 2.25rem; font-weight: 800; color: #fff; margin-top: 0.25rem; }
.store-price span { font-size: 0.88rem; color: var(--text-muted); }
.store-features { list-style: none; margin-bottom: 2rem; padding: 0; }
.store-features li { font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 0.5rem; display: flex; align-items: center; gap: 0.5rem; }
.store-features li i { color: #8ba282; }

.payment-modal-content { max-width: 480px; }
.secure-badge { display: flex; align-items: center; justify-content: center; gap: 0.5rem; background: rgba(34, 197, 94, 0.04); border: 1px solid rgba(34, 197, 94, 0.08); color: #4ade80; padding: 0.5rem; border-radius: 6px; font-size: 0.78rem; margin-bottom: 1.5rem; }

.toast-container { position: fixed; bottom: 2rem; right: 2rem; z-index: 10000; display: flex; flex-direction: column; gap: 0.75rem; }
.toast { background: rgba(18, 20, 18, 0.92); border: 1px solid rgba(139, 162, 130, 0.08); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); padding: 1rem 1.5rem; border-radius: 10px; display: flex; align-items: center; gap: 0.75rem; font-size: 0.88rem; color: #fff; transform: translateY(20px); opacity: 0; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); }
.toast.show { transform: translateY(0); opacity: 1; }
.toast.success i { color: #8ba282; }
.toast.error { border-color: rgba(239, 68, 68, 0.15); }
.toast.error i { color: #f87171; }
.font-bold { font-weight: 700; }

/* ============================================
   ADMIN PANEL — PREMIUM DESIGN
   ============================================ */

.admin-header { margin-bottom: 2rem; }
.admin-header h2 { font-family: var(--font-heading); font-size: 1.75rem; font-weight: 700; color: var(--text-primary); display: flex; align-items: center; }
.admin-subtitle { color: var(--text-muted); font-size: 0.9rem; margin-top: 0.35rem; letter-spacing: 0.3px; }

/* Admin Stats Row */
.admin-stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 2rem; }
.admin-stat-card { display: flex; align-items: center; gap: 1rem; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 14px; padding: 1.25rem 1.5rem; transition: var(--transition); }
.admin-stat-card:hover { border-color: rgba(139, 162, 130, 0.15); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15); }
.admin-stat-icon { width: 46px; height: 46px; border-radius: 12px; background: rgba(139, 162, 130, 0.1); color: var(--color-primary); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.admin-stat-info { display: flex; flex-direction: column; }
.admin-stat-value { font-family: var(--font-heading); font-size: 1.6rem; font-weight: 700; color: var(--text-primary); line-height: 1.2; }
.admin-stat-label { font-size: 0.78rem; color: var(--text-muted); letter-spacing: 0.3px; text-transform: uppercase; font-weight: 500; }

/* Admin Tabs Navigation */
.admin-tabs { display: flex; gap: 0.25rem; background: rgba(18, 22, 16, 0.6); border: 1px solid var(--border-color); border-radius: 12px; padding: 0.3rem; margin-bottom: 1.75rem; }
.admin-tab { flex: 1; display: flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.75rem 1rem; font-family: var(--font-body); font-size: 0.85rem; font-weight: 500; color: var(--text-muted); background: transparent; border: none; border-radius: 10px; cursor: pointer; transition: var(--transition); }
.admin-tab:hover { color: var(--text-secondary); background: rgba(139, 162, 130, 0.04); }
.admin-tab.active { background: rgba(139, 162, 130, 0.1); color: var(--color-primary-light); font-weight: 600; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12); }
.admin-tab i { font-size: 0.85rem; }

/* Admin Card */
.admin-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 16px; overflow: hidden; transition: var(--transition); }
.admin-card:hover { border-color: rgba(139, 162, 130, 0.12); }
.admin-card-header { display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 1.75rem; border-bottom: 1px solid var(--border-color); }
.admin-card-header h3 { font-family: var(--font-heading); font-size: 1.05rem; font-weight: 600; color: var(--text-primary); display: flex; align-items: center; gap: 0.6rem; }
.admin-card-header h3 i { color: var(--color-primary); font-size: 0.95rem; }
.admin-card-count { font-size: 0.78rem; color: var(--text-muted); background: rgba(139, 162, 130, 0.06); border: 1px solid rgba(139, 162, 130, 0.08); padding: 0.3rem 0.75rem; border-radius: 20px; font-weight: 500; letter-spacing: 0.2px; }

/* Admin Table */
.admin-table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 0.85rem; }
.admin-table thead tr { border-bottom: 1px solid var(--border-color); }
.admin-table th { padding: 0.85rem 1.75rem; color: var(--text-muted); font-weight: 500; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.5px; white-space: nowrap; }
.admin-table td { padding: 0.85rem 1.75rem; color: var(--text-secondary); border-bottom: 1px solid rgba(139, 162, 130, 0.03); vertical-align: middle; }
.admin-table tbody tr { transition: background 0.2s ease; }
.admin-table tbody tr:hover { background: rgba(139, 162, 130, 0.03); }
.admin-table tbody tr:last-child td { border-bottom: none; }
.admin-table-empty { padding: 2.5rem 1.75rem !important; text-align: center !important; color: var(--text-muted) !important; font-style: italic; }

/* Admin Config Body */
.admin-config-body { padding: 1.75rem; }
.admin-config-desc { font-size: 0.88rem; color: var(--text-secondary); margin-bottom: 1.5rem; line-height: 1.6; max-width: 600px; }
.admin-code-textarea { width: 100%; max-width: 600px; font-family: var(--font-mono); font-size: 0.8rem; background: rgba(0, 0, 0, 0.25); color: #c8d4c0; border: 1px solid rgba(139, 162, 130, 0.1); padding: 1rem; border-radius: 10px; line-height: 1.6; resize: vertical; transition: var(--transition); }
.admin-code-textarea:focus { outline: none; border-color: rgba(139, 162, 130, 0.25); box-shadow: 0 0 0 3px rgba(139, 162, 130, 0.06); }

/* Admin Toolbar */
.admin-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.75rem; border-bottom: 1px solid var(--border-color); flex-wrap: wrap; }
.admin-search-wrap { position: relative; flex: 1; min-width: 180px; max-width: 320px; }
.admin-search-wrap i { position: absolute; left: 0.85rem; top: 50%; transform: translateY(-50%); color: var(--text-muted); font-size: 0.8rem; pointer-events: none; }
.admin-search { width: 100%; padding: 0.55rem 0.85rem 0.55rem 2.25rem; font-family: var(--font-body); font-size: 0.82rem; color: var(--text-primary); background: rgba(0, 0, 0, 0.2); border: 1px solid var(--border-color); border-radius: 8px; outline: none; transition: var(--transition); }
.admin-search:focus { border-color: rgba(139, 162, 130, 0.25); box-shadow: 0 0 0 3px rgba(139, 162, 130, 0.06); }
.admin-search::placeholder { color: var(--text-muted); }

/* Admin Filter Pills */
.admin-filter-pills { display: flex; gap: 0.35rem; flex-wrap: wrap; }
.admin-pill { padding: 0.35rem 0.85rem; font-family: var(--font-body); font-size: 0.75rem; font-weight: 500; color: var(--text-muted); background: transparent; border: 1px solid var(--border-color); border-radius: 20px; cursor: pointer; transition: var(--transition); white-space: nowrap; }
.admin-pill:hover { color: var(--text-secondary); border-color: rgba(139, 162, 130, 0.15); background: rgba(139, 162, 130, 0.04); }
.admin-pill.active { color: var(--color-primary-light); background: rgba(139, 162, 130, 0.12); border-color: rgba(139, 162, 130, 0.2); font-weight: 600; }

/* Sortable Headers */
.admin-sortable { cursor: pointer; user-select: none; transition: color 0.2s ease; }
.admin-sortable:hover { color: var(--color-primary-light); }
.admin-sortable i { font-size: 0.65rem; margin-left: 0.3rem; opacity: 0.4; transition: opacity 0.2s ease; }
.admin-sortable:hover i { opacity: 0.8; }
.admin-sortable.sort-asc i, .admin-sortable.sort-desc i { opacity: 1; color: var(--color-primary); }

@media (max-width: 768px) {
  /* Disable all animations and transitions on mobile viewports */
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }

  /* Navbar and actions spacing on mobile */
  .nav-container { padding: 0 0.75rem !important; }
  .nav-logo { font-size: 1.2rem !important; gap: 0.4rem !important; }
  .nav-logo i { font-size: 1.15rem !important; }
  #auth-nav-actions { display: none !important; }
  #user-nav-actions #btn-logout { display: none !important; }
  .mobile-menu-btn { display: flex !important; }
  .mobile-nav-sidebar { display: flex !important; }
  .mobile-nav-overlay { display: block !important; }
  .hero-scroll-indicator { display: none !important; }
  .hero-visual { display: none !important; }
  .mock-menu { display: none !important; }

  .admin-stats-row { grid-template-columns: 1fr; }
  .admin-tabs { flex-direction: column; }
  .admin-table th, .admin-table td { padding: 0.65rem 1rem; font-size: 0.78rem; }
  .admin-toolbar { flex-direction: column; gap: 0.75rem; padding: 1rem; }
  .admin-search-wrap { max-width: 100%; }
  .admin-filter-pills { width: 100%; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding-bottom: 0.25rem; }
  .admin-filter-pills::-webkit-scrollbar { display: none; }
  .admin-card-header { padding: 1rem; flex-wrap: wrap; gap: 0.5rem; }
  .admin-card-header h3 { font-size: 0.95rem; }
  .admin-config-body { padding: 1rem; }
  .admin-code-textarea { max-width: 100%; }
  .admin-header h2 { font-size: 1.4rem; }
  .admin-stat-card { padding: 1rem; }
  .admin-stat-value { font-size: 1.3rem; }

  /* Dashboard mobile layout overrides */
  .dash-mobile-header { display: flex !important; align-items: center; justify-content: space-between; position: fixed; top: 0; left: 0; right: 0; height: 60px; background: rgba(14, 16, 14, 0.95); border-bottom: 1px solid rgba(139, 162, 130, 0.08); padding: 0 1.25rem; z-index: 1000; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
  .dash-mobile-toggle { background: transparent; border: none; color: #fff; font-size: 1.25rem; cursor: pointer; display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 8px; transition: var(--transition); }
  .dash-mobile-toggle:hover { background: rgba(255, 255, 255, 0.05); }
  .dash-mobile-brand { display: flex; align-items: center; gap: 0.5rem; font-family: var(--font-heading); font-weight: 700; color: #fff; font-size: 1.1rem; }
  .dash-mobile-brand i { color: var(--color-primary-light); }

  .dash-sidebar-overlay { display: block !important; position: fixed; inset: 0; background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); z-index: 1050; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
  .dash-sidebar-overlay.active { opacity: 1 !important; pointer-events: auto !important; }

  .dash-sidebar-close { display: flex !important; align-items: center; justify-content: center; position: absolute; top: 1.25rem; right: 1.25rem; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.06); color: var(--text-muted); font-size: 1.1rem; cursor: pointer; width: 32px; height: 32px; border-radius: 8px; transition: var(--transition); }
  .dash-sidebar-close:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }

  .dashboard-container { grid-template-columns: 1fr !important; height: calc(100vh - 60px) !important; margin-top: 60px !important; overflow: hidden !important; width: 100% !important; }
  
  .dashboard-sidebar { position: fixed !important; top: 0 !important; left: 0 !important; bottom: 0 !important; width: 280px !important; height: 100vh !important; z-index: 1100 !important; transform: translateX(-100%) !important; transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important; border-right: 1px solid rgba(139, 162, 130, 0.08) !important; border-bottom: none !important; padding: 2rem !important; overflow-y: auto !important; box-shadow: 20px 0 40px rgba(0,0,0,0.5) !important; }
  .dashboard-sidebar.active { transform: translateX(0) !important; }

  .user-profile-card { display: block !important; text-align: center !important; padding-bottom: 2rem !important; border-bottom: 1px solid rgba(139, 162, 130, 0.05) !important; margin-bottom: 2rem !important; }
  .user-avatar { width: 64px !important; height: 64px !important; font-size: 1.75rem !important; margin: 0 auto 1rem auto !important; }
  .user-profile-card h3 { font-size: 1.15rem !important; margin-bottom: 0.4rem !important; }
  .badge-plan { font-size: 0.72rem !important; }

  .sidebar-menu { flex-direction: column !important; gap: 0.35rem !important; overflow-y: visible !important; overflow-x: visible !important; flex: none !important; }
  .menu-item { padding: 0.75rem 1rem !important; font-size: 0.9rem !important; border-radius: 8px !important; gap: 0.75rem !important; }
  .menu-item.active { border-left: 3px solid #8ba282 !important; border-bottom: none !important; border-radius: 0 8px 8px 0 !important; }
  .menu-item.launch-panel { margin-top: 2rem !important; }
  .menu-item.logout-item { margin-top: auto !important; }

  .dashboard-content { padding: 1.5rem !important; height: 100% !important; overflow-y: auto !important; }
  .dash-header h2 { font-size: 1.6rem !important; }
  .resource-row { grid-template-columns: 1fr !important; gap: 1rem !important; }
  .store-grid { grid-template-columns: 1fr !important; }
  .sso-banner-card { flex-direction: column !important; gap: 1rem !important; text-align: center !important; }
}

/* Disable keyframe animations and backdrop filters inside the client web panel app to eliminate lag while keeping standard transitions */
#app, #app * {
  animation: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
