/* CSS Variables for Theme */
:root {
  --primary-color: #0C9EFF;
  --secondary-color: #064E7A;
  --dark-bg: #151515;
  --light-bg: #F8F9FA;
  --text-color: #333333;
  --text-light: #FFFFFF;
  --accent-color: #E6F4FF;
  --font-main: 'Inter', sans-serif;
  --transition-speed: 0.3s;
  --header-height: 80px;
}

/* Reset & Base Styles via Classes (Avoiding direct tag selectors where possible, but creating base classes) */
.body, body {
  margin: 0;
  padding: 0;
  font-family: var(--font-main);
  background-color: var(--light-bg);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography Classes */
.heading-1, h1 { font-weight: 700; line-height: 1.2; }
.heading-2, h2 { font-weight: 600; line-height: 1.3; }
.heading-3, h3 { font-weight: 600; }
.text-paragraph, p { margin-bottom: 1.5rem; }

/* Wrapper/Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Links & Buttons common styles */
.link-reset, a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-speed);
}

.ul-reset, ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.button-reset, button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

/* =========================================
   Top Advertisement Note
   ========================================= */
.top-advertisement-note {
  background-color: #f1f1f1;
  color: #666;
  font-size: 12px;
  text-align: center;
  padding: 8px 10px;
  border-bottom: 1px solid #e0e0e0;
}

.top-advertisement-note p {
  margin: 0;
}

/* =========================================
   Page Loader
   ========================================= */
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--dark-bg);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader-brand {
  color: var(--text-light);
  font-size: 3rem;
  letter-spacing: 2px;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { opacity: 0.5; transform: scale(0.95); }
  50% { opacity: 1; transform: scale(1.05); }
  100% { opacity: 0.5; transform: scale(0.95); }
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
}

/* =========================================
   Header
   ========================================= */
.main-header {
  background-color: var(--text-light);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  display: flex;
  align-items: center;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.brand-logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--secondary-color);
  letter-spacing: -0.5px;
  text-transform: uppercase;
}

.nav-list {
  display: flex;
  gap: 30px;
}

.nav-link {
  font-weight: 500;
  color: var(--text-color);
  font-size: 0.95rem;
}

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

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

.cta-button {
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 10px 24px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background-color var(--transition-speed), transform 0.2s;
}

.cta-button:hover {
  background-color: var(--secondary-color);
  transform: translateY(-1px);
}

.hamburger-menu {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 5px;
}

.hamburger-line {
  width: 24px;
  height: 2px;
  background-color: var(--dark-bg);
  border-radius: 2px;
}

/* =========================================
   Mobile Menu
   ========================================= */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  right: -100%; /* Hidden by default */
  width: 75%; /* Requested 75% width */
  height: 100vh;
  background-color: var(--text-light);
  z-index: 200;
  box-shadow: -5px 0 15px rgba(0,0,0,0.1);
  transition: right 0.4s ease;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.mobile-menu-overlay.active {
  right: 0;
}

.close-menu-btn {
  align-self: flex-end;
  font-size: 2rem;
  color: var(--dark-bg);
  margin-bottom: 20px;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-nav-link {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--dark-bg);
  display: block;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

/* =========================================
   Hero Section
   ========================================= */
.hero-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e9f2 100%);
  position: relative;
  overflow: hidden;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 3rem;
  color: var(--dark-bg);
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 30px;
  max-width: 500px;
}

.hero-image-wrapper {
  position: relative;
}

/* Placeholder for Hero Image */
.hero-image-placeholder {
  width: 100%;
  height: 400px;
  background-color: #ddd;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  color: #888;
  font-weight: 600;
  font-size: 1.2rem;
  background-image: linear-gradient(45deg, #f3f3f3 25%, #e6e6e6 25%, #e6e6e6 50%, #f3f3f3 50%, #f3f3f3 75%, #e6e6e6 75%, #e6e6e6 100%);
  background-size: 20px 20px;
}

.hero-img {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* =========================================
   Sections General
   ========================================= */
.section {
  padding: 80px 0;
}

.section-title {
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 50px;
  color: var(--dark-bg);
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background-color: var(--primary-color);
  margin: 15px auto 0;
  border-radius: 2px;
}

/* =========================================
   About Us
   ========================================= */
.about-section {
  background-color: var(--text-light);
}

.about-text {
  font-size: 1.15rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  color: #444;
}

/* =========================================
   Why Us / Features
   ========================================= */
.why-us-section {
  background-color: #f8fbff;
}

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

.feature-card {
  background: var(--text-light);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-title {
  color: var(--secondary-color);
  margin-bottom: 15px;
  font-size: 1.25rem;
}

.feature-desc {
  color: #666;
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* =========================================
   Testimonials
   ========================================= */
.testimonials-section {
  background-color: var(--text-light);
}

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

.testimonial-card {
  background-color: #fff;
  border: 1px solid #eee;
  padding: 40px;
  border-radius: 16px;
  position: relative;
}

.testimonial-quote {
  font-style: italic;
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 30px;
}

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

.author-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-weight: 700;
  color: var(--dark-bg);
}

.author-role {
  font-size: 0.85rem;
  color: #777;
}

/* =========================================
   FAQ
   ========================================= */
.faq-section {
  background-color: #f1f4f8;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.faq-item {
  background-color: var(--text-light);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0,0,0,0.03);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px;
  font-weight: 600;
  font-size: 1.05rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--dark-bg);
  transition: background-color 0.2s;
}

.faq-question:hover {
  background-color: #fafafa;
}

.faq-icon {
  font-weight: 300;
  font-size: 1.5rem;
  transition: transform 0.3s;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: #fafafa;
}

.faq-answer p {
  margin: 20px 0;
  color: #555;
}

.faq-item.active .faq-answer {
  max-height: 200px; /* Adjust if needed */
  padding-bottom: 20px;
}

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

/* =========================================
   Footer
   ========================================= */
.main-footer {
  background-color: var(--dark-bg);
  color: #aaa;
  font-size: 0.9rem;
}

.footer-ad-banner {
  background-color: #222;
  padding: 15px 0;
  text-align: center;
  border-bottom: 1px solid #333;
}

.footer-ad-banner p {
  color: #888;
  margin: 0;
  font-size: 0.8rem;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-container {
  padding: 60px 20px 30px;
}

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

.footer-heading {
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--primary-color);
  display: inline-block;
  padding-bottom: 5px;
}

.footer-address {
  font-style: normal;
  line-height: 1.8;
}

.footer-address a {
  color: var(--primary-color);
}

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

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

.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-disclaimer p {
  font-size: 0.8rem;
  color: #666;
  max-width: 800px;
  margin: 0 auto;
}

/* =========================================
   Cookie Overlay
   ========================================= */
.cookie-consent-overlay {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  /* Hidden by default until JS runs logic */
  display: none; 
}
.cookie-consent-overlay.show {
    display: flex;
}

.cookie-modal {
  background-color: var(--text-light);
  padding: 30px;
  border-radius: 12px;
  max-width: 500px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  text-align: center;
}

.cookie-title {
  margin-top: 0;
  color: var(--dark-bg);
}

.cookie-actions {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

.cookie-reject {
  background-color: #ddd;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
}

.cookie-accept {
  background-color: var(--primary-color);
  color: #fff;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
}

/* =========================================
   Legal Modals
   ========================================= */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0,0,0,0.7);
  z-index: 3000;
  display: none;
  justify-content: center;
  align-items: flex-start;
  padding-top: 50px;
  overflow-y: auto;
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  background-color: #fff;
  width: 90%;
  max-width: 800px;
  padding: 40px;
  border-radius: 12px;
  position: relative;
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
  margin-bottom: 50px;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  color: #777;
}

.modal-title {
  margin-top: 0;
  border-bottom: 1px solid #eee;
  padding-bottom: 15px;
  margin-bottom: 20px;
}

.modal-body {
  line-height: 1.7;
  color: #444;
}

/* =========================================
   Responsive
   ========================================= */
@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }

  .hamburger-menu {
    display: flex;
  }

  .header-cta {
    display: none; /* Hide CTA in header on mobile to save space, rely on Hero CTA */
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
     margin: 0 auto 30px;
  }
}
