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

:root {
  /* High-Trust & Conversion Color Palette */
  --primary: #003B95; /* Trust Blue (Booking/Pricewise style) */
  --primary-dark: #00224F;
  --bg-primary: #f0f7ff; /* Very soft friendly blue for backgrounds */
  
  /* CRO Colors */
  --action: #00A82D; /* Action Green for CTAs - high conversion */
  --action-hover: #008f26;
  --urgency: #FF7A00; /* Urgency Orange for badges */
  --trust-gold: #FBBF24; /* Review Stars */
  
  /* Backgrounds */
  --bg-main: #F4F5F7; /* Dashboard Grey */
  --bg-card: #FFFFFF;
  
  /* Text */
  --text-dark: #1A1A1A;
  --text-body: #4A4A4A;
  --text-muted: #717171;
  --text-light: #FFFFFF;
  
  /* Borders & Shadows */
  --border-radius: 12px; /* Softened slightly for a friendly look */
  --border-color: #E1E5EB;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 12px 32px rgba(0, 34, 79, 0.12);
  
  /* Transitions */
  --transition: all 0.2s ease-in-out;
}

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

html {
  overflow-y: scroll;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-main);
  color: var(--text-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-dark);
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
header {
  background: white;
  border-bottom: 1px solid var(--border-color);
  padding: 16px 0;
  position: relative;
  z-index: 100;
}

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

.logo {
  text-decoration: none;
  font-size: 26px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
}

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

nav ul {
  display: flex;
  gap: 28px;
  list-style: none;
}

nav a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 600;
  font-size: 15px;
  padding: 8px 12px;
  border-radius: 4px;
  transition: var(--transition);
}

nav a:hover, nav a.active {
  color: var(--primary);
  background: var(--bg-primary);
}

/* Hero Section (Independer Layout) */
.hero {
  background: var(--primary);
  padding: 60px 0 60px 0;
  color: white;
  position: relative;
}

.hero-split {
  display: flex;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 2;
}

.hero-content {
  flex: 1;
}

.hero-content h1 {
  font-size: 48px;
  color: white;
  margin-bottom: 16px;
  line-height: 1.15;
}

.hero-content p {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 32px;
  font-weight: 500;
}


/* Hero Widget (The Comparison Box) */
.hero-widget {
  flex: 0 0 500px;
  background: white;
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow-lg);
  color: var(--text-dark);
}

.hero-widget h2 {
  font-size: 24px;
  margin-bottom: 24px;
  color: var(--primary);
  text-align: center;
}

.widget-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.widget-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 700;
  font-size: 15px;
  transition: var(--transition);
  position: relative;
}

.widget-item svg {
  color: var(--primary);
  margin-bottom: 12px;
  width: 32px;
  height: 32px;
}

.widget-item:hover {
  background: white;
  border-color: var(--action);
  box-shadow: 0 4px 12px rgba(0, 168, 45, 0.15);
  transform: translateY(-2px);
  color: var(--action);
}

.widget-item:hover svg {
  color: var(--action);
}

.badge {
  position: absolute;
  top: -10px;
  right: -10px;
  background: var(--urgency);
  color: white;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 12px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.badge.green {
  background: var(--action);
}

/* USP Bar */
.usp-bar-container {
  background: white;
  border-bottom: 1px solid var(--border-color);
  padding: 16px 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.usp-bar {
  display: flex;
  justify-content: center;
  gap: 40px;
}

.usp-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
}

.usp-item svg {
  color: var(--action);
  width: 20px;
  height: 20px;
}

/* Buttons */
.cta-btn {
  background: var(--action);
  color: white;
  padding: 14px 28px;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 800;
  font-size: 16px;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 0px rgba(0, 115, 30, 1);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cta-btn:hover {
  background: var(--action-hover);
  transform: translateY(2px);
  box-shadow: 0 2px 0px rgba(0, 115, 30, 1);
}

.cta-btn:active {
  transform: translateY(4px);
  box-shadow: none;
}

/* Comparison Widget Container (Daisycon Placeholder) */
.comparison-container {
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  padding: 32px;
  margin: 60px auto;
  min-height: 400px;
}

.daisycon-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 300px;
  background: #F8FAFC;
  border: 2px dashed #CBD5E1;
  border-radius: 8px;
  color: var(--text-muted);
}

/* SEO Content Section */
.seo-content {
  background: white;
  padding: 48px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  margin: 60px auto;
}

.seo-content h2 {
  font-size: 28px;
  color: var(--primary);
  margin-bottom: 20px;
  border-bottom: 2px solid var(--action);
  padding-bottom: 8px;
  display: inline-block;
}

.seo-content h3 {
  font-size: 20px;
  color: var(--text-dark);
  margin: 32px 0 16px;
}

.seo-content p {
  margin-bottom: 16px;
}

.seo-content ul {
  margin: 16px 0 24px 24px;
}

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

/* Footer */
footer {
  background: white;
  border-top: 1px solid var(--border-color);
  padding: 60px 0 30px;
  margin-top: 80px;
}

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

.footer-col .logo {
  color: var(--primary);
  margin-bottom: 16px;
  display: block;
}

.footer-col h4 {
  font-size: 16px;
  margin-bottom: 20px;
  color: var(--text-dark);
}

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

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

.footer-col a {
  color: var(--text-body);
  text-decoration: none;
  font-size: 14px;
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 13px;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-split {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-widget {
    flex: auto;
    width: 100%;
    max-width: 500px;
  }
  
  .usp-bar {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }
}

@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    gap: 16px;
  }
  
  nav ul {
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .hero h1 {
    font-size: 32px;
  }
  
  .widget-grid {
    grid-template-columns: 1fr;
  }
}

/* Features Section */
.features-section {
  padding: 80px 0;
}
.features-section h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 48px;
  color: var(--primary);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}
.feature-card {
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.feature-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.feature-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.feature-card-content {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.feature-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--text-dark);
}
.feature-card p {
  color: var(--text-body);
  margin-bottom: 24px;
  flex: 1;
}
.feature-card .cta-btn {
  width: 100%;
}

/* Subpage Hero Image */
.hero-image-box {
  flex: 0 0 500px;
  height: 320px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid rgba(255, 255, 255, 0.1);
}
.hero-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 992px) {
  .hero-image-box {
    display: none; /* Hide on mobile to save space */
  }
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    background: var(--bg-card);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    margin-top: 24px;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 16px;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 59, 149, 0.1);
}

/* Content Cards for Info/Legal Pages */
.content-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    margin-bottom: 40px;
}
.content-card h2 {
    color: var(--primary);
    margin-bottom: 24px;
}
.content-card h3 {
    color: var(--text-dark);
    margin-top: 32px;
    margin-bottom: 16px;
}
/* Two column layout for Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 40px;
    margin-bottom: 40px;
}
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}
.contact-info-card {
    background: var(--bg-primary);
    padding: 30px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(0, 59, 149, 0.1);
}
.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}
.contact-info-item svg {
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 4px;
}
.contact-info-item h4 {
    margin-bottom: 4px;
    color: var(--text-dark);
    font-size: 16px;
}
.contact-info-item p {
    color: var(--text-body);
    font-size: 15px;
    margin: 0;
}

/* --- MOBILE MENU --- */
.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    padding: 8px;
    position: relative;
    z-index: 1001;
}
.mobile-menu-btn svg {
    width: 28px;
    height: 28px;
}
/* Overlay for mobile menu */
.menu-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s;
}
body.nav-open .menu-overlay {
    display: block;
    opacity: 1;
}

@media (max-width: 992px) {
    .mobile-menu-btn {
        display: block;
        margin-left: auto;
    }
    #header-cta {
        display: none !important; 
    }
    .header-inner nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 280px;
        height: 100vh;
        background: white;
        z-index: 1000;
        padding: 80px 20px 20px;
        box-shadow: 2px 0 12px rgba(0,0,0,0.1);
        transition: left 0.3s ease;
    }
    body.nav-open .header-inner nav {
        left: 0;
    }
    .header-inner nav ul {
        flex-direction: column;
        gap: 8px;
    }
    .header-inner nav ul li a {
        color: var(--text-dark);
        font-size: 18px;
        font-weight: 600;
        display: block;
        padding: 12px 16px;
        border-radius: 8px;
        transition: var(--transition);
    }
    .header-inner nav ul li a::after {
        display: none; /* remove hover line */
    }
    .header-inner nav ul li a:hover,
    .header-inner nav ul li a.active {
        background: var(--bg-primary);
        color: var(--primary);
    }
    /* Hide the old menu style */
    body.nav-open .mobile-menu-btn {
        color: var(--text-dark);
    }
}

/* --- COOKIE BANNER --- */
.cookie-banner {
    position: fixed;
    bottom: -150px;
    left: 0;
    right: 0;
    background: var(--primary-dark);
    color: white;
    padding: 16px 24px;
    z-index: 9999;
    box-shadow: 0 -4px 24px rgba(0,0,0,0.2);
    transition: bottom 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    justify-content: center;
}
.cookie-banner.show {
    bottom: 0;
}
.cookie-content {
    display: flex;
    align-items: center;
    gap: 24px;
    max-width: 1000px;
    width: 100%;
    justify-content: space-between;
}
.cookie-content p {
    margin: 0;
    font-size: 14px;
    color: rgba(255,255,255,0.9);
}
.cookie-content a {
    color: white;
    text-decoration: underline;
    font-weight: 600;
}
@media (max-width: 600px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    .cookie-content .cta-btn {
        width: 100%;
    }
}

/* --- NEW FEATURE GRID DESIGN (Icons instead of big photos) --- */
.feature-card {
    border: none;
    background: var(--bg-card);
    padding: 32px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0,59,149,0.05);
}
.feature-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
    border-color: rgba(0,59,149,0.1);
}
.feature-icon {
    width: 64px;
    height: 64px;
    background: var(--bg-primary);
    color: var(--primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}
.feature-icon svg {
    width: 32px;
    height: 32px;
}
.feature-card-content {
    padding: 0; /* Override old padding */
}
.feature-card h3 {
    font-size: 22px;
    font-weight: 700;
}
