/* Core Design Tokens & Resets */
:root {
  --bg-dark: #12161a;
  --panel-dark: #1b2129;
  --panel-light: #242c36;
  --primary: #e74c3c; /* Amber/Yellow accent */
  --primary-hover: #c0392b;
  --text-white: #f5f6fa;
  --text-grey: #a0a8b3;
  --border-color: rgba(255, 255, 255, 0.07);
  --radius: 8px;
  --radius-lg: 16px;
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  --shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.2);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-white);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  color: var(--text-white);
}

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

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

/* Button Component */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--primary);
  color: #12161a;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(231, 76, 60, 0.3);
}

.btn-secondary {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text-white);
  background-color: transparent;
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: var(--text-white);
  transform: translateY(-2px);
}

/* 1. Header Styles */
.site-header {
  background-color: rgba(18, 22, 26, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 15px 0;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 1px;
}

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

.header-contact {
  display: flex;
  align-items: center;
  gap: 15px;
}

.header-phone, .header-email {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  background-color: var(--panel-dark);
  padding: 8px 16px;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.header-phone i, .header-email i {
  color: var(--primary);
}

.header-phone:hover, .header-email:hover {
  border-color: var(--primary);
  background-color: var(--panel-light);
}

/* 2. Hero Section */
.hero-section {
  padding: 80px 0;
  border-bottom: 1px solid var(--border-color);
  background: radial-gradient(circle at 80% 20%, rgba(231, 76, 60, 0.05) 0%, transparent 60%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background-color: rgba(231, 76, 60, 0.1);
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  border-radius: 20px;
  margin-bottom: 25px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-text-col h1 {
  font-size: 42px;
  line-height: 1.2;
  margin-bottom: 25px;
}

.hero-lead {
  font-size: 18px;
  color: var(--text-white);
  line-height: 1.6;
  margin-bottom: 20px;
  font-weight: 400;
}

.hero-text-col p {
  color: var(--text-grey);
  margin-bottom: 25px;
  font-size: 15.5px;
}

.hero-cta-buttons {
  display: flex;
  gap: 15px;
}

.hero-img-col {
  display: flex;
  justify-content: center;
}

.hero-img-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  border: 4px solid var(--panel-dark);
}

.hero-img-frame::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-shadow: inset 0 0 40px rgba(0,0,0,0.4);
  pointer-events: none;
}

.hero-portrait-img {
  display: block;
  max-width: 100%;
  height: auto;
  transition: var(--transition);
}

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

/* 3. Features Section */
.features-section {
  padding: 80px 0;
  background-color: var(--panel-dark);
  border-bottom: 1px solid var(--border-color);
}

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

.section-header h2 {
  font-size: 32px;
  margin-bottom: 15px;
}

.section-header p {
  color: var(--text-grey);
  font-size: 16px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.feature-card {
  background-color: var(--bg-dark);
  border: 1px solid var(--border-color);
  padding: 35px 25px;
  border-radius: var(--radius-lg);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(231, 76, 60, 0.3);
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 50px;
  height: 50px;
  background-color: rgba(231, 76, 60, 0.1);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.feature-icon i {
  color: var(--primary);
  font-size: 20px;
}

.feature-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
  font-weight: 600;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-grey);
  line-height: 1.5;
  text-align: justify;
}

/* 4. Pricing & Calculator Section */
.pricing-section {
  padding: 80px 0;
  border-bottom: 1px solid var(--border-color);
}

.pricing-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 60px;
  align-items: flex-start;
}

/* Calculator Panel */
.calc-panel {
  background-color: var(--panel-dark);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
}

.calc-header h3 {
  font-size: 22px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.calc-header p {
  color: var(--text-grey);
  font-size: 14.5px;
  line-height: 1.5;
  margin-bottom: 30px;
}

.calc-form {
  margin-bottom: 30px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-white);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input {
  background-color: var(--bg-dark);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 12px 16px;
  color: var(--text-white);
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  transition: var(--transition);
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 10px rgba(231, 76, 60, 0.15);
}

.calc-results {
  background-color: var(--bg-dark);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 25px;
}

.result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 15px;
}

.result-row span {
  color: var(--text-grey);
}

.result-row strong {
  font-weight: 600;
}

.result-divider {
  height: 1px;
  background-color: var(--border-color);
  margin: 15px 0;
}

.highlight-row {
  font-size: 16px;
  font-weight: 700;
}

.highlight-row strong {
  color: var(--text-white);
}

.text-accent {
  color: var(--primary) !important;
}

.font-small {
  font-size: 13.5px;
  margin-bottom: 8px;
}

.text-total {
  font-size: 19px;
  margin-bottom: 0;
  border-top: 1px dashed var(--border-color);
  padding-top: 15px;
  margin-top: 10px;
}

.text-total strong {
  color: var(--primary);
  font-size: 24px;
  font-family: 'Space Grotesk', sans-serif;
}

/* Pricing Table Panel */
.pricing-table-panel h3 {
  font-size: 26px;
  margin-bottom: 15px;
}

.pricing-desc {
  color: var(--text-grey);
  margin-bottom: 30px;
  font-size: 15.5px;
}

.table-responsive {
  width: 100%;
  margin-bottom: 25px;
}

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

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

.pricing-table th {
  background-color: var(--panel-dark);
  font-weight: 600;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14.5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-white);
}

.pricing-table td {
  font-size: 15.5px;
  color: var(--text-grey);
  transition: var(--transition);
}

.pricing-table tbody tr {
  transition: var(--transition);
}

.pricing-table tbody tr:hover {
  background-color: rgba(255, 255, 255, 0.02);
}

/* Animated active row when calculated */
.pricing-table tbody tr.active-row-demo {
  background-color: rgba(231, 76, 60, 0.12);
}

.pricing-table tbody tr.active-row-demo td {
  color: var(--primary);
  font-weight: 700;
  border-bottom-color: rgba(231, 76, 60, 0.3);
}

.pricing-note {
  display: flex;
  gap: 15px;
  background-color: rgba(255, 255, 255, 0.02);
  border-left: 3px solid var(--primary);
  padding: 20px;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.pricing-note i {
  color: var(--primary);
  font-size: 18px;
  margin-top: 2px;
}

.pricing-note span {
  font-size: 13.5px;
  color: var(--text-grey);
  line-height: 1.5;
}

/* 5. Contact Section */
.contact-section {
  padding: 80px 0;
  background-color: var(--panel-dark);
  border-bottom: 1px solid var(--border-color);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
  align-items: center;
}

.contact-info-col h2 {
  font-size: 32px;
  margin-bottom: 15px;
}

.contact-desc {
  color: var(--text-grey);
  margin-bottom: 40px;
  font-size: 16px;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-bottom: 40px;
}

.contact-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.contact-icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: rgba(231, 76, 60, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.contact-icon i {
  color: var(--primary);
  font-size: 18px;
}

.contact-text {
  flex: 1;
}

.contact-text strong {
  display: block;
  font-size: 14px;
  color: var(--text-white);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-text span, .contact-text a {
  font-size: 16px;
  color: var(--text-grey);
  line-height: 1.4;
  transition: var(--transition);
}

.contact-text a:hover {
  color: var(--primary);
}

.contact-sub-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid var(--border-color);
  padding-top: 25px;
}

.contact-sub-info p {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-grey);
}

.contact-sub-info i {
  color: var(--primary);
}

.contact-map-col {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.map-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 5px solid var(--bg-dark);
  height: 380px;
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
}

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

.route-planning .btn {
  width: 100%;
  justify-content: center;
}

/* 6. Footer Section */
.site-footer {
  background-color: var(--bg-dark);
  padding: 40px 0;
  text-align: center;
  border-top: 1px solid var(--border-color);
}

.footer-inner p {
  font-size: 14.5px;
  color: var(--text-grey);
}

.footer-sub {
  font-size: 12px !important;
  opacity: 0.6;
  margin-top: 8px;
}

/* 7. Responsive Styles */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 50px;
    text-align: center;
  }
  
  .hero-badge {
    margin-bottom: 20px;
  }
  
  .hero-text-col h1 {
    font-size: 34px;
  }
  
  .hero-cta-buttons {
    justify-content: center;
  }
  
  .hero-img-col {
    max-width: 320px;
    margin: 0 auto;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}

@media (max-width: 550px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .calc-panel {
    padding: 25px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .pricing-table th, .pricing-table td {
    padding: 12px 14px;
    font-size: 14px;
  }
  
  .site-logo {
    font-size: 19px;
  }
  
  .header-phone span, .header-email span {
    display: none; /* Keep only icons on small header */
  }
  
  .header-phone, .header-email {
    padding: 8px 10px;
  }
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  bottom: 25px;
  right: 25px;
  max-width: 380px;
  background-color: var(--panel-light);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 25px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
  z-index: 9999;
  display: none; /* Hidden by default, shown by JS */
  animation: slideInUp 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

@keyframes slideInUp {
  from {
    transform: translateY(100px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.cookie-content p {
  font-size: 13.5px;
  color: var(--text-grey);
  line-height: 1.5;
  margin-bottom: 20px;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.btn-cookie {
  padding: 8px 16px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
}

.btn-cookie-accept {
  background-color: var(--primary);
  color: #12161a;
}

.btn-cookie-accept:hover {
  background-color: var(--primary-hover);
}

.btn-cookie-reject {
  background-color: transparent;
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text-white);
}

.btn-cookie-reject:hover {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: var(--text-white);
}

@media (max-width: 480px) {
  .cookie-banner {
    bottom: 15px;
    right: 15px;
    left: 15px;
    max-width: calc(100% - 30px);
    padding: 20px;
  }
}
