/* ==========================================================================
   ABBAY CUT — Commercial Portal Design System
   Modern Broadcast Dark Mode Aesthetic
   ========================================================================== */

:root {
  --bg-deep: #050811;
  --bg-card: #0a0f1d;
  --bg-card-hover: #0f1629;
  --bg-glass: rgba(10, 15, 29, 0.75);
  
  --electric-cyan: #00f0ff;
  --electric-cyan-glow: rgba(0, 240, 255, 0.35);
  --accent-ok: #00e676;
  --accent-ok-glow: rgba(0, 230, 118, 0.35);
  --accent-warn: #ffb300;
  --accent-err: #ff5252;
  --telebirr-green: #008751;
  --cbe-purple: #6a1b9a;
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(0, 240, 255, 0.4);
  
  --text-main: #f0f4fc;
  --text-muted: #8e9bb4;
  --text-dim: #54607a;
  
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'SFMono-Regular', Consolas, monospace;
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  --shadow-lg: 0 10px 30px -10px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 25px var(--electric-cyan-glow);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-deep);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.5;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(0, 240, 255, 0.07) 0%, transparent 45%),
    radial-gradient(circle at 85% 75%, rgba(0, 230, 118, 0.05) 0%, transparent 45%);
  min-height: 100vh;
}

a {
  color: var(--electric-cyan);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  text-shadow: 0 0 8px var(--electric-cyan-glow);
}

/* ---- Navigation Bar --------------------------------------------------------- */
.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 12px 24px;
}

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

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #00f0ff 0%, #0077b6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 18px;
  color: #050811;
  box-shadow: 0 0 15px var(--electric-cyan-glow);
}

.brand-title {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #fff;
}

.brand-badge {
  font-size: 9px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  background: rgba(0, 240, 255, 0.15);
  color: var(--electric-cyan);
  border: 1px solid rgba(0, 240, 255, 0.3);
  margin-left: 6px;
}

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

.nav-link {
  color: var(--text-muted);
  font-size: 13.5px;
  font-weight: 600;
}

.nav-link:hover, .nav-link.active {
  color: #fff;
}

/* ---- Buttons --------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: inherit;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, #00f0ff 0%, #0099ff 100%);
  color: #050811;
  box-shadow: 0 0 15px var(--electric-cyan-glow);
}

.btn-primary:hover {
  box-shadow: 0 0 25px var(--electric-cyan-glow);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border-color: var(--border-subtle);
  color: var(--text-main);
}

.btn-outline:hover {
  border-color: var(--electric-cyan);
  color: var(--electric-cyan);
}

.btn-telebirr {
  background: linear-gradient(135deg, #008751 0%, #00b069 100%);
  color: #fff;
  border-color: #00e676;
  box-shadow: 0 0 16px rgba(0, 230, 118, 0.3);
}

.btn-telebirr:hover {
  box-shadow: 0 0 25px rgba(0, 230, 118, 0.5);
  transform: translateY(-1px);
}

/* ---- Hero Section ---------------------------------------------------------- */
.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 70px 24px 40px;
  text-align: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.25);
  color: var(--electric-cyan);
  font-size: 11.5px;
  font-weight: 700;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.hero h1 {
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 18px;
}

.text-gradient {
  background: linear-gradient(135deg, #00f0ff 0%, #00e676 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: clamp(15px, 2vw, 19px);
  color: var(--text-muted);
  max-width: 760px;
  margin: 0 auto 32px;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---- Preview Mockup Frame --------------------------------------------------- */
.hero-mockup {
  max-width: 980px;
  margin: 50px auto 0;
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 35px var(--electric-cyan-glow);
  overflow: hidden;
}

.mockup-header {
  padding: 10px 16px;
  background: #080d17;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mockup-dots {
  display: flex;
  gap: 6px;
}

.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }

.mockup-body {
  padding: 24px;
  background: #06090e;
}

/* ---- Features Grid --------------------------------------------------------- */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 70px 24px;
}

.section-title-wrap {
  text-align: center;
  margin-bottom: 50px;
}

.section-title {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 10px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 15px;
  max-width: 600px;
  margin: 0 auto;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: all 0.3s ease;
}

.feature-card:hover {
  border-color: rgba(0, 240, 255, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.feature-icon {
  font-size: 26px;
  margin-bottom: 14px;
  display: inline-block;
}

.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 13.5px;
  color: var(--text-muted);
}

/* ---- Pricing Section with Switcher ----------------------------------------- */
.pricing-switcher-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 35px;
}

.currency-toggle {
  display: inline-flex;
  background: #080d17;
  padding: 4px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
}

.toggle-btn {
  padding: 6px 18px;
  border-radius: var(--radius-full);
  font-size: 12.5px;
  font-weight: 700;
  border: none;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.toggle-btn.active {
  background: var(--electric-cyan);
  color: #050811;
  box-shadow: 0 0 10px var(--electric-cyan-glow);
}

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

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
}

.pricing-card.featured {
  border-color: var(--electric-cyan);
  box-shadow: 0 0 30px var(--electric-cyan-glow);
  background: linear-gradient(180deg, #0b1426 0%, #080e1b 100%);
}

.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--electric-cyan);
  color: #050811;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 12px;
  border-radius: var(--radius-full);
  letter-spacing: 0.6px;
}

.plan-name {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 6px;
}

.plan-price-wrap {
  margin: 18px 0;
}

.plan-price {
  font-size: 38px;
  font-weight: 900;
  color: #fff;
  font-family: var(--font-mono);
}

.plan-period {
  font-size: 13px;
  color: var(--text-muted);
}

.plan-features {
  list-style: none;
  margin: 20px 0 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13.5px;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--text-muted);
}

.plan-features li span.check {
  color: var(--accent-ok);
  font-weight: 900;
}

/* ---- Auth / Forms (Login, Register, Dashboard) ------------------------------ */
.auth-container {
  max-width: 440px;
  margin: 50px auto;
  padding: 32px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

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

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-muted);
}

.form-input {
  width: 100%;
  padding: 10px 14px;
  background: #06090e;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: #fff;
  font-size: 13.5px;
  outline: none;
  transition: border-color 0.2s;
  font-family: inherit;
}

.form-input:focus {
  border-color: var(--electric-cyan);
  box-shadow: 0 0 10px var(--electric-cyan-glow);
}

.alert {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 12.5px;
  margin-bottom: 16px;
  font-weight: 600;
}

.alert-danger {
  background: rgba(255, 82, 82, 0.15);
  border: 1px solid var(--accent-err);
  color: #ff8585;
}

.alert-success {
  background: rgba(0, 230, 118, 0.15);
  border: 1px solid var(--accent-ok);
  color: var(--accent-ok);
}

/* ---- User Dashboard -------------------------------------------------------- */
.dashboard-wrap {
  max-width: 1000px;
  margin: 40px auto;
  padding: 0 24px;
}

.dash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.license-box {
  background: #080d17;
  border: 1px solid var(--electric-cyan);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 24px;
  box-shadow: 0 0 20px var(--electric-cyan-glow);
}

.license-key-display {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 800;
  color: var(--electric-cyan);
  letter-spacing: 2px;
  background: #04060b;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px dashed rgba(0, 240, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 12px 0;
}

/* ---- Footer ---------------------------------------------------------------- */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding: 30px 24px;
  text-align: center;
  color: var(--text-dim);
  font-size: 12.5px;
  margin-top: 70px;
}
