/* =========================
   GLOBAL RESET
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #ffffff;
  color: #1e293b;
  line-height: 1.6;
}

/* =========================
   DESIGN TOKENS
========================= */
:root {
  --primary: #0b1220;
  --primary-dark: #020617;
  --accent: #2563eb;
  --accent-dark: #1d4ed8;
  
  --bg-light: #f8fafc;
  --bg-dark: #020617;
  
  --text-main: #020617;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --text-white: #ffffff;
  
  --border-light: #e2e8f0;
  --border-dark: #1e293b;
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  
  --section-padding: 80px;
  
  --shadow-sm: 0 6px 16px rgba(2, 6, 23, 0.06);
  --shadow-md: 0 16px 40px rgba(2, 6, 23, 0.12);
  --shadow-lg: 0 20px 40px rgba(2, 6, 23, 0.18);
}

/* =========================
   TYPOGRAPHY
========================= */
h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 900;
  color: var(--text-main);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  margin-bottom: 24px;
  color: var(--text-main);
  line-height: 1.2;
}

h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
}

.section-dark h1,
.section-dark h2,
.section-dark h3 {
  color: var(--text-white);
}

.section-dark p {
  color: var(--text-light);
}

/* =========================
   CONTAINER
========================= */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* =========================
   HEADER & NAVIGATION
========================= */
.header {
  width: 100%;
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(8px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  color: var(--accent);
}

.logo img {
  max-height: 42px;
  width: auto;
  display: block;
}

/* Navigation Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  padding: 8px 14px;
  text-decoration: none;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s ease;
  border-radius: var(--radius-sm);
}

.nav-links a:hover {
  color: var(--accent);
  background: rgba(37, 99, 235, 0.05);
}

/* Navigation Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* =========================
   BUTTONS
========================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--text-white);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--text-white);
}

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

.btn-secondary:hover {
  background: var(--accent);
  color: var(--text-white);
  transform: translateY(-2px);
}

/* =========================
   SECTIONS
========================= */
.section {
  padding: var(--section-padding) 0;
}

.section-light {
  background: var(--text-white);
}

.section-gray {
  background: var(--bg-light);
}

.section-dark {
  background: linear-gradient(180deg, var(--bg-dark), var(--primary-dark));
  color: var(--text-white);
}

/* Hero Section */
.hero {
  padding: clamp(60px, 10vw, 120px) 0;
  background: 
    radial-gradient(800px 300px at 10% -20%, rgba(37, 99, 235, 0.15), transparent 40%),
    linear-gradient(180deg, var(--bg-dark) 0%, var(--primary-dark) 100%);
  color: var(--text-white);
  overflow: hidden;
  position: relative;
}

.hero p {
  font-size: clamp(16px, 2vw, 19px);
  color: #cbd5f5;
  max-width: 680px;
  margin: 20px 0 32px;
}

/* CTA Section */
.cta {
  background: linear-gradient(135deg, var(--accent), var(--primary-dark));
  padding: 80px 0;
  text-align: center;
}

.cta h2 {
  color: var(--text-white);
}

.cta p {
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto 30px;
}

/* =========================
   GRID SYSTEM
========================= */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

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

/* =========================
   CARDS
========================= */
.card {
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: rgba(37, 99, 235, 0.35);
}

.card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), #60a5fa);
  opacity: 0;
  transition: all 0.35s ease;
}

.card:hover::after {
  opacity: 1;
  width: 64px;
}

.card p {
  font-size: 15px;
}

/* =========================
   FEATURE STRIP
========================= */
.feature-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-top: 50px;
}

.feature {
  border-left: 3px solid var(--accent);
  padding-left: 16px;
  font-size: 15px;
  color: #e5e7eb;
}

/* =========================
   DIVIDER
========================= */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-light), transparent);
  margin: 64px 0;
}

.section-dark .divider {
  background: linear-gradient(90deg, transparent, var(--border-dark), transparent);
}

/* =========================
   FOOTER
========================= */
.footer {
  background: var(--bg-dark);
  color: var(--text-light);
  padding: 60px 0 30px;
  margin-top: 80px;
}

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

.footer-brand img {
  height: 34px;
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  max-width: 420px;
  color: var(--text-light);
}

.footer-links h4 {
  color: var(--text-white);
  font-size: 14px;
  margin-bottom: 12px;
}

.footer-links a {
  display: block;
  color: var(--text-light);
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 8px;
  transition: color 0.2s ease;
}

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

.footer-bottom {
  border-top: 1px solid var(--border-dark);
  margin-top: 40px;
  padding-top: 20px;
  font-size: 13px;
  text-align: center;
  color: var(--text-light);
}

/* =========================
   RESPONSIVE DESIGN
========================= */
@media (max-width: 768px) {
  :root {
    --section-padding: 60px;
  }
  
  .nav-links {
    display: none;
  }
  
  .hero {
    padding: 80px 0;
  }
  
  .hero h1 {
    font-size: 36px;
  }
  
  .nav-actions {
    gap: 8px;
  }
  
  .btn {
    padding: 10px 18px;
    font-size: 13px;
  }
  
  .feature-strip {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* =========================
   ACCESSIBILITY & UTILITIES
========================= */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Focus styles */
a:focus,
button:focus,
.btn:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Smooth scrolling */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}
/* =========================
   HERO TEXT COLOR FIX
========================= */
.hero h1,
.hero h2,
.hero p {
  color: #ffffff;
}

.hero p {
  opacity: 0.85;
}

/* =========================
   EVERFLOW SIGNUP LAYOUT
========================= */

.signup-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: flex-start;
}

@media (max-width: 900px) {
  .signup-layout {
    grid-template-columns: 1fr;
  }
}

.signup-context h1 {
  font-size: 48px;
  font-weight: 900;
  margin-bottom: 20px;
}

.signup-context p {
  font-size: 17px;
  max-width: 520px;
}

.signup-points {
  margin-top: 40px;
}

.signup-point {
  margin-bottom: 20px;
  font-size: 15px;
  color: var(--text-muted);
}

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

/* FORM STYLE (EVERFLOW-LIKE) */
.form-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 24px 60px rgba(2,6,23,0.08);
}

.form-card label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
  margin-top: 20px;
}

.form-card input,
.form-card select,
.form-card textarea {
  width: 100%;
  padding: 14px 14px;
  border-radius: 10px;
  border: 1px solid var(--border-light);
  font-size: 14px;
  font-family: inherit;
}

.form-card input:focus,
.form-card select:focus,
.form-card textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.12);
}

.form-card button {
  width: 100%;
  margin-top: 30px;
}
/* =========================
   AUTH / SIGN-IN FORMS FIX
========================= */

form label {
  display: block;
  font-weight: 500;
  margin-bottom: 6px;
  margin-top: 18px;
  color: #0f172a;
}

form input,
form select,
form textarea {
  display: block;
  width: 100%;
  padding: 12px 14px;
  font-size: 15px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
}

form input:focus,
form textarea:focus,
form select:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.15);
}
/* =========================
   LEGAL PAGES TYPOGRAPHY
========================= */

.card h1 {
  font-size: 32px;
  line-height: 1.25;
  margin-bottom: 14px;
}

.card h2 {
  font-size: 20px;
  margin-top: 28px;
  margin-bottom: 10px;
}

.card p {
  font-size: 14.5px;
  line-height: 1.65;
  color: #475569;
  margin-bottom: 14px;
}

.card ul {
  margin-left: 18px;
  margin-bottom: 14px;
}

.card ul li {
  font-size: 14.5px;
  line-height: 1.6;
  margin-bottom: 6px;
}

.card a {
  color: #2563eb;
  text-decoration: underline;
}

/* =========================
   HERO (EVERFLOW STYLE)
========================= */
.hero-section {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  padding: 110px 0 90px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.hero-left h1 {
  font-size: 46px;
  font-weight: 800;
  color: #020617;
  line-height: 1.15;
  margin-bottom: 18px;
}

.hero-left p {
  font-size: 18px;
  color: #475569;
  max-width: 620px;
  margin-bottom: 32px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}

.btn-outline {
  border: 2px solid #2563eb;
  color: #2563eb;
  background: transparent;
}

.btn-outline:hover {
  background: #2563eb;
  color: #ffffff;
}

.hero-highlights {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-highlights span {
  background: #eef2ff;
  color: #1e40af;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}

.hero-right .hero-box {
  background: #ffffff;
  border-radius: 16px;
  padding: 36px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}

.hero-box strong {
  font-size: 18px;
  display: block;
  margin-bottom: 10px;
  color: #020617;
}

.hero-box p {
  font-size: 15px;
  color: #475569;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}
/* =========================
   ENTERPRISE DESIGN SYSTEM
========================= */

.enterprise-hero {
  background: #020617;
  padding: 140px 0 120px;
}

.enterprise-wrap {
  max-width: 760px;
}

.enterprise-hero h1 {
  font-size: 52px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 20px;
}

.enterprise-hero p {
  font-size: 17px;
  color: #cbd5e1;
  max-width: 640px;
  margin-bottom: 36px;
}

.enterprise-actions {
  display: flex;
  gap: 18px;
}

.btn-ghost {
  border: 1px solid #334155;
  color: #e5e7eb;
  padding: 10px 18px;
}

.btn-ghost:hover {
  background: #020617;
  border-color: #2563eb;
  color: #ffffff;
}

.enterprise-section {
  padding: 90px 0;
}

.enterprise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
}

.enterprise-grid h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.enterprise-grid p {
  font-size: 15px;
  color: #475569;
  line-height: 1.6;
}

.enterprise-cta {
  background: #f8fafc;
  padding: 80px 0;
  text-align: center;
}

.enterprise-cta h2 {
  font-size: 32px;
  margin-bottom: 24px;
}

/* Responsive */
@media (max-width: 900px) {
  .enterprise-grid {
    grid-template-columns: 1fr;
  }

  .enterprise-hero h1 {
    font-size: 40px;
  }
}
/* =========================
   ATTRACTION HERO
========================= */

.hero-attract {
  position: relative;
  height: 100vh;
  min-height: 720px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #020617;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(37,99,235,0.45), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(14,165,233,0.35), transparent 45%),
    linear-gradient(135deg, #020617, #0f172a);
  animation: bgMove 12s ease-in-out infinite alternate;
}

@keyframes bgMove {
  from { transform: scale(1); }
  to { transform: scale(1.05); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.hero-chip {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  color: #93c5fd;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13px;
  margin-bottom: 22px;
}

.hero-attract h1 {
  font-size: 56px;
  line-height: 1.1;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 22px;
}

.hero-attract p {
  font-size: 18px;
  color: #cbd5e1;
  max-width: 640px;
  margin-bottom: 36px;
}

.hero-cta {
  display: flex;
  gap: 18px;
  margin-bottom: 32px;
}

.btn-lg {
  padding: 14px 26px;
  font-size: 16px;
}

.btn-outline-light {
  border: 2px solid rgba(255,255,255,0.4);
  color: #ffffff;
}

.btn-outline-light:hover {
  background: #2563eb;
  border-color: #2563eb;
}

.hero-proof {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 14px;
  color: #e5e7eb;
}

.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 150px;
  fill: #ffffff;
}

/* SUPPORT */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.feature-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.06);
}

/* Responsive */
@media (max-width: 900px) {
  .hero-attract h1 {
    font-size: 38px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }
}
