/* ==========================================================================
   APPROACH FOUR ASSOCIATES - DISPLAY PAGE STYLESHEET
   Aligned with ERP Portal Design Tokens & Color Palette
   ========================================================================== */

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

:root {
  --font-primary: 'Inter', system-ui, -apple-system, sans-serif;
  
  --primary: #1E3A8A;
  --primary-hover: #1E40AF;
  --primary-light: rgba(30, 58, 138, 0.08);
  
  --secondary: #F97316;
  --secondary-hover: #EA580C;
  --accent: #F97316;
  --accent-hover: #EA580C;
  --accent-light: rgba(249, 115, 22, 0.08);
  
  --bg-main: #F8FAFC;
  --bg-surface: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-glass: rgba(255, 255, 255, 0.85);
  --bg-dark-accent: #0F172A;
  
  --text-main: #0F172A;
  --text-muted: #64748B;
  --text-inverse: #FFFFFF;
  
  --border-color: #E2E8F0;
  --border-strong: #CBD5E1;
  
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 20px 35px -10px rgba(30, 58, 138, 0.12);
  --shadow-accent: 0 10px 20px -5px rgba(249, 115, 22, 0.25);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 9999px;
  
  --transition: 0.25s ease-in-out;
}

[data-theme="dark"] {
  --primary: #3B82F6;
  --primary-hover: #60A5FA;
  --primary-light: rgba(59, 130, 246, 0.15);
  
  --secondary: #FB923C;
  --secondary-hover: #F97316;
  --accent: #FB923C;
  --accent-hover: #F97316;
  --accent-light: rgba(251, 146, 60, 0.12);
  
  --bg-main: #0F172A;
  --bg-surface: #1E293B;
  --bg-card: #1E293B;
  --bg-glass: rgba(30, 41, 59, 0.85);
  --bg-dark-accent: #0B0F19;
  
  --text-main: #F8FAFC;
  --text-muted: #94A3B8;
  
  --border-color: #334155;
  --border-strong: #475569;
  
  --shadow-md: 0 4px 10px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 15px 30px rgba(0, 0, 0, 0.5);
  --shadow-accent: 0 10px 20px -5px rgba(251, 146, 60, 0.3);
}

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

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

body {
  font-family: var(--font-primary);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background-color var(--transition), color var(--transition);
}

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

h1, h2, h3, h4, h5, h6 {
  color: var(--text-main);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

/* Gradient & Typography Helpers */
.gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, #3B82F6 50%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-accent-text {
  background: linear-gradient(135deg, var(--secondary) 0%, #FB923C 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Header & Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  transition: all var(--transition);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--text-main);
}

.brand-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: transform var(--transition);
  box-shadow: var(--shadow-sm);
}

.brand-logo:hover .brand-icon {
  transform: scale(1.05);
  background: var(--primary-hover);
}

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

.brand-title {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.brand-subtitle {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--secondary);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-link {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 14px;
  transition: color var(--transition);
}

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

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

.theme-toggle-btn {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-color);
  background: var(--bg-surface);
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all var(--transition);
}

.theme-toggle-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: scale(1.05);
}

/* Bold Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--radius-pill);
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-accent {
  background: var(--secondary);
  color: white;
  box-shadow: var(--shadow-accent);
}

.btn-accent:hover {
  background: var(--secondary-hover);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -6px rgba(249, 115, 22, 0.4);
}

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

.btn-outline:hover {
  border-color: var(--primary);
  background: var(--primary-light);
  transform: translateY(-2px);
}

/* Bold Hero Section */
.hero-section {
  padding-top: 170px;
  padding-bottom: 100px;
  text-align: center;
  position: relative;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(circle, rgba(30, 58, 138, 0.08) 0%, rgba(249, 115, 22, 0.05) 50%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 22px;
  background: var(--bg-surface);
  color: var(--text-main);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 28px;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-sm);
}

.hero-badge i {
  color: var(--secondary);
}

.hero-title {
  font-size: 60px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  line-height: 1.1;
}

.hero-description {
  font-size: 19px;
  color: var(--text-muted);
  margin: 0 auto 40px auto;
  max-width: 780px;
  font-weight: 500;
  line-height: 1.6;
}

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

/* Bold Section Standard */
.section {
  padding: 100px 0;
}

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

.section-tag {
  display: inline-block;
  padding: 6px 18px;
  background: var(--accent-light);
  color: var(--secondary);
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 17px;
  color: var(--text-muted);
  font-weight: 500;
}

/* Minimalist Overview Cards */
.overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.overview-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 40px 36px;
  transition: all var(--transition);
  position: relative;
  box-shadow: var(--shadow-sm);
}

.overview-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

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

.overview-card h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 14px;
}

.overview-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  font-weight: 500;
}

/* Minimalist Services Cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--secondary);
}

.service-icon {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: var(--accent-light);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 24px;
  transition: all var(--transition);
}

.service-card:hover .service-icon {
  background: var(--secondary);
  color: white;
}

.service-title {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 12px;
}

.service-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  font-weight: 500;
}

/* High Contrast Minimalist Stats Banner */
.stats-banner {
  background: var(--bg-dark-accent);
  border-radius: var(--radius-lg);
  padding: 64px 48px;
  color: white;
  margin: 40px 0 80px 0;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  text-align: center;
}

.stat-item h3 {
  font-size: 48px;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 8px;
}

.stat-item p {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* ERP Redirection Callout */
.erp-cta-section {
  background: var(--bg-surface);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  box-shadow: var(--shadow-lg);
  margin-bottom: 90px;
}

.erp-cta-content h3 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 14px;
}

.erp-cta-content p {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 24px;
  max-width: 650px;
  font-weight: 500;
}

.erp-cta-features {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.erp-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
}

.erp-tag i {
  color: var(--secondary);
}

/* Contact & Map Highlight Section (Bottom Only) */
.contact-section {
  padding: 100px 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

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

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

.contact-card {
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 28px 32px;
  text-decoration: none;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 24px;
  transition: all var(--transition);
}

.contact-card:hover {
  transform: translateY(-4px);
  border-color: var(--secondary);
  box-shadow: var(--shadow-accent);
}

.contact-card-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--accent-light);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.contact-card-details h4 {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.contact-card-details span {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.4;
  word-break: break-word;
}

.map-container {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  height: 420px;
  width: 100%;
  background: var(--bg-main);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Policy & Terms Modal Dialog */
.policy-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.policy-modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.policy-modal-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  max-width: 720px;
  width: 100%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.policy-modal-backdrop.active .policy-modal-card {
  transform: translateY(0);
}

.policy-modal-header {
  padding: 24px 32px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.policy-modal-header h3 {
  font-size: 22px;
  font-weight: 800;
}

.policy-modal-close {
  background: transparent;
  border: none;
  font-size: 28px;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s ease;
}

.policy-modal-close:hover {
  color: var(--text-main);
}

.policy-modal-body {
  padding: 32px;
  overflow-y: auto;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
}

.policy-modal-body h4 {
  font-size: 17px;
  font-weight: 800;
  color: var(--text-main);
  margin: 24px 0 8px 0;
}

.policy-modal-body h4:first-child {
  margin-top: 0;
}

.policy-modal-footer {
  padding: 20px 32px;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: flex-end;
}

/* Footer */
.footer {
  background: var(--bg-main);
  padding: 60px 0 32px 0;
}

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

.footer-brand p {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 18px;
  max-width: 320px;
  font-weight: 500;
}

.footer-col h4 {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
  transition: color var(--transition);
}

.footer-col ul li a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-bottom-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

/* Responsive */
@media (max-width: 992px) {
  .hero-title { font-size: 48px; }
  .erp-cta-section { flex-direction: column; text-align: center; padding: 40px 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-layout-grid { grid-template-columns: 1fr; }
  .map-container { height: 320px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero-title { font-size: 36px; }
  .hero-description { font-size: 17px; }
  .section-title { font-size: 30px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* Toast Feedback Notification */
.display-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--bg-dark-accent);
  color: #FFFFFF;
  padding: 14px 24px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 700;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-strong);
  z-index: 3000;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.display-toast.show {
  opacity: 1;
  transform: translateY(0);
}

