/* ==========================================================================
   Phuriphat Accounting & Advisory - Modern Minimal Design System
   ========================================================================== */

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

:root {
  /* Color Palette - Modern Slate, Emerald Trust & Muted Gold */
  --navy-dark: #0b1325;
  --navy-main: #0f172a;
  --navy-surface: #1e293b;
  
  --emerald-primary: #0d9488;
  --emerald-hover: #0f766e;
  --emerald-light: #f0fdf4;
  --emerald-border: #a7f3d0;
  
  --gold-accent: #d97706;
  --gold-light: #fffbeb;

  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-600: #475569;
  --slate-800: #1e293b;
  --slate-900: #0f172a;

  --bg-body: #f8fafc;
  --bg-card: rgba(255, 255, 255, 0.9);
  --text-title: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.06), 0 2px 4px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.03);
  --shadow-xl: 0 20px 35px -10px rgba(15, 23, 42, 0.12);
  --shadow-glass: 0 8px 32px 0 rgba(15, 23, 42, 0.08);

  --font-main: 'Prompt', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-en: 'Plus Jakarta Sans', 'Prompt', sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Dark Mode Theme Overrides */
[data-theme="dark"] {
  --bg-body: #0b1325;
  --bg-card: rgba(15, 23, 42, 0.85);
  --text-title: #f8fafc;
  --text-body: #cbd5e1;
  --text-muted: #94a3b8;
  --slate-100: #1e293b;
  --slate-200: #334155;
  --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

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

/* Utility Containers */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Typography Helpers */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  background: rgba(13, 148, 136, 0.1);
  color: var(--emerald-primary);
  border: 1px solid rgba(13, 148, 136, 0.2);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(1.875rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--text-title);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-muted);
  max-width: 680px;
  font-weight: 400;
}

.text-center {
  text-align: center;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: none;
  outline: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--navy-main);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.25);
}

.btn-primary:hover {
  background: var(--emerald-primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(13, 148, 136, 0.35);
}

.btn-emerald {
  background: var(--emerald-primary);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.3);
}

.btn-emerald:hover {
  background: var(--emerald-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(13, 148, 136, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--text-title);
  border: 1px solid var(--slate-300);
}

.btn-outline:hover {
  border-color: var(--emerald-primary);
  color: var(--emerald-primary);
  background: rgba(13, 148, 136, 0.04);
}

.btn-icon {
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Glassmorphism Card Element */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-glass);
}

[data-theme="dark"] .glass-card {
  border-color: rgba(255, 255, 255, 0.08);
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: all var(--transition-normal);
}

.navbar.scrolled {
  padding: 0.65rem 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--slate-200);
  box-shadow: var(--shadow-md);
}

[data-theme="dark"] .navbar.scrolled {
  background: rgba(11, 19, 37, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text-title);
  letter-spacing: -0.02em;
}

.brand-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--navy-main), var(--emerald-primary));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.3);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-body);
  position: relative;
  padding: 0.25rem 0;
  transition: color var(--transition-fast);
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--emerald-primary);
  border-radius: 2px;
  transition: width var(--transition-normal);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lang-switch {
  display: flex;
  background: var(--slate-100);
  border-radius: var(--radius-full);
  padding: 3px;
  border: 1px solid var(--slate-200);
}

.lang-btn {
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  border: none;
  background: transparent;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.lang-btn.active {
  background: #ffffff;
  color: var(--navy-main);
  box-shadow: var(--shadow-sm);
}

[data-theme="dark"] .lang-btn.active {
  background: var(--navy-surface);
  color: var(--emerald-primary);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-title);
  cursor: pointer;
}

/* Hero Section */
.hero {
  padding: 9rem 0 5rem;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 80% 20%, rgba(13, 148, 136, 0.08) 0%, transparent 50%),
              radial-gradient(circle at 10% 80%, rgba(15, 23, 42, 0.04) 0%, transparent 40%);
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(15, 23, 42, 0.05);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--slate-800);
  margin-bottom: 1.5rem;
}

[data-theme="dark"] .hero-badge {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--slate-300);
}

.hero-title {
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 800;
  color: var(--text-title);
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.text-gradient {
  background: linear-gradient(135deg, var(--navy-main) 30%, var(--emerald-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

[data-theme="dark"] .text-gradient {
  background: linear-gradient(135deg, #ffffff 40%, var(--emerald-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.trust-bullets {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--slate-200);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-body);
}

.trust-icon {
  color: var(--emerald-primary);
  font-size: 1.1rem;
}

.hero-visual {
  position: relative;
}

.hero-img-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.hero-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-img-wrapper:hover .hero-img {
  transform: scale(1.03);
}

/* Floating Stats Badge on Hero */
.floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--slate-200);
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 10;
}

[data-theme="dark"] .floating-card {
  background: rgba(15, 23, 42, 0.9);
  border-color: rgba(255, 255, 255, 0.1);
}

.card-top-right {
  top: 1.5rem;
  right: -1.5rem;
  animation: float 4s ease-in-out infinite;
}

.card-bottom-left {
  bottom: 1.5rem;
  left: -1.5rem;
  animation: float 4s ease-in-out infinite 2s;
}

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

.float-icon {
  width: 46px;
  height: 46px;
  background: var(--emerald-light);
  color: var(--emerald-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.float-val {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-title);
  line-height: 1.1;
}

.float-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Stats Counter Band */
.stats-band {
  padding: 3rem 0;
  background: var(--navy-main);
  color: #ffffff;
  margin-top: 2rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item {
  padding: 1rem;
}

.stat-number {
  font-size: 2.75rem;
  font-weight: 800;
  color: #ffffff;
  font-family: var(--font-en);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-number span {
  color: var(--emerald-primary);
}

.stat-label {
  font-size: 0.95rem;
  color: var(--slate-300);
}

/* Services Section */
.section-padding {
  padding: 6rem 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background: var(--bg-card);
  padding: 2.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-200);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.service-icon {
  width: 56px;
  height: 56px;
  background: var(--slate-100);
  color: var(--navy-main);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  transition: all var(--transition-normal);
}

.service-card:hover .service-icon {
  background: var(--emerald-primary);
  color: #ffffff;
}

.service-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-title);
  margin-bottom: 0.75rem;
}

.service-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-list {
  list-style: none;
  margin-bottom: 1.5rem;
}

.service-list li {
  font-size: 0.875rem;
  color: var(--text-body);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.service-list li svg {
  color: var(--emerald-primary);
  flex-shrink: 0;
}

/* Interactive Accounting Fee Calculator */
.calc-section {
  background: linear-gradient(180deg, var(--slate-100) 0%, var(--bg-body) 100%);
  position: relative;
}

.calc-card {
  max-width: 960px;
  margin: 3rem auto 0;
  padding: 3rem;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-xl);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
}

.form-group {
  margin-bottom: 1.75rem;
}

.form-label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-title);
  margin-bottom: 0.6rem;
}

.form-select, .form-input {
  width: 100%;
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-300);
  background: var(--bg-body);
  color: var(--text-title);
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition-fast);
}

.form-select:focus, .form-input:focus {
  border-color: var(--emerald-primary);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}

/* Range Slider Styling */
.range-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.range-val-badge {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--emerald-primary);
  background: var(--emerald-light);
  padding: 0.2rem 0.75rem;
  border-radius: var(--radius-full);
}

.range-slider {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: var(--slate-200);
  outline: none;
  accent-color: var(--emerald-primary);
  cursor: pointer;
}

.calc-result-box {
  background: var(--navy-main);
  color: #ffffff;
  border-radius: var(--radius-md);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.3);
}

.result-title {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--slate-400);
  margin-bottom: 0.5rem;
}

.result-price-range {
  font-size: 2.25rem;
  font-weight: 800;
  color: #ffffff;
  font-family: var(--font-en);
  line-height: 1.1;
  margin-bottom: 0.25rem;
}

.price-unit {
  font-size: 0.9rem;
  color: var(--emerald-primary);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.calc-breakdown {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.25rem;
  margin-top: auto;
  margin-bottom: 1.5rem;
}

.breakdown-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--slate-300);
  margin-bottom: 0.5rem;
}

/* Tax Calendar Section */
.tax-calendar-tabs {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--slate-300);
  background: transparent;
  color: var(--text-body);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.tab-btn.active, .tab-btn:hover {
  background: var(--navy-main);
  color: #ffffff;
  border-color: var(--navy-main);
}

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

.tax-card {
  background: var(--bg-card);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  transition: all var(--transition-normal);
}

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

.tax-date-box {
  background: var(--emerald-light);
  color: var(--emerald-primary);
  padding: 0.75rem;
  border-radius: 12px;
  text-align: center;
  min-width: 68px;
  font-weight: 700;
}

.tax-date-num {
  font-size: 1.5rem;
  line-height: 1;
}

.tax-date-month {
  font-size: 0.75rem;
  text-transform: uppercase;
}

.tax-info-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-title);
  margin-bottom: 0.35rem;
}

.tax-tag {
  display: inline-block;
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--slate-100);
  color: var(--slate-800);
  margin-bottom: 0.5rem;
}

/* Step Process Timeline */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-top: 3.5rem;
  position: relative;
}

.process-card {
  background: var(--bg-card);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  position: relative;
}

.step-num {
  font-size: 2.75rem;
  font-weight: 800;
  color: rgba(13, 148, 136, 0.2);
  font-family: var(--font-en);
  line-height: 1;
  margin-bottom: 1rem;
}

.step-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-title);
  margin-bottom: 0.6rem;
}

/* FAQ Accordion */
.faq-container {
  max-width: 800px;
  margin: 3rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  text-align: left;
  background: transparent;
  border: none;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-title);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-icon {
  font-size: 1.2rem;
  transition: transform var(--transition-normal);
  color: var(--emerald-primary);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal), padding var(--transition-normal);
  padding: 0 1.5rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 1.5rem 1.5rem 1.5rem;
}

/* Contact Footer Section */
.footer {
  background: var(--navy-dark);
  color: #ffffff;
  padding: 5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: #ffffff;
}

.footer-desc {
  color: var(--slate-400);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  max-width: 320px;
}

.footer-heading {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

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

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

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

.footer-links a:hover {
  color: var(--emerald-primary);
}

.contact-meta-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--slate-300);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.contact-meta-icon {
  color: var(--emerald-primary);
  margin-top: 0.2rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--slate-400);
  font-size: 0.85rem;
}

/* Modal Dialog */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(11, 19, 37, 0.7);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

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

.modal-box {
  background: var(--bg-body);
  border-radius: var(--radius-lg);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2.5rem;
  position: relative;
  transform: scale(0.95);
  transition: transform var(--transition-bounce);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--slate-200);
}

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

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: var(--slate-100);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--text-muted);
}

/* Float CTA Widget */
.float-widget {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.float-btn {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.35rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: transform var(--transition-bounce);
  border: none;
}

.float-btn:hover {
  transform: scale(1.1);
}

.float-line {
  background: #06c755;
}

.float-top {
  background: var(--navy-main);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.float-top.visible {
  opacity: 1;
  pointer-events: auto;
}

/* Scroll Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile Responsive Media Queries */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .calc-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--bg-body);
    padding: 2rem;
    flex-direction: column;
    gap: 1.25rem;
    border-bottom: 1px solid var(--slate-200);
    box-shadow: var(--shadow-lg);
    display: none;
  }
  .nav-menu.active {
    display: flex;
  }
  .mobile-toggle {
    display: block;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .card-top-right, .card-bottom-left {
    display: none;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
