

:root {
  --bg-color: #f8fafc;
  --bg-gradient: radial-gradient(circle at top right, #e0e7ff, #f8fafc 50%);
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.9);
  --accent-shadow: 0 10px 30px rgba(139, 92, 246, 0.2);
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --accent-color: #6d28d9;
  --accent-hover: #4c1d95;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

img {
  max-width: 100%;
  height: auto;
}

body {
  font-family: var(--font-body);
  background: var(--bg-gradient);
  background-color: var(--bg-color);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.2;
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

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

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

nav {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.3s ease;
  padding: 0.5rem 1rem;
  border-radius: 8px;
}

nav a:hover {
  background: #f8fafc;
  color: var(--accent-hover);
}

/* Hamburger Menu Button */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 8px;
  transition: background 0.2s ease;
  z-index: 1100;
}

.nav-toggle:hover {
  background: #f8fafc;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 4px;
  transition: all 0.3s ease;
  transform-origin: center;
}

/* Hamburger → X animation */
.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav Overlay */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-nav.is-open {
  opacity: 1;
  pointer-events: all;
}

.mobile-nav a {
  color: var(--text-primary);
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  padding: 1rem 2rem;
  border-radius: 12px;
  transition: all 0.2s ease;
  width: 80%;
  text-align: center;
}

.mobile-nav a:hover {
  background: #f8fafc;
  color: var(--accent-color);
}

/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 100vh;
  padding: 6rem 5% 2rem;
  gap: 4rem;
  position: relative;
}

.hero-content {
  flex: 1;
  max-width: 600px;
}

.hero h1 {
  font-size: clamp(3rem, 5vw, 4.5rem);
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #0f172a, #334155);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent-color), #4c1d95);
  color: #fff;
  text-decoration: none;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: var(--accent-shadow);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(109, 40, 217, 0.4);
}

.hero-image {
  flex: 1;
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--glass-border);
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
  transform: scale(1.05);
  transition: transform 0.5s ease;
}

.hero-image:hover img {
  transform: scale(1);
}

/* Glass Card Urgency */
.urgency-card {
  margin-top: 3rem;
  background: rgba(254, 226, 226, 0.6);
  border: 1px solid rgba(239, 68, 68, 0.3);
  backdrop-filter: blur(10px);
  padding: 1.5rem;
  border-radius: 16px;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  animation: pulse-light 2s infinite;
}

@keyframes pulse-light {
  0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.2); }
  70% { box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); }
  100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.urgency-card h2,
.urgency-card h3 {
  color: #b91c1c;
  margin-bottom: 0.5rem;
}

.urgency-card p {
  color: #7f1d1d;
  margin-bottom: 0;
  font-size: 0.95rem;
  font-weight: 500;
}

/* Features/Benefits Section */
.features {
  padding: 5rem 5%;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--text-primary);
}

.section-title span {
  color: var(--accent-color);
}

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

.image-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 240px));
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 3rem;
}

.image-gallery img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-gallery img:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 25px rgba(0,0,0,0.15);
}

.card img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.card {
  background: var(--glass-bg);
  border: 1px solid rgba(0,0,0,0.05);
  padding: 2rem;
  border-radius: 20px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.card:hover {
  transform: translateY(-10px);
  border-color: rgba(109, 40, 217, 0.3);
  box-shadow: 0 20px 40px rgba(109, 40, 217, 0.1);
}

.card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.card p {
  color: var(--text-secondary);
  font-size: 1rem;
}

/* Footer */
footer {
  background: #f8fafc;
  border-top: 1px solid rgba(0,0,0,0.05);
  padding: 4rem 5% 2rem;
  margin-top: 4rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-heading {
    font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.footer-info p {
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}

.footer-bottom {
  text-align: center;
  color: #475569;
  padding-top: 2rem;
  border-top: 1px solid rgba(0,0,0,0.05);
  font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 992px) {
  .hero {
    flex-direction: column;
    padding-top: 8rem;
  }
  .hero-content, .hero-image {
    width: 100%;
    max-width: 100%;
  }
  .grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  /* Show hamburger, hide desktop nav */
  nav {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  .mobile-nav {
    display: flex;
  }

  /* Typography */
  .hero h1 {
    font-size: 2.2rem;
  }
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.4rem; }

  /* Main padding — ensure content doesn't sit under fixed header */
  main {
    padding-left: 4% !important;
    padding-right: 4% !important;
  }

  /* Grids always single column on mobile */
  .grid {
    grid-template-columns: 1fr !important;
  }

  /* Pricing tables — allow horizontal scroll */
  .modern-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Hero section */
  .hero {
    gap: 2rem;
    padding-top: 7rem;
  }

  /* Footer */
  .footer-content {
    flex-direction: column;
    gap: 1.5rem;
  }

  /* Sample gallery — reduce columns and center */
  .image-gallery {
    grid-template-columns: repeat(auto-fit, minmax(140px, 180px));
    justify-content: center;
    gap: 0.75rem;
  }

  /* Marquee text smaller */
  .marquee-content {
    font-size: 1.1rem;
  }

  /* Preview tooltips disabled on touch */
  .preview-tooltip {
    display: none !important;
  }

  /* Flex sections that should stack */
  div[style*="display:flex"],
  div[style*="display: flex"] {
    flex-wrap: wrap;
  }
}

/* Modern Content Typography & Utilities */
.card p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.card h1, .card h2, .card h3 {
  color: var(--accent-color);
  margin: 2rem 0 1rem;
}

.card h1 { font-size: 2rem; }
.card h2 { font-size: 1.75rem; }
.card h3 { font-size: 1.4rem; }

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

.img-right {
  float: right;
  margin: 0 0 1.5rem 2rem;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
  max-width: 100%;
}

.img-left {
  float: left;
  margin: 0 2rem 1.5rem 0;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
  max-width: 100%;
}

/* Clearfix for floating images */
.card::after {
  content: '';
  display: table;
  clear: both;
}

/* Modern Tables */
.modern-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.modern-table th, .modern-table td {
  padding: 1rem;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  text-align: left;
}

.modern-table th {
  background: var(--bg-gradient);
  font-weight: 600;
  color: var(--text-primary);
}

.modern-table tr:hover {
  background: #f8fafc;
}

/* Media Queries for Images */
@media (max-width: 768px) {
  .img-right, .img-left {
    float: none;
    margin: 0 auto 1.5rem;
    display: block;
    width: 100%;
    max-width: 400px;
  }
}

/* Scrolling Marquee for Clients */
.marquee-container {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    background: var(--bg-gradient);
    padding: 2rem 0;
    border-radius: 12px;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.02);
    margin: 2rem 0;
    position: relative;
}

.marquee-container::before, .marquee-container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
}

.marquee-container::before {
    left: 0;
    background: linear-gradient(to right, white, transparent);
}

.marquee-container::after {
    right: 0;
    background: linear-gradient(to left, white, transparent);
}

.marquee-content {
    display: inline-block;
    animation: marquee 40s linear infinite;
    font-size: 1.5rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    color: var(--text-primary);
}

.marquee-content span {
    margin: 0 2rem;
    color: var(--accent-color);
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Hover Preview Tooltips */
.preview-trigger {
    position: relative;
    display: inline-block;
    color: var(--accent-color);
    text-decoration: underline;
    text-decoration-style: dotted;
    text-underline-offset: 4px;
    cursor: pointer;
    font-weight: 600;
}

.preview-tooltip {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: white;
    padding: 10px;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    z-index: 100;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    width: 250px;
    pointer-events: none;
    border: 1px solid rgba(0,0,0,0.05);
}

.preview-trigger:hover .preview-tooltip {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) translateY(-10px);
}

.preview-tooltip img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    display: block;
}

.preview-tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -10px;
    border-width: 10px;
    border-style: solid;
    border-color: white transparent transparent transparent;
}

/* Breadcrumbs Navigation */
.breadcrumbs {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.breadcrumbs a {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.breadcrumbs a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

.breadcrumbs span {
  color: var(--text-secondary);
}

/* Pricing Page Layout */
.pricing-header-intro {
  margin-bottom: 3rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 3rem 0;
}

@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

.pricing-card-image {
  width: 100%;
  height: auto;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: 12px;
  margin: 0.8rem 0 1.2rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: block;
}

.pricing-card {
  background: white;
  border-radius: 16px;
  padding: 2.2rem;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 4px 15px rgba(0,0,0,0.02);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(109, 92, 246, 0.06);
  border-color: rgba(109, 92, 246, 0.2);
}

.pricing-card-header {
  border-bottom: 2px solid var(--bg-color);
  padding-bottom: 1.2rem;
  margin-bottom: 1.2rem;
}

.pricing-card-header h2 {
  font-size: 1.4rem;
  color: var(--accent-color);
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pricing-card-header p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 0;
  line-height: 1.4;
}

.pricing-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pricing-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.88rem 0;
  border-bottom: 1px solid #f1f5f9;
}

.pricing-list li:last-child {
  border-bottom: none;
}

.pricing-item-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding-right: 1rem;
}

.pricing-item-name {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-primary);
}

.pricing-item-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.pricing-item-price {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--accent-color);
  white-space: nowrap;
}

.pricing-footer-notes {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0,0,0,0.05);
}
