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

:root {
  --color-bg: #0a0a0f;
  --color-bg-subtle: #12121a;
  --color-bg-card: #1a1a24;
  --color-primary: #3b82f6;
  --color-primary-glow: rgba(59, 130, 246, 0.3);
  --color-text: #ffffff;
  --color-text-muted: #94a3b8;
  --color-border: rgba(255, 255, 255, 0.1);
  --color-speaker-1: #64B5F6;
  --color-speaker-2: #FFB74D;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius: 12px;
  --radius-lg: 24px;
}

html {
  scroll-behavior: smooth;
}

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

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

/* Typography */
h1, h2, h3 {
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.02em;
}

h3 {
  font-size: 1.25rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--color-primary);
  color: white;
  box-shadow: 0 0 30px var(--color-primary-glow);
}

.btn-primary:hover {
  background: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 0 40px var(--color-primary-glow);
}

.btn-large {
  padding: 16px 32px;
  font-size: 1.125rem;
}

.btn-small {
  padding: 8px 16px;
  font-size: 0.875rem;
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text);
  text-decoration: none;
}

.logo-icon {
  font-size: 1.5rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

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

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

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 24px 80px;
  max-width: 1200px;
  margin: 0 auto;
  gap: 60px;
}

.hero-content {
  flex: 1;
}

.hero-badge {
  display: inline-block;
  padding: 8px 16px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 100px;
  font-size: 0.875rem;
  color: var(--color-primary);
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--color-text-muted);
  margin-top: 24px;
  max-width: 500px;
}

.hero-cta {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.hero-note {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
}

/* Phone Mockup */
.phone-mockup {
  width: 300px;
  height: 600px;
  background: #1a1a24;
  border-radius: 40px;
  padding: 12px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 50px 100px -20px rgba(0, 0, 0, 0.5);
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--color-bg);
  border-radius: 32px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.app-header {
  font-weight: 600;
  text-align: center;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 20px;
}

.transcript-demo {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 40px;
}

.transcript-line {
  font-size: 1.1rem;
  line-height: 1.5;
  color: var(--color-text);
}

.transcript-line.faded {
  opacity: 0.3;
}

.transcript-line.interim {
  opacity: 0.5;
  font-style: italic;
}

.speaker {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 4px;
}

.speaker-1 {
  background: rgba(100, 181, 246, 0.2);
  color: var(--color-speaker-1);
}

.speaker-2 {
  background: rgba(255, 183, 77, 0.2);
  color: var(--color-speaker-2);
}

.transcript-gap {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-border), transparent);
  margin: 8px 0;
}

.mic-button {
  width: 64px;
  height: 64px;
  background: var(--color-primary);
  border-radius: 50%;
  margin: 20px auto 0;
  box-shadow: 0 0 30px var(--color-primary-glow);
  position: relative;
}

.mic-button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
  background: white;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M12 14c1.66 0 3-1.34 3-3V5c0-1.66-1.34-3-3-3S9 3.34 9 5v6c0 1.66 1.34 3 3 3zm5.91-3c-.49 0-.9.36-.98.85C16.52 14.2 14.47 16 12 16s-4.52-1.8-4.93-4.15c-.08-.49-.49-.85-.98-.85-.61 0-1.09.54-1 1.14.49 3 2.89 5.35 5.91 5.78V20c0 .55.45 1 1 1s1-.45 1-1v-2.08c3.02-.43 5.42-2.78 5.91-5.78.1-.6-.39-1.14-1-1.14z'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* Problem Section */
.problem {
  padding: 100px 24px;
  background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-subtle) 100%);
}

.problem-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.problem-content h2 {
  margin-bottom: 24px;
  background: linear-gradient(135deg, var(--color-text) 0%, var(--color-text-muted) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.problem-content p {
  font-size: 1.25rem;
  color: var(--color-text-muted);
}

/* Features Section */
.features {
  padding: 100px 24px;
  background: var(--color-bg-subtle);
}

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

.section-header p {
  color: var(--color-text-muted);
  margin-top: 16px;
  font-size: 1.125rem;
}

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

.feature-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.5);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.feature-card h3 {
  margin-bottom: 8px;
}

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

/* How It Works */
.how-it-works {
  padding: 100px 24px;
  background: var(--color-bg);
}

.steps {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.step {
  text-align: center;
  max-width: 250px;
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 20px;
  box-shadow: 0 0 30px var(--color-primary-glow);
}

.step h3 {
  margin-bottom: 8px;
}

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

.step-arrow {
  font-size: 2rem;
  color: var(--color-text-muted);
}

/* Use Cases */
.use-cases {
  padding: 100px 24px;
  background: var(--color-bg-subtle);
}

.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.use-case {
  text-align: center;
  padding: 40px 24px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.use-case-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.use-case h3 {
  margin-bottom: 8px;
}

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

/* Signup Section */
.signup {
  padding: 100px 24px;
  background: linear-gradient(180deg, var(--color-bg-subtle) 0%, var(--color-bg) 100%);
}

.signup-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.signup-text h2 {
  margin-bottom: 16px;
}

.signup-text p {
  color: var(--color-text-muted);
  font-size: 1.125rem;
  margin-bottom: 24px;
}

.signup-text strong {
  color: var(--color-primary);
}

.pricing-preview {
  margin-bottom: 24px;
}

.price-box {
  display: inline-flex;
  flex-direction: column;
  background: var(--color-bg);
  border: 1px solid var(--color-primary);
  border-radius: var(--radius);
  padding: 16px 24px;
  text-align: center;
}

.price-original {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  text-decoration: line-through;
}

.price-offer {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.2;
}

.price-period {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.signup-benefits {
  list-style: none;
}

.signup-benefits li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color: var(--color-text-muted);
}

.signup-benefits li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 600;
}

.signup-form-container {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.signup-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text);
}

.form-group input,
.form-group select {
  padding: 14px 16px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  color: var(--color-text);
  font-size: 1rem;
  font-family: var(--font-sans);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

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

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-glow);
}

.form-group select {
  cursor: pointer;
  appearance: none;
  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='%2394a3b8' 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 12px center;
  background-size: 16px;
  padding-right: 44px;
}

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

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

.form-note {
  text-align: center;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-top: 8px;
}

@media (max-width: 768px) {
  .signup-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .pricing-preview {
    display: flex;
    justify-content: center;
  }

  .signup-benefits {
    display: inline-block;
    text-align: left;
  }

  .signup-form-container {
    padding: 24px;
  }
}

/* Footer */
.footer {
  padding: 60px 24px;
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 1.5rem;
  font-weight: 700;
}

.footer-brand p {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--color-text-muted);
}

.footer-links {
  display: flex;
  gap: 32px;
}

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

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

.footer-bottom {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

/* Legal Pages */
.legal-content {
  padding: 120px 24px 80px;
  min-height: 100vh;
}

.legal-content h1 {
  margin-bottom: 16px;
}

.legal-updated {
  color: var(--color-text-muted);
  margin-bottom: 48px;
}

.contact-intro {
  color: var(--color-text-muted);
  font-size: 1.25rem;
  margin-bottom: 48px;
}

.legal-section {
  margin-bottom: 40px;
}

.legal-section h2 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: var(--color-text);
}

.legal-section h3 {
  font-size: 1.125rem;
  margin: 20px 0 12px;
  color: var(--color-text);
}

.legal-section p {
  color: var(--color-text-muted);
  margin-bottom: 12px;
  line-height: 1.7;
}

.legal-section ul {
  list-style: none;
  margin-bottom: 16px;
}

.legal-section ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 8px;
  color: var(--color-text-muted);
}

.legal-section ul li::before {
  content: '•';
  position: absolute;
  left: 8px;
  color: var(--color-primary);
}

.legal-section a {
  color: var(--color-primary);
  text-decoration: none;
}

.legal-section a:hover {
  text-decoration: underline;
}

/* Contact Page */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-bottom: 60px;
}

.contact-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
}

.contact-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.contact-card h3 {
  margin-bottom: 8px;
}

.contact-card p {
  color: var(--color-text-muted);
  font-size: 0.875rem;
  margin-bottom: 16px;
}

.contact-link {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
}

.contact-link:hover {
  text-decoration: underline;
}

.company-info {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.company-details {
  margin-top: 16px;
  padding: 16px;
  background: var(--color-bg);
  border-radius: var(--radius);
}

.company-details p {
  margin-bottom: 4px;
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 100px;
  }

  .hero-content {
    order: 1;
  }

  .hero-visual {
    order: 0;
    margin-bottom: 40px;
  }

  .hero-cta {
    align-items: center;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .phone-mockup {
    width: 260px;
    height: 520px;
  }

  .nav-links a:not(.btn) {
    display: none;
  }

  .steps {
    flex-direction: column;
  }

  .step-arrow {
    transform: rotate(90deg);
  }

  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* Animations */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.phone-mockup {
  animation: float 6s ease-in-out infinite;
}

/* Glow effect on primary elements */
.btn-primary,
.step-number,
.mic-button {
  position: relative;
}

.btn-primary::after,
.step-number::after,
.mic-button::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--color-primary);
  filter: blur(20px);
  opacity: 0.4;
  z-index: -1;
}
