/* ============================================
   flowsent.ai — Dark Futuristic Theme
   ============================================ */

:root {
  --bg: #050508;
  --bg-card: #0a0a10;
  --bg-card-hover: #0f0f18;
  --surface: #111119;
  --border: rgba(255, 255, 255, 0.06);
  --border-glow: rgba(99, 102, 241, 0.3);
  --text: #e4e4e7;
  --text-dim: #71717a;
  --text-muted: #52525b;
  --accent: #818cf8;
  --accent-bright: #a5b4fc;
  --accent-cyan: #22d3ee;
  --gradient: linear-gradient(135deg, #818cf8 0%, #22d3ee 50%, #818cf8 100%);
  --gradient-subtle: linear-gradient(135deg, rgba(129, 140, 248, 0.15) 0%, rgba(34, 211, 238, 0.08) 100%);
  --glow: 0 0 40px rgba(129, 140, 248, 0.15);
  --glow-strong: 0 0 80px rgba(129, 140, 248, 0.25);
  --radius: 12px;
  --radius-lg: 20px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Space Grotesk', var(--font);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   Background Effects
   ============================================ */

.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}

.bg-glow--1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(129, 140, 248, 0.08) 0%, transparent 70%);
  top: -200px;
  left: -100px;
  animation: float 20s ease-in-out infinite;
}

.bg-glow--2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.06) 0%, transparent 70%);
  bottom: -150px;
  right: -100px;
  animation: float 25s ease-in-out infinite reverse;
}

.grid-overlay {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(30px, -30px); }
  66% { transform: translate(-20px, 20px); }
}

/* ============================================
   Navigation
   ============================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
  background: transparent;
}

.nav--scrolled {
  background: rgba(5, 5, 8, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}

.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.logo-flow { color: var(--text); }
.logo-sent { color: var(--accent); }
.logo-dot { color: var(--accent-cyan); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav__links a {
  font-size: 0.9rem;
  color: var(--text-dim);
  transition: color var(--transition);
  font-weight: 400;
}

.nav__links a:hover { color: var(--text); }

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: rgba(5, 5, 8, 0.95);
  backdrop-filter: blur(20px);
  padding: 24px;
  flex-direction: column;
  gap: 20px;
  z-index: 999;
  border-bottom: 1px solid var(--border);
}

.mobile-menu.active { display: flex; }

.mobile-menu a {
  font-size: 1rem;
  color: var(--text-dim);
}

/* ============================================
   Buttons
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 12px 28px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--gradient);
  background-size: 200% 200%;
  color: #050508;
  font-weight: 600;
  box-shadow: 0 0 30px rgba(129, 140, 248, 0.2);
  animation: shimmer 3s ease-in-out infinite;
}

.btn--primary:hover {
  box-shadow: 0 0 50px rgba(129, 140, 248, 0.35);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: var(--text-dim);
  border: 1px solid var(--border);
}

.btn--ghost:hover {
  border-color: var(--border-glow);
  color: var(--text);
}

.btn--nav {
  padding: 10px 24px;
  background: rgba(129, 140, 248, 0.1);
  border: 1px solid rgba(129, 140, 248, 0.2);
  color: var(--accent-bright);
}

.btn--nav:hover {
  background: rgba(129, 140, 248, 0.2);
  border-color: rgba(129, 140, 248, 0.4);
  color: #fff;
}

.btn--full { width: 100%; justify-content: center; }

.btn__arrow {
  transition: transform var(--transition);
}

.btn:hover .btn__arrow { transform: translateX(4px); }

@keyframes shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  position: relative;
  z-index: 1;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.hero__content {
  flex: 1;
  max-width: 620px;
}

.hero__tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 24px;
  padding: 6px 16px;
  border: 1px solid rgba(129, 140, 248, 0.2);
  border-radius: 50px;
  background: rgba(129, 140, 248, 0.05);
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.gradient-text {
  background: var(--gradient);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s ease-in-out infinite;
}

.hero__subtitle {
  font-size: 1.1rem;
  color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 520px;
}

.hero__cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero__stats {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.stat__number {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
}

.stat__label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* Orb visual */
.hero__visual {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orb {
  position: relative;
  width: 340px;
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orb__ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid;
  animation: orbit linear infinite;
}

.orb__ring--1 {
  width: 100%;
  height: 100%;
  border-color: rgba(129, 140, 248, 0.12);
  animation-duration: 20s;
}

.orb__ring--2 {
  width: 72%;
  height: 72%;
  border-color: rgba(34, 211, 238, 0.12);
  animation-duration: 15s;
  animation-direction: reverse;
}

.orb__ring--3 {
  width: 44%;
  height: 44%;
  border-color: rgba(129, 140, 248, 0.18);
  animation-duration: 10s;
}

.orb__ring::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
}

.orb__ring--1::after { background: var(--accent); box-shadow: 0 0 20px var(--accent); }
.orb__ring--2::after { background: var(--accent-cyan); box-shadow: 0 0 20px var(--accent-cyan); }
.orb__ring--3::after { background: var(--accent-bright); box-shadow: 0 0 15px var(--accent-bright); }

.orb__core {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(129, 140, 248, 0.3) 0%, rgba(34, 211, 238, 0.1) 60%, transparent 100%);
  box-shadow: 0 0 60px rgba(129, 140, 248, 0.2), 0 0 120px rgba(34, 211, 238, 0.1);
  animation: pulse 4s ease-in-out infinite;
}

@keyframes orbit {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.1); opacity: 1; }
}

/* ============================================
   Section Headers
   ============================================ */

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

/* ============================================
   Services Cards
   ============================================ */

.services {
  padding: 120px 0;
  position: relative;
  z-index: 1;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-subtle);
  opacity: 0;
  transition: opacity var(--transition);
}

.card:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
  box-shadow: var(--glow);
}

.card:hover::before { opacity: 1; }

.card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(129, 140, 248, 0.08);
  border: 1px solid rgba(129, 140, 248, 0.15);
  border-radius: 14px;
  color: var(--accent);
  margin-bottom: 24px;
  position: relative;
}

.card__title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 12px;
  position: relative;
}

.card__desc {
  font-size: 0.95rem;
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 20px;
  position: relative;
}

.card__list {
  position: relative;
}

.card__list li {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
}

.card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.5;
  transform: translateY(-50%);
}


/* ============================================
   About / Why Us
   ============================================ */

.about {
  padding: 120px 0;
  position: relative;
  z-index: 1;
}

.about__intro {
  font-size: 1.05rem;
  color: var(--text-dim);
  line-height: 1.8;
  margin-top: 16px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.about__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  text-align: center;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.value-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-subtle);
  opacity: 0;
  transition: opacity var(--transition);
}

.value-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
  box-shadow: var(--glow);
}

.value-card:hover::before { opacity: 1; }

.value-card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(129, 140, 248, 0.08);
  border: 1px solid rgba(129, 140, 248, 0.15);
  border-radius: 14px;
  color: var(--accent);
  margin: 0 auto 20px;
  position: relative;
}

.value-card__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
  position: relative;
}

.value-card__desc {
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.6;
  position: relative;
}

/* ============================================
   Process / How it Works
   ============================================ */

.process {
  padding: 120px 0;
  position: relative;
  z-index: 1;
}

.process__steps {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.step {
  display: flex;
  gap: 32px;
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
  transition: all var(--transition);
}

.step:first-child { border-top: 1px solid var(--border); }

.step:hover {
  padding-left: 12px;
}

.step__number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(129, 140, 248, 0.15);
  line-height: 1;
  min-width: 60px;
  transition: color var(--transition);
}

.step:hover .step__number { color: var(--accent); }

.step__content h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.step__content p {
  font-size: 0.95rem;
  color: var(--text-dim);
  line-height: 1.6;
}

/* ============================================
   Book a Call Section
   ============================================ */

.book {
  padding: 120px 0;
  position: relative;
  z-index: 1;
}

.book__wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 56px;
  position: relative;
  overflow: hidden;
}

.book__wrapper::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(129, 140, 248, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.book__desc {
  font-size: 1.05rem;
  color: var(--text-dim);
  line-height: 1.7;
  margin: 20px 0 28px;
}

.book__trust {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-dim);
}

.trust-item svg { color: var(--accent-cyan); flex-shrink: 0; }

/* ============================================
   Form
   ============================================ */

.book__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  font-family: var(--font);
  font-size: 0.9rem;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  outline: none;
  transition: all var(--transition);
  -webkit-appearance: none;
}

.form-group select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%2371717a' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group select option {
  background: var(--bg-card);
  color: var(--text);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(129, 140, 248, 0.1);
}

.form-group textarea { resize: vertical; min-height: 80px; }

/* ============================================
   Footer
   ============================================ */

.footer {
  padding: 60px 0 32px;
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 1;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}

.footer__brand .nav__logo {
  display: inline-block;
  margin-bottom: 16px;
}

.footer__about {
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.7;
  max-width: 440px;
}

.footer__heading {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text);
}

.footer__contact-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__contact-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-dim);
  transition: color var(--transition);
}

.footer__contact-list a:hover { color: var(--accent); }
.footer__contact-list svg { color: var(--accent); flex-shrink: 0; }

.footer__bottom {
  text-align: center;
}

.footer__copy {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ============================================
   Animations
   ============================================ */

.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up--delay {
  transition-delay: 0.15s;
}

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

/* Stagger children */
.services__grid .card:nth-child(2) { transition-delay: 0.1s; }
.services__grid .card:nth-child(3) { transition-delay: 0.2s; }
.services__grid .card:nth-child(4) { transition-delay: 0.3s; }

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 1024px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 140px;
  }

  .hero__subtitle { margin-left: auto; margin-right: auto; }
  .hero__cta { justify-content: center; }
  .hero__stats { justify-content: center; }

  .services__grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

  .about__grid {
    grid-template-columns: 1fr;
    max-width: 500px;
  }

  .book__wrapper {
    grid-template-columns: 1fr;
    padding: 40px 32px;
    gap: 40px;
  }

  .orb {
    width: 250px;
    height: 250px;
  }
}

@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }

  .hero__title { font-size: 2.4rem; }

  .hero__stats {
    flex-direction: column;
    gap: 20px;
  }

  .stat-divider {
    width: 40px;
    height: 1px;
  }

  .book__wrapper { padding: 28px 20px; }

  .step { gap: 20px; }
  .step__number { font-size: 2rem; min-width: 48px; }

  .footer__top {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
