/* style.css */
:root {
  --primary: #006064;      /* Deep Cyan */
  --primary-light: #00838f;
  --secondary: #00bcd4;    /* Ice Blue */
  --accent: #e0f7fa;       /* Light Ice Blue */
  --text-dark: #263238;    /* Dark Gray */
  --text-light: #eceff1;   /* Cool Gray */
  --white: #ffffff;
  --bg-gradient: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%); /* Light cold bg */
  --dark-bg: #0b192c;      /* Dark Blue for footer/dark sections */
  --card-bg: rgba(255, 255, 255, 0.85); /* Glassmorphism */
  --shadow: 0 8px 32px rgba(0, 36, 61, 0.08);
  --radius: 12px;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text-dark);
  background: #f8fafc;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
p { margin-bottom: 1rem; }
a { text-decoration: none; color: inherit; transition: var(--transition); }

/* Layout & Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 5rem 0;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: var(--transition);
}

.navbar .container {
  max-width: 1440px;
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: inline-block;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
}

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

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  flex: 1;
  justify-content: center;
}

.nav-links a {
  font-weight: 500;
  color: var(--text-dark);
  font-size: 1.05rem;
}

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

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  font-size: 1rem;
  min-height: 44px; /* Mobile tap target */
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #004d40 100%);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(0, 96, 100, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 96, 100, 0.4);
  color: var(--white);
}

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

.btn-outline:hover {
  background: var(--accent);
}

.btn-light {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(5px);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.3);
}

.btn-light:hover {
  background: rgba(255,255,255,0.25);
  color: var(--white);
}

.btn-block {
  display: flex;
  width: 100%;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 70px;
  background-color: var(--dark-bg);
  background-image: url('hero_bg.png'); 
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--white);
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to bottom, rgba(11, 25, 44, 0.4) 0%, rgba(11, 25, 44, 0.8) 100%);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.hero h1 {
  font-size: 3.5rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
  margin-bottom: 1.5rem;
  letter-spacing: 2px;
}

.hero p.subtitle {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.tags {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.tag {
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  font-size: 0.9rem;
  backdrop-filter: blur(5px);
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

/* Section Titles */
.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.section-title p {
  color: #607d8b;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Features */
.features {
  background: var(--white);
}

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

.feature-card {
  padding: 2.5rem 1.5rem;
  border-radius: var(--radius);
  background: #f8fafc;
  text-align: center;
  transition: var(--transition);
  border: 1px solid #e2e8f0;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow);
  background: var(--white);
  border-color: var(--accent);
}

.feature-icon {
  width: 64px;
  height: 64px;
  background: var(--accent);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.5rem;
  font-weight: bold;
}

/* Pricing */
.pricing {
  background: #f1f5f9;
}

.promo-banner {
  background: linear-gradient(135deg, #ff9800, #ff5722);
  color: white;
  text-align: center;
  padding: 1rem;
  border-radius: var(--radius);
  margin-bottom: 3rem;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(255, 87, 34, 0.3);
}

.promo-banner code {
  background: rgba(0,0,0,0.2);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 1.2rem;
  margin-left: 0.5rem;
}

.grid-pricing {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.price-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  border: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
}

.price-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 36, 61, 0.12);
}

.price-card.popular {
  border: 2px solid var(--secondary);
  transform: scale(1.05);
  z-index: 10;
}

.price-card.popular:hover {
  transform: scale(1.05) translateY(-5px);
}

.popular-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--secondary);
  color: var(--white);
  padding: 0.25rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.price-header {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e2e8f0;
}

.price-header h3 {
  color: var(--text-dark);
  font-size: 1.5rem;
}

.price-amount {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin: 1rem 0 0.5rem;
}

.price-amount span {
  font-size: 1rem;
  color: #64748b;
  font-weight: 400;
}

.price-discount {
  color: #ef4444;
  font-size: 0.9rem;
  font-weight: 600;
  min-height: 20px;
}

.price-features {
  list-style: none;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.price-features li {
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: #475569;
  font-size: 0.95rem;
}

.price-features li::before {
  content: "✓";
  color: var(--secondary);
  font-weight: bold;
}

.price-card .btn {
  margin-top: auto;
}

/* FAQ */
.faq {
  background: var(--white);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

details {
  margin-bottom: 1rem;
  background: #f8fafc;
  border-radius: var(--radius);
  border: 1px solid #e2e8f0;
  overflow: hidden;
}

summary {
  padding: 1.5rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--primary);
  transition: var(--transition);
}

details[open] summary::after {
  content: "-";
}

.faq-content {
  padding: 0 1.5rem 1.5rem;
  color: #475569;
}

/* Testimonials Marquee */
.testimonials {
  background: var(--primary);
  color: var(--white);
  padding: 4rem 0;
  overflow: hidden;
}

.testimonials .section-title h2,
.testimonials .section-title p {
  color: var(--white);
}

.marquee-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  display: flex;
  padding: 1rem 0;
}

.marquee {
  display: flex;
  animation: scroll 30s linear infinite;
  gap: 2rem;
  padding-left: 2rem; /* Initial padding for seamless */
}

.marquee:hover {
  animation-play-state: paused;
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); } /* Since we duplicate the items */
}

.testimonial-card {
  min-width: 350px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.stars {
  color: #fbbf24;
  margin-bottom: 1rem;
}

/* Content Page (Articles, Privacy, Terms) */
.page-header {
  padding: 120px 0 60px;
  background: var(--dark-bg);
  color: var(--white);
  text-align: center;
}

.page-content {
  padding: 4rem 0;
  max-width: 800px;
  margin: 0 auto;
}

.page-content h2, .page-content h3 {
  color: var(--primary);
  margin-top: 2rem;
}

.page-content p {
  margin-bottom: 1.5rem;
  color: #475569;
}

.page-content ul {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
  color: #475569;
}

/* Footer */
.footer {
  background: var(--dark-bg);
  color: #94a3b8;
  padding: 4rem 0 2rem;
}

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

.footer-col h4 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

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

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

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

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  text-align: center;
}

.cta-section h2 {
  color: var(--white);
}

/* Mobile Menu Checkbox Hack */
.mobile-menu-toggle {
  display: none;
}

.menu-icon {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary);
}

@media (max-width: 900px) {
  .price-card.popular {
    transform: none;
  }
  .price-card.popular:hover {
    transform: translateY(-5px);
  }
}

@media (max-width: 768px) {
  h1 { font-size: 2.25rem; }
  .hero h1 { font-size: 2.5rem; }
  
  .menu-icon {
    display: block;
  }
  
  .nav-menu {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    padding: 1rem;
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
  }
  
  .mobile-menu-toggle:checked ~ .nav-menu {
    display: flex;
  }
  
  .nav-links {
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: center;
  }
  
  .nav-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .nav-actions .btn {
    width: 100%;
  }
  
  .hero-actions {
    flex-direction: column;
  }
}
