/* ===================================================================
 * How It Works Page - Eventa
 * Advanced UI/UX with Section Transitions & 3D Effects
 * ------------------------------------------------------------------- */

/* =================================
   VARIABLES & ROOT SETTINGS
   ================================= */
:root {
    --primary-gradient: linear-gradient(135deg, #6366f1 0%, #ec4899 100%);
    --secondary-gradient: linear-gradient(135deg, #8b5cf6 0%, #f472b6 100%);
    --accent-gradient: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);

    --text-dark: #111827;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 30px 80px rgba(0, 0, 0, 0.2);

    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 20px;
    --border-radius-xl: 30px;

    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =================================
   BASE STYLES
   ================================= */
.how-it-works-page {
    font-family: 'Inter', sans-serif;
    background: var(--bg-light);
    overflow-x: hidden;
}

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

/* =================================
   MORPHING BLOBS (Background)
   ================================= */
.morphing-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: morph 20s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.blob-1 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    top: -250px;
    left: -250px;
}

.blob-2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #ec4899, #f472b6);
    top: 50%;
    right: -200px;
    animation-delay: 7s;
}

.blob-3 {
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, #06b6d4, #3b82f6);
    bottom: -300px;
    left: 50%;
    animation-delay: 14s;
}

.blob-cta-1 {
    width: 700px;
    height: 700px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    top: -350px;
    left: -350px;
}

.blob-cta-2 {
    width: 700px;
    height: 700px;
    background: linear-gradient(135deg, #ec4899, #f472b6);
    bottom: -350px;
    right: -350px;
    animation-delay: 10s;
}

@keyframes morph {
    0%, 100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        border-radius: 40% 60% 70% 30% / 40% 70% 30% 60%;
        transform: translate(50px, 50px) rotate(90deg);
    }
    50% {
        border-radius: 70% 30% 50% 50% / 30% 50% 50% 70%;
        transform: translate(-50px, 50px) rotate(180deg);
    }
    75% {
        border-radius: 50% 50% 30% 70% / 50% 30% 70% 50%;
        transform: translate(50px, -50px) rotate(270deg);
    }
}

/* =================================
   SECTION TRANSITIONS
   ================================= */
.section-transition {
    position: relative;
    padding: var(--spacing-xl) 0;
    overflow: hidden;
}

.section-transition::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #6366f1, transparent);
    opacity: 0;
    animation: slideIn 1s ease-out forwards;
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* =================================
   SCROLL REVEAL ANIMATIONS
   ================================= */
.scroll-reveal-3d {
    opacity: 0;
    transform: translateY(50px) rotateX(10deg);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.scroll-reveal-3d.revealed {
    opacity: 1;
    transform: translateY(0) rotateX(0);
}

/* =================================
   3D TILT EFFECT
   ================================= */
.tilt-3d {
    transform-style: preserve-3d;
    transition: all 0.3s ease;
}

.tilt-3d:hover {
    transform: perspective(1000px) rotateX(5deg) rotateY(5deg) scale(1.02);
}

/* =================================
   HERO SECTION
   ================================= */
.hiw-hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: var(--spacing-xl) 0;
}

.hiw-hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

/* Breadcrumb */
.breadcrumb-nav {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    box-shadow: var(--shadow-sm);
}

.breadcrumb-link {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color var(--transition-fast);
}

.breadcrumb-link:hover {
    color: #6366f1;
}

.breadcrumb-separator {
    color: var(--text-light);
    font-size: 0.75rem;
}

.breadcrumb-current {
    color: #6366f1;
    font-weight: 600;
    font-size: 0.875rem;
}

/* Hero Title */
.hiw-hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-outline {
    color: transparent;
    -webkit-text-stroke: 2px var(--text-dark);
    text-stroke: 2px var(--text-dark);
}

.hiw-hero-description {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

/* Hero Stats */
.hiw-hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.stat-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-gradient);
    border-radius: 50%;
    font-size: 1.5rem;
    color: white;
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 600;
}

/* Scroll Indicator */
.scroll-indicator {
    margin-top: 4rem;
    animation: float 3s ease-in-out infinite;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--text-light);
    border-radius: 15px;
    margin: 0 auto 0.5rem;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--text-light);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        opacity: 1;
        top: 8px;
    }
    100% {
        opacity: 0;
        top: 24px;
    }
}

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

.scroll-indicator p {
    font-size: 0.875rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* =================================
   STEP SECTIONS
   ================================= */
.hiw-step {
    padding: var(--spacing-xl) 0;
    position: relative;
}

.step-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    align-items: center;
}

.step-grid.reverse {
    direction: rtl;
}

.step-grid.reverse > * {
    direction: ltr;
}

/* Step Content */
.step-content {
    padding: 2rem 0;
}

.step-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 50px;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.badge-number {
    font-size: 1.5rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.badge-separator {
    color: var(--text-light);
}

.badge-total {
    color: var(--text-light);
    font-size: 1rem;
}

.step-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.step-description {
    font-size: 1.125rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 2rem;
}

/* Step Features List */
.step-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: var(--border-radius-md);
    transition: all var(--transition-fast);
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateX(10px);
    box-shadow: var(--shadow-sm);
}

.feature-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-gradient);
    border-radius: 50%;
    color: white;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.feature-item span {
    color: var(--text-dark);
    line-height: 1.5;
}

/* Step Actions */
.step-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* =================================
   DEVICE MOCKUPS
   ================================= */
.step-visual {
    position: relative;
}

.visual-container {
    position: relative;
    perspective: 1000px;
}

.device-mockup {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.device-frame {
    background: #1f2937;
    border-radius: 30px;
    padding: 1rem;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
    position: relative;
}

.device-frame::before {
    content: '';
    position: absolute;
    top: 0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 20px;
    background: #000;
    border-radius: 10px;
    z-index: 10;
}

.device-screen {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 9 / 16;
}

/* Signup Form Demo */
.signup-form-demo {
    padding: 2rem 1.5rem;
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.form-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.form-header p {
    color: var(--text-light);
    font-size: 0.875rem;
}

.form-field {
    margin-bottom: 1rem;
}

.input-placeholder {
    height: 48px;
    background: #f3f4f6;
    border-radius: var(--border-radius-md);
    animation: pulse 2s ease-in-out infinite;
}

.form-button {
    height: 48px;
    border-radius: var(--border-radius-md);
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.social-login {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
}

.social-btn {
    width: 48px;
    height: 48px;
    background: #f3f4f6;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.social-btn:nth-child(2) {
    animation-delay: 0.2s;
}

.social-btn:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Dashboard Demo */
.dashboard-demo {
    display: flex;
    height: 100%;
}

.dashboard-sidebar {
    width: 80px;
    background: #f9fafb;
    padding: 1rem 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sidebar-item {
    height: 40px;
    background: #e5e7eb;
    border-radius: var(--border-radius-sm);
    animation: pulse 2s ease-in-out infinite;
}

.sidebar-item.active {
    background: linear-gradient(135deg, #6366f1 0%, #ec4899 100%);
}

.sidebar-item:nth-child(2) {
    animation-delay: 0.2s;
}

.sidebar-item:nth-child(3) {
    animation-delay: 0.4s;
}

.sidebar-item:nth-child(4) {
    animation-delay: 0.6s;
}

.dashboard-content {
    flex: 1;
    padding: 1.5rem;
}

.content-header {
    height: 60px;
    background: #f3f4f6;
    border-radius: var(--border-radius-md);
    margin-bottom: 1.5rem;
    animation: pulse 2s ease-in-out infinite;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.content-card {
    height: 120px;
    background: #f3f4f6;
    border-radius: var(--border-radius-md);
    animation: pulse 2s ease-in-out infinite;
}

.content-card:nth-child(2) {
    animation-delay: 0.3s;
}

.content-card:nth-child(3) {
    animation-delay: 0.6s;
    grid-column: 1 / -1;
}

/* QR Showcase */
.qr-showcase {
    padding: 3rem 2rem;
    background: white;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-lg);
}

.qr-code-display {
    position: relative;
    margin-bottom: 2rem;
}

.animated-qr {
    width: 300px;
    height: 300px;
    margin: 0 auto;
    background: white;
    border-radius: var(--border-radius-lg);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 2rem;
    position: relative;
    animation: rotate3d 10s ease-in-out infinite;
}

@keyframes rotate3d {
    0%, 100% {
        transform: perspective(1000px) rotateY(0deg);
    }
    50% {
        transform: perspective(1000px) rotateY(10deg);
    }
}

.qr-module {
    background: linear-gradient(135deg, #6366f1 0%, #ec4899 100%);
    border-radius: var(--border-radius-sm);
    animation: qrPulse 2s ease-in-out infinite;
}

.qr-module:nth-child(2) {
    animation-delay: 0.2s;
}

.qr-module:nth-child(3) {
    animation-delay: 0.4s;
}

.qr-module:nth-child(4) {
    animation-delay: 0.6s;
}

@keyframes qrPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(0.95);
    }
}

.qr-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 900;
    color: #6366f1;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.qr-scan-line {
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #6366f1, transparent);
    animation: scan 3s ease-in-out infinite;
}

@keyframes scan {
    0%, 100% {
        top: 10%;
        opacity: 0;
    }
    50% {
        top: 90%;
        opacity: 1;
    }
}

.qr-customization {
    display: flex;
    justify-content: center;
}

.color-palette {
    display: flex;
    gap: 0.75rem;
}

.color-option {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition-fast);
    border: 3px solid transparent;
}

.color-option:nth-child(1) {
    background: linear-gradient(135deg, #6366f1 0%, #ec4899 100%);
}

.color-option:nth-child(2) {
    background: linear-gradient(135deg, #10b981 0%, #3b82f6 100%);
}

.color-option:nth-child(3) {
    background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
}

.color-option:nth-child(4) {
    background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
}

.color-option:hover,
.color-option.active {
    transform: scale(1.2);
    border-color: #6366f1;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
}

/* Analytics Mockup */
.analytics-mockup {
    background: white;
    border-radius: var(--border-radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
}

.analytics-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.header-title {
    width: 200px;
    height: 30px;
    background: #f3f4f6;
    border-radius: var(--border-radius-sm);
    animation: pulse 2s ease-in-out infinite;
}

.header-actions {
    display: flex;
    gap: 0.5rem;
}

.action-btn {
    width: 100px;
    height: 36px;
    background: #f3f4f6;
    border-radius: var(--border-radius-sm);
    animation: pulse 2s ease-in-out infinite;
}

.action-btn:nth-child(2) {
    animation-delay: 0.2s;
}

.analytics-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.metric-card {
    padding: 1.5rem;
    background: #f9fafb;
    border-radius: var(--border-radius-md);
}

.metric-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #6366f1 0%, #ec4899 100%);
    border-radius: 50%;
    margin-bottom: 1rem;
    animation: pulse 2s ease-in-out infinite;
}

.metric-card:nth-child(2) .metric-icon {
    animation-delay: 0.3s;
}

.metric-card:nth-child(3) .metric-icon {
    animation-delay: 0.6s;
}

.metric-value {
    height: 36px;
    background: #e5e7eb;
    border-radius: var(--border-radius-sm);
    margin-bottom: 0.5rem;
    animation: pulse 2s ease-in-out infinite;
}

.metric-label {
    height: 16px;
    background: #e5e7eb;
    border-radius: var(--border-radius-sm);
    width: 60%;
    animation: pulse 2s ease-in-out infinite;
}

.analytics-chart {
    height: 200px;
    background: #f9fafb;
    border-radius: var(--border-radius-md);
    padding: 1.5rem;
    display: flex;
    align-items: flex-end;
}

.chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 1rem;
    width: 100%;
    height: 100%;
}

.bar {
    flex: 1;
    background: linear-gradient(180deg, #6366f1 0%, #ec4899 100%);
    border-radius: var(--border-radius-sm) var(--border-radius-sm) 0 0;
    animation: barGrow 1.5s ease-out forwards;
    transform-origin: bottom;
}

@keyframes barGrow {
    from {
        transform: scaleY(0);
    }
    to {
        transform: scaleY(1);
    }
}

.bar:nth-child(2) {
    animation-delay: 0.2s;
}

.bar:nth-child(3) {
    animation-delay: 0.4s;
}

.bar:nth-child(4) {
    animation-delay: 0.6s;
}

.bar:nth-child(5) {
    animation-delay: 0.8s;
}

/* Floating Badges */
.floating-elements {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.float-badge {
    position: absolute;
    padding: 0.75rem 1.5rem;
    background: white;
    border-radius: 50px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    animation: float 4s ease-in-out infinite;
}

.float-badge i {
    color: #6366f1;
}

.badge-1 {
    top: 10%;
    right: -10%;
}

.badge-2 {
    top: 50%;
    left: -15%;
    animation-delay: 1s;
}

.badge-3 {
    bottom: 15%;
    right: -5%;
    animation-delay: 2s;
}

/* =================================
   INTERACTIVE TIMELINE
   ================================= */
.timeline-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(180deg, var(--bg-light) 0%, white 100%);
}

.section-header {
    margin-bottom: 4rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.interactive-timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 4rem 0;
}

.timeline-line {
    position: absolute;
    top: 50%;
    left: 10%;
    right: 10%;
    height: 4px;
    background: linear-gradient(90deg, #e5e7eb 0%, #6366f1 50%, #ec4899 100%);
    transform: translateY(-50%);
    z-index: 0;
}

.timeline-line::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #6366f1 0%, #ec4899 100%);
    animation: timelineProgress 3s ease-in-out forwards;
}

@keyframes timelineProgress {
    to {
        width: 100%;
    }
}

.timeline-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.timeline-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.timeline-item:nth-child(1) {
    animation-delay: 0.2s;
}

.timeline-item:nth-child(2) {
    animation-delay: 0.4s;
}

.timeline-item:nth-child(3) {
    animation-delay: 0.6s;
}

.timeline-item:nth-child(4) {
    animation-delay: 0.8s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.timeline-dot {
    width: 80px;
    height: 80px;
    background: white;
    border: 4px solid #e5e7eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #6366f1;
    margin-bottom: 1rem;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 2;
}

.timeline-item:hover .timeline-dot {
    transform: scale(1.1) rotate(10deg);
    border-color: #6366f1;
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.3);
}

.timeline-item[data-step="1"]:hover .timeline-dot {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
}

.timeline-item[data-step="2"]:hover .timeline-dot {
    background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
    color: white;
}

.timeline-item[data-step="3"]:hover .timeline-dot {
    background: linear-gradient(135deg, #ec4899 0%, #f472b6 100%);
    color: white;
}

.timeline-item[data-step="4"]:hover .timeline-dot {
    background: linear-gradient(135deg, #f472b6 0%, #fb923c 100%);
    color: white;
}

.timeline-content h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.timeline-content p {
    font-size: 0.875rem;
    color: var(--text-light);
}

/* =================================
   VIDEO SECTION
   ================================= */
.video-section {
    padding: var(--spacing-xl) 0;
}

.video-container {
    max-width: 900px;
    margin: 0 auto;
}

.video-wrapper {
    position: relative;
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.video-placeholder {
    position: relative;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.video-placeholder:hover {
    transform: scale(1.02);
}

.video-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1920 1080"><rect fill="%23111827" width="1920" height="1080"/><circle cx="960" cy="540" r="300" fill="%236366f1" opacity="0.1"/><circle cx="1200" cy="400" r="200" fill="%23ec4899" opacity="0.1"/></svg>');
    background-size: cover;
    opacity: 0.5;
}

.play-button {
    position: relative;
    z-index: 2;
    width: 100px;
    height: 100px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #6366f1;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transition: all var(--transition-normal);
}

.video-placeholder:hover .play-button {
    transform: scale(1.1);
    background: linear-gradient(135deg, #6366f1 0%, #ec4899 100%);
    color: white;
}

.play-button i {
    margin-left: 5px;
}

.video-overlay {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    z-index: 2;
    color: white;
}

.video-overlay h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.video-overlay p {
    font-size: 1rem;
    opacity: 0.8;
}

/* =================================
   FAQ SECTION
   ================================= */
.faq-section {
    padding: var(--spacing-xl) 0;
    background: white;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: all var(--transition-normal);
}

.faq-item:hover {
    border-color: #6366f1;
    box-shadow: var(--shadow-md);
}

.faq-question {
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
    transition: all var(--transition-fast);
}

.faq-question:hover {
    background: rgba(99, 102, 241, 0.05);
}

.faq-question h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
    flex: 1;
    padding-right: 1rem;
}

.faq-question i {
    font-size: 1.25rem;
    color: #6366f1;
    transition: all var(--transition-fast);
}

.faq-answer {
    padding: 0 2rem 1.5rem 2rem;
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
}

/* =================================
   CTA SECTION
   ================================= */
.hiw-cta {
    padding: var(--spacing-xl) 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, white 0%, #f9fafb 100%);
}

.cta-content {
    position: relative;
    z-index: 1;
    padding: 4rem 2rem;
}

.cta-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.cta-description {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    line-height: 1.6;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.cta-trust {
    margin-top: 3rem;
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    box-shadow: var(--shadow-sm);
}

.trust-badge i {
    font-size: 1.25rem;
    color: #10b981;
}

.trust-badge span {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* =================================
   BUTTONS
   ================================= */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--border-radius-md);
    transition: all var(--transition-fast);
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

.btn-ghost {
    background: transparent;
    color: var(--text-dark);
    border: 2px solid #e5e7eb;
}

.btn-ghost:hover {
    border-color: #6366f1;
    color: #6366f1;
    background: rgba(99, 102, 241, 0.05);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-xl {
    padding: 1.25rem 2.5rem;
    font-size: 1.25rem;
}

/* =================================
   RESPONSIVE DESIGN
   ================================= */
@media (max-width: 1024px) {
    .step-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .step-grid.reverse {
        direction: ltr;
    }

    .step-visual {
        order: -1;
    }

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

    .timeline-line {
        display: none;
    }
}

@media (max-width: 768px) {
    :root {
        --spacing-xl: 3rem;
    }

    .container-custom {
        padding: 0 1rem;
    }

    .hiw-hero-stats {
        grid-template-columns: 1fr;
    }

    .hiw-hero-title {
        font-size: 2rem;
    }

    .step-title {
        font-size: 1.75rem;
    }

    .device-mockup {
        max-width: 100%;
    }

    .timeline-items {
        grid-template-columns: 1fr;
    }

    .timeline-item {
        flex-direction: row;
        text-align: left;
    }

    .timeline-dot {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-right: 1rem;
        margin-bottom: 0;
    }

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

    .faq-item {
        min-width: auto;
    }

    .cta-actions {
        flex-direction: column;
    }

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

    .trust-badges {
        flex-direction: column;
        align-items: center;
    }

    .float-badge {
        display: none;
    }
}

@media (max-width: 480px) {
    .hiw-hero-title {
        font-size: 1.75rem;
    }

    .step-actions {
        flex-direction: column;
    }

    .step-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

/* =================================
   UTILITY CLASSES
   ================================= */
.text-center {
    text-align: center;
}

.gradient-accent {
    background: var(--primary-gradient);
}

[x-cloak] {
    display: none !important;
}

/* =================================
   PRINT STYLES
   ================================= */
@media print {
    .morphing-blob,
    .scroll-indicator,
    .floating-elements,
    .cta-section,
    nav,
    footer {
        display: none;
    }
}
