/* ============================================================
   FlowNails - Landing Page (landing.css)
   ============================================================ */
@import url('./variables.css');

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 0;
  background: hsl(0 0% 100% / 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition-base);
}

.nav.scrolled {
  padding: 12px 0;
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-cta);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: var(--shadow-sm);
}

.nav-logo-text {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
}

.nav-logo-text span {
  color: var(--primary-deep);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  list-style: none;
}

.nav-links a {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-mid);
  text-decoration: none;
  transition: var(--transition-fast);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--primary-dark);
  transform: scaleX(0);
  transition: var(--transition-base);
  border-radius: 2px;
}

.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-cta { display: flex; align-items: center; gap: var(--space-md); }

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

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

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, hsl(340,80%,88%) 0%, transparent 70%);
  opacity: 0.5;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, hsl(270,55%,88%) 0%, transparent 70%);
  opacity: 0.4;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px var(--space-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content { animation: fadeInUp 0.7s ease both; }

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-deep);
  margin-bottom: var(--space-lg);
  box-shadow: var(--shadow-xs);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: var(--space-lg);
}

.hero-title .highlight {
  background: var(--gradient-cta);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 18px;
  color: var(--text-mid);
  max-width: 480px;
  margin-bottom: var(--space-xl);
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: var(--space-xl);
  margin-top: var(--space-xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border);
}

.stat-item {}
.stat-number {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  color: var(--primary-deep);
  line-height: 1;
}
.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ── HERO VISUAL ── */
.hero-visual {
  display: flex;
  justify-content: center;
  position: relative;
  animation: slideInRight 0.8s ease 0.2s both;
}

.hero-phone-mock {
  width: 280px;
  background: var(--gradient-surface);
  border-radius: 36px;
  padding: 20px 16px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
  animation: float 5s ease-in-out infinite;
}

.phone-bar {
  width: 80px;
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  margin: 0 auto 20px;
}

.phone-header {
  background: var(--gradient-primary);
  border-radius: var(--radius-lg);
  padding: 20px;
  text-align: center;
  margin-bottom: 16px;
}

.phone-header p {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-on-primary);
}

.phone-header small {
  font-size: 11px;
  color: var(--primary-deep);
  opacity: 0.8;
}

.phone-card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.phone-card-icon {
  width: 36px;
  height: 36px;
  background: var(--primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.phone-card-info { flex: 1; }
.phone-card-info p {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}
.phone-card-info small { font-size: 11px; color: var(--text-muted); }

.phone-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success-dark);
  flex-shrink: 0;
}

.hero-badge {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 12px 18px;
  box-shadow: var(--shadow-md);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-badge-1 {
  top: 20px;
  right: -20px;
  animation: fadeInUp 0.6s ease 0.6s both;
}

.hero-badge-2 {
  bottom: 60px;
  left: -30px;
  animation: fadeInUp 0.6s ease 0.9s both;
}

/* ── FEATURES SECTION ── */
.features {
  padding: 100px 0;
  background: var(--surface);
}

.features-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--space-2xl);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: var(--text);
  margin: var(--space-md) 0;
  line-height: 1.15;
}

.section-desc {
  color: var(--text-mid);
  font-size: 16px;
  line-height: 1.7;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.feature-card {
  background: var(--gradient-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  transition: var(--transition-base);
  cursor: default;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
  opacity: 0;
  transition: var(--transition-base);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border);
}

.feature-card:hover::before { opacity: 0.5; }

.feature-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: var(--space-lg);
  box-shadow: var(--shadow-sm);
}

.feature-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--space-sm);
}

.feature-desc {
  color: var(--text-mid);
  font-size: 14px;
  line-height: 1.7;
}

/* ── HOW IT WORKS ── */
.how {
  padding: 100px 0;
  background: var(--bg);
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  position: relative;
  margin-top: var(--space-2xl);
}

.how-steps::before {
  content: '';
  position: absolute;
  top: 32px;
  left: calc(12.5% + 20px);
  right: calc(12.5% + 20px);
  height: 2px;
  background: linear-gradient(90deg, var(--primary-dark), var(--accent-dark));
}

.step-item { text-align: center; }

.step-number {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gradient-cta);
  color: white;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 1;
}

.step-emoji { font-size: 28px; margin-bottom: var(--space-sm); }

.step-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--space-sm);
}

.step-desc { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* ── PRICING / PLANS ── */
.pricing {
  padding: 100px 0;
  background: var(--surface);
}

/* ── CTA SECTION ── */
.cta-section {
  padding: 100px 0;
  background: var(--gradient-dark);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, hsl(340 80% 70% / 0.15) 0%, transparent 60%);
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  color: white;
  margin-bottom: var(--space-md);
  position: relative;
}

.cta-desc {
  color: hsl(0 0% 100% / 0.7);
  font-size: 17px;
  max-width: 500px;
  margin: 0 auto var(--space-xl);
  line-height: 1.7;
  position: relative;
}

.cta-buttons {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

/* ── FOOTER ── */
.footer {
  background: hsl(340, 25%, 15%);
  color: hsl(0 0% 100% / 0.7);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid hsl(0 0% 100% / 0.08);
}

.footer-brand-name {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  color: white;
  margin-bottom: var(--space-md);
}

.footer-brand-name span { color: var(--primary); }

.footer-brand-desc {
  font-size: 14px;
  line-height: 1.7;
  max-width: 320px;
  margin-bottom: var(--space-lg);
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-md);
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul a {
  color: hsl(0 0% 100% / 0.6);
  text-decoration: none;
  font-size: 14px;
  transition: var(--transition-fast);
}

.footer-col ul a:hover { color: var(--primary); }

.footer-bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 12px;
  color: hsl(0 0% 100% / 0.4);
}

.footer-bottom a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

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

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .how-steps { grid-template-columns: repeat(2, 1fr); }
  .how-steps::before { display: none; }
}

@media (max-width: 768px) {
  .nav-links,
  .nav-cta { display: none; }

  .nav-links.open,
  .nav-cta.open {
    display: flex;
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: var(--space-lg);
    gap: var(--space-md);
    animation: slideInUp 0.3s ease both;
    z-index: 999;
  }

  .hamburger { display: flex; }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 60px var(--space-md);
    gap: 40px;
  }

  .hero-desc { margin: 0 auto var(--space-xl); }

  .hero-buttons { justify-content: center; }

  .hero-stats {
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-xl);
  }

  .hero-visual { display: none; }

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

  .how-steps { grid-template-columns: repeat(2, 1fr); }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
}

@media (max-width: 480px) {
  .how-steps { grid-template-columns: 1fr; }
}
