:root {
  /* Summer Ocean Theme Variables */
  --bg-color-top: #040d21;
  --bg-color-mid: #0d284f;
  --bg-color-bottom: #123e75;
  
  --bg-secondary: rgba(2, 132, 199, 0.12); /* Glassy ocean blue */
  --bg-glass: rgba(11, 25, 44, 0.65);
  
  --text-main: #f0f9ff;
  --text-muted: #bae6fd; /* Light sky blue for muted */
  
  --primary: #0284c7; /* Ocean Blue */
  --primary-hover: #0369a1;
  --accent: #0d9488; /* Teal */
  
  /* Borders - Light Cyan & Sand Gold */
  --border-glass: rgba(103, 232, 249, 0.25);
  --border-highlight: rgba(245, 158, 11, 0.4);
  
  --glow-primary: rgba(2, 132, 199, 0.6);
  --glow-accent: rgba(13, 148, 136, 0.6);
  
  --success: #34d399;
  --discount: #f59e0b; /* Sand Gold */
  
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', Consolas, monospace;
}

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

body {
  font-family: var(--font-body);
  /* Fixed Deep Ocean Gradient Background */
  background: linear-gradient(180deg, var(--bg-color-top) 0%, var(--bg-color-mid) 50%, var(--bg-color-bottom) 100%) fixed;
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.text-gradient {
  /* Crisp White to Light Cyan */
  background: linear-gradient(135deg, #ffffff 0%, #67e8f9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 1rem;
  color: #fff;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto 3rem auto;
}

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

section {
  padding: 5rem 0;
  position: relative;
  z-index: 2;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-glass);
  transition: all 0.3s ease;
}

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

.brand {
  font-size: 1.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
}

.brand-icon {
  color: #38bdf8;
  font-size: 1.8rem;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-muted);
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #fff;
}

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

.login-link {
  font-weight: 500;
  color: var(--text-main);
  transition: color 0.3s ease;
}

.login-link:hover {
  color: #38bdf8;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  /* Refreshing Sea Blue to Teal gradient */
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  box-shadow: 0 4px 20px rgba(2, 132, 199, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(13, 148, 136, 0.5);
  background: linear-gradient(135deg, #0369a1, #0f766e);
}

.btn-ghost {
  background: rgba(14, 165, 233, 0.1);
  color: #bae6fd;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.btn-ghost:hover {
  background: rgba(14, 165, 233, 0.2);
  border-color: rgba(56, 189, 248, 0.6);
  color: #fff;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 70px;
}

/* Sun Glare Effect */
.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.2) 0%, transparent 60%);
  opacity: 0.8;
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  margin-bottom: 4rem;
}

.event-tag {
  display: inline-block;
  background: rgba(245, 158, 11, 0.15); /* Sand Gold Glass */
  color: #fcd34d;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  border: 1px solid rgba(245, 158, 11, 0.4);
  backdrop-filter: blur(8px);
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.2);
}

.promo-box {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
  border: 1px dashed rgba(103, 232, 249, 0.5);
  padding: 0.35rem 1rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  margin-bottom: 2rem;
  color: #e0f2fe;
}
.promo-code {
  color: var(--discount);
  font-family: var(--font-mono);
  font-weight: bold;
  user-select: all;
  -webkit-user-select: all;
  cursor: copy;
  background: rgba(245, 158, 11, 0.15);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}
.promo-hint {
  font-size: 0.8rem;
  color: #7dd3fc;
  opacity: 0.8;
}

.hero-title {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #e0f2fe; /* Lighter sky blue */
  margin-bottom: 2.5rem;
  max-width: 650px;
  margin-inline: auto;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.hero-cta .btn {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

/* SVG Waves */
.waves {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 15vh;
  min-height: 100px;
  max-height: 150px;
  z-index: 1;
}

.parallax > use {
  animation: move-forever 25s cubic-bezier(.55,.5,.45,.5) infinite;
}
.parallax > use:nth-child(1) { animation-delay: -2s; animation-duration: 7s; }
.parallax > use:nth-child(2) { animation-delay: -3s; animation-duration: 10s; }
.parallax > use:nth-child(3) { animation-delay: -4s; animation-duration: 13s; }
.parallax > use:nth-child(4) { animation-delay: -5s; animation-duration: 20s; }

@keyframes move-forever {
  0% { transform: translate3d(-90px,0,0); }
  100% { transform: translate3d(85px,0,0); }
}

/* Bento Features */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.bento-card {
  background: var(--bg-secondary);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: 1.5rem;
  padding: 2rem;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.bento-card:hover {
  transform: translateY(-5px);
  border-color: rgba(103, 232, 249, 0.6);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.bento-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.bento-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: #fff;
}

.bento-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.col-span-2 { grid-column: span 2; }
.col-span-3 { grid-column: span 3; }

.bento-wide {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.bento-wide .bento-icon {
  font-size: 4rem;
  margin-bottom: 0;
}

/* Pricing Section */
.pricing-banner {
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.15), rgba(2, 132, 199, 0.15));
  border: 1px solid var(--border-highlight);
  backdrop-filter: blur(8px);
  padding: 1rem;
  border-radius: 1rem;
  text-align: center;
  margin-bottom: 3rem;
  color: #fcd34d;
  font-weight: 600;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

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

.pricing-card {
  background: var(--bg-secondary);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: 1.5rem;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s ease;
}

.pricing-card.recommended {
  border-color: rgba(56, 189, 248, 0.6);
  box-shadow: 0 0 40px rgba(2, 132, 199, 0.3);
  transform: scale(1.05);
  z-index: 10;
  background: rgba(2, 132, 199, 0.2);
}

.recommended-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
  color: #000;
  padding: 0.3rem 1.2rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: bold;
  letter-spacing: 1px;
  box-shadow: 0 4px 10px rgba(245, 158, 11, 0.4);
}

.plan-name {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #fff;
}

.plan-data {
  color: #38bdf8;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.plan-price {
  font-size: 2.5rem;
  font-weight: 800;
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin-bottom: 0.5rem;
}

.plan-price span {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 400;
}

.original-price {
  text-decoration: line-through;
  color: #7dd3fc;
  font-size: 1rem;
  margin-bottom: 1.5rem;
  opacity: 0.7;
}

.plan-features {
  list-style: none;
  margin: 1.5rem 0 2rem 0;
  flex-grow: 1;
}

.plan-features li {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #e0f2fe;
}

.plan-features li::before {
  content: '✓';
  color: var(--success);
  font-weight: bold;
}

.pricing-card .btn {
  width: 100%;
}

.one-time-packages {
  margin-top: 5rem;
}

/* Deep Features */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 6rem;
}

.feature-split.reverse {
  direction: rtl;
}
.feature-split.reverse > * {
  direction: ltr;
}

.feature-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: #fff;
}

.feature-text p {
  color: var(--text-muted);
  font-size: 1.125rem;
}

/* Terminal & Dashboard UI */
.dashboard-mockup, .terminal-mockup {
  background: rgba(4, 13, 33, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.mockup-header {
  background: rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding: 0.75rem 1rem;
  display: flex;
  gap: 0.5rem;
}

.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot.r { background: #ff5f56; }
.dot.y { background: #ffbd2e; }
.dot.g { background: #27c93f; }

.dashboard-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 1rem;
}

.stat-label { color: var(--text-muted); }
.stat-value {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  color: #34d399; /* Green success */
  font-weight: bold;
}

.terminal-body {
  padding: 1.5rem;
  font-family: var(--font-mono);
  color: #bae6fd;
  font-size: 0.9rem;
  line-height: 1.5;
}

.term-cmd { color: #fff; }
.term-path { color: #38bdf8; }
.term-success { color: #34d399; }
.term-cursor {
  display: inline-block;
  width: 8px;
  height: 15px;
  background: #38bdf8;
  animation: blink 1s infinite;
  vertical-align: middle;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Testimonials Marquee */
.marquee-container {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  width: 100%;
  padding: 2rem 0;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-content {
  display: inline-block;
  animation: marquee 35s linear infinite;
}

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

.review-card {
  display: inline-block;
  white-space: normal;
  background: var(--bg-secondary);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: 1.2rem;
  padding: 1.5rem;
  width: 350px;
  margin: 0 1rem;
  vertical-align: top;
}

.stars {
  color: #fcd34d;
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
}

.review-text {
  color: #e0f2fe;
  font-style: italic;
  margin-bottom: 1rem;
}

.review-author {
  font-weight: 600;
  font-size: 0.9rem;
  color: #fff;
}

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

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

details {
  background: var(--bg-secondary);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-glass);
  border-radius: 0.75rem;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: background 0.3s ease;
}

details:hover {
  background: rgba(2, 132, 199, 0.2);
}

summary {
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  list-style: none;
  position: relative;
  outline: none;
  color: #fff;
}

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

summary::after {
  content: '+';
  position: absolute;
  right: 1.5rem;
  font-size: 1.5rem;
  font-weight: normal;
  transition: transform 0.3s ease;
  color: #38bdf8;
}

details[open] summary::after {
  content: '−';
  transform: rotate(180deg);
}

.faq-content {
  padding: 0 1.5rem 1.25rem 1.5rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Bottom CTA */
.bottom-cta {
  text-align: center;
  background: linear-gradient(to bottom, transparent, rgba(4, 13, 33, 0.8));
  border-top: 1px solid var(--border-glass);
  padding: 8rem 1.5rem;
  position: relative;
}

.bottom-cta h2 {
  font-size: 3rem;
  margin-bottom: 2rem;
}

.bottom-cta .btn {
  font-size: 1.25rem;
  padding: 1.25rem 3rem;
}

/* Footer */
footer {
  background: #020817; /* Very dark deep sea */
  padding: 4rem 1.5rem 2rem 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  position: relative;
  z-index: 2;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-brand {
  font-size: 1.5rem;
  font-weight: bold;
  color: #fff;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: var(--text-muted);
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #fff;
}

.copyright {
  width: 100%;
  text-align: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  color: #64748b;
  font-size: 0.9rem;
}

/* Markdown Pages (About, Terms, Privacy) */
.page-header {
  padding-top: 140px;
  padding-bottom: 4rem;
  text-align: center;
  border-bottom: 1px solid var(--border-glass);
  background: var(--bg-secondary);
  backdrop-filter: blur(10px);
}

.page-content {
  max-width: 800px;
  margin: 4rem auto;
  background: var(--bg-secondary);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: 1rem;
  padding: 3rem;
}

.page-content h2 {
  margin-top: 2.5rem;
  color: #38bdf8;
}

.page-content p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.page-content ul {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.page-content li {
  margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 992px) {
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-wide { flex-direction: column; text-align: center; gap: 1rem; }
  .feature-split { grid-template-columns: 1fr; gap: 2rem; }
  .feature-split.reverse { direction: ltr; }
}

@media (max-width: 768px) {
  .hero-title { font-size: 2.5rem; }
  .hero-cta { flex-direction: column; }
  .nav-links, .login-link { display: none; }
  .mobile-menu-btn { display: block; }
  .bento-grid { grid-template-columns: 1fr; }
  .col-span-2, .col-span-3 { grid-column: span 1; }
  .pricing-card.recommended { transform: scale(1); }
  .bottom-cta h2 { font-size: 2rem; }
  .footer-content { flex-direction: column; text-align: center; }
  .page-content { padding: 1.5rem; }
}
