/* ==========================================================================
   BRANCH OF LG CNS CO., LTD. - ERP & Cloud Solutions
   Design System inspired by akas.co
   Language: Khmer (ភាសាខ្មែរ)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Kantumruy+Pro:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
  --primary: #0C74C0;
  --primary-dark: #095996;
  --primary-light: #EBF5FB;
  --primary-gradient: linear-gradient(135deg, #0C74C0 0%, #0096C7 100%);
  --secondary: #00B4D8;
  --secondary-dark: #0077B6;
  --dark-navy: #0B192C;
  --slate-900: #0F172A;
  --slate-800: #1E293B;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748B;
  --slate-400: #94A3B8;
  --slate-200: #E2E8F0;
  --slate-100: #F1F5F9;
  --slate-50: #F8FAFC;
  --white: #FFFFFF;
  --success: #10B981;
  --warning: #F59E0B;
  --danger: #EF4444;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 14px rgba(12, 116, 192, 0.08), 0 2px 6px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 30px rgba(12, 116, 192, 0.12), 0 4px 10px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 40px rgba(12, 116, 192, 0.16), 0 8px 16px rgba(0,0,0,0.06);
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --font-main: 'Kantumruy Pro', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background-color: var(--white);
  color: var(--slate-800);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul, ol {
  list-style: none;
}

img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   Layout & Container
   ========================================================================== */

.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section-padding {
  padding-top: 90px;
  padding-bottom: 90px;
}

@media (max-width: 768px) {
  .section-padding {
    padding-top: 60px;
    padding-bottom: 60px;
  }
}

/* ==========================================================================
   Header Topbar & Navigation
   ========================================================================== */

.top-bar {
  background: var(--dark-navy);
  color: var(--slate-400);
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--slate-200);
}

.top-bar-item:hover {
  color: var(--secondary);
}

.top-bar-item svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.badge-duns {
  background: rgba(12, 116, 192, 0.25);
  color: #38BDF8;
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(12, 116, 192, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--slate-900);
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.logo-title span {
  color: var(--primary);
}

.logo-subtitle {
  font-size: 0.72rem;
  color: var(--slate-500);
  font-weight: 500;
}

/* Nav Menu */
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--slate-700);
  padding: 8px 4px;
  position: relative;
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: -20px;
  width: 280px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--slate-100);
  padding: 12px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 100;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.dropdown-item:hover {
  background: var(--primary-light);
}

.dropdown-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(12, 116, 192, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dropdown-item-content h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--slate-900);
  margin-bottom: 2px;
}

.dropdown-item-content p {
  font-size: 0.78rem;
  color: var(--slate-500);
  line-height: 1.4;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Hamburger */
.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--slate-800);
}

@media (max-width: 991px) {
  .mobile-toggle {
    display: block;
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
    box-shadow: var(--shadow-xl);
    border-top: 1px solid var(--slate-100);
    max-height: 80vh;
    overflow-y: auto;
  }
  .main-nav.active {
    display: flex;
  }
  .dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    padding-left: 16px;
    width: 100%;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
  }
  .nav-dropdown.active .dropdown-menu {
    display: block;
  }
}

/* ==========================================================================
   Buttons & Badges
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary-gradient);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(12, 116, 192, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(12, 116, 192, 0.35);
  color: var(--white);
}

.btn-secondary {
  background: var(--slate-100);
  color: var(--slate-800);
}

.btn-secondary:hover {
  background: var(--slate-200);
  color: var(--primary);
}

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

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.4);
}

.btn-outline-white:hover {
  background: var(--white);
  color: var(--primary-dark);
}

.btn-lg {
  padding: 15px 32px;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: var(--radius-full);
}

.badge-primary {
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid rgba(12, 116, 192, 0.2);
}

.badge-pill {
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
  position: relative;
  padding: 90px 0 110px;
  background: radial-gradient(circle at top right, rgba(0, 180, 216, 0.08), transparent 40%),
              radial-gradient(circle at bottom left, rgba(12, 116, 192, 0.05), transparent 40%),
              #FFFFFF;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-content h1 {
  font-size: 2.85rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--slate-900);
  margin-top: 16px;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero-content h1 .highlight {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p {
  font-size: 1.12rem;
  color: var(--slate-600);
  margin-bottom: 32px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 28px;
  border-top: 1px solid var(--slate-200);
}

.stat-item h3 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
}

.stat-item p {
  font-size: 0.85rem;
  color: var(--slate-500);
  margin-bottom: 0;
}

/* Hero Visual & Interactive Mockup */
.hero-visual {
  position: relative;
}

.app-mockup {
  background: var(--slate-900);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255,255,255,0.1);
  position: relative;
}

.mockup-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot-red { background: #EF4444; }
.dot-yellow { background: #F59E0B; }
.dot-green { background: #10B981; }

.mockup-screen {
  background: #1E293B;
  border-radius: var(--radius-md);
  padding: 20px;
  color: var(--white);
}

.mockup-dash-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 16px;
}

.dash-card {
  background: rgba(255,255,255,0.06);
  padding: 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.08);
}

.dash-card-title {
  font-size: 0.78rem;
  color: var(--slate-400);
}

.dash-card-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: #38BDF8;
  margin: 4px 0;
}

.dash-card-trend {
  font-size: 0.72rem;
  color: #34D399;
}

.floating-card {
  position: absolute;
  background: var(--white);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--slate-100);
  animation: floatAnim 4s ease-in-out infinite;
}

.floating-card-1 {
  top: -20px;
  right: -20px;
}

.floating-card-2 {
  bottom: -20px;
  left: -20px;
  animation-delay: 2s;
}

@keyframes floatAnim {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@media (max-width: 991px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-content h1 {
    font-size: 2.2rem;
  }
  .floating-card {
    display: none;
  }
}

/* ==========================================================================
   Section Headers & Common
   ========================================================================== */

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}

.section-header h2 {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--slate-900);
  margin-top: 14px;
  margin-bottom: 16px;
  line-height: 1.35;
}

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

/* ==========================================================================
   Solutions & Module Cards
   ========================================================================== */

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
}

.solution-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

.solution-card:hover {
  transform: translateY(-6px);
  border-color: rgba(12, 116, 192, 0.4);
  box-shadow: var(--shadow-xl);
}

.solution-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.solution-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 12px;
}

.solution-card p {
  color: var(--slate-600);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 20px;
  flex-grow: 1;
}

.solution-features {
  margin-bottom: 24px;
  padding-top: 16px;
  border-top: 1px dashed var(--slate-200);
}

.solution-features li {
  font-size: 0.88rem;
  color: var(--slate-700);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.solution-features li svg {
  width: 16px;
  height: 16px;
  color: var(--success);
  flex-shrink: 0;
}

.solution-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--primary);
  font-size: 0.95rem;
}

.solution-link:hover {
  gap: 10px;
  color: var(--primary-dark);
}

/* ==========================================================================
   Feature Interactive Tabs / Showcase
   ========================================================================== */

.tabs-container {
  background: var(--slate-50);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--slate-200);
}

.tabs-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.tab-btn {
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  background: var(--white);
  border: 1px solid var(--slate-200);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--slate-700);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
}

.tab-btn:hover {
  background: var(--primary-light);
  color: var(--primary);
}

.tab-btn.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(12, 116, 192, 0.25);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

@media (max-width: 860px) {
  .tab-panel.active {
    grid-template-columns: 1fr;
  }
}

.tab-content h3 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 16px;
}

.tab-content p {
  font-size: 1rem;
  color: var(--slate-600);
  line-height: 1.8;
  margin-bottom: 24px;
}

.tab-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.95rem;
  color: var(--slate-700);
}

.tab-checklist li svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 4px;
}

/* ==========================================================================
   Cambodian Market Advantages
   ========================================================================== */

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

.benefit-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: var(--transition);
}

.benefit-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.benefit-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-top: 14px;
  margin-bottom: 10px;
}

.benefit-card p {
  font-size: 0.9rem;
  color: var(--slate-600);
  line-height: 1.6;
}

/* ==========================================================================
   Pricing Section
   ========================================================================== */

.pricing-switch-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 48px;
}

.switch-label {
  font-weight: 600;
  color: var(--slate-700);
  font-size: 0.95rem;
}

.switch {
  position: relative;
  display: inline-block;
  width: 54px;
  height: 28px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--slate-300);
  transition: .3s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .3s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: var(--primary);
}

input:checked + .slider:before {
  transform: translateX(26px);
}

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

.pricing-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  position: relative;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.pricing-card.featured {
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-xl);
  transform: scale(1.03);
}

@media (max-width: 991px) {
  .pricing-card.featured {
    transform: none;
  }
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-gradient);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pricing-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 8px;
}

.pricing-card-desc {
  font-size: 0.88rem;
  color: var(--slate-500);
  margin-bottom: 24px;
}

.pricing-price {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--slate-100);
}

.price-currency {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--slate-900);
  vertical-align: top;
}

.price-val {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--slate-900);
  line-height: 1;
}

.price-period {
  font-size: 0.9rem;
  color: var(--slate-500);
}

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

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--slate-700);
  margin-bottom: 12px;
}

.pricing-features li svg {
  width: 16px;
  height: 16px;
  color: var(--success);
  flex-shrink: 0;
}

/* ==========================================================================
   Testimonials & Partners
   ========================================================================== */

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.stars {
  color: #F59E0B;
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--slate-700);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}

.author-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--slate-900);
}

.author-info p {
  font-size: 0.8rem;
  color: var(--slate-500);
}

/* ==========================================================================
   CTA Banner
   ========================================================================== */

.cta-section {
  background: linear-gradient(135deg, #0B192C 0%, #0C74C0 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 60px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section h2 {
  font-size: 2.3rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--white);
}

.cta-section p {
  font-size: 1.1rem;
  max-width: 650px;
  margin: 0 auto 32px;
  color: rgba(255,255,255,0.85);
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ==========================================================================
   Forms & Contact
   ========================================================================== */

.contact-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
}

@media (max-width: 860px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
}

.form-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
}

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

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--slate-700);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--slate-900);
  background: var(--white);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(12, 116, 192, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.contact-info-card {
  background: var(--slate-900);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.info-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.1);
  color: #38BDF8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-content h4 {
  font-size: 0.9rem;
  color: var(--slate-400);
  margin-bottom: 4px;
}

.info-content p, .info-content a {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
}

.info-content a:hover {
  color: #38BDF8;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--dark-navy);
  color: var(--slate-400);
  padding-top: 80px;
  padding-bottom: 30px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

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

@media (max-width: 991px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 580px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand h3 {
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--primary);
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--slate-400);
  font-size: 0.9rem;
}

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

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  margin-bottom: 12px;
  color: var(--slate-300);
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  color: #38BDF8;
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a:hover {
  color: var(--white);
}

/* ==========================================================================
   Modals & Toasts
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(11, 25, 44, 0.75);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  transform: scale(0.95);
  transition: var(--transition);
}

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

.modal-header {
  padding: 24px 28px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--slate-100);
}

.modal-header h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--slate-900);
}

.modal-close {
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: var(--slate-400);
  cursor: pointer;
  padding: 4px;
}

.modal-close:hover {
  color: var(--danger);
}

.modal-body {
  padding: 24px 28px;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 780px;
  margin: 0 auto;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  color: var(--white);
  z-index: 1500;
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  transform: translateY(150%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-text {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--slate-200);
}

.cookie-text a {
  color: #38BDF8;
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    bottom: 12px;
    left: 12px;
    right: 12px;
  }
  .cookie-actions {
    flex-direction: column;
  }
  .cookie-actions .btn {
    width: 100%;
  }
}

/* Toast */
.toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: var(--slate-900);
  color: var(--white);
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 300px;
  border-left: 4px solid var(--primary);
  animation: slideIn 0.3s ease;
}

.toast.toast-success {
  border-left-color: var(--success);
}

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Content Page / Legal Styles */
.page-hero {
  background: linear-gradient(135deg, #0B192C 0%, #0C74C0 100%);
  color: var(--white);
  padding: 80px 0 60px;
  text-align: center;
}

.page-hero h1 {
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 14px;
  color: var(--white);
}

.page-hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  max-width: 700px;
  margin: 0 auto;
}

.legal-content {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 40px;
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
  font-size: 1rem;
  line-height: 1.9;
  color: var(--slate-700);
}

.legal-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-top: 32px;
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--slate-200);
}

.legal-content h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--slate-800);
  margin-top: 20px;
  margin-bottom: 10px;
}

.legal-content ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 20px;
}

.legal-content li {
  margin-bottom: 8px;
}

/* Feature Matrix Table */
.table-responsive {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-200);
}

.matrix-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.matrix-table th, .matrix-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--slate-200);
}

.matrix-table th {
  background: var(--slate-50);
  font-weight: 700;
  color: var(--slate-900);
}

.matrix-table tr:hover td {
  background: var(--slate-50);
}
