/* —————————————————————————————
   Craftly — Product Showcase Template
   style.css
   ————————————————————————————— */

/* ——— Custom Properties ——— */
:root {
  --indigo: #4338CA;
  --indigo-dark: #3730A3;
  --indigo-light: #6366F1;
  --coral: #FF4D6D;
  --coral-dark: #E31B4A;
  --coral-light: #FF6B8A;
  --dark: #0B0F19;
  --dark-alt: #131827;
  --bg: #F8FAFC;
  --white: #FFFFFF;
  --gray: #6B7280;
  --gray-light: #9CA3AF;
  --gray-dark: #4B5563;
  --mint: #10B981;
  --mint-dark: #059669;
  --border: #E5E7EB;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(11, 15, 25, 0.08);
  --shadow-lg: 0 12px 48px rgba(11, 15, 25, 0.12);
  --shadow-xl: 0 24px 64px rgba(11, 15, 25, 0.16);
  --font-heading: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1220px;
}

/* ——— Reset ——— */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

html {
  scroll-behavior: smooth;
}

/* ——— Base ——— */
body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--dark);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* ——— Typography ——— */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark);
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: var(--gray);
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
  font-family: var(--font-body);
  font-weight: 400;
}

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

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

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 14px 32px;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  line-height: 1;
}

.btn-primary {
  background: var(--indigo);
  color: var(--white);
  border-color: var(--indigo);
}

.btn-primary:hover {
  background: var(--indigo-dark);
  border-color: var(--indigo-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(67, 56, 202, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--indigo);
  border-color: var(--indigo);
}

.btn-outline:hover {
  background: var(--indigo);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--indigo);
  border-color: var(--white);
}

.btn-white:hover {
  background: var(--bg);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn-sm {
  padding: 10px 22px;
  font-size: 0.875rem;
}

.btn .icon {
  display: inline-flex;
  align-items: center;
  width: 18px;
  height: 18px;
}

.btn .icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ——— Header / Nav ——— */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: var(--transition);
  padding: 0;
}

.header.scrolled {
  background: var(--dark);
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.3);
}

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

.nav-logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--white);
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-logo span {
  color: var(--coral);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  padding: 8px 18px;
  border-radius: 50px;
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.nav-cta {
  background: var(--coral);
  color: var(--white) !important;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600;
  margin-left: 8px;
}

.nav-cta:hover {
  background: var(--coral-dark) !important;
  transform: translateY(-1px);
}

/* ——— Nav Toggle (Burger) ——— */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
  transform-origin: center;
}

.nav-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ——— Hero ——— */
.page-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 72px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(11, 15, 25, 0.92) 0%,
    rgba(11, 15, 25, 0.7) 50%,
    rgba(11, 15, 25, 0.85) 100%
  );
  z-index: 1;
}

.hero-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(67, 56, 202, 0.15) 0%, transparent 60%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  width: 100%;
}

.hero-text {
  padding: 40px 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 77, 109, 0.15);
  border: 1px solid rgba(255, 77, 109, 0.3);
  color: var(--coral);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--coral);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero-title span {
  background: linear-gradient(135deg, var(--indigo-light), var(--coral));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text p {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: rgba(255, 255, 255, 0.7);
  max-width: 540px;
  margin-bottom: 36px;
  line-height: 1.7;
  font-weight: 400;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat h3 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.75rem;
  color: var(--white);
}

.hero-stat p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0;
  font-weight: 400;
}

/* ——— Hero Product Mockup ——— */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.hero-mockup {
  position: relative;
  width: 100%;
  max-width: 520px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.4);
  transform: perspective(1200px) rotateY(-6deg) rotateX(2deg);
  transition: transform 0.6s ease;
}

.hero-mockup:hover {
  transform: perspective(1200px) rotateY(0deg) rotateX(0deg);
}

.hero-mockup img {
  width: 100%;
  display: block;
}

.hero-mockup-float {
  position: absolute;
  bottom: -16px;
  left: -24px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 12px 18px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: float 4s ease-in-out infinite;
}

.hero-mockup-float-icon {
  width: 36px;
  height: 36px;
  background: var(--mint);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.hero-mockup-float p {
  font-size: 0.8rem;
  color: var(--dark);
  font-weight: 600;
  margin: 0;
  white-space: nowrap;
}

.hero-mockup-float small {
  font-size: 0.7rem;
  color: var(--gray);
  font-weight: 400;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ——— Features Section ——— */
.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.features-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.features-image img {
  width: 100%;
  display: block;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.feature-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.feature-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.feature-icon-indigo {
  background: rgba(67, 56, 202, 0.1);
  color: var(--indigo);
}

.feature-icon-coral {
  background: rgba(255, 77, 109, 0.1);
  color: var(--coral);
}

.feature-icon-mint {
  background: rgba(16, 185, 129, 0.1);
  color: var(--mint);
}

.feature-icon-dark {
  background: rgba(11, 15, 25, 0.08);
  color: var(--dark);
}

.feature-item h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.feature-item p {
  font-size: 0.92rem;
  color: var(--gray);
  line-height: 1.6;
}

/* ——— Features Alt (Cards) ——— */
.features-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: var(--transition);
}

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

.feature-card-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 20px;
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.6;
}

/* ——— Video Demo Section ——— */
.video-section {
  position: relative;
  overflow: hidden;
}

.video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.video-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11, 15, 25, 0.85) 0%, rgba(11, 15, 25, 0.7) 100%);
  z-index: 1;
}

.video-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 100px 0;
}

.video-content .section-title {
  color: var(--white);
}

.video-content .section-subtitle {
  color: rgba(255, 255, 255, 0.6);
}

.video-play-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--coral);
  border: none;
  cursor: pointer;
  margin-bottom: 32px;
  position: relative;
  transition: var(--transition);
  box-shadow: 0 0 0 0 rgba(255, 77, 109, 0.4);
}

.video-play-btn:hover {
  transform: scale(1.08);
  background: var(--coral-dark);
  box-shadow: 0 0 0 12px rgba(255, 77, 109, 0.15);
}

.video-play-btn img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  margin-left: 3px;
}

.video-play-btn .video-play-hover {
  display: none;
}

.video-play-btn:hover .video-play-icon {
  display: none;
}

.video-play-btn:hover .video-play-hover {
  display: inline-block;
}

.video-play-ring {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.2);
  animation: ring-pulse 2.5s ease-out infinite;
}

@keyframes ring-pulse {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* ——— Video Modal ——— */
.video-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(11, 15, 25, 0.92);
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.video-modal.open {
  display: flex;
  opacity: 1;
}

.video-modal-content {
  position: relative;
  width: 100%;
  max-width: 800px;
  aspect-ratio: 16 / 9;
  background: var(--dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.video-modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  opacity: 0.7;
  transition: var(--transition);
  line-height: 1;
  padding: 4px;
}

.video-modal-close:hover {
  opacity: 1;
}

.video-modal-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.3);
  font-family: var(--font-body);
  font-size: 1rem;
  background: repeating-linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.02),
    rgba(255, 255, 255, 0.02) 20px,
    rgba(255, 255, 255, 0.04) 20px,
    rgba(255, 255, 255, 0.04) 40px
  );
}

/* ——— Testimonials ——— */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
  color: #F59E0B;
  font-size: 0.9rem;
}

.testimonial-text {
  font-size: 0.92rem;
  color: var(--gray-dark);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark);
}

.testimonial-role {
  font-size: 0.8rem;
  color: var(--gray);
}

/* ——— Newsletter ——— */
.newsletter-section {
  background: linear-gradient(135deg, var(--indigo) 0%, var(--indigo-dark) 100%);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.newsletter-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 60px 60px;
}

.newsletter-text .section-title {
  color: var(--white);
  text-align: left;
  margin-bottom: 12px;
}

.newsletter-text .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
  text-align: left;
  margin: 0 0 28px;
  max-width: 100%;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 460px;
}

.newsletter-form .form-input {
  flex: 1;
  padding: 14px 20px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}

.newsletter-form .form-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.newsletter-form .form-input:focus {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
}

.newsletter-form .btn {
  flex-shrink: 0;
}

.newsletter-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.newsletter-image img {
  max-width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-xl);
}

.newsletter-form-row {
  display: flex;
  gap: 8px;
}

.newsletter-form .form-ok {
  display: none;
  margin-top: 12px;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 500;
}

.newsletter-form .form-err {
  display: none;
  margin-top: 12px;
  padding: 10px 18px;
  background: rgba(255, 77, 109, 0.2);
  border-radius: 50px;
  color: var(--coral-light);
  font-size: 0.85rem;
  font-weight: 500;
}

.newsletter-form .form-ok.show,
.newsletter-form .form-err.show {
  display: inline-block;
}

/* ——— Footer ——— */
.footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .nav-logo {
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  max-width: 320px;
  line-height: 1.7;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.1rem;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--indigo);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  transition: var(--transition);
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.35);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.5);
  transition: var(--transition);
}

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

/* ——— Back to Top ——— */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 999;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--indigo);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(67, 56, 202, 0.3);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--indigo-dark);
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(67, 56, 202, 0.4);
}

/* ——— Reveal Animations ——— */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ——— 404 Page ——— */
.page-404 {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--dark);
  padding: 24px;
}

.page-404-content h1 {
  font-size: clamp(6rem, 15vw, 12rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
  background: linear-gradient(135deg, var(--indigo-light), var(--coral));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-404-content h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--white);
  margin-bottom: 16px;
}

.page-404-content p {
  color: rgba(255, 255, 255, 0.5);
  max-width: 480px;
  margin: 0 auto 32px;
  font-size: 1.05rem;
}

/* ——— Generic Form ——— */
.form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.form-row > * {
  flex: 1;
  min-width: 220px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--dark);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 13px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--dark);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--indigo);
  box-shadow: 0 0 0 3px rgba(67, 56, 202, 0.12);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-ok {
  display: none;
  color: var(--mint-dark);
  font-size: 0.85rem;
  font-weight: 500;
}

.form-err {
  display: none;
  color: var(--coral-dark);
  font-size: 0.85rem;
  font-weight: 500;
}

.form-ok.show,
.form-err.show {
  display: block;
}

/* ——— Utilities ——— */
.text-center { text-align: center; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ——— Responsive ——— */
@media (max-width: 980px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-text p {
    margin-left: auto;
    margin-right: auto;
  }

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

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

  .hero-mockup {
    max-width: 400px;
    margin: 0 auto;
    transform: none;
  }

  .hero-mockup:hover {
    transform: none;
  }

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

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

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

  .newsletter-grid {
    grid-template-columns: 1fr;
    padding: 48px 36px;
    text-align: center;
  }

  .newsletter-text .section-title,
  .newsletter-text .section-subtitle {
    text-align: center;
  }

  .newsletter-form {
    max-width: 100%;
    margin: 0 auto;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--dark-alt);
    flex-direction: column;
    padding: 96px 32px 32px;
    gap: 4px;
    transition: right 0.35s ease;
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.3);
    align-items: stretch;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-link {
    padding: 14px 20px;
    font-size: 1rem;
    border-radius: var(--radius);
  }

  .nav-cta {
    margin-left: 0;
    margin-top: 8px;
    text-align: center;
  }

  .nav-toggle {
    display: flex;
  }

  .section {
    padding: 64px 0;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 24px;
  }

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

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

  .newsletter-grid {
    padding: 40px 24px;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form .btn {
    width: 100%;
    justify-content: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
  }
}

/* ——— prefers-reduced-motion ——— */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}