/* ================================================
   MINCLOUD LANDING — Modern SaaS Redesign
   Flowify-inspired aesthetic for church management
   ================================================ */

/* ---- Custom Properties ---- */
:root {
  --primary: #0081c6;
  --primary-hover: #006da8;
  --primary-light: #4db0df;
  --primary-bg: #e5f3fa;
  --primary-glow: rgba(0, 129, 198, 0.18);

  --text-dark: #1A1A2E;
  --text: #4A4A68;
  --text-light: #8E8EA0;
  --text-muted: #B8B8CC;

  --bg: #FAFAFF;
  --bg-alt: #F5F4FA;
  --white: #FFFFFF;
  --border: #E8E8F0;

  --success: #00C48C;
  --success-bg: #E6FBF4;
  --warning: #FFB020;
  --danger: #FF6B6B;

  --shadow-xs: 0 1px 3px rgba(26, 26, 46, 0.04);
  --shadow-sm: 0 2px 8px rgba(26, 26, 46, 0.05);
  --shadow: 0 4px 24px rgba(26, 26, 46, 0.07);
  --shadow-lg: 0 12px 48px rgba(26, 26, 46, 0.10);
  --shadow-xl: 0 24px 64px rgba(26, 26, 46, 0.12);
  --shadow-primary: 0 8px 32px rgba(0, 129, 198, 0.22);

  --radius-full: 100px;
  --radius-xl: 24px;
  --radius: 16px;
  --radius-sm: 12px;
  --radius-xs: 8px;

  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --section-py: 100px;
  --container: 1200px;
  --nav-height: 80px;
}

/* ---- Reset ---- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* ---- Typography ---- */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-dark);
  line-height: 1.2;
}

.display-heading {
  font-family: var(--font-body);
  font-weight: 700;
}

/* ---- Layout Utilities ---- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: var(--section-py) 0;
}

/* ---- Badge / Pill ---- */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: var(--primary-bg);
  color: var(--primary);
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius-full);
  border: 1px solid rgba(108, 92, 231, 0.15);
}

.badge-pill svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.badge-dot {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}

.badge-dot::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
  background: var(--primary-hover);
  box-shadow: 0 12px 40px rgba(108, 92, 231, 0.3);
  transform: translateY(-1px);
}

.btn-outline {
  background: var(--white);
  color: var(--text-dark);
  border: 1.5px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--primary-light);
  color: var(--primary);
  background: var(--primary-bg);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 14px;
}

.btn svg {
  width: 18px;
  height: 18px;
}

/* ================================================
   NAVIGATION
   ================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.nav.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-xs);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo img {
  height: 40px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  transition: color 0.2s;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-dark);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-btn-login {
  padding: 10px 20px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xs);
  transition: all 0.2s;
}

.nav-btn-login:hover {
  border-color: var(--primary-light);
  color: var(--primary);
}

.nav-btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  font-size: 15px;
  font-weight: 500;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius-xs);
  transition: all 0.2s;
}

.nav-btn-cta:hover {
  background: var(--primary-hover);
}

.nav-btn-cta svg {
  width: 16px;
  height: 16px;
}

/* Mobile hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}

.nav-hamburger span {
  width: 22px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ================================================
   HERO SECTION
   ================================================ */
.hero {
  padding-top: calc(var(--nav-height) + 60px);
  padding-bottom: 60px;
  background: linear-gradient(180deg, var(--bg) 0%, var(--white) 100%);
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-content {
  max-width: 540px;
}

.hero-badge {
  margin-bottom: 28px;
}

.hero h1 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(38px, 4.5vw, 58px);
  line-height: 1.12;
  color: var(--text-dark);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-light);
  margin-bottom: 36px;
  max-width: 440px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

/* Social proof */
.social-proof {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.avatar-stack {
  display: flex;
}

.avatar-stack .avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 3px solid var(--white);
  margin-left: -10px;
  overflow: hidden;
  background: var(--primary-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
}

.avatar-stack .avatar:first-child {
  margin-left: 0;
}

.social-proof-text {
  display: flex;
  flex-direction: column;
}

.social-proof-text strong {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
}

.social-proof-text span {
  font-size: 13px;
  color: var(--primary);
  font-weight: 500;
}

.social-proof-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

.social-proof-rating {
  display: flex;
  flex-direction: column;
}

.rating-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 2px;
}

.rating-stars svg {
  width: 14px;
  height: 14px;
  fill: var(--warning);
}

.social-proof-rating span {
  font-size: 13px;
  color: var(--text-light);
}

/* ---- Hero Dashboard Cards ---- */
.hero-visual {
  position: relative;
  width: 100%;
  height: 520px;
}

/* Main chart card */
.mock-chart-card {
  position: absolute;
  top: 10px;
  left: 20px;
  width: 360px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 24px;
  z-index: 2;
  animation: float-slow 6s ease-in-out infinite;
}

.mock-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.mock-card-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
}

.mock-card-dots {
  display: flex;
  gap: 5px;
}

.mock-card-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.mock-card-dots span:nth-child(1) { background: #FF6B6B; }
.mock-card-dots span:nth-child(2) { background: #FFB020; }
.mock-card-dots span:nth-child(3) { background: #00C48C; }

.mock-card-tabs {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.mock-tab {
  font-size: 13px;
  color: var(--primary);
  font-weight: 500;
  padding: 4px 0;
  border-bottom: 2px solid var(--primary);
}

.mock-tab-inactive {
  font-size: 13px;
  color: var(--text-muted);
  padding: 4px 12px;
  background: var(--bg-alt);
  border-radius: var(--radius-xs);
}

/* CSS bar chart */
.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 110px;
  margin-bottom: 10px;
}

.chart-bars .bar {
  flex: 1;
  border-radius: 3px 3px 0 0;
  transition: height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.chart-bars .bar-primary {
  background: var(--primary);
}

.chart-bars .bar-light {
  background: var(--primary-bg);
}

.chart-months {
  display: flex;
  gap: 5px;
}

.chart-months span {
  flex: 1;
  text-align: center;
  font-size: 10px;
  color: var(--text-muted);
}

/* Balance card */
.mock-balance-card {
  position: absolute;
  bottom: 40px;
  left: -10px;
  width: 260px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xl);
  padding: 22px;
  z-index: 3;
  animation: float-slow 6s ease-in-out 1s infinite;
}

.mock-balance-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.mock-balance-label {
  font-size: 13px;
  color: var(--text-light);
  font-weight: 500;
}

.mock-balance-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
}

.mock-balance-avatar svg {
  width: 16px;
  height: 16px;
  fill: white;
}

.mock-balance-amount {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.mock-balance-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--success-bg);
  color: var(--success);
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius-full);
}

.mock-balance-tag svg {
  width: 14px;
  height: 14px;
}

/* Stats side card */
.mock-stats-card {
  position: absolute;
  top: 50px;
  right: -10px;
  width: 230px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 22px;
  z-index: 1;
  animation: float-slow 6s ease-in-out 2s infinite;
}

.mock-stats-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
}

.mock-stats-row + .mock-stats-row {
  border-top: 1px solid var(--border);
}

.mock-stats-label {
  font-size: 12px;
  color: var(--text-light);
}

.mock-stats-value {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
}

.mock-progress {
  width: 100%;
  height: 6px;
  background: var(--bg-alt);
  border-radius: 3px;
  margin-top: 12px;
  overflow: hidden;
}

.mock-progress-fill {
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  transition: width 1s ease;
}

/* Small floating accent card */
.mock-mini-card {
  position: absolute;
  top: -10px;
  right: 30px;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 14px 18px;
  z-index: 4;
  animation: float-slow 6s ease-in-out 3s infinite;
}

.mock-mini-card-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.mock-mini-card-title svg {
  width: 14px;
  height: 14px;
  color: var(--primary);
}

.mock-mini-card-desc {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Floating animation */
@keyframes float-slow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ================================================
   TRUST / LOGO BAR
   ================================================ */
.trust-bar {
  padding: 48px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--white);
}

.trust-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
}

.trust-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-muted);
  opacity: 0.5;
  transition: opacity 0.3s;
  white-space: nowrap;
}

.trust-logo:hover {
  opacity: 0.8;
}

.trust-logo svg {
  width: 28px;
  height: 28px;
}

/* ================================================
   STATS SECTION
   ================================================ */
.stats-section {
  padding: 80px 0;
  background: var(--bg);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.stat-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 32px;
  border: 1px solid var(--border);
  text-align: center;
  transition: all 0.3s;
}

.stat-card:hover {
  box-shadow: var(--shadow);
  border-color: transparent;
}

.stat-number {
  font-size: 48px;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 4px;
}

.stat-number sup {
  font-size: 24px;
  color: var(--text-light);
  font-weight: 400;
  vertical-align: super;
}

.stat-icon {
  width: 20px;
  height: 20px;
  display: inline-block;
  vertical-align: middle;
  margin-left: 4px;
  color: var(--text-muted);
}

.stat-desc {
  font-size: 14px;
  color: var(--text-light);
  max-width: 220px;
  margin: 8px auto 0;
  line-height: 1.5;
}

/* ================================================
   FEATURES SECTION
   ================================================ */
.features-section {
  padding: var(--section-py) 0;
  background: var(--white);
}

.section-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 64px;
}

.section-header .badge-dot {
  margin-bottom: 20px;
}

.section-header h2 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(32px, 3.5vw, 44px);
  line-height: 1.15;
  color: var(--text-dark);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.section-header p {
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.7;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 22px;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.feature-icon.purple { background: var(--primary-bg); color: var(--primary); }
.feature-icon.green { background: #E6FBF4; color: #00C48C; }
.feature-icon.orange { background: #FFF4E5; color: #FFB020; }
.feature-icon.blue { background: #E8F4FD; color: #3B82F6; }
.feature-icon.pink { background: #FDE8F0; color: #EC4899; }
.feature-icon.red { background: #FFE8E8; color: #FF6B6B; }
.feature-icon.teal { background: #E0F7FA; color: #00BCD4; }
.feature-icon.indigo { background: #EDE7F6; color: #5C6BC0; }

.feature-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.65;
}

/* ================================================
   PRICING SECTION
   ================================================ */
.pricing-section {
  padding: var(--section-py) 0;
  background: var(--bg);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  text-align: center;
  transition: all 0.35s;
  position: relative;
}

.pricing-card.featured {
  border-color: var(--primary);
  box-shadow: var(--shadow-primary);
  transform: scale(1.04);
}

.pricing-card.featured .pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 18px;
  background: var(--primary);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.pricing-card:hover {
  box-shadow: var(--shadow-lg);
}

.pricing-plan-name {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.pricing-price {
  font-size: 44px;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}

.pricing-price .currency {
  font-size: 20px;
  font-weight: 500;
  vertical-align: super;
  color: var(--text-light);
}

.pricing-period {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.pricing-features {
  text-align: left;
  margin-bottom: 32px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  font-size: 15px;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features li svg {
  width: 18px;
  height: 18px;
  color: var(--success);
  flex-shrink: 0;
}

.pricing-card .btn {
  width: 100%;
}

/* ================================================
   INTEGRATIONS SECTION
   ================================================ */
.integrations-section {
  padding: var(--section-py) 0;
  background: var(--white);
}

.integrations-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.integrations-text h2 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.integrations-text p {
  font-size: 15px;
  color: var(--text-light);
  margin-bottom: 28px;
  line-height: 1.7;
}

.integrations-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.integration-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all 0.25s;
}

.integration-card:hover {
  box-shadow: var(--shadow-sm);
  border-color: var(--primary-light);
}

.integration-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.integration-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
}

.integration-connect {
  font-size: 13px;
  font-weight: 500;
  color: var(--primary);
  padding: 5px 12px;
  border: 1px solid var(--primary-light);
  border-radius: var(--radius-xs);
  transition: all 0.2s;
}

.integration-connect:hover {
  background: var(--primary);
  color: var(--white);
}

.integration-card h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
}

.integration-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ================================================
   CTA SECTION
   ================================================ */
.cta-section {
  padding: var(--section-py) 0;
  background: var(--bg);
}

.cta-box {
  background: var(--text-dark);
  border-radius: var(--radius-xl);
  padding: 80px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0.12;
  filter: blur(80px);
}

.cta-box::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: -10%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: var(--primary-light);
  opacity: 0.08;
  filter: blur(60px);
}

.cta-box > * {
  position: relative;
  z-index: 1;
}

.cta-box h2 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(32px, 3.5vw, 46px);
  color: var(--white);
  margin-bottom: 16px;
}

.cta-box p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.6);
  max-width: 500px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-white {
  background: var(--white);
  color: var(--text-dark);
  font-weight: 600;
}

.btn-white:hover {
  background: var(--primary-bg);
  color: var(--primary);
  transform: translateY(-1px);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.18);
}

/* ================================================
   CONTACT SECTION
   ================================================ */
.contact-section {
  padding: var(--section-py) 0;
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-form-card {
  background: var(--bg);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
}

.contact-form-card h3 {
  font-size: 24px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xs);
  background: var(--white);
  color: var(--text-dark);
  font-size: 15px;
  transition: border-color 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-info h3 {
  font-size: 24px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 24px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 36px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--primary-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-icon svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
}

.contact-info-item h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.contact-info-item p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.5;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.social-link:hover {
  border-color: var(--primary);
  background: var(--primary-bg);
  color: var(--primary);
}

.social-link svg {
  width: 18px;
  height: 18px;
}

/* ================================================
   FOOTER
   ================================================ */
.footer {
  padding: 64px 0 32px;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-light);
  margin-top: 16px;
  max-width: 280px;
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  font-size: 14px;
  color: var(--text-light);
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--primary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.footer-bottom p {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  font-size: 13px;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-bottom-links a:hover {
  color: var(--primary);
}

/* ================================================
   SCROLL ANIMATIONS
   ================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.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; }

/* ================================================
   MOBILE MENU OVERLAY
   ================================================ */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu a {
  font-size: 24px;
  font-weight: 500;
  color: var(--text-dark);
}

.mobile-menu-close {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 28px;
  cursor: pointer;
  color: var(--text-dark);
  background: none;
  border: none;
}

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .hero-content {
    max-width: 100%;
    text-align: center;
  }

  .hero-subtitle {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .social-proof {
    justify-content: center;
  }

  .hero-visual {
    max-width: 580px;
    margin: 0 auto;
    height: 420px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .integrations-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .integrations-text {
    text-align: center;
  }

  .integrations-grid {
    max-width: 480px;
    margin: 0 auto;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-py: 72px;
    --nav-height: 68px;
  }

  .nav-links,
  .nav-actions {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .hero {
    padding-top: calc(var(--nav-height) + 40px);
  }

  .hero-visual {
    height: 360px;
    transform: scale(0.85);
    transform-origin: top center;
  }

  .mock-chart-card {
    width: 300px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .pricing-card.featured {
    transform: none;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .cta-box {
    padding: 56px 28px;
  }

  .trust-logos {
    gap: 32px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-visual {
    height: 300px;
    transform: scale(0.7);
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }
}
