/* ==========================================================
   HUTFLOOR STUDIO - MARKETING LANDING PAGE STYLES
   Clean, modern, high-converting Buffer-style SaaS aesthetics
   ========================================================== */

:root {
  --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --bg-primary: #0a0d14;
  --bg-secondary: #0f1523;
  --bg-card: rgba(18, 25, 41, 0.7);
  --bg-card-hover: rgba(24, 34, 56, 0.85);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(99, 102, 241, 0.5);
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-light: #64748b;
  
  --accent-blue: #2563eb;
  --accent-indigo: #6366f1;
  --accent-purple: #8b5cf6;
  --accent-emerald: #10b981;
  --accent-gradient: linear-gradient(135deg, #2563eb 0%, #6366f1 50%, #8b5cf6 100%);
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-glow: 0 0 50px rgba(99, 102, 241, 0.18);
  --radius-lg: 16px;
  --radius-xl: 24px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-family);
  background-color: var(--bg-primary);
  color: var(--text-main);
}

body {
  overflow-x: hidden;
  line-height: 1.6;
  background: radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.12) 0%, transparent 60%),
              radial-gradient(circle at 85% 30%, rgba(37, 99, 235, 0.08) 0%, transparent 50%),
              var(--bg-primary);
  min-height: 100vh;
}

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

/* ================= NAV BAR ================= */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 13, 20, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  transition: all 0.2s ease;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.nav-brand img {
  width: 32px;
  height: 32px;
}

.brand-badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: #818cf8;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.25);
  padding: 3px 8px;
  border-radius: 20px;
}

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

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.15s ease;
}

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

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

.btn-secondary {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  padding: 9px 18px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-primary {
  background: var(--accent-gradient);
  color: #fff;
  border: none;
  padding: 10px 22px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.45);
}

/* ================= HERO SECTION ================= */
.hero-section {
  padding: 90px 0 60px 0;
  text-align: center;
  position: relative;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 30px;
  color: #a5b4fc;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.hero-pill-badge {
  background: var(--accent-gradient);
  color: #fff;
  font-size: 0.7rem;
  padding: 2px 7px;
  border-radius: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hero-title {
  font-size: 3.6rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

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

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 36px auto;
  line-height: 1.6;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.hero-cta-btn {
  padding: 14px 28px;
  font-size: 1.05rem;
  border-radius: 12px;
}

.hero-subtext {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-size: 0.85rem;
  color: var(--text-light);
  flex-wrap: wrap;
}

.hero-subtext span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ================= PRODUCT PREVIEW MOCKUP ================= */
.preview-wrapper {
  margin-top: 50px;
  position: relative;
}

.preview-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  height: 70%;
  background: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.25) 0%, rgba(37, 99, 235, 0.1) 40%, transparent 70%);
  filter: blur(60px);
  z-index: 0;
  pointer-events: none;
}

.preview-card {
  position: relative;
  z-index: 1;
  background: var(--bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}

.preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: rgba(15, 21, 35, 0.9);
  border-bottom: 1px solid var(--border-color);
}

.preview-dots {
  display: flex;
  gap: 6px;
}

.preview-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.preview-dots span:nth-child(1) { background: #ef4444; }
.preview-dots span:nth-child(2) { background: #f59e0b; }
.preview-dots span:nth-child(3) { background: #10b981; }

.preview-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.preview-content {
  padding: 30px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  background: #0b0e17;
  text-align: left;
}

.mockup-col {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 16px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.mockup-col:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.4);
}

.mockup-platform-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 0.85rem;
  font-weight: 700;
}

.platform-icon-pill {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 800;
}

.pill-x { background: #000; color: #fff; border: 1px solid #333; }
.pill-li { background: #0a66c2; color: #fff; }
.pill-ig { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); color: #fff; }
.pill-th { background: #111; color: #fff; border: 1px solid #444; }

.mockup-body {
  font-size: 0.86rem;
  color: #cbd5e1;
  line-height: 1.5;
  margin-bottom: 14px;
  flex: 1;
}

.mockup-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-light);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 10px;
}

/* ================= CHANNELS BAR ================= */
.channels-banner {
  padding: 40px 0;
  border-bottom: 1px solid var(--border-color);
  background: rgba(15, 21, 35, 0.4);
}

.channels-title {
  text-align: center;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light);
  margin-bottom: 24px;
}

.channels-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.channel-badge-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 10px 20px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-main);
  transition: all 0.2s ease;
}

.channel-badge-item:hover {
  border-color: rgba(99, 102, 241, 0.4);
  transform: translateY(-2px);
}

/* ================= FEATURES SECTION ================= */
.features-section {
  padding: 100px 0;
}

.section-tag {
  text-align: center;
  font-size: 0.82rem;
  font-weight: 800;
  color: #818cf8;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.section-heading {
  text-align: center;
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-subheading {
  text-align: center;
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 60px auto;
}

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

.feature-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
}

.feature-box:hover {
  background: var(--bg-card-hover);
  border-color: rgba(99, 102, 241, 0.35);
  transform: translateY(-4px);
}

.feature-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #818cf8;
  margin-bottom: 20px;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.feature-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ================= PRICING SECTION ================= */
.pricing-section {
  padding: 100px 0;
  background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.08) 0%, transparent 60%);
  position: relative;
}

.billing-toggle-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
}

.billing-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
}

.billing-label.active {
  color: var(--text-main);
}

.toggle-switch {
  position: relative;
  width: 54px;
  height: 28px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.toggle-switch.annual {
  background: var(--accent-indigo);
}

.toggle-slider {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s ease;
}

.toggle-switch.annual .toggle-slider {
  transform: translateX(26px);
}

.save-badge {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 20px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.2s ease;
}

.pricing-card:hover {
  border-color: rgba(99, 102, 241, 0.4);
  transform: translateY(-4px);
}

.pricing-card.featured {
  background: rgba(20, 28, 48, 0.85);
  border: 2px solid var(--accent-indigo);
  box-shadow: 0 15px 40px rgba(99, 102, 241, 0.2);
}

.popular-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-gradient);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

.plan-name {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.plan-tagline {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  min-height: 42px;
}

.plan-price-box {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 24px;
}

.price-currency {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
}

.price-amount {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1;
  color: var(--text-main);
}

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

.plan-features-list {
  list-style: none;
  margin: 28px 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.plan-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: #cbd5e1;
}

.plan-feature-item svg {
  width: 18px;
  height: 18px;
  color: #34d399;
  flex-shrink: 0;
  margin-top: 2px;
}

.plan-cta-btn {
  width: 100%;
  padding: 13px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.98rem;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.15s ease;
}

.plan-cta-btn.secondary {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-color);
  color: var(--text-main);
}

.plan-cta-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.12);
}

.plan-cta-btn.primary {
  background: var(--accent-gradient);
  border: none;
  color: #fff;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.35);
}

.plan-cta-btn.primary:hover {
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
  transform: translateY(-1px);
}

/* ================= FAQ SECTION ================= */
.faq-section {
  padding: 100px 0;
  border-top: 1px solid var(--border-color);
}

.faq-grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: border-color 0.2s ease;
}

.faq-card:hover {
  border-color: rgba(99, 102, 241, 0.3);
}

.faq-question {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-main);
}

.faq-answer {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ================= BOTTOM CTA ================= */
.cta-banner {
  padding: 80px 0;
  background: linear-gradient(180deg, transparent 0%, rgba(99, 102, 241, 0.1) 100%);
  text-align: center;
}

.cta-box {
  background: var(--bg-secondary);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: var(--radius-xl);
  padding: 60px 30px;
  max-width: 860px;
  margin: 0 auto;
  box-shadow: var(--shadow-glow);
}

.cta-title {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto 32px auto;
}

/* ================= FOOTER ================= */
.site-footer {
  padding: 40px 0;
  border-top: 1px solid var(--border-color);
  font-size: 0.9rem;
  color: var(--text-light);
}

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

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

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

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

/* Responsive */
@media (max-width: 992px) {
  .hero-title { font-size: 2.8rem; }
  .features-grid, .pricing-grid { grid-template-columns: 1fr; max-width: 440px; margin-left: auto; margin-right: auto; }
  .preview-content { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .hero-title { font-size: 2.2rem; }
  .preview-content { grid-template-columns: 1fr; }
  .footer-content { flex-direction: column; text-align: center; }
}
