@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Plus+Jakarta+Sans:wght@600;700;800&display=swap');

:root {
  --bg: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --border: #e2e8f0;
  --primary: #ff5b5b;
  --primary-hover: #ff4f4f;
  --primary-2: #ff8a3d;
  --accent: #0ea5e9;
  --success: #10b981;
  --warning: #f59e0b;
  
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
  
  --btn-shadow: 0 4px 14px 0 rgba(255, 91, 91, 0.39);
  
  --radius: 16px;
  --container: 1120px;
  --header-h: 80px;
  
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-heading: 'Plus Jakarta Sans', system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  background-image: radial-gradient(#f1f5f9 1px, transparent 1px);
  background-size: 32px 32px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: #1e293b;
  margin-top: 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

a:not(.btn):hover {
  color: var(--primary);
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.03em;
  color: var(--text);
}

.brand svg {
  height: 32px;
  width: auto;
  color: var(--primary);
}

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

@media (min-width: 768px) {
  .nav {
    display: flex;
  }
}

.nav a {
  font-weight: 500;
  color: var(--muted);
  font-size: 15px;
}

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

.actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 9999px;
  font-weight: 600;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
  font-size: 15px;
  cursor: pointer;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--btn-shadow);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background: var(--primary-hover);
  box-shadow: 0 6px 20px rgba(255, 91, 91, 0.4);
}

.tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 9999px;
  background: #fee2e2;
  color: #ef4444;
  font-weight: 700;
  font-size: 12px;
  margin-left: 8px;
}

/* Hero */
.hero {
  padding: 96px 0 64px;
  text-align: center;
}

.hero h1 {
  margin: 0 auto;
  font-size: 48px;
  line-height: 1.1;
  letter-spacing: -0.03em;
  max-width: 900px;
  font-weight: 800;
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 72px;
  }
}

.hero .emph {
  color: var(--primary);
}

.hero p {
  margin: 24px auto 40px;
  max-width: 680px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.6;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.hero-icons {
  margin: 48px auto 0;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.icon-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 9999px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  font-weight: 500;
  font-size: 14px;
  color: var(--muted);
}

/* Sections */
.section {
  padding: 96px 0;
}

.section h2 {
  margin: 0 0 20px;
  font-size: 40px;
  letter-spacing: -0.03em;
  text-align: center;
  font-weight: 800;
}

.section p.lead {
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  font-size: 18px;
  line-height: 1.6;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 48px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow-md);
  padding: 32px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.card .logo-box {
  flex-shrink: 0;
  height: 72px;
  width: 72px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  border: 1px solid var(--border);
}

.card .logo-box svg {
  width: 40px;
  height: 40px;
}

.card-content {
  flex: 1;
}

.card h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
}

.card-features {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: var(--muted);
  margin-top: 16px;
  flex-wrap: wrap;
}

.card-cta {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  align-items: center;
}

/* Pricing */
.pricing {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 48px;
}

@media (min-width: 980px) {
  .pricing {
    grid-template-columns: repeat(3, 1fr);
  }
}

.price-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 32px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.price-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.price-card.popular {
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-lg);
}

.popular-tag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.price-card h3 {
  margin: 0 0 12px;
  font-size: 18px;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: var(--font-sans);
}

.price {
  font-size: 48px;
  font-weight: 800;
  margin: 16px 0;
  color: #1e293b;
  letter-spacing: -0.03em;
}

.price span {
  font-size: 16px;
  color: var(--muted);
  font-weight: 500;
}

.spec-box {
  background: #f8fafc;
  padding: 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #334155;
  display: flex;
  justify-content: space-between;
  margin-bottom: 24px;
}

.plan-features {
  margin: 24px 0 32px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  text-align: left;
}

.feature-item {
  margin-bottom: 8px;
  display: flex;
  gap: 8px;
}

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

.faq-item {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
  margin-bottom: 16px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
}

.faq-btn {
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  font-weight: 600;
  font-size: 18px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #1e293b;
  font-family: var(--font-heading);
}

.faq-btn:hover {
  background: #f8fafc;
}

.faq-content {
  display: none;
  padding: 0 24px 24px;
  color: var(--muted);
  line-height: 1.6;
  border-top: 1px solid var(--border);
}

.faq-content.active {
  display: block;
}

/* Footer */
footer {
  background: #0f172a;
  color: #fff;
  border-top: none;
  margin-top: 72px;
  padding-bottom: 48px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  padding: 48px 24px;
}

@media (min-width: 768px) {
  .footer-inner {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
}

.footer-col a {
  display: block;
  color: #94a3b8;
  margin: 12px 0;
  font-size: 15px;
}

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

.footer-col strong {
  display: block;
  margin-bottom: 16px;
  color: #fff;
  font-family: var(--font-heading);
}

.footer-col .brand {
  color: #fff;
}

.footer-col .brand img {
  filter: brightness(0) invert(1);
}

.footer-col .small {
  color: #64748b;
}

section {
  scroll-margin-top: calc(var(--header-h) + 24px);
}

/* Auth Pages */
.auth-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #f8fafc;
  background-image: radial-gradient(#e2e8f0 1px, transparent 1px);
  background-size: 24px 24px;
}

.auth-container {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.auth-box {
  width: 100%;
  max-width: 400px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow-xl);
  padding: 40px;
}

.auth-header {
  text-align: center;
  margin-bottom: 32px;
}

.auth-header .brand {
  justify-content: center;
  margin-bottom: 16px;
  font-size: 32px;
}

.auth-header h1 {
  font-size: 24px;
  margin-bottom: 8px;
}

.auth-header p {
  color: var(--muted);
  margin: 0;
  font-size: 15px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  color: #1e293b;
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 15px;
  color: var(--text);
  transition: all 0.2s;
  font-family: var(--font-sans);
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 91, 91, 0.1);
}

.auth-footer {
  margin-top: 24px;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}

.auth-footer a {
  color: var(--primary);
  font-weight: 600;
}

.auth-footer a:hover {
  text-decoration: underline;
}

/* Legal Pages */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 24px 96px;
}

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

.legal-content h2 {
  font-size: 24px;
  margin: 48px 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.legal-content h3 {
  font-size: 18px;
  margin: 32px 0 12px;
}

.legal-content p, .legal-content li {
  color: #334155;
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 16px;
}

.legal-content ul {
  padding-left: 24px;
  margin-bottom: 24px;
}

.legal-content .lead {
  font-size: 20px;
  color: var(--muted);
  margin-bottom: 48px;
}