@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  /* Brand Colors */
  --bg-deep: #0B0E14;
  /* Deep grey/navy almost black */
  --bg-card: #151A22;
  /* Slightly lighter for cards */
  --bg-card-hover: #1A202A;

  --accent-electric: #0070F3;
  /* Electric blue primary */
  --accent-glow: rgba(0, 112, 243, 0.4);
  --accent-secondary: #00B4D8;
  /* Teal/cyan accent */

  --text-main: #FFFFFF;
  --text-muted: #8B949E;
  --text-dim: #6E7681;

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Layout & Spacing */
  --container-width: 1200px;
  --header-height: 80px;

  /* Borders and Effects */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(0, 112, 243, 0.2);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 24px;
  --shadow-soft: 0 8px 30px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 20px rgba(0, 112, 243, 0.15);

  /* Gradients */
  --grad-primary: linear-gradient(135deg, #0070F3 0%, #00B4D8 100%);
  --grad-text: linear-gradient(135deg, #FFFFFF 0%, #A0ABBA 100%);
}

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background-color: var(--bg-deep);
  color: var(--text-main);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

a {
  color: var(--text-main);
  text-decoration: none;
  transition: color 0.2s ease;
}

ul {
  list-style: none;
}

/* Typography */
h1,
h2,
h3,
h4 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

p {
  color: var(--text-muted);
  font-size: 1.125rem;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 6rem 0;
  position: relative;
}

/* Components */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: 0 4px 14px 0 var(--accent-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 112, 243, 0.6);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Header & Nav */
header {
  height: var(--header-height);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(11, 14, 20, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-electric);
  box-shadow: 0 0 10px var(--accent-electric);
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
}

.nav-links a:hover {
  color: var(--text-main);
}

.nav-ctas {
  display: flex;
  gap: 1rem;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeInUp 0.8s ease-out forwards;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-ctas {
    display: none;
  }

  /* Mobile menu logic via JS */
}

/* FAQ Section */
.faq-grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(0, 112, 243, 0.4);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.faq-item.active {
  background: var(--bg-card-hover);
  border-color: transparent;
  box-shadow: 0 0 20px var(--accent-glow);
}

.faq-toggle {
  width: 100%;
  text-align: left;
  background: rgba(21, 26, 34, 0.6);
  border: none;
  padding: 1.5rem 2rem;
  color: var(--text-main);
  font-size: 1.1rem;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: inherit;
  appearance: none;
  -webkit-appearance: none;
  transition: all 0.3s ease;
}

.faq-item.active .faq-toggle {
  background: var(--grad-primary);
  color: #fff;
}

.faq-toggle svg {
  color: var(--text-muted);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle svg {
  transform: rotate(180deg);
  color: #fff;
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
  padding: 0 2rem;
  opacity: 0;
  background: rgba(255, 255, 255, 0.02);
}

.faq-item.active .faq-content {
  padding: 1.5rem 2rem;
  max-height: 1000px;
  opacity: 1;
  transition: max-height 0.4s ease-in-out, opacity 0.4s ease-in-out, padding 0.4s ease-in-out;
}

.faq-item.glass-card {
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: none;
}

.faq-item.glass-card:hover {
  border-color: rgba(0, 112, 243, 0.4);
}

.faq-item.glass-card.active {
  border-color: var(--accent-electric);
  box-shadow: 0 0 20px var(--accent-glow);
}

/* Trial / Form Section */
.trial-container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  align-items: start;
}

.trial-card {
  padding: 4rem;
}

.contact-card {
  padding: 3rem;
  position: sticky;
  top: 100px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  appearance: none;
  -webkit-appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%238B949E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1em;
  padding-right: 3rem;
}

.form-group option {
  background-color: #1A202A;
  color: #FFFFFF;
}

.form-group option:checked,
.form-group option:hover {
  background-color: #252D3A;
  color: #FFFFFF;
}


.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-electric);
  box-shadow: 0 0 0 2px rgba(0, 112, 243, 0.2);
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 2rem 0;
}

.form-checkbox input[type="checkbox"] {
  margin-top: 4px;
}

.form-checkbox label {
  font-size: 0.9rem;
  color: var(--text-muted);
  cursor: pointer;
}

.contact-methods {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--text-muted);
}

.contact-item svg {
  color: var(--accent-electric);
}

.hidden {
  display: none !important;
}

.success-state {
  text-align: center;
  padding: 4rem 2rem;
}

.success-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(0, 112, 243, 0.1);
  border: 2px solid var(--accent-electric);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  box-shadow: 0 0 30px var(--accent-glow);
}

@media (max-width: 992px) {
  .trial-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .trial-card {
    padding: 2rem;
  }
}

/* Features Section */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-card {
  padding: 2.5rem 2rem;
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(0, 112, 243, 0.1);
  color: var(--accent-electric);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.feature-card p {
  font-size: 1rem;
}

/* Social Proof (Testimonials) */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonial-card {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
}

.stars {
  margin-bottom: 1.5rem;
}

.quote {
  font-size: 1.1rem;
  color: #fff;
  font-style: italic;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-electric);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.author-info strong {
  display: block;
  font-size: 1rem;
  color: #fff;
}

.author-info span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Pricing Section */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  max-width: 900px;
  margin: 0 auto;
  gap: 2rem;
}

.pricing-card {
  padding: 3rem;
  display: flex;
  flex-direction: column;
}

.pricing-card.featured {
  border-color: var(--accent-electric);
  box-shadow: 0 10px 40px rgba(0, 112, 243, 0.15);
  transform: scale(1.02);
}

.badge {
  position: absolute;
  top: -12px;
  right: 2rem;
  background: var(--grad-primary);
  color: #fff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pricing-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.price {
  font-size: 3.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  line-height: 1;
}

.price span {
  font-size: 1.1rem;
  color: var(--text-muted);
  font-weight: 400;
}

.pricing-desc {
  margin-bottom: 2rem;
}

.pricing-features {
  margin-bottom: 2.5rem;
  flex-grow: 1;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.pricing-features li svg {
  width: 20px;
  height: 20px;
  color: var(--accent-electric);
}

/* Media Queries (Additional) */
@media (max-width: 992px) {

  .features-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {

  .features-grid,
  .testimonials-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card.featured {
    transform: none;
  }
}

/* Typography Utilities */
.text-gradient {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-center {
  text-align: center;
}

/* Button Sizes */
.btn-lg {
  padding: 1.125rem 2rem;
  font-size: 1.125rem;
}

/* Hero Section */
.hero-section {
  padding-top: 10rem;
  padding-bottom: 6rem;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-headline {
  margin-bottom: 1.5rem;
}

.hero-subheadline {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  max-width: 90%;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.hero-trust-chips {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.chip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-dim);
}

.chip svg {
  color: var(--text-dim);
}

/* Mockup UI Component */
.hero-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.glass-card {
  background: rgba(21, 26, 34, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 2;
}

.glass-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

.mockup-card {
  width: 100%;
  max-width: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
}

.mockup-header {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  gap: 6px;
  background: rgba(0, 0, 0, 0.2);
}

.mockup-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.mockup-dot.red {
  background: #FF5F56;
}

.mockup-dot.yellow {
  background: #FFBD2E;
}

.mockup-dot.green {
  background: #27C93F;
}

.mockup-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mockup-message {
  padding: 0.875rem 1.25rem;
  border-radius: 16px;
  font-size: 0.95rem;
  max-width: 85%;
}

.mockup-message.inbound {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.mockup-message.outbound {
  background: var(--accent-electric);
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.mockup-message p {
  color: inherit;
  font-size: inherit;
}

.mockup-alert {
  align-self: center;
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  background: rgba(0, 112, 243, 0.1);
  border: 1px solid var(--border-glow);
  border-radius: 20px;
  color: var(--accent-electric);
  font-size: 0.85rem;
  font-weight: 500;
}

.glow-orb {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  background: var(--accent-electric);
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.15;
  z-index: 1;
}

/* Reality Section */
.reality-card {
  padding: 4rem;
  text-align: center;
}

.reality-card h2 {
  margin-bottom: 3rem;
}

.reality-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: left;
}

.reality-list li {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-subtle);
}

/* Solution Section */
.solution-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.solution-content p {
  margin-bottom: 1.5rem;
}

/* Steps Section */
.section-header {
  margin-bottom: 4rem;
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 1.5rem;
  align-items: start;
  margin-bottom: 3rem;
}

.step-card {
  background: var(--bg-card);
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.step-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-glow);
}

.step-number {
  width: 40px;
  height: 40px;
  background: rgba(0, 112, 243, 0.1);
  color: var(--accent-electric);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--border-glow);
}

.step-line {
  height: 2px;
  background: var(--border-subtle);
  margin-top: 50px;
  width: 100%;
}

.steps-note small {
  color: var(--text-dim);
  font-size: 0.9rem;
}

.loom-card {
  transition: all 0.3s ease;
}

.loom-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 112, 243, 0.2);
  border-color: rgba(0, 112, 243, 0.4);
}

/* Media Queries */
@media (max-width: 992px) {

  .hero-container,
  .solution-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-subheadline {
    margin: 0 auto 2.5rem;
  }

  .hero-ctas,
  .hero-trust-chips {
    justify-content: center;
  }

  .reality-list {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .reality-list li {
    align-items: center;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .step-line {
    width: 2px;
    height: 30px;
    margin: 0 auto;
  }
}