:root {
--bg: #0b1020;
--bg-elev: #0e1429;
--card: #121939;
--text: #e7e9f3;
--muted: #b9bfd3;
--brand: #6aa8ff;
--brand-2: #9b6dff;
--ok: #2fd37a;
--ring: rgba(106,168,255,.35);
--radius-xl: 20px;
--radius-2xl: 28px;
--shadow-1: 0 10px 30px rgba(0,0,0,.35);
--shadow-2: 0 25px 60px rgba(31,45,92,.45);
--container: 1200px;
--transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
--transition-fast: all 0.2s ease;
}

@media (prefers-color-scheme: light) {
:root {
  --bg: #f7f8fc;
  --bg-elev: #fff;
  --card: #ffffff;
  --text: #151827;
  --muted: #4a5368;
  --ring: rgba(102,127,255,.25);
}
}

* {
box-sizing: border-box;
}

html {
scroll-behavior: smooth;
}

body {
font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif;
color: var(--text);
background: radial-gradient(1200px 600px at 80% -10%, rgba(155,109,255,.25), transparent), 
            radial-gradient(900px 500px at -10% 10%, rgba(106,168,255,.25), transparent), 
            var(--bg);
line-height: 1.6;
overflow-x: hidden;
}

/* Generic layout */
.container {
max-width: var(--container);
margin-inline: auto;
padding: clamp(16px, 2vw, 24px);
}

.section {
padding-block: clamp(64px, 8vw, 120px);
}

.section-header {
max-width: 860px;
margin: 0 auto 32px auto;
text-align: center;
}

.section-header .eyebrow {
letter-spacing: .12em;
text-transform: uppercase;
color: var(--muted);
font-weight: 600;
font-size: 0.85rem;
}

.section-header h2 {
font-size: clamp(28px, 3.2vw, 40px);
margin: .25rem 0 .5rem 0;
font-weight: 800;
background: linear-gradient(90deg, var(--brand), var(--brand-2));
-webkit-background-clip: text;
background-clip: text;
color: transparent;
position: relative;
display: inline-block;
}

.section-header h2::after {
content: '';
position: absolute;
bottom: -8px;
left: 50%;
transform: translateX(-50%);
width: 60px;
height: 3px;
background: linear-gradient(90deg, var(--brand), var(--brand-2));
border-radius: 3px;
}

.section-lead {
color: var(--muted);
font-size: clamp(16px, 2vw, 18px);
line-height: 1.7;
max-width: 700px;
margin: 0 auto;
}

/* Hero Section */
.hero-section {
position: relative;
overflow: hidden;
padding-block: clamp(80px, 12vw, 160px);
background: radial-gradient(ellipse at center, rgba(106,168,255,0.1) 0%, rgba(106,168,255,0.05) 70%);
border-radius: 0 0 var(--radius-2xl) var(--radius-2xl);
margin-bottom: 40px;
}

.hero-inner {
display: grid;
grid-template-columns: 1.2fr .8fr;
align-items: center;
gap: clamp(24px, 4vw, 48px);
position: relative;
z-index: 2;
}

.hero-text {
z-index: 2;
position: relative;
}

.hero-title {
font-weight: 900;
line-height: 1.05;
font-size: clamp(36px, 6vw, 72px);
margin-bottom: 1rem;
letter-spacing: -0.02em;
}

.hero-title .brand {
background: linear-gradient(90deg, var(--brand), var(--brand-2));
-webkit-background-clip: text;
background-clip: text;
color: transparent;
position: relative;
display: inline-block;
padding: 0 4px;
}

.hero-subtitle {
color: var(--muted);
font-size: clamp(16px, 2.2vw, 20px);
margin-top: 12px;
max-width: 600px;
line-height: 1.7;
opacity: 0.95;
}

.hero-cta {
display: flex;
gap: 12px;
margin-top: 24px;
flex-wrap: wrap;
}

/* Enhanced Orb animations with creative effects */
.orb {
position: absolute;
border-radius: 50%;
filter: blur(14px);
opacity: 0.7;
z-index: 1;
transition: transform 0.3s ease, width 0.6s ease, height 0.6s ease;
}

.orb-1 {
width: 250px;
height: 250px;
background: radial-gradient(circle at 50% 50%, var(--brand), transparent 70%);
top: -30%;
left: -20%;
animation: float 18s ease-in-out infinite, pulseOrb 6s ease-in-out infinite alternate;
}

.orb-2 {
width: 340px;
height: 340px;
background: radial-gradient(circle at 70% 70%, var(--brand-2), transparent 70%);
bottom: -15%;
right: -10%;
animation: float 22s ease-in-out infinite reverse, pulseOrb 8s ease-in-out infinite alternate;
}

.orb-3 {
width: 190px;
height: 190px;
background: radial-gradient(circle at 90% 90%, #00ffd0, transparent 70%);
bottom: -25%;
left: 40%;
animation: float 26s ease-in-out infinite, pulseOrb 7s ease-in-out infinite alternate;
}

@keyframes float {
0%, 100% {
  transform: translateY(0) translateX(0);
}
25% {
  transform: translateY(-30px) translateX(40px);
}
50% {
  transform: translateY(20px) translateX(-40px);
}
75% {
  transform: translateY(-20px) translateX(60px);
}
}

@keyframes pulseOrb {
0% { opacity: 0.6; filter: blur(18px); }
100% { opacity: 0.9; filter: blur(14px); }
}

/* Buttons with enhanced hover effects */
.btn {
appearance: none;
border: 0;
border-radius: 999px;
padding: 12px 18px;
font-weight: 600;
line-height: 1;
cursor: pointer;
transition: var(--transition);
display: inline-flex;
align-items: center;
justify-content: center;
position: relative;
overflow: hidden;
z-index: 1;
box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn:focus-visible {
outline: 3px solid var(--brand);
outline-offset: 2px;
}

.btn-primary {
background: linear-gradient(90deg, var(--brand), var(--brand-2));
color: white;
box-shadow: 0 15px 24px rgba(106, 168, 255, 0.3);
transform: translateY(0);
}

.btn-primary:hover {
transform: translateY(-4px) scale(1.03);
box-shadow: 0 20px 30px rgba(106, 168, 255, 0.4);
z-index: 2;
}

.btn-primary::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(90deg, var(--brand-2), var(--brand));
opacity: 0;
transition: opacity 0.3s ease;
z-index: -1;
}

.btn-primary:hover::before {
opacity: 1;
}

.btn-ghost {
background: transparent;
color: var(--text);
border: 1px solid rgba(255,255,255,.15);
box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.btn-ghost:hover {
background: rgba(255,255,255,.07);
transform: translateY(-3px) scale(1.02);
box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.btn.icon {
width: 42px;
height: 42px;
display: grid;
place-items: center;
border-radius: 16px;
background: var(--bg-elev);
box-shadow: var(--shadow-1);
transition: var(--transition);
}

.btn.icon:hover {
transform: scale(1.08) rotate(-5deg);
box-shadow: 0 12px 20px rgba(0,0,0,0.2);
}

/* Features Section */
.features-grid {
display: grid;
grid-template-columns: repeat(12, 1fr);
gap: 30px;
}

.feature-card {
grid-column: span 12;
background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
border: 1px solid rgba(255,255,255,.1);
backdrop-filter: saturate(140%) blur(8px);
border-radius: var(--radius-2xl);
padding: 30px;
box-shadow: var(--shadow-1);
transform: translateY(20px) scale(0.97);
opacity: 0;
transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
position: relative;
overflow: hidden;
z-index: 1;
}

.feature-card::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 3px;
background: linear-gradient(90deg, var(--brand), var(--brand-2));
transform: scaleX(0);
transform-origin: left;
transition: transform 0.5s ease;
z-index: 2;
}

.feature-card:hover::before {
transform: scaleX(1);
}

.feature-card:hover {
transform: translateY(-8px) scale(1.01);
box-shadow: var(--shadow-2);
z-index: 3;
}

.feature-card:hover .feature-icon-wrap {
transform: scale(1.15);
box-shadow: 0 15px 30px rgba(106,168,255,0.4);
}

.feature-icon-wrap {
width: 70px;
height: 70px;
border-radius: 20px;
display: grid;
place-items: center;
background: linear-gradient(135deg, rgba(106,168,255,.2), rgba(155,109,255,.2));
margin-bottom: 24px;
transition: var(--transition);
position: relative;
overflow: hidden;
z-index: 1;
}

.feature-icon-wrap::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(135deg, var(--brand), var(--brand-2));
opacity: 0.15;
transition: all 0.4s ease;
z-index: -1;
}

.feature-card:hover .feature-icon-wrap::before {
opacity: 0.3;
}

.feature-icon {
font-size: 36px;
color: var(--brand);
transition: var(--transition);
z-index: 2;
}

.feature-card:hover .feature-icon {
color: white;
transform: scale(1.2) rotate(-5deg);
}

.feature-title {
margin: .8rem 0 .3rem 0;
font-size: clamp(20px, 2.5vw, 24px);
font-weight: 700;
position: relative;
display: inline-block;
}

.feature-title::after {
content: '';
position: absolute;
bottom: -6px;
left: 0;
width: 100%;
height: 3px;
background: linear-gradient(90deg, var(--brand), var(--brand-2));
border-radius: 3px;
opacity: 0.7;
}

.feature-desc {
color: var(--muted);
line-height: 1.65;
margin-top: 12px;
font-size: clamp(14px, 1.8vw, 16px);
}

@media (min-width: 640px) {
.feature-card {
  grid-column: span 6;
}
}

@media (min-width: 1024px) {
.feature-card {
  grid-column: span 4;
}
}

/* Steps Section */
.steps-grid {
display: grid;
grid-template-columns: repeat(12, 1fr);
gap: 30px;
counter-reset: step;
}

.step-card {
grid-column: span 12;
background: var(--bg-elev);
border: 1px solid rgba(255,255,255,.1);
border-radius: var(--radius-xl);
padding: 30px 30px 30px 80px;
position: relative;
box-shadow: var(--shadow-1);
transform: translateY(20px) scale(0.97);
opacity: 0;
transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
z-index: 1;
}

.step-number {
position: absolute;
left: 30px;
top: 30px;
width: 46px;
height: 46px;
border-radius: 18px;
background: linear-gradient(135deg, var(--brand), var(--brand-2));
display: grid;
place-items: center;
color: white;
font-weight: 700;
font-size: clamp(16px, 2vw, 24px);
box-shadow: 0 8px 15px rgba(106,168,255,.3);
transition: var(--transition) transform 0.3s ease;
z-index: 2;
}

.step-text {
color: var(--muted);
line-height: 1.7;
margin: 0;
font-size: clamp(14px, 1.8vw, 16px);
}

.step-card:hover {
transform: translateY(-8px) scale(1.02);
box-shadow: var(--shadow-2);
z-index: 3;
}

.step-card:hover .step-number {
transform: scale(1.15) rotate(5deg);
box-shadow: 0 12px 20px rgba(106,168,255,.4);
}

@media (min-width: 768px) {
.step-card {
  grid-column: span 6;
}
}

@media (min-width: 1024px) {
.step-card {
  grid-column: span 4;
}
}

/* Reasons Section */
.reasons-grid {
display: grid;
grid-template-columns: repeat(12, 1fr);
gap: 20px;
}

.reason-card {
grid-column: span 12;
display: flex;
gap: 16px;
align-items: flex-start;
background: var(--bg-elev);
border: 1px solid rgba(255,255,255,.1);
border-radius: 18px;
padding: 20px 24px;
box-shadow: var(--shadow-1);
transform: translateY(20px) scale(0.97);
opacity: 0;
transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
position: relative;
overflow: hidden;
z-index: 1;
}

.reason-card:hover {
transform: translateY(-6px) scale(1.01);
box-shadow: var(--shadow-2);
z-index: 3;
}

.reason-card:hover::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 4px;
background: linear-gradient(90deg, var(--brand), var(--brand-2));
transform: scaleX(1);
transform-origin: left;
transition: transform 0.5s ease;
z-index: 2;
}

.reason-card i {
color: var(--ok);
margin-top: 6px;
font-size: clamp(24px, 3vw, 28px);
transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) transform;
z-index: 2;
}

.reason-card:hover i {
transform: scale(1.2) rotate(-5deg);
color: var(--brand);
}

@media (min-width: 768px) {
.reason-card {
  grid-column: span 6;
}
}

@media (min-width: 1024px) {
.reason-card {
  grid-column: span 4;
}
}

/* Start Steps */
.start-steps {
display: grid;
grid-template-columns: repeat(12, 1fr);
gap: 30px;
}

.start-step {
grid-column: span 12;
background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
border: 1px solid rgba(255,255,255,.1);
border-radius: var(--radius-xl);
padding: 30px;
box-shadow: var(--shadow-1);
transform: translateY(20px) scale(0.97);
opacity: 0;
transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
position: relative;
overflow: hidden;
z-index: 1;
}

.start-step::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 3px;
background: linear-gradient(90deg, var(--brand), var(--brand-2));
transform: scaleX(0);
transform-origin: left;
transition: transform 0.5s ease;
z-index: 2;
}

.start-step:hover::before {
transform: scaleX(1);
}

.start-step:hover {
transform: translateY(-8px) scale(1.02);
box-shadow: var(--shadow-2);
z-index: 3;
}

.start-step:hover .step-number {
transform: scale(1.15) rotate(5deg);
box-shadow: 0 12px 20px rgba(106,168,255,.4);
}

@media (min-width: 768px) {
.start-step {
  grid-column: span 6;
}
}

@media (min-width: 1024px) {
.start-step {
  grid-column: span 4;
}
}

/* Testimonials */
.testimonial-viewport {
position: relative;
margin: 50px 0;
padding-bottom: 30px;
}

.testimonial-track {
display: grid;
grid-template-columns: repeat(var(--count,1), minmax(0, 1fr));
gap: 24px;
transition: grid-template-columns 0.3s ease;
}

.testimonial-card {
background: var(--card);
border: 1px solid rgba(255,255,255,.1);
border-radius: var(--radius-2xl);
padding: 30px;
box-shadow: var(--shadow-2);
transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), transform 0.3s ease;
position: relative;
overflow: hidden;
z-index: 1;
min-height: 260px;
display: flex;
flex-direction: column;
justify-content: space-between;
}

.testimonial-card:hover {
transform: translateY(-8px) scale(1.03);
box-shadow: var(--shadow-1);
z-index: 5;
}

.testimonial-card:hover::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 4px;
background: linear-gradient(90deg, var(--brand), var(--brand-2));
transform: scaleX(1);
transform-origin: left;
transition: transform 0.5s ease;
z-index: 2;
}

.testimonial-card blockquote p {
font-size: clamp(16px, 2vw, 18px);
line-height: 1.75;
font-style: italic;
margin: 0;
position: relative;
padding-left: 30px;
color: var(--text);
}

.testimonial-card blockquote p::before {
content: '"';
position: absolute;
left: -20px;
top: -15px;
font-size: clamp(48px, 6vw, 56px);
color: rgba(106, 168, 255, 0.3);
opacity: 0.7;
font-family: Georgia, serif;
}

.testimonial-card figcaption {
margin-top: 24px;
display: flex;
gap: 12px;
align-items: center;
flex-wrap: wrap;
}

.testimonial-card figcaption .role {
background: rgba(106,168,255,0.1);
color: var(--brand);
padding: 4px 12px;
border-radius: 30px;
font-size: clamp(0.7rem, 1vw, 0.9rem);
margin-left: 8px;
}

.carousel-controls {
display: flex;
gap: 12px;
position: absolute;
right: 16px;
top: -56px;
z-index: 3;
}

.carousel-controls .btn.icon {
background: rgba(255,255,255,0.1);
backdrop-filter: blur(10px);
border: 1px solid rgba(255,255,255,0.15);
box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.carousel-controls .btn.icon:hover {
background: rgba(255,255,255,0.18);
transform: scale(1.1) rotate(-3deg);
}

/* Mobile carousel (scroll-snap) */
@media (max-width: 799px) {
.testimonial-viewport {
  overflow: auto;
  scroll-snap-type: x mandatory;
  padding: 20px 0 40px;
}

.testimonial-track {
  display: flex;
  gap: 16px;
  padding: 0 10px;
}

.testimonial-card {
  min-width: 85%;
  scroll-snap-align: center;
}

.carousel-controls {
  top: -40px;
  right: 10px;
}
}

/* CTA Section */
.cta-section {
background: radial-gradient(600px 300px at 20% -10%, rgba(106,168,255,.2), transparent), 
            radial-gradient(600px 300px at 90% 10%, rgba(155,109,255,.2), transparent);
padding-block: clamp(70px, 10vw, 140px);
border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
margin-top: 60px;
position: relative;
overflow: hidden;
}

.cta-section::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(135deg, rgba(106,168,255,0.07) 0%, rgba(155,109,255,0.07) 100%);
z-index: 1;
}

.cta-section .text-center {
text-align: center;
position: relative;
z-index: 2;
}

.cta-section h2 {
font-size: clamp(30px, 4vw, 48px);
margin-bottom: 20px;
font-weight: 900;
background: linear-gradient(90deg, var(--brand), var(--brand-2));
-webkit-background-clip: text;
background-clip: text;
color: transparent;
}

.cta-section p {
color: var(--muted);
max-width: 650px;
margin: 0 auto 30px;
font-size: clamp(18px, 2.2vw, 20px);
line-height: 1.7;
}

/* Reveal on scroll */
.reveal-grid > * {
will-change: transform, opacity;
}

.reveal-in {
transform: none !important;
opacity: 1 !important;
transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Utility */
.text-center {
text-align: center;
}

.skip-link {
position: absolute;
left: -9999px;
top: auto;
width: 1px;
height: 1px;
overflow: hidden;
}

.skip-link:focus {
position: static;
width: auto;
height: auto;
}

/* Decorative grid */
.decorative-grid::before {
content: "";
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-image: 
  linear-gradient(rgba(106, 168, 255, 0.07) 1px, transparent 1px),
  linear-gradient(90deg, rgba(106, 168, 255, 0.07) 1px, transparent 1px);
background-size: 40px 40px;
z-index: -1;
}

/* Enhanced animations */
@keyframes pulse {
0% {
  transform: scale(1);
  box-shadow: 0 0 0 0 rgba(106, 168, 255, 0.4);
}
70% {
  transform: scale(1.03);
  box-shadow: 0 0 0 15px rgba(106, 168, 255, 0);
}
100% {
  transform: scale(1);
  box-shadow: 0 0 0 0 rgba(106, 168, 255, 0);
}
}

.pulse {
animation: pulse 3s infinite;
}

/* Enhanced hover effects */
.feature-card:hover .feature-icon-wrap,
.step-card:hover .step-number,
.reason-card:hover i,
.start-step:hover::before,
.testimonial-card:hover::before {
transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Responsive enhancements */
@media (max-width: 768px) {
.hero-inner {
  grid-template-columns: 1fr;
  text-align: center;
}

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

.section-header h2 {
  font-size: clamp(24px, 4vw, 36px);
}

.section-lead {
  font-size: clamp(15px, 2.5vw, 17px);
}

.section {
  padding-block: clamp(40px, 6vw, 80px);
}

.section-header {
  margin-bottom: 24px;
}

.feature-card,
.step-card,
.reason-card,
.start-step {
  padding: 20px;
}

.feature-icon-wrap {
  width: 56px;
  height: 56px;
}

.feature-icon {
  font-size: 30px;
}

.step-number {
  left: 24px;
  top: 24px;
  width: 40px;
  height: 40px;
  font-size: clamp(16px, 2vw, 20px);
}

.testimonial-card {
  padding: 24px;
}

.testimonial-card blockquote p {
  font-size: 17px;
}

.carousel-controls {
  top: -36px;
  right: 8px;
}
}

/* Enhanced animations for hero section */
.hero-text, 
.hero-visual {
transition: all 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}