/* Animation Keyframes */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Base and Body Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #F8F9FA; /* Light background */
  color: #495057; /* Softer text color */
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Raleway', sans-serif;
  color: #212529; /* Dark charcoal for headings */
}

/* Layout Container */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
}

section {
  padding: 8rem 1rem;
}

/* Header and Banner Section */
.hero-banner {
  background-image: url('zenith-banner.png'); /* IMPORTANT: Update this path */
  background-color: #F8F9FA;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.hero-banner .nav,
.hero-banner .hero {
    background-color: transparent;
}

/* Navigation Styles */
.nav-bar {
  /* This rule styles the full-width bar */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(248, 249, 250, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #E9ECEF;
}

.nav-content {
  /* This rule styles the centered content inside the bar */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0; /* Vertical padding for the bar height */
}

.logo img {
  height: 5rem;
  width: auto;
  display: block;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: #495057;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #8A63D2;
}
/* --- Button Styles --- */

/* 1. Universal styles for ALL buttons (font, padding, etc.) */
.cta-button,
.hero-button,
.plan-button,
.signup button {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 28px;
  border-radius: 50px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.5s ease;
}

/* 2. Style for the gradient buttons (CTA, Hero, Signup) */
.cta-button,
.hero-button,
.signup button {
    background: linear-gradient(135deg, #C3A5F6, #84F1D2);
    border: none;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
    color: #212529; /* Dark text for readability */
}

/* Simple hover effect for the gradient buttons */
.cta-button:hover,
.hero-button:hover,
.signup button:hover {
    transform: translateY(-3px);
    box-shadow: 0px 7px 25px rgba(195, 165, 246, 0.4);
    filter: brightness(1.05);
}


/* 3. Special styles for the "Buy Now" swipe button ONLY */
.plan-button {
  position: relative;
  overflow: hidden;
  z-index: 1;
  background-color: #FFFFFF;
  border: 1px solid #DEE2E6;
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.05);
  color: #212529;
}

/* The hidden swipe element, only for .plan-button */
.plan-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #C3A5F6, #84F1D2);
  transform: translateX(-100%);
  transition: transform 0.6s cubic-bezier(0.7, 0, 0.2, 1);
  z-index: -1;
}

/* The hover state, only for .plan-button */
.plan-button:hover {
  color: #FFFFFF;
  transform: translateY(-3px);
  box-shadow: 0px 7px 25px rgba(195, 165, 246, 0.4);
  border-color: transparent;
}

.plan-button:hover::before {
  transform: translateX(0);
}

/* Hero Section Styles */
.hero {
  text-align: center;
  padding: 15rem 1rem; 
  animation: fadeIn 0.8s ease-out;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto 2.5rem auto;
}

/* Features Section Styles */
.features {
	margin-top: 3rem;
	margin-bottom: 3rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  text-align: center;
}

.feature {
  animation: fadeIn 1.5s ease-out forwards;
}

.feature .icon {
  margin-bottom: 1.5rem;
  height: 64px;
  width: 64px;
  display: inline-block;
  filter: drop-shadow(0px 4px 10px rgba(195, 165, 246, 0.3));
}

.feature h3 {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.feature p {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Plans Section Styles */
/* Plans Section Styles */
.plans {
  text-align: center;
}

.plan-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.plan-card {
  background-color: #FFFFFF;
  padding: 2.5rem;
  border-radius: 16px; /* This is the main radius we want to match */
  border: 1px solid #E9ECEF;
  transition: all 0.3s ease;
  animation: fadeIn 1s ease-out forwards;
}

.plan-card:hover {
  /* Combine the lift with a slight grow effect */
  transform: translateY(-10px) scale(1.03); 
  /* A more pronounced shadow with a hint of the pastel theme color */
  box-shadow: 0px 15px 40px rgba(195, 165, 246, 0.2);
}

/* Make the featured card pop even more on hover */
.plan-card.featured:hover {
    transform: translateY(-10px) scale(1.08); /* It grows larger than the others */
    box-shadow: 0px 20px 45px rgba(195, 165, 246, 0.3); /* Its shadow is stronger */
}

/* This creates the white inner background, revealing the gradient behind it as a border */
.plan-card.featured::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #FFFFFF;
  border-radius: 15px; /* Must be slightly smaller than the parent's radius */
  z-index: 0;
}

/* This makes sure the text and button appear on top of the white background */
.plan-card.featured > * {
  position: relative;
  z-index: 1;
}

.plan-card ul {
  list-style: none;
  margin: 1.5rem 0;
  line-height: 2;
}

.plan-card .price {
  font-family: 'Raleway', sans-serif;
  font-size: 2rem;
  color: #212529;
  margin: 1.5rem 0;
}

/* Signup Section Styles */
.signup {
  text-align: center;
}

.signup h2 {
	margin-top: 4rem;
    margin-bottom: 2rem;
}

.signup form {
  display: flex;
  justify-content: center;
  margin-bottom:4rem;
}

.signup input[type="email"] {
  padding: 14px 20px;
  border-radius: 50px 0 0 50px;
  border: 1px solid #DEE2E6;
  background-color: #FFFFFF;
  color: #495057;
  width: 60%;
  max-width: 350px;
  font-size: 16px;
  font-family: 'Inter', sans-serif;
}

.signup input[type="email"]:focus {
    outline: none;
    border-color: #C3A5F6;
}

.signup button {
    border-radius: 0 50px 50px 0;
}

/* Footer Styles */
/* Footer Styles */
footer.footer {
  display: flex;
  justify-content: space-between;
  align-items: center; /* Changed from flex-start for better vertical alignment */
  flex-wrap: wrap;
  gap: 1.5rem;
  
  border-top: 1px solid #E9ECEF;
  padding: 2.5rem 1rem;
  font-size: 0.9rem;
  color: #6C757D;
}

.footer-left p {
  margin: 0; /* Removes default paragraph margin */
  line-height: 1.5; /* Adds space between the two lines */
}

.footer-right {
  display: flex;
  flex-wrap: wrap; /* Allows links to wrap on smaller screens */
  align-items: center;
  gap: 1.5rem; /* Increased space between links */
}

.footer-right a {
  color: #6C757D;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-right a:hover {
  color: #8A63D2;
}

/*
=================================
Legal Page Styles (Terms, etc.)
=================================
*/

.legal-page-container {
  padding-top: 4rem;
  padding-bottom: 6rem;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  font-size: 0.9rem;
  color: #6C757D;
}

.breadcrumbs a {
  color: #6C757D;
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumbs a:hover {
  color: #8A63D2;
}

.legal-layout {
  display: grid;
  grid-template-columns: 1fr; /* Single column on mobile */
  gap: 3rem;
}

/* Two columns on larger screens */
@media (min-width: 768px) {
  .legal-layout {
    grid-template-columns: 250px 1fr; /* 250px sidebar, the rest for content */
  }
}

.legal-sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
  position: sticky; /* Makes the sidebar stick on scroll */
  top: 2rem;
}

.legal-sidebar li a {
  display: block;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  color: #495057;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.legal-sidebar li a:hover {
  background-color: #E9ECEF;
}

/* Style for the currently active page link */
.legal-sidebar li a.active {
  background-color: #F1EDF9; /* A very light pastel purple */
  color: #8A63D2;
  font-weight: 700;
}

.legal-content h1 {
  font-size: 2.8rem;
  margin-bottom: 0.5rem;
}

.legal-content .last-updated {
  color: #6C757D;
  margin-bottom: 3rem;
  border-bottom: 1px solid #E9ECEF;
  padding-bottom: 1.5rem;
}

.legal-content h2 {
  font-size: 1.8rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.legal-content p {
  line-height: 1.8;
  margin-bottom: 1rem;
}

/*
=================================
Custom Definition List Styles
=================================
*/

.definition-list {
  list-style: none; /* Removes the default black bullet points */
  padding-left: 0;
}

.definition-list li {
  display: flex; /* This helps align the custom bullet and the text nicely */
  align-items: flex-start; /* Aligns items to the top of the line */
  margin-bottom: 1.5rem; /* Adds space between each list item */
  line-height: 1.8;
}

/* This creates the custom pastel-colored bullet */
.definition-list li::before {
  content: '•'; /* Using the bullet character */
  color: #C3A5F6; /* Pastel purple from your theme */
  font-size: 1.5rem; /* Makes the bullet a bit larger */
  line-height: 1.5rem; /* Helps with vertical alignment */
  margin-right: 0.75rem; /* Space between the bullet and the text */
}

/* Styles the bolded term */
.definition-list li strong {
  font-weight: 700;
  color: #212529; /* Dark heading color from your theme */
}

/*
=================================
Contact Section Styles
=================================
*/

.contact-section {
  text-align: center;
  padding-bottom: 8rem;
}

.contact-section h2 {
  margin-bottom: 3rem;
  font-size: 2.5rem;
}

.contact-cards {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background-color: #FFFFFF;
  padding: 1.25rem;
  border-radius: 16px;
  border: 1px solid #E9ECEF;
  text-decoration: none;
  color: #212529;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  min-width: 320px;
  text-align: left;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0px 8px 30px rgba(0, 0, 0, 0.08);
}

.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background-color: #F1EDF9; /* Light pastel purple */
  border-radius: 12px;
}

.contact-icon svg {
  width: 24px;
  height: 24px;
  fill: #8A63D2; /* Pastel purple */
}