/* =========================================
   INPOSTSOCIAL — Main Stylesheet
   Palette: Bianco puro, lilla soft, rosa antico, oro/giallo caldo
   Font: Playfair Display (titoli) + Outfit (corpo)
   ========================================= */

:root {
  --white: #FFFFFF;
  --off-white: #F8F7FF;
  --light: #F2F0FC;
  --lavender: #E8E4FF;
  --purple: #7C5CFC;
  --purple-light: #9B7DFD;
  --purple-dark: #5B3EDB;
  --rose: #FFB5C8;
  --rose-dark: #E8839E;
  --gold: #F5C842;
  --dark: #1A1730;
  --dark2: #2D2850;
  --gray: #6B6B8A;
  --gray-light: #A0A0B8;
  --border: rgba(124,92,252,0.12);
  --shadow: 0 4px 24px rgba(124,92,252,0.10);
  --shadow-lg: 0 12px 48px rgba(124,92,252,0.18);
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 40px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Outfit', sans-serif;
  background: var(--white);
  color: var(--dark);
  overflow-x: hidden;
  line-height: 1.6;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3 { font-family: 'Playfair Display', serif; line-height: 1.15; }
h1 { font-size: clamp(2.6rem, 5vw, 4rem); font-weight: 900; }
h2 { font-size: clamp(2rem, 3.5vw, 2.8rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
em { font-style: normal; color: var(--purple); }
a { text-decoration: none; color: inherit; }

/* ========== HEADER / NAV ========== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
.header.scrolled { box-shadow: var(--shadow); }

.nav {
  display: flex; align-items: center; gap: 2rem;
  height: 72px;
}
.logo { display: flex; align-items: center; gap: 0.5rem; }
.logo-img { height: 38px; width: auto; }
.logo-text { font-family: 'Playfair Display', serif; font-size: 1.4rem; font-weight: 700; color: var(--dark); }
.logo-text span { color: var(--purple); }

.nav-links {
  display: flex; gap: 2rem; margin-left: auto;
}
.nav-links a {
  font-size: 0.9rem; font-weight: 500; color: var(--gray);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--purple); }

.nav-right { display: flex; align-items: center; gap: 1rem; }

.lang-switcher {
  display: flex; align-items: center; gap: 0.3rem;
  font-size: 0.8rem; color: var(--gray-light);
}
.lang-btn {
  background: none; border: none; cursor: pointer;
  font-family: 'Outfit', sans-serif; font-size: 0.8rem;
  font-weight: 600; color: var(--gray-light); padding: 0.2rem 0.4rem;
  border-radius: 6px; transition: all 0.2s;
}
.lang-btn.active { color: var(--purple); background: var(--lavender); }
.lang-btn:hover { color: var(--purple); }

.btn-nav {
  background: var(--purple); color: white;
  padding: 0.55rem 1.3rem; border-radius: 100px;
  font-size: 0.85rem; font-weight: 600;
  transition: all 0.2s; white-space: nowrap;
}
.btn-nav:hover { background: var(--purple-dark); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(124,92,252,0.35); }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--dark); border-radius: 2px; transition: all 0.3s; }

.mobile-menu {
  display: none; flex-direction: column; gap: 0;
  padding: 1rem 2rem 1.5rem;
  background: white; border-top: 1px solid var(--border);
}
.mobile-menu a {
  padding: 0.8rem 0; font-weight: 500; color: var(--gray);
  border-bottom: 1px solid var(--border); font-size: 0.95rem;
}
.mobile-menu a:last-child { border: none; }
.btn-mobile {
  margin-top: 1rem; background: var(--purple); color: white !important;
  padding: 0.8rem 1.5rem; border-radius: 100px;
  text-align: center; font-weight: 600;
}

/* ========== BUTTONS ========== */
.btn-primary {
  display: inline-flex; align-items: center;
  background: var(--purple); color: white;
  padding: 0.85rem 2rem; border-radius: 100px;
  font-size: 1rem; font-weight: 600; border: none; cursor: pointer;
  transition: all 0.25s; font-family: 'Outfit', sans-serif;
}
.btn-primary:hover { background: var(--purple-dark); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(124,92,252,0.35); }
.btn-primary.sm { padding: 0.65rem 1.4rem; font-size: 0.9rem; }
.btn-primary.lg { padding: 1rem 2.4rem; font-size: 1.05rem; }

.btn-ghost {
  display: inline-flex; align-items: center;
  background: transparent; color: var(--purple);
  padding: 0.85rem 2rem; border-radius: 100px;
  font-size: 1rem; font-weight: 600; border: 2px solid var(--lavender);
  cursor: pointer; transition: all 0.25s;
}
.btn-ghost:hover { background: var(--lavender); border-color: var(--purple); transform: translateY(-2px); }
.btn-ghost.lg { padding: 1rem 2.4rem; font-size: 1.05rem; }

/* ========== SECTION HEADERS ========== */
.section-label {
  display: inline-block;
  background: var(--lavender); color: var(--purple);
  padding: 0.35rem 1rem; border-radius: 100px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; margin-bottom: 1rem;
}
.section-title { margin-bottom: 1rem; }
.section-sub { color: var(--gray); font-size: 1.05rem; margin-bottom: 3rem; max-width: 560px; }

/* ========== HERO ========== */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  padding: 8rem 0 4rem; position: relative; overflow: hidden;
  background: linear-gradient(160deg, #FFFFFF 0%, #F8F7FF 40%, #EDE9FF 100%);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }

.blob {
  position: absolute; border-radius: 50%;
  filter: blur(60px); opacity: 0.5;
  animation: float 8s ease-in-out infinite;
}
.blob-1 { width: 500px; height: 500px; background: radial-gradient(circle, #C4B5FD, #E8E4FF); top: -100px; right: -100px; animation-delay: 0s; }
.blob-2 { width: 350px; height: 350px; background: radial-gradient(circle, #FFB5C8, #FFE4EE); bottom: 0; left: -80px; animation-delay: 2s; }
.blob-3 { width: 280px; height: 280px; background: radial-gradient(circle, #F5C842, #FDE68A); top: 40%; right: 15%; animation-delay: 4s; opacity: 0.3; }

@keyframes float { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(20px,-20px) scale(1.05)} }

.grid-lines {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(124,92,252,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(124,92,252,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content { position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: white; border: 1px solid var(--border);
  padding: 0.45rem 1.1rem; border-radius: 100px;
  font-size: 0.82rem; font-weight: 600; color: var(--purple);
  margin-bottom: 1.8rem; box-shadow: var(--shadow);
}
.badge-dot {
  width: 8px; height: 8px; background: #22c55e;
  border-radius: 50%; animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{box-shadow:0 0 0 0 rgba(34,197,94,0.4)} 50%{box-shadow:0 0 0 6px rgba(34,197,94,0)} }

.hero-title { margin-bottom: 1.5rem; max-width: 820px; }

.hero-sub {
  font-size: 1.15rem; color: var(--gray); max-width: 580px;
  margin-bottom: 2.5rem; line-height: 1.75;
}

.hero-actions { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; margin-bottom: 2.5rem; }

.hero-social-proof {
  display: flex; align-items: center; gap: 0.8rem; margin-bottom: 2rem;
}
.hero-social-proof p { font-size: 0.9rem; color: var(--gray); }
.hero-social-proof strong { color: var(--dark); }
.avatars { display: flex; }
.av {
  width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 700; color: white;
  margin-left: -8px; border: 2px solid white;
}
.av:first-child { margin-left: 0; }

.hero-platforms { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.platform-pill {
  display: flex; align-items: center; gap: 0.5rem;
  background: white; border: 1px solid var(--border);
  padding: 0.4rem 0.9rem; border-radius: 100px;
  font-size: 0.82rem; font-weight: 500; color: var(--gray);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

/* ========== DEMO ========== */
.demo-section {
  padding: 6rem 0; background: var(--off-white);
}
.demo-section .section-title, .demo-section .section-sub { text-align: center; margin-left: auto; margin-right: auto; }
.demo-section .section-label { display: block; text-align: center; }

.demo-card {
  background: white; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); border: 1px solid var(--border);
  overflow: hidden; margin-top: 3rem;
}

.demo-form { padding: 2.5rem; }

.demo-form-group { margin-bottom: 1.2rem; }
.demo-form-group label {
  display: block; font-size: 0.82rem; font-weight: 600;
  color: var(--gray); margin-bottom: 0.5rem; text-transform: uppercase; letter-spacing: 0.04em;
}
.demo-input {
  width: 100%; padding: 0.85rem 1.1rem;
  border: 1.5px solid var(--border); border-radius: var(--radius);
  font-family: 'Outfit', sans-serif; font-size: 0.95rem; color: var(--dark);
  background: var(--off-white); outline: none; transition: border-color 0.2s;
  appearance: none;
}
.demo-input:focus { border-color: var(--purple); background: white; }
textarea.demo-input { resize: vertical; min-height: 80px; }

.demo-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.btn-demo {
  width: 100%; padding: 1rem; margin-top: 0.5rem;
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  color: white; border: none; border-radius: 100px;
  font-family: 'Playfair Display', serif; font-size: 1.05rem; font-weight: 700;
  cursor: pointer; transition: all 0.25s; letter-spacing: 0.01em;
}
.btn-demo:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(124,92,252,0.4); }
.btn-demo:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.demo-loading {
  padding: 3rem 2.5rem; text-align: center;
  border-top: 1px solid var(--border);
}
.loading-ring {
  width: 52px; height: 52px; margin: 0 auto 1.5rem;
  border: 3px solid var(--lavender);
  border-top-color: var(--purple);
  border-radius: 50%; animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.demo-loading p { font-size: 1rem; color: var(--gray); margin-bottom: 1.5rem; }

.loading-steps-list { display: flex; flex-direction: column; gap: 0.6rem; max-width: 300px; margin: 0 auto; text-align: left; }
.ls {
  font-size: 0.88rem; color: var(--gray-light); padding: 0.4rem 0.8rem;
  border-radius: 8px; transition: all 0.4s;
}
.ls.active { color: var(--purple); background: var(--lavender); font-weight: 600; }
.ls.done { color: #22c55e; }

.demo-result { border-top: 1px solid var(--border); }

.result-tabs {
  display: flex; border-bottom: 1px solid var(--border);
  background: var(--off-white);
}
.tab-btn {
  flex: 1; padding: 1rem; background: none; border: none;
  font-family: 'Outfit', sans-serif; font-size: 0.9rem; font-weight: 600;
  color: var(--gray-light); cursor: pointer; transition: all 0.2s;
  border-bottom: 2px solid transparent;
}
.tab-btn.active { color: var(--purple); border-bottom-color: var(--purple); background: white; }

.tab-content { padding: 2rem 2.5rem; }

/* Strategy blocks */
.strategy-summary {
  background: linear-gradient(135deg, var(--lavender), #EDE9FF);
  border-radius: var(--radius); padding: 1.5rem; margin-bottom: 1.5rem;
  border: 1px solid rgba(124,92,252,0.15);
}
.strategy-summary h4 { font-family: 'Outfit', sans-serif; font-weight: 700; color: var(--purple); margin-bottom: 0.5rem; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; }
.strategy-summary p { font-size: 0.95rem; color: var(--dark2); line-height: 1.7; }

.strategy-blocks { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.s-block { background: var(--off-white); border-radius: var(--radius); padding: 1.2rem; border: 1px solid var(--border); }
.s-block h5 { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--purple); margin-bottom: 0.6rem; }
.s-block ul { list-style: none; }
.s-block ul li { font-size: 0.88rem; color: var(--dark2); padding: 0.25rem 0; padding-left: 1.2rem; position: relative; line-height: 1.5; }
.s-block ul li::before { content: '→'; position: absolute; left: 0; color: var(--purple); }
.s-block p { font-size: 0.88rem; color: var(--dark2); line-height: 1.6; }

/* Post cards */
.post-card-demo {
  background: white; border: 1.5px solid var(--border);
  border-radius: var(--radius); overflow: hidden; margin-bottom: 1rem;
  transition: box-shadow 0.2s;
}
.post-card-demo:hover { box-shadow: var(--shadow); }
.post-card-demo-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.8rem 1.2rem; background: var(--off-white); border-bottom: 1px solid var(--border);
}
.post-social-tag {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.82rem; font-weight: 700; color: var(--dark2);
}
.post-day-tag { font-size: 0.78rem; color: var(--gray-light); }
.post-card-demo-body { padding: 1.2rem; }
.post-text-demo { font-size: 0.9rem; line-height: 1.7; color: var(--dark2); white-space: pre-wrap; margin-bottom: 0.8rem; }
.hashtags-demo { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.hashtag-demo { font-size: 0.75rem; padding: 0.2rem 0.6rem; background: var(--lavender); color: var(--purple); border-radius: 100px; font-weight: 600; }

.demo-cta {
  padding: 1.5rem 2.5rem; background: linear-gradient(135deg, var(--lavender), white);
  border-top: 1px solid var(--border); display: flex; align-items: center;
  justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}
.demo-cta p { font-size: 0.92rem; font-weight: 500; color: var(--dark2); }

/* ========== HOW IT WORKS ========== */
.how-section { padding: 7rem 0; }
.steps-grid {
  display: grid; grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 1.5rem; align-items: start; margin-top: 3rem;
}
.step-card {
  background: white; border-radius: var(--radius-lg); padding: 2.5rem 2rem;
  border: 1.5px solid var(--border); text-align: center;
  transition: all 0.3s; position: relative; overflow: hidden;
}
.step-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--purple), var(--purple-light));
  transform: scaleX(0); transition: transform 0.3s;
}
.step-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.step-card:hover::before { transform: scaleX(1); }

.step-num {
  font-family: 'Playfair Display', serif; font-size: 3rem; font-weight: 900;
  color: var(--lavender); line-height: 1; margin-bottom: 0.5rem;
}
.step-icon { font-size: 2rem; margin-bottom: 1rem; }
.step-card h3 { margin-bottom: 0.75rem; font-size: 1.15rem; }
.step-card p { font-size: 0.9rem; color: var(--gray); line-height: 1.7; }
.step-connector { font-size: 2rem; color: var(--lavender); align-self: center; font-weight: 300; }

/* ========== FEATURES ========== */
.features-section { padding: 7rem 0; background: var(--off-white); }
.features-section .section-title, .features-section .section-sub { text-align: center; margin: 0 auto 3rem; }
.features-section .section-label { display: block; text-align: center; }

.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.feature-card {
  background: white; border-radius: var(--radius-lg); padding: 2rem;
  border: 1.5px solid var(--border); transition: all 0.3s;
}
.feature-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: rgba(124,92,252,0.25); }
.feature-card.large {
  grid-column: span 2;
  background: linear-gradient(135deg, #F8F7FF, white);
}
.feature-icon { font-size: 2rem; margin-bottom: 1rem; }
.feature-card h3 { margin-bottom: 0.75rem; font-size: 1.1rem; }
.feature-card p { font-size: 0.9rem; color: var(--gray); line-height: 1.7; }
.feature-tags { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 1rem; }
.feature-tags span {
  font-size: 0.75rem; padding: 0.25rem 0.7rem; border-radius: 100px;
  background: var(--lavender); color: var(--purple); font-weight: 600;
}

/* ========== SOCIAL PROOF ========== */
.proof-section { padding: 7rem 0; }
.proof-section .section-title, .proof-section .section-sub { text-align: center; margin: 0 auto 3rem; }
.proof-section .section-label { display: block; text-align: center; }

.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-bottom: 4rem; }

.review-card {
  background: white; border-radius: var(--radius-lg); padding: 2rem;
  border: 1.5px solid var(--border); position: relative; transition: all 0.3s;
}
.review-card:hover { box-shadow: var(--shadow); }
.review-card.featured { border-color: var(--purple); background: linear-gradient(145deg, #F8F7FF, white); }
.review-badge {
  display: inline-block; background: var(--purple); color: white;
  font-size: 0.72rem; font-weight: 700; padding: 0.25rem 0.8rem;
  border-radius: 100px; margin-bottom: 1rem;
}
.stars { color: var(--gold); font-size: 1.1rem; margin-bottom: 1rem; letter-spacing: 2px; }
.review-card p { font-size: 0.92rem; color: var(--dark2); line-height: 1.7; margin-bottom: 1.5rem; font-style: italic; }
.reviewer { display: flex; align-items: center; gap: 0.75rem; }
.reviewer-av {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; font-weight: 700; color: white; flex-shrink: 0;
}
.reviewer strong { display: block; font-size: 0.9rem; font-weight: 700; }
.reviewer span { font-size: 0.78rem; color: var(--gray-light); }

.stats-bar {
  display: flex; align-items: center; justify-content: center;
  background: var(--dark); border-radius: var(--radius-lg); padding: 2.5rem 3rem;
  gap: 0; flex-wrap: wrap;
}
.stat { text-align: center; padding: 0 3rem; flex: 1; min-width: 140px; }
.stat strong { display: block; font-family: 'Playfair Display', serif; font-size: 2.2rem; font-weight: 900; color: white; line-height: 1.1; }
.stat span { font-size: 0.82rem; color: rgba(255,255,255,0.5); margin-top: 0.3rem; display: block; }
.stat-divider { width: 1px; height: 50px; background: rgba(255,255,255,0.1); }

/* ========== PRICING ========== */
.pricing-section { padding: 7rem 0; background: var(--off-white); }
.pricing-section .section-title, .pricing-section .section-sub { text-align: center; margin: 0 auto; }
.pricing-section .section-label { display: block; text-align: center; }
.pricing-section .section-sub { margin-bottom: 3rem; }

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: start; }

.pricing-card {
  background: white; border-radius: var(--radius-lg); padding: 2.5rem 2rem;
  border: 1.5px solid var(--border); position: relative; transition: all 0.3s;
}
.pricing-card:hover { box-shadow: var(--shadow-lg); }
.pricing-card.popular {
  border-color: var(--purple); border-width: 2px;
  background: linear-gradient(160deg, #F8F7FF, white);
  transform: scale(1.02);
}
.popular-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--purple); color: white;
  font-size: 0.72rem; font-weight: 700; padding: 0.3rem 1rem;
  border-radius: 100px; white-space: nowrap;
}
.plan-name { font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gray); margin-bottom: 1rem; }
.plan-price { display: flex; align-items: baseline; gap: 0.2rem; margin-bottom: 0.5rem; }
.price-amount { font-family: 'Playfair Display', serif; font-size: 3rem; font-weight: 900; color: var(--dark); line-height: 1; }
.price-period { font-size: 0.9rem; color: var(--gray); }
.plan-desc { font-size: 0.88rem; color: var(--gray); margin-bottom: 1.8rem; line-height: 1.5; }

.plan-features { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; margin-bottom: 2rem; }
.plan-features li { font-size: 0.88rem; color: var(--dark2); display: flex; gap: 0.5rem; line-height: 1.4; }
.plan-features li.disabled { color: var(--gray-light); }

.btn-plan {
  display: block; text-align: center; padding: 0.9rem 1rem;
  border-radius: 100px; font-size: 0.95rem; font-weight: 700;
  transition: all 0.25s; border: 2px solid transparent; cursor: pointer;
}
.btn-plan.primary { background: var(--purple); color: white; border-color: var(--purple); }
.btn-plan.primary:hover { background: var(--purple-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(124,92,252,0.35); }
.btn-plan.ghost { background: white; color: var(--purple); border-color: var(--lavender); }
.btn-plan.ghost:hover { background: var(--lavender); border-color: var(--purple); }

.pricing-note {
  text-align: center; margin-top: 2.5rem;
  font-size: 0.88rem; color: var(--gray);
}

/* ========== FAQ ========== */
.faq-section { padding: 7rem 0; }
.faq-section .section-title { text-align: center; margin-bottom: 3rem; }
.faq-section .section-label { display: block; text-align: center; }

.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; max-width: 900px; margin: 0 auto; }

.faq-item { border: 1.5px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 1.2rem 1.5rem; background: none; border: none; cursor: pointer;
  font-family: 'Outfit', sans-serif; font-size: 0.92rem; font-weight: 600;
  color: var(--dark); text-align: left; gap: 1rem; transition: background 0.2s;
}
.faq-q:hover { background: var(--off-white); }
.faq-arrow { font-size: 1.3rem; color: var(--purple); transition: transform 0.3s; flex-shrink: 0; }
.faq-q.open .faq-arrow { transform: rotate(45deg); }
.faq-a {
  padding: 0 1.5rem; max-height: 0; overflow: hidden;
  font-size: 0.88rem; color: var(--gray); line-height: 1.7;
  transition: all 0.35s ease; border-top: 0 solid var(--border);
}
.faq-a.open { padding: 1rem 1.5rem 1.5rem; max-height: 200px; border-top-width: 1px; }

/* ========== FINAL CTA ========== */
.final-cta { padding: 5rem 0; }
.cta-card {
  background: linear-gradient(135deg, var(--dark), var(--dark2));
  border-radius: var(--radius-xl); padding: 5rem 3rem;
  text-align: center; position: relative; overflow: hidden;
}
.cta-blob {
  position: absolute; width: 500px; height: 500px;
  border-radius: 50%; background: radial-gradient(circle, rgba(124,92,252,0.3), transparent);
  top: -100px; right: -100px; pointer-events: none;
}
.cta-card h2 { color: white; font-size: clamp(1.8rem, 3.5vw, 2.8rem); margin-bottom: 1rem; position: relative; }
.cta-card p { color: rgba(255,255,255,0.6); font-size: 1.05rem; margin-bottom: 2.5rem; position: relative; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; position: relative; }

/* ========== CONTACT ========== */
.contact-section { padding: 7rem 0; background: var(--off-white); }
.contact-section .section-title { margin-bottom: 3rem; }
.contact-section .section-label { display: block; }

.contact-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 4rem; align-items: start; }

.contact-info { display: flex; flex-direction: column; gap: 2rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-icon { font-size: 1.5rem; width: 48px; height: 48px; background: var(--lavender); border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-item strong { display: block; font-weight: 700; font-size: 0.9rem; margin-bottom: 0.2rem; }
.contact-item span, .contact-item a { font-size: 0.9rem; color: var(--gray); }
.contact-item a:hover { color: var(--purple); }

.contact-form { background: white; border-radius: var(--radius-lg); padding: 2.5rem; border: 1.5px solid var(--border); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--gray); margin-bottom: 0.5rem; }
.form-group input, .form-group textarea {
  width: 100%; padding: 0.85rem 1.1rem;
  border: 1.5px solid var(--border); border-radius: var(--radius);
  font-family: 'Outfit', sans-serif; font-size: 0.95rem; color: var(--dark);
  background: var(--off-white); outline: none; transition: border-color 0.2s;
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--purple); background: white; }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-success { margin-top: 1rem; padding: 1rem; background: #f0fdf4; color: #16a34a; border-radius: var(--radius); font-size: 0.9rem; font-weight: 600; text-align: center; }

/* ========== FOOTER ========== */
.footer { background: var(--dark); color: rgba(255,255,255,0.7); padding: 5rem 0 2rem; }
.footer-top { display: grid; grid-template-columns: 1fr 2fr; gap: 4rem; margin-bottom: 4rem; }
.footer-brand p { font-size: 0.88rem; line-height: 1.7; margin-top: 1.2rem; max-width: 280px; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.footer-col { display: flex; flex-direction: column; gap: 0.8rem; }
.footer-col strong { color: white; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.5rem; }
.footer-col a { font-size: 0.88rem; color: rgba(255,255,255,0.5); transition: color 0.2s; }
.footer-col a:hover { color: white; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,0.08); padding-top: 2rem; flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { font-size: 0.82rem; }
.footer-lang { display: flex; gap: 0.5rem; }
.lang-btn-footer {
  background: rgba(255,255,255,0.08); border: none; color: rgba(255,255,255,0.5);
  padding: 0.3rem 0.7rem; border-radius: 6px; font-size: 0.78rem; font-weight: 600;
  cursor: pointer; font-family: 'Outfit', sans-serif; transition: all 0.2s;
}
.lang-btn-footer.active { background: var(--purple); color: white; }
.lang-btn-footer:hover { color: white; }

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  .steps-grid { grid-template-columns: 1fr; }
  .step-connector { display: none; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .feature-card.large { grid-column: span 2; }
  .reviews-grid, .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card.popular { transform: none; }
  .faq-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .footer-links { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 700px) {
  .nav-links, .nav-right { display: none; }
  .hamburger { display: flex; margin-left: auto; }
  .mobile-menu.open { display: flex; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-card.large { grid-column: span 1; }
  .stats-bar { flex-direction: column; gap: 2rem; }
  .stat-divider { display: none; }
  .demo-row { grid-template-columns: 1fr; }
  .strategy-blocks { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .demo-cta { flex-direction: column; text-align: center; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .cta-card { padding: 3rem 1.5rem; }
}
