/* CSS DESIGN SYSTEM - ADG MULTIBUSINESS (Ultra-Rich Multi-Page Edition) */
:root {
  --primary-navy: #0F172A;
  --secondary-navy: #1E293B;
  --bg-dark: #090D16;
  --bg-card-dark: rgba(30, 41, 59, 0.7);
  --accent-gold: #D4AF37;
  --accent-gold-hover: #F3E5AB;
  --gold-glow: rgba(212, 175, 55, 0.25);
  --accent-blue: #2563EB;
  --accent-emerald: #10B981;
  --text-main: #F8FAFC;
  --text-sub: #94A3B8;
  --border-dark: rgba(255, 255, 255, 0.1);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --font-family: 'Plus Jakarta Sans', 'Outfit', sans-serif;
}

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

body {
  font-family: var(--font-family);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: var(--secondary-navy);
  border-radius: 5px;
  border: 2px solid var(--bg-dark);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-gold);
}

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Top bar */
.top-bar {
  background: #05080E;
  color: var(--text-sub);
  font-size: 0.78rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border-dark);
}

.top-bar .flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar .info-list {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.top-bar a:hover {
  color: var(--accent-gold);
}

/* Header & Navbar */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 23, 42, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-dark);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 900;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.logo-badge {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, #D4AF37 0%, #B89628 100%);
  color: #0F172A;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  font-weight: 900;
  box-shadow: 0 4px 15px var(--gold-glow);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
  font-size: 0.88rem;
  font-weight: 600;
}

.nav-links a {
  transition: color 0.2s ease;
  padding: 0.35rem 0;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--accent-gold);
  border-bottom: 2px solid var(--accent-gold);
}

/* Dropdown Menu */
.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 280px;
  background: #1E293B;
  border: 1px solid var(--border-dark);
  border-radius: 16px;
  padding: 0.6rem;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
  z-index: 200;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.85rem;
  border-radius: 10px;
  font-size: 0.82rem;
  color: var(--text-sub);
  border-bottom: none !important;
}

.dropdown-menu a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--accent-gold);
}

/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, #D4AF37 0%, #B89628 100%);
  color: #0F172A;
  font-weight: 700;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  box-shadow: 0 4px 20px var(--gold-glow);
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #F3E5AB 0%, #D4AF37 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
  font-weight: 600;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-dark);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

.btn-outline {
  background: transparent;
  color: var(--accent-gold);
  border: 1px solid var(--accent-gold);
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.btn-outline:hover {
  background: var(--accent-gold);
  color: #0F172A;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-gold {
  background: rgba(212, 175, 55, 0.15);
  color: #F3E5AB;
  border: 1px solid rgba(212, 175, 55, 0.35);
}

.badge-blue {
  background: rgba(37, 99, 235, 0.15);
  color: #93C5FD;
  border: 1px solid rgba(37, 99, 235, 0.35);
}

.badge-emerald {
  background: rgba(16, 185, 129, 0.15);
  color: #6EE7B7;
  border: 1px solid rgba(16, 185, 129, 0.35);
}

/* Section Header */
.section-padding {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 3.5rem auto;
}

.section-header h2 {
  font-size: 2.35rem;
  font-weight: 800;
  margin: 0.5rem 0 0.75rem 0;
}

.section-header p {
  color: var(--text-sub);
  font-size: 1.05rem;
}

/* Cards Grid */
.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.card {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.7) 0%, rgba(15, 23, 42, 0.8) 100%);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 20px var(--gold-glow);
}

.card-img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1rem;
}

/* Forms & Inputs */
.form-group {
  margin-bottom: 1.1rem;
}

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-sub);
  margin-bottom: 0.4rem;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.8rem 1.1rem;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--accent-gold);
  box-shadow: 0 0 15px var(--gold-glow);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  text-align: center;
  padding: 5rem 0;
  background: linear-gradient(to bottom, rgba(9, 13, 22, 0.5), rgba(9, 13, 22, 0.95)), url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1920&q=80') center/cover;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.15;
  margin: 1.25rem 0;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-sub);
  max-width: 800px;
  margin: 0 auto 2.25rem auto;
}

.text-gold {
  background: linear-gradient(135deg, #FFF7D6 0%, #D4AF37 50%, #AA820A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Timeline & Lists */
.timeline-item {
  position: relative;
  padding-left: 2rem;
  border-left: 2px solid var(--accent-gold);
  margin-bottom: 2rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -7px;
  top: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent-gold);
}

/* Feature List */
.feature-list {
  list-style: none;
  space-y: 0.75rem;
}

.feature-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  color: #CBD5E1;
}

.feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-gold);
  font-weight: bold;
}

/* Pricing / Spec Table */
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  font-size: 0.85rem;
}

.data-table th {
  background: #05080E;
  color: var(--accent-gold);
  text-transform: uppercase;
  font-size: 0.75rem;
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-dark);
}

.data-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border-dark);
  color: var(--text-sub);
}

.data-table tr:hover td {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-main);
}

/* Footer */
footer {
  background: #05080E;
  border-top: 1px solid var(--border-dark);
  padding: 4.5rem 0 2rem 0;
  color: var(--text-sub);
  font-size: 0.85rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

.footer-title {
  color: var(--text-main);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 1.25rem;
  border-bottom: 2px solid var(--accent-gold);
  padding-bottom: 0.35rem;
  display: inline-block;
}

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

.footer-links li {
  margin-bottom: 0.6rem;
}

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

.footer-bottom {
  border-top: 1px solid var(--border-dark);
  padding-top: 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
}

/* Modal Popup */
.modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-box {
  background: var(--secondary-navy);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  max-width: 650px;
  width: 100%;
  padding: 2.25rem;
  position: relative;
  box-shadow: 0 30px 60px rgba(0,0,0,0.7);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.modal-close:hover {
  background: var(--accent-gold);
  color: #0F172A;
}

/* Responsive */
@media (max-width: 900px) {
  .hero h1 { font-size: 2.5rem; }
  .grid-cards { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .top-bar .info-list { flex-direction: column; gap: 0.35rem; }
}
