﻿@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --primary-color: #0d6efd;
  /* Vibrant Blue */
  --primary-hover: #0b5ed7;
  --secondary-color: #f8f9fa;
  /* Light Gray Background */
  --text-main: #212529;
  /* Dark Text */
  --text-muted: #6c757d;
  --accent-color: #0dcaf0;
  /* Teal Accent */
  --white: #ffffff;
  --border-color: #e9ecef;

  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --border-radius: 12px;
  --transition: all 0.3s ease;
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--secondary-color);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

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

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

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 2rem;
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 2rem;
}

/* Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-inline: 2rem;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-align: center;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
  box-shadow: 0 4px 14px 0 rgba(13, 110, 253, 0.39);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(13, 110, 253, 0.23);
}

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

.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

/* Header & Nav */
header {
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease;
}

header.nav-hidden {
  transform: translateY(-100%);
}

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

.logo img {
  height: 50px;
  object-fit: contain;
}

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

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

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

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

/* Floating trial promotion */
.trial-pop-banner {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1500;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  width: min(720px, calc(100vw - 2rem));
  padding: 1rem 1.1rem;
  overflow: hidden;
  color: #ffffff;
  background:
    radial-gradient(circle at 8% 20%, rgba(255, 255, 255, 0.26), transparent 28%),
    linear-gradient(135deg, #132a63 0%, #0d6efd 38%, #0dcaf0 70%, #ff8a2b 100%);
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 22px;
  box-shadow: 0 24px 70px rgba(13, 45, 105, 0.34);
  animation: trialPopIn 0.92s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.trial-pop-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(120deg, rgba(255, 255, 255, 0.16) 0 1px, transparent 1px 18px),
    radial-gradient(circle at 92% 18%, rgba(255, 255, 255, 0.24), transparent 18%);
  opacity: 0.55;
}

.trial-pop-banner > * {
  position: relative;
  z-index: 1;
}

.trial-pop-glow {
  position: absolute;
  right: 12%;
  bottom: -55%;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255, 222, 108, 0.55);
  filter: blur(34px);
  z-index: 0;
}

.trial-pop-content {
  display: grid;
  gap: 0.4rem;
}

.trial-pop-kicker {
  width: fit-content;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  color: #122033;
  background: rgba(255, 238, 168, 0.94);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.trial-pop-content strong {
  font-size: clamp(1.15rem, 2.3vw, 1.7rem);
  line-height: 1.05;
}

.trial-pop-content p {
  max-width: 530px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.93rem;
}

.trial-pop-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.2rem;
}

.trial-pop-features span {
  padding: 0.28rem 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 0.76rem;
  font-weight: 700;
}

.trial-pop-actions {
  display: flex;
  gap: 0.55rem;
  align-items: center;
  white-space: nowrap;
}

.trial-pop-primary,
.trial-pop-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.65rem 0.9rem;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 800;
  transition: var(--transition);
}

.trial-pop-primary {
  color: #112033;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(16, 32, 52, 0.22);
}

.trial-pop-secondary {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.12);
}

.trial-pop-primary:hover,
.trial-pop-secondary:hover {
  transform: translateY(-2px);
}

.trial-pop-close {
  position: absolute;
  top: 0.55rem;
  right: 0.65rem;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  color: #ffffff;
  background: rgba(10, 22, 40, 0.22);
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
}

.trial-pop-hidden {
  animation: trialPopOut 0.26s ease both;
}

@keyframes trialPopIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes trialPopOut {
  to {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
}

/* Hero Section - Left images, Right text */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: stretch;
  padding: 0;
  background: #0f172a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero-images {
  position: relative;
  width: 60%;
  min-height: 100vh;
  overflow: hidden;
}

.hero-content {
  width: 50%;
  padding: 2rem 4rem;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: transparent;
  text-align: center;
  margin-left: -20%;
}

.hero-content h1 {
  margin-bottom: 1.5rem;
  color: var(--white);
}

.hero-content .subtitle {
  margin: 0 auto 2.5rem;
  color: #94a3b8;
  text-align: center;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  margin-bottom: 0;
}

/* Hero Slideshow (home page only) */
.hero-images .slideshow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-images .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-images .slide.active {
  opacity: 1;
}

.hero-images .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Product Image Wrapper */
.product-image-wrapper {
  position: relative;
  width: 100%;
  border-radius: var(--border-radius);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.product-image-wrapper:hover {
  transform: translateY(-5px);
}

.product-image-wrapper img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center;
}

/* Sections */
section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.text-muted {
  color: var(--text-muted);
}

.feature-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-color);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.feature-showcase {
  background:
    radial-gradient(circle at top left, rgba(0, 121, 107, 0.08), transparent 28rem),
    linear-gradient(180deg, #f8fbfb 0%, var(--secondary-color) 100%);
}

.showcase-heading {
  max-width: 780px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
  color: var(--primary-color);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feature-showcase-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.15rem;
}

.feature-module-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1.35rem;
  border: 1px solid var(--border-color);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-sm);
}

.feature-module-card h3 {
  margin: 0;
  font-size: 1.08rem;
}

.feature-module-card ul {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
}

.feature-module-card li {
  position: relative;
  padding-left: 1rem;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.feature-module-card li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 999px;
  background: var(--primary-color);
}

.module-icon {
  display: inline-flex;
  width: 2.45rem;
  height: 2.45rem;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: var(--primary-color);
  background: rgba(0, 121, 107, 0.1);
}

.coming-soon-badge,
.coming-soon-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 132, 48, 0.34);
  border-radius: 999px;
  color: #9a4f05;
  background: rgba(255, 219, 156, 0.42);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.coming-soon-badge {
  padding: 0.42rem 0.7rem;
  vertical-align: middle;
}

.coming-soon-pill {
  padding: 0.7rem 1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.feature-depth-cta {
  padding: 3.5rem 0;
  background: var(--white);
}

.feature-depth-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
  padding: 2rem;
  border: 1px solid var(--border-color);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(0, 121, 107, 0.08), rgba(255, 132, 48, 0.08)),
    var(--white);
  box-shadow: var(--shadow-sm);
}

.feature-depth-panel h2 {
  margin-bottom: 0.6rem;
}

.feature-depth-panel p {
  max-width: 760px;
}

/* Split Section (Text + Image/Mockup) */
.split-section {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.split-section.reverse {
  flex-direction: row-reverse;
}

.split-content {
  flex: 1;
}

.split-visual {
  flex: 1;
}

/* Footer */
footer {
  background-color: #e2e8f0;
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--border-color);
}

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

.footer-col h4 {
  margin-bottom: 1.5rem;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col a {
  color: var(--text-muted);
  transition: var(--transition);
}

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

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--secondary-color);
  border-radius: 50%;
  color: var(--primary-color);
  transition: var(--transition);
}

.social-icons a:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  color: var(--text-muted);
}

/* Animations (Scroll) */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
  .container {
    padding-inline: 1rem;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    padding: 2rem;
    box-shadow: var(--shadow-md);
  }

  .nav-links.active {
    display: flex;
  }

  .mobile-menu-btn {
    display: block;
  }

  nav>.btn {
    display: none;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.3rem;
  }

  .features-grid,
  .pricing-grid,
  .security-grid {
    grid-template-columns: 1fr;
  }

  .feature-showcase-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-depth-panel {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .feature-depth-panel .btn {
    justify-self: center;
  }

  .split-section,
  .split-section.reverse {
    flex-direction: column;
  }

  .hero {
    flex-direction: column;
    min-height: auto;
  }

  .hero-images {
    width: 100%;
    min-height: 300px;
  }

  .hero-content {
    width: 100%;
    padding: 3rem 1.5rem;
    text-align: center;
    align-items: center;
    margin-left: 0;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .feature-showcase-grid {
    grid-template-columns: 1fr;
  }

  .feature-module-card {
    padding: 1.15rem;
  }

  .feature-depth-panel {
    padding: 1.35rem;
  }
}

/* Lightbox Styles */
.lightbox-overlay {
  display: none;
  /* Hidden by default */
  position: fixed;
  z-index: 9999;
  padding-top: 50px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.lightbox-overlay.active {
  display: flex;
  animation: fadeIn 0.3s ease-out;
}

.lightbox-img {
  max-width: 90%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  animation: scaleIn 0.3s ease-out;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.lightbox-close:hover,
.lightbox-close:focus {
  color: var(--primary-color);
  text-decoration: none;
  cursor: pointer;
}

.interactive-img {
  cursor: pointer;
  transition: transform 0.3s ease;
}

.interactive-img:hover {
  transform: scale(1.02);
}

.featured-split-img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  object-position: right 30%;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  clip-path: polygon(0 0, 100% 5%, 100% 100%, 0 95%);
}

@media (max-width: 768px) {
  .featured-split-img {
    height: auto;
    object-fit: contain;
    clip-path: none;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes scaleIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}
/* Legal pages */
.legal-page {
  padding-top: 140px;
  padding-bottom: 5rem;
  max-width: 900px;
}

.legal-page section {
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--border-color);
}

.legal-page h1 {
  margin-bottom: 0.75rem;
}

.legal-page h2 {
  font-size: 1.35rem;
}

.legal-page p {
  color: var(--text-muted);
}

.billing-note {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #475569;
}

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

.faq-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  padding: 1.5rem;
}

.faq-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.faq-card p {
  font-size: 0.95rem;
}

@media (max-width: 760px) {
  .trial-pop-banner {
    right: 0.75rem;
    bottom: 0.75rem;
    grid-template-columns: 1fr;
    gap: 0.8rem;
    width: calc(100vw - 1.5rem);
    padding: 0.95rem;
    border-radius: 18px;
  }

  .trial-pop-content p {
    font-size: 0.86rem;
  }

  .trial-pop-features {
    gap: 0.28rem;
  }

  .trial-pop-features span {
    font-size: 0.7rem;
  }

  .trial-pop-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  .trial-pop-primary,
  .trial-pop-secondary {
    min-height: 40px;
    padding: 0.58rem 0.7rem;
    font-size: 0.8rem;
  }
}

@media (max-width: 430px) {
  .trial-pop-actions {
    grid-template-columns: 1fr;
  }
}
