:root {
  --brand: #3b82f6;
  --brand-dark: #1d4ed8;
  --brand-light: #dbeafe;
  --accent: #10b981;
  --accent-dark: #059669;
  --surface: #f8fafc;
  --glass: rgba(255,255,255,.7);
}
* { scroll-behavior: smooth; box-sizing: border-box; }
body { font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; color: #1e293b; overflow-x: hidden; }

/* ===== SCROLL PROGRESS BAR ===== */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; z-index: 9999;
  background: linear-gradient(90deg, var(--brand), #8b5cf6, var(--accent));
  width: 0%; transition: width .1s linear;
}

/* ===== ANIMATIONS ===== */
@keyframes float { 0%,100% { transform: translateY(0px); } 50% { transform: translateY(-20px); } }
@keyframes floatSlow { 0%,100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-12px) rotate(3deg); } }
@keyframes pulse { 0%,100% { opacity: .6; transform: scale(1); } 50% { opacity: 1; transform: scale(1.05); } }
@keyframes gradientShift { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideLeft { from { opacity: 0; transform: translateX(60px); } to { opacity: 1; transform: translateX(0); } }
@keyframes slideRight { from { opacity: 0; transform: translateX(-60px); } to { opacity: 1; transform: translateX(0); } }
@keyframes scaleIn { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: scale(1); } }
@keyframes blob1 { 0%,100% { border-radius: 60% 40% 30% 70%/60% 30% 70% 40%; } 50% { border-radius: 30% 60% 70% 40%/50% 60% 30% 60%; } }
@keyframes blob2 { 0%,100% { border-radius: 40% 60% 70% 30%/40% 50% 60% 70%; } 50% { border-radius: 60% 40% 30% 70%/60% 40% 70% 30%; } }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes typewriter { from { width: 0; } to { width: 100%; } }
@keyframes blinkCursor { 0%,100% { border-color: var(--brand); } 50% { border-color: transparent; } }
@keyframes particleFloat {
  0% { transform: translateY(0) translateX(0) scale(1); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-100vh) translateX(100px) scale(0); opacity: 0; }
}

/* Reveal animations */
.reveal { opacity: 0; transform: translateY(40px); transition: all .8s cubic-bezier(.16,1,.3,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-50px); transition: all .8s cubic-bezier(.16,1,.3,1); }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(50px); transition: all .8s cubic-bezier(.16,1,.3,1); }
.reveal-right.visible { opacity: 1; transform: translateX(0); }
.reveal-scale { opacity: 0; transform: scale(.8); transition: all .8s cubic-bezier(.16,1,.3,1); }
.reveal-scale.visible { opacity: 1; transform: scale(1); }

/* ===== PARTICLES ===== */
.particles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1; }
.particle {
  position: absolute; bottom: -20px;
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(59,130,246,.3);
  animation: particleFloat linear infinite;
}

/* ===== NAVBAR ===== */
.navbar-landing {
  background: rgba(255,255,255,0);
  backdrop-filter: blur(0px);
  border-bottom: 1px solid transparent;
  transition: all .4s cubic-bezier(.4,0,.2,1);
  padding: .8rem 0;
}
.navbar-landing.scrolled {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(20px);
  border-bottom-color: rgba(0,0,0,.06);
  box-shadow: 0 4px 30px rgba(0,0,0,.06);
  padding: .5rem 0;
}
.nav-brand-text {
  font-weight: 800; font-size: 1.6rem;
  background: linear-gradient(135deg, var(--brand), #8b5cf6);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  letter-spacing: -.5px;
}
.navbar-landing .nav-link {
  font-weight: 500; color: #475569; position: relative; padding: .5rem .8rem !important;
}
.navbar-landing .nav-link::after {
  content: ''; position: absolute; bottom: 0; left: 50%;
  width: 0; height: 2px; background: var(--brand);
  transition: all .3s; transform: translateX(-50%); border-radius: 2px;
}
.navbar-landing .nav-link:hover::after { width: 60%; }
.navbar-landing .nav-link:hover { color: var(--brand); }

/* ===== HERO ===== */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #4facfe 75%, #00f2fe 100%);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
  overflow: hidden;
}
.hero-overlay { position: absolute; inset: 0; background: rgba(255,255,255,.88); z-index: 1; }
.hero-blob { position: absolute; z-index: 0; opacity: .4; filter: blur(60px); transition: transform .3s ease-out; }
.hero-blob-1 { width: 500px; height: 500px; background: linear-gradient(135deg, #3b82f6, #8b5cf6); top: -10%; right: -5%; animation: blob1 8s ease-in-out infinite; }
.hero-blob-2 { width: 400px; height: 400px; background: linear-gradient(135deg, #10b981, #06b6d4); bottom: -10%; left: -5%; animation: blob2 10s ease-in-out infinite; }
.hero-blob-3 { width: 250px; height: 250px; background: linear-gradient(135deg, #f59e0b, #ef4444); top: 40%; left: 30%; animation: blob1 12s ease-in-out infinite reverse; }
.hero-content { position: relative; z-index: 2; }
.hero-title { font-size: 3.6rem; font-weight: 900; line-height: 1.1; letter-spacing: -.03em; }
.hero-title .gradient-text {
  background: linear-gradient(135deg, var(--brand), #8b5cf6, var(--accent));
  background-size: 200% auto;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  animation: gradientShift 4s ease infinite;
}
.hero-subtitle { font-size: 1.3rem; color: #64748b; line-height: 1.7; max-width: 520px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--glass); backdrop-filter: blur(12px);
  border: 1px solid rgba(59,130,246,.15);
  padding: .5rem 1.2rem; border-radius: 100px;
  font-weight: 600; font-size: .85rem; color: var(--brand-dark);
  animation: float 6s ease-in-out infinite;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: pulse 2s ease infinite; }

/* Typewriter */
.typewriter-wrap { display: inline-block; }
.typewriter-text {
  display: inline-block;
  border-right: 3px solid var(--brand);
  animation: blinkCursor .8s step-end infinite;
  white-space: nowrap; overflow: hidden;
}

/* Floating icons */
.floating-icon {
  position: absolute; z-index: 2; width: 48px; height: 48px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
  background: var(--glass); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.5);
  box-shadow: 0 8px 32px rgba(0,0,0,.08); transition: transform .3s;
}
.floating-icon:hover { transform: scale(1.3) rotate(-10deg) !important; }
.fi-1 { top: 18%; left: 8%; animation: floatSlow 7s ease-in-out infinite; color: #3b82f6; }
.fi-2 { top: 30%; right: 5%; animation: floatSlow 5s ease-in-out infinite 1s; color: #10b981; }
.fi-3 { bottom: 25%; left: 5%; animation: floatSlow 6s ease-in-out infinite 2s; color: #f59e0b; }
.fi-4 { bottom: 15%; right: 12%; animation: floatSlow 8s ease-in-out infinite .5s; color: #8b5cf6; }
.fi-5 { top: 12%; right: 20%; animation: floatSlow 9s ease-in-out infinite 1.5s; color: #ef4444; }

/* Mockup */
.mockup-wrapper { position: relative; perspective: 1200px; animation: slideLeft 1s cubic-bezier(.16,1,.3,1) .3s both; }
.mockup-3d {
  background: linear-gradient(145deg, #1e293b, #334155);
  border-radius: 20px; padding: 12px;
  box-shadow: 0 50px 100px -20px rgba(0,0,0,.25), 0 30px 60px -30px rgba(0,0,0,.3);
  transform: rotateY(-5deg) rotateX(2deg);
  transition: transform .6s cubic-bezier(.16,1,.3,1);
}
.mockup-3d:hover { transform: rotateY(0) rotateX(0) scale(1.02); }
.mockup-toolbar { display: flex; align-items: center; gap: 6px; padding: 8px 12px; background: #1e293b; border-radius: 12px 12px 0 0; }
.mockup-toolbar .dot { width: 10px; height: 10px; border-radius: 50%; }
.mockup-toolbar .url-bar { flex: 1; background: #334155; border-radius: 6px; padding: 3px 10px; margin-left: 8px; font-size: .7rem; color: #94a3b8; font-family: monospace; }
.mockup-screen { background: #fff; border-radius: 0 0 10px 10px; padding: 1rem; min-height: 300px; overflow: hidden; }
.mockup-stat { border-radius: 10px; padding: .75rem; text-align: center; transition: transform .3s; }
.mockup-stat:hover { transform: scale(1.05); }
.mockup-row { display: flex; justify-content: space-between; align-items: center; padding: .5rem 0; border-bottom: 1px solid #f1f5f9; font-size: .8rem; color: #475569; opacity: 0; animation: slideUp .5s ease forwards; }
.mockup-row:nth-child(1) { animation-delay: 1s; }
.mockup-row:nth-child(2) { animation-delay: 1.3s; }
.mockup-row:nth-child(3) { animation-delay: 1.6s; }
.mockup-row:nth-child(4) { animation-delay: 1.9s; }

/* ===== MARQUEE ===== */
.marquee-strip { background: #0f172a; padding: 1rem 0; overflow: hidden; white-space: nowrap; }
.marquee-track { display: inline-flex; animation: marquee 30s linear infinite; }
.marquee-track:hover { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; gap: .5rem; padding: 0 2rem; font-size: .9rem; font-weight: 600; color: #64748b; transition: color .3s; }
.marquee-item:hover { color: #fff; }
.marquee-item i { color: var(--brand); font-size: 1.1rem; }

/* ===== STATS ===== */
.stat-card-new { text-align: center; padding: 2rem 1rem; position: relative; }
.stat-card-new::after { content: ''; position: absolute; right: 0; top: 25%; height: 50%; width: 1px; background: #e2e8f0; }
.stat-card-new:last-child::after { display: none; }
.stat-number-new {
  font-size: 3rem; font-weight: 900;
  background: linear-gradient(135deg, var(--brand), #8b5cf6);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  line-height: 1; margin-bottom: .25rem;
}
.stat-label-new { font-size: .8rem; color: #94a3b8; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }

/* ===== MODULES ===== */
.module-card-new {
  border: 1px solid #e2e8f0; border-radius: 20px; padding: 2rem 1.5rem;
  background: #fff; height: 100%; position: relative; overflow: hidden;
  transition: all .4s cubic-bezier(.16,1,.3,1); cursor: default;
}
.module-card-new::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--brand), #8b5cf6);
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s cubic-bezier(.16,1,.3,1);
}
.module-card-new:hover::before { transform: scaleX(1); }
.module-card-new:hover { transform: translateY(-8px); box-shadow: 0 25px 50px -12px rgba(0,0,0,.12); border-color: transparent; }
.module-icon-new {
  width: 60px; height: 60px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 1.25rem; transition: transform .4s;
}
.module-card-new:hover .module-icon-new { transform: scale(1.1) rotate(-5deg); }
.module-card-new h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: .5rem; }
.module-card-new p { font-size: .88rem; color: #64748b; margin-bottom: 0; line-height: 1.6; }

/* ===== SHOWCASE ===== */
.showcase-section { position: relative; background: #0f172a; overflow: hidden; }
.showcase-grid-bg { position: absolute; inset: 0; background-image: radial-gradient(rgba(59,130,246,.08) 1px, transparent 1px); background-size: 40px 40px; }
.showcase-tabs { display: flex; gap: .5rem; flex-wrap: wrap; justify-content: center; }
.showcase-tab {
  border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.03);
  color: #94a3b8; padding: .6rem 1.2rem; border-radius: 12px;
  font-weight: 600; font-size: .85rem; cursor: pointer;
  transition: all .3s; backdrop-filter: blur(4px);
}
.showcase-tab:hover { background: rgba(255,255,255,.08); color: #e2e8f0; }
.showcase-tab.active {
  background: linear-gradient(135deg, var(--brand), #8b5cf6);
  color: #fff; border-color: transparent;
  box-shadow: 0 4px 20px rgba(59,130,246,.3);
}
.showcase-screen-wrap { position: relative; max-width: 900px; margin: 0 auto; perspective: 1200px; }
.showcase-browser {
  background: #1e293b; border-radius: 16px; overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,.4);
  transform: rotateX(4deg); transition: transform .6s;
}
.showcase-browser:hover { transform: rotateX(0deg); }
.showcase-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #0f172a; border-bottom: 1px solid rgba(255,255,255,.05); }
.showcase-bar .dot { width: 10px; height: 10px; border-radius: 50%; }
.showcase-bar .url { flex: 1; background: rgba(255,255,255,.06); border-radius: 8px; padding: 5px 12px; margin-left: 10px; font-size: .75rem; color: #64748b; font-family: monospace; }
.showcase-content { padding: 1.5rem; min-height: 380px; background: linear-gradient(180deg, #1e293b, #0f172a); position: relative; }
.showcase-panel { display: none; animation: scaleIn .5s ease; }
.showcase-panel.active { display: block; }
.screen-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.screen-header h4 { color: #e2e8f0; font-size: 1rem; font-weight: 700; margin: 0; }
.screen-badge { font-size: .7rem; padding: .25rem .75rem; border-radius: 20px; font-weight: 600; }
.screen-table { width: 100%; font-size: .8rem; }
.screen-table th { color: #64748b; font-weight: 600; padding: .5rem .75rem; border-bottom: 1px solid rgba(255,255,255,.05); text-align: left; }
.screen-table td { color: #cbd5e1; padding: .5rem .75rem; border-bottom: 1px solid rgba(255,255,255,.03); }
.screen-table tr { transition: background .2s; }
.screen-table tr:hover { background: rgba(255,255,255,.03); }
.screen-stat-row { display: flex; gap: 1rem; margin-bottom: 1rem; }
.screen-stat-box {
  flex: 1; border-radius: 12px; padding: 1rem; text-align: center;
  border: 1px solid rgba(255,255,255,.06); background: rgba(255,255,255,.02);
  transition: transform .3s, border-color .3s;
}
.screen-stat-box:hover { transform: translateY(-2px); border-color: rgba(59,130,246,.3); }
.screen-stat-box .num { font-size: 1.5rem; font-weight: 800; }
.screen-stat-box .lbl { font-size: .7rem; color: #64748b; margin-top: 2px; }
.screen-chart { display: flex; align-items: flex-end; gap: 8px; height: 100px; padding-top: 1rem; }
.screen-chart-bar {
  flex: 1; border-radius: 6px 6px 0 0; transition: height .8s cubic-bezier(.16,1,.3,1);
  position: relative; min-height: 8px;
}
.screen-chart-bar::after { content: attr(data-label); position: absolute; bottom: -18px; left: 50%; transform: translateX(-50%); font-size: .6rem; color: #64748b; white-space: nowrap; }
.screen-progress { height: 6px; background: rgba(255,255,255,.06); border-radius: 10px; margin: .5rem 0; overflow: hidden; }
.screen-progress-bar { height: 100%; border-radius: 10px; transition: width 1.2s cubic-bezier(.16,1,.3,1); width: 0; }

/* ===== FEATURES ===== */
.feature-section { background: var(--surface); position: relative; }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
@media (max-width: 768px) { .feature-grid { grid-template-columns: 1fr; } }
.feature-card {
  display: flex; gap: 1rem; padding: 1.25rem; border-radius: 16px;
  background: #fff; border: 1px solid #e2e8f0;
  transition: all .3s cubic-bezier(.16,1,.3,1);
}
.feature-card:hover { border-color: var(--brand-light); box-shadow: 0 8px 25px rgba(59,130,246,.1); transform: translateX(4px); }
.feature-icon {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; transition: transform .3s;
}
.feature-card:hover .feature-icon { transform: rotate(-10deg) scale(1.1); }
.feature-card h4 { font-size: .95rem; font-weight: 700; margin-bottom: .2rem; }
.feature-card p { font-size: .84rem; color: #64748b; margin-bottom: 0; }

/* ===== STEPS ===== */
.step-card { text-align: center; padding: 2rem 1.5rem; position: relative; z-index: 1; }
.step-number {
  width: 72px; height: 72px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; font-weight: 900;
  margin: 0 auto 1.25rem; position: relative; z-index: 1;
  transition: transform .4s, box-shadow .4s;
  box-shadow: 0 4px 15px rgba(0,0,0,.08);
}
.step-number:hover { transform: scale(1.15); box-shadow: 0 8px 25px rgba(0,0,0,.12); }
.step-number::after {
  content: ''; position: absolute; inset: -6px; border-radius: 50%;
  border: 2px dashed; opacity: .3; animation: spin 20s linear infinite;
}
.step-card h4 { font-weight: 700; margin-bottom: .5rem; }
.step-card p { color: #64748b; font-size: .95rem; }

/* ===== SOCIAL PROOF ===== */
.social-proof-strip {
  background: #fff; border-top: 1px solid #e2e8f0; border-bottom: 1px solid #e2e8f0;
}
.proof-item { text-align: center; padding: 1.5rem 1rem; }
.proof-icon { font-size: 2rem; margin-bottom: .5rem; }
.proof-number { font-size: 1.8rem; font-weight: 800; color: #1e293b; }
.proof-label { font-size: .8rem; color: #94a3b8; font-weight: 600; }

/* ===== PRICING ===== */
.pricing-toggle { display: inline-flex; background: #f1f5f9; border-radius: 100px; padding: 4px; }
.pricing-toggle button {
  border: none; background: transparent; padding: .5rem 1.5rem;
  border-radius: 100px; font-weight: 600; font-size: .9rem;
  color: #64748b; transition: all .3s; cursor: pointer;
}
.pricing-toggle button.active { background: #fff; color: var(--brand-dark); box-shadow: 0 2px 10px rgba(0,0,0,.08); }
.save-badge {
  display: inline-block; background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff; font-size: .7rem; padding: .15rem .6rem;
  border-radius: 100px; font-weight: 700; margin-left: .5rem; vertical-align: middle;
}
.price-card-new {
  border: 2px solid #e2e8f0; border-radius: 24px; padding: 2.5rem 2rem;
  background: #fff; transition: all .4s cubic-bezier(.16,1,.3,1);
  height: 100%; position: relative; overflow: hidden;
}
.price-card-new.featured { border-color: var(--brand); box-shadow: 0 25px 60px rgba(59,130,246,.15); }
.price-card-new.featured::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--brand), #8b5cf6, var(--accent));
}
.price-card-new:hover { transform: translateY(-8px); box-shadow: 0 25px 60px rgba(0,0,0,.1); }
.price-amount { font-size: 3rem; font-weight: 900; color: #1e293b; line-height: 1; }
.price-period { color: #94a3b8; font-size: .9rem; font-weight: 500; }
.price-card-new ul { list-style: none; padding: 0; margin: 1.5rem 0; }
.price-card-new ul li { padding: .5rem 0; font-size: .9rem; color: #475569; display: flex; align-items: center; gap: .6rem; }
.price-card-new ul li .check {
  width: 20px; height: 20px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .65rem; flex-shrink: 0;
}

/* ===== COMPARISON TABLE ===== */
.comparison-table {
  width: 100%; border-collapse: separate; border-spacing: 0;
  border-radius: 16px; overflow: hidden; background: #fff;
  border: 2px solid #e2e8f0; font-size: .9rem;
}
.comparison-table thead th {
  background: #f8fafc; padding: 1rem 1.2rem; font-weight: 700;
  color: #1e293b; text-align: center; border-bottom: 2px solid #e2e8f0;
}
.comparison-table thead th:first-child { text-align: left; }
.comparison-table thead th.featured-col {
  background: var(--brand); color: #fff;
}
.comparison-table tbody td {
  padding: .75rem 1.2rem; text-align: center; border-bottom: 1px solid #f1f5f9;
  color: #475569;
}
.comparison-table tbody td:first-child { text-align: left; font-weight: 600; color: #1e293b; }
.comparison-table tbody td.featured-col { background: rgba(59,130,246,.04); }
.comparison-table tbody tr:last-child td { border-bottom: none; }
.comparison-table tbody tr:hover td { background: #f8fafc; }
.comparison-table tbody tr:hover td.featured-col { background: rgba(59,130,246,.08); }

/* ===== FAQ ===== */
.faq-item {
  border: 2px solid #e2e8f0 !important; border-radius: 16px !important;
  margin-bottom: 1rem; overflow: hidden; background: #fff;
  transition: all .3s ease;
}
.faq-item:hover { border-color: var(--brand) !important; box-shadow: 0 8px 30px rgba(59,130,246,.08); }
.faq-item .accordion-button {
  font-weight: 600; font-size: .95rem; color: #1e293b;
  padding: 1.2rem 1.5rem; background: #fff; border: none;
  box-shadow: none !important;
}
.faq-item .accordion-button:not(.collapsed) { color: var(--brand); background: rgba(59,130,246,.04); }
.faq-item .accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%233b82f6'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  width: 1.1rem; height: 1.1rem;
}
.faq-item .accordion-body {
  padding: 0 1.5rem 1.2rem; color: #64748b; line-height: 1.7; font-size: .9rem;
}
.faq-icon { color: var(--brand); font-size: 1.1rem; }

/* ===== CTA / CONTACT ===== */
.cta-section { position: relative; overflow: hidden; background: #0f172a; }
.cta-grid { position: absolute; inset: 0; background-image: radial-gradient(rgba(59,130,246,.15) 1px, transparent 1px); background-size: 30px 30px; z-index: 0; }
.cta-glow { position: absolute; width: 500px; height: 500px; border-radius: 50%; filter: blur(100px); z-index: 0; }
.cta-glow-1 { background: rgba(59,130,246,.2); top: -20%; right: -10%; }
.cta-glow-2 { background: rgba(139,92,246,.15); bottom: -20%; left: -10%; }

/* Contact form inputs */
.cta-section .form-control {
  background: rgba(255,255,255,.06) !important;
  border: 1px solid rgba(255,255,255,.15) !important;
  color: #fff !important;
  border-radius: 12px; padding: .7rem 1rem;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.cta-section .form-control::placeholder { color: rgba(255,255,255,.4) !important; }
.cta-section .form-control:focus {
  background: rgba(255,255,255,.1) !important;
  border-color: var(--brand) !important;
  box-shadow: 0 0 0 3px rgba(59,130,246,.2) !important;
  color: #fff !important;
}
.cta-section .form-control:hover {
  border-color: rgba(255,255,255,.3) !important;
  background: rgba(255,255,255,.08) !important;
}

/* ===== FOOTER ===== */
.footer { background: #020617; color: #94a3b8; }
.footer a { color: #cbd5e1; text-decoration: none; transition: color .2s; }
.footer a:hover { color: var(--brand); }

/* ===== BUTTONS ===== */
.btn-brand {
  background: linear-gradient(135deg, var(--brand), #7c3aed);
  color: #fff; border: none; padding: .8rem 2rem; border-radius: 14px;
  font-weight: 600; font-size: 1rem;
  transition: all .3s cubic-bezier(.16,1,.3,1);
  box-shadow: 0 4px 15px rgba(59,130,246,.3);
  position: relative; overflow: hidden;
}
.btn-brand::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, #7c3aed, var(--brand)); opacity: 0; transition: opacity .3s; }
.btn-brand:hover::before { opacity: 1; }
.btn-brand:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(59,130,246,.4); color: #fff; }
.btn-brand span { position: relative; z-index: 1; }
.btn-outline-brand {
  border: 2px solid rgba(59,130,246,.3); color: var(--brand);
  padding: .75rem 2rem; border-radius: 14px; font-weight: 600; font-size: 1rem;
  background: rgba(59,130,246,.04); backdrop-filter: blur(4px); transition: all .3s;
}
.btn-outline-brand:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.btn-brand-dark {
  background: #fff; color: #0f172a; border: none; padding: .8rem 2rem;
  border-radius: 14px; font-weight: 700; font-size: 1rem; transition: all .3s;
}
.btn-brand-dark:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(255,255,255,.2); }

.section-title { font-size: 2.5rem; font-weight: 900; letter-spacing: -.03em; line-height: 1.2; }
.section-subtitle { font-size: 1.1rem; color: #64748b; max-width: 560px; margin: 0 auto; line-height: 1.7; }
.stagger-children > * { transition-delay: calc(var(--i, 0) * .1s); }
.tilt-card { transition: transform .2s ease; }

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed; bottom: 2rem; right: 2rem; width: 48px; height: 48px;
  border-radius: 50%; background: linear-gradient(135deg, var(--brand), #8b5cf6);
  color: #fff; border: none; font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(59,130,246,.3);
  opacity: 0; transform: translateY(20px);
  transition: all .3s; cursor: pointer; z-index: 999;
}
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(59,130,246,.5); }

/* ===== FLASH MESSAGES ===== */
.flash-message {
  position: fixed; top: 80px; left: 50%; transform: translateX(-50%);
  z-index: 10000; padding: .75rem 2rem; border-radius: 14px;
  font-weight: 600; font-size: .9rem; animation: slideUp .5s ease;
  box-shadow: 0 10px 30px rgba(0,0,0,.2);
}
.flash-success { background: #22c55e; color: #fff; }
.flash-error { background: #ef4444; color: #fff; }

@media (max-width: 992px) {
  .hero-title { font-size: 2.6rem; }
  .floating-icon { display: none; }
  .mockup-3d { transform: none; }
  .showcase-content { min-height: auto; }
}
@media (max-width: 576px) {
  .hero-title { font-size: 2rem; }
  .section-title { font-size: 1.8rem; }
  .stat-number-new { font-size: 2.2rem; }
  .price-amount { font-size: 2.4rem; }
}
