/* -----------------------------------------
   Coaching SaaS Landing Page - Style Sheet
   Author: Antigravity AI
   Aesthetics: Sleek Dark Mode, Glassmorphism, Premium Glowing Accents, Custom Animations
-------------------------------------------- */

/* --- Import Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* --- Design Tokens / CSS Variables --- */
:root {
    --font-primary: 'Plus Jakarta Sans', sans-serif;
    
    /* Colors */
    --color-bg-dark: #f8fafc; /* Changed to light background */
    --color-bg-card: #ffffff;
    --color-border: rgba(0, 0, 0, 0.08);
    --color-border-glow: rgba(79, 70, 229, 0.3);
    
    --color-primary: #4f46e5; /* Indigo */
    --color-primary-glow: rgba(79, 70, 229, 0.15);
    --color-secondary: #0ea5e9; /* Light Blue */
    --color-secondary-glow: rgba(14, 165, 233, 0.15);
    
    --color-accent: #8b5cf6; /* Purple */
    --color-success: #10b981; /* Emerald */
    --color-warning: #f59e0b; /* Amber */
    
    /* Text Colors */
    --text-primary: #0f172a;
    --text-secondary: #334155;
    --text-muted: #64748b;
    
    /* Gradients */
    --grad-primary: linear-gradient(135deg, #4f46e5 0%, #0ea5e9 100%);
    --grad-purple: linear-gradient(135deg, #8b5cf6 0%, #4f46e5 100%);
    --grad-dark: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%); /* Changed to light */
    --grad-glow: radial-gradient(circle, rgba(79, 70, 229, 0.15) 0%, rgba(248, 250, 252, 0) 70%);

    /* Transitions & Shadows */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-premium: 0 20px 40px -15px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 30px rgba(79, 70, 229, 0.25);
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
}

/* --- Base & Reset --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    background-color: var(--color-bg-dark);
    background-image: var(--grad-dark);
    color: var(--text-primary);
    font-family: var(--font-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--color-bg-dark);
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary);
}

/* --- Typography & Elements --- */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

p {
    color: var(--text-secondary);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

/* --- Utility Classes --- */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
}

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

.text-gradient-purple {
    background: var(--grad-purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--grad-primary);
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.5), 0 0 15px rgba(6, 182, 212, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border-color: var(--color-border);
}

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

.btn-glow {
    position: relative;
    overflow: hidden;
}

.btn-glow::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 70%);
    transform: scale(0);
    transition: transform 0.5s ease-out;
    pointer-events: none;
}

.btn-glow:hover::after {
    transform: scale(1);
}

/* Background Gradients & Glows */
.glow-blur {
    position: absolute;
    width: 300px;
    height: 300px;
    max-width: 100vw;
    background: var(--color-primary-glow);
    filter: blur(120px);
    border-radius: var(--radius-full);
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.glow-cyan {
    background: var(--color-secondary-glow);
}

/* --- Header / Navigation --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--color-border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    background: rgba(255, 255, 255, 0.7);
    transition: var(--transition-smooth);
}

header.scrolled {
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.85);
    border-bottom-color: rgba(99, 102, 241, 0.15);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    transition: var(--transition-smooth);
}

header.scrolled .nav-container {
    height: 64px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--grad-primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #fff;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.nav-link:hover {
    color: var(--text-primary);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Language Switcher */
.lang-switch-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.lang-switch-btn:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.15);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    padding: 160px 0 100px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 24px;
}

.hero-tag span {
    width: 6px;
    height: 6px;
    background-color: var(--color-primary);
    border-radius: var(--radius-full);
    box-shadow: 0 0 10px var(--color-primary);
    animation: pulse 1.5s infinite;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 580px;
}

.hero-btns {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    border-top: 1px solid var(--color-border);
    padding-top: 32px;
}

.hero-stat-item h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.hero-stat-item p {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

/* Hero Mockups (Pure CSS Dashboard and App) */
.hero-visual {
    position: relative;
    width: 100%;
    height: 480px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.dashboard-mockup {
    width: 85%;
    height: 380px;
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-premium), 0 0 40px rgba(99, 102, 241, 0.15);
    overflow: hidden;
    position: absolute;
    left: 0;
    top: 20px;
    display: flex;
    flex-direction: column;
    z-index: 2;
    transition: transform 0.5s ease, border-color 0.5s ease;
    animation: floatWeb 8s ease-in-out infinite;
}

.dashboard-mockup:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: var(--shadow-premium), 0 0 50px rgba(99, 102, 241, 0.3);
}

.window-header {
    height: 36px;
    background: #f1f5f9;
    border-bottom: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    padding: 0 16px;
    gap: 6px;
}

.window-dot {
    width: 8px;
    height: 8px;
    border-radius: var(--radius-full);
}
.dot-red { background: #ef4444; }
.dot-yellow { background: #eab308; }
.dot-green { background: #22c55e; }

.window-body {
    flex: 1;
    display: flex;
    background: #ffffff;
}

.mockup-sidebar {
    width: 56px;
    border-right: 1px solid var(--color-border);
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 0;
    gap: 20px;
}

.mockup-sidebar-item {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.8rem;
    transition: var(--transition-fast);
}

.mockup-sidebar-item.active {
    background: var(--color-primary-glow);
    color: var(--color-primary);
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.mockup-content {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    overflow: hidden;
}

.mockup-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mockup-title {
    font-size: 0.95rem;
    font-weight: 700;
}

.mockup-user {
    width: 24px;
    height: 24px;
    border-radius: var(--radius-full);
    background: var(--grad-primary);
}

.mockup-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.mockup-stat-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 12px;
}

.mockup-stat-val {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.mockup-stat-lbl {
    font-size: 0.65rem;
    color: var(--text-muted);
}

.mockup-chart-container {
    flex: 1;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 12px;
    position: relative;
}

.mockup-chart-bars {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    height: 90px;
    width: 100%;
}

.mockup-chart-bar {
    width: 14%;
    background: var(--color-primary);
    border-radius: 4px 4px 0 0;
    position: relative;
    opacity: 0.8;
}

.mockup-chart-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--grad-primary);
    border-radius: inherit;
}

.mockup-chart-bar:nth-child(even) {
    background: var(--color-secondary);
}
.mockup-chart-bar:nth-child(even)::before {
    background: linear-gradient(180deg, var(--color-secondary), transparent);
}

.mockup-chart-bar:nth-child(1) { height: 40%; }
.mockup-chart-bar:nth-child(2) { height: 65%; }
.mockup-chart-bar:nth-child(3) { height: 50%; }
.mockup-chart-bar:nth-child(4) { height: 85%; }
.mockup-chart-bar:nth-child(5) { height: 70%; }
.mockup-chart-bar:nth-child(6) { height: 95%; }

/* Mobile App Mockup Overlay */
.mobile-mockup {
    width: 180px;
    height: 360px;
    background: #ffffff;
    border: 6px solid #e2e8f0;
    border-radius: 28px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8), 0 0 35px rgba(6, 182, 212, 0.25);
    position: absolute;
    right: 15px;
    bottom: -10px;
    z-index: 3;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.5s ease, border-color 0.5s ease;
    animation: floatMobile 6s ease-in-out infinite alternate;
    animation-delay: 1s;
}

.mobile-mockup:hover {
    transform: translateY(-8px) rotate(1deg) scale(1.03);
    border-color: rgba(6, 182, 212, 0.5);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8), 0 0 45px rgba(6, 182, 212, 0.5);
}

.mobile-notch {
    width: 80px;
    height: 14px;
    background: #e2e8f0;
    border-radius: 0 0 10px 10px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.mobile-screen {
    flex: 1;
    padding: 14px 10px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.6rem;
}

.mobile-logo {
    font-weight: 700;
    color: var(--text-primary);
}

.mobile-profile {
    width: 16px;
    height: 16px;
    border-radius: var(--radius-full);
    background: var(--color-secondary);
}

.mobile-welcome-card {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(6, 182, 212, 0.15));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-welcome-txt {
    font-size: 0.5rem;
    color: var(--text-muted);
}

.mobile-welcome-title {
    font-size: 0.7rem;
    font-weight: 700;
}

.mobile-card-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-card-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-card-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mobile-card-title {
    font-size: 0.6rem;
    font-weight: 600;
}

.mobile-card-sub {
    font-size: 0.5rem;
    color: var(--text-muted);
}

.mobile-card-badge {
    font-size: 0.5rem;
    padding: 2px 6px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: var(--color-success);
    border-radius: 4px;
}

.mobile-card-badge.red {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.mobile-navbar {
    height: 32px;
    border-top: 1px solid var(--color-border);
    background: #f8fafc;
    margin: auto -10px -14px -10px;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.mobile-nav-item {
    font-size: 0.65rem;
    color: var(--text-muted);
}

.mobile-nav-item.active {
    color: var(--color-primary);
}

/* Floating Elements around Visual */
.floating-circle-1 {
    position: absolute;
    width: 60px;
    height: 60px;
    background: var(--grad-primary);
    border-radius: var(--radius-full);
    top: 40px;
    right: 20%;
    opacity: 0.3;
    filter: blur(10px);
    animation: floatWeb 6s ease-in-out infinite;
}

.floating-circle-2 {
    position: absolute;
    width: 100px;
    height: 100px;
    background: var(--grad-purple);
    border-radius: var(--radius-full);
    bottom: 20px;
    left: 20%;
    opacity: 0.2;
    filter: blur(15px);
    animation: floatWeb 8s ease-in-out infinite alternate;
}

/* --- Interactive Setup Wizard Section --- */
.setup-section {
    padding: 100px 0;
    position: relative;
    background: linear-gradient(180deg, #f8fafc 0%, #e0e7ff 100%);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
    position: relative;
    z-index: 10;
}

.section-subtitle {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
}

.wizard-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    max-width: 900px;
    margin: 0 auto;
    padding: 40px;
    position: relative;
    z-index: 10;
    box-shadow: var(--shadow-premium);
}

.wizard-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
}

.wizard-steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.05);
    z-index: 1;
}

.wizard-progress-bar {
    position: absolute;
    top: 20px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--grad-primary);
    z-index: 2;
    transition: width 0.4s ease;
}

.wizard-step {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.step-num {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: #141129;
    border: 2px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-muted);
    transition: var(--transition-smooth);
}

.wizard-step.active .step-num {
    border-color: var(--color-primary);
    background: var(--color-primary-glow);
    color: #ffffff;
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.4);
}

.wizard-step.completed .step-num {
    border-color: var(--color-success);
    background: rgba(16, 185, 129, 0.1);
    color: var(--color-success);
}

.step-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.wizard-step.active .step-label {
    color: var(--text-primary);
}

.wizard-step.completed .step-label {
    color: var(--color-success);
}

.wizard-form-container {
    min-height: 220px;
}

.wizard-form-step {
    display: none;
    animation: fadeSlideIn 0.4s ease forwards;
}

.wizard-form-step.active {
    display: block;
}

/* Step 1 Template Grid */
.template-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

.template-card {
    border: 2px solid var(--color-border);
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius-md);
    padding: 24px;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.template-card:hover {
    border-color: rgba(99, 102, 241, 0.4);
    background: rgba(99, 102, 241, 0.03);
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.template-card.selected {
    border-color: var(--color-primary);
    background: var(--color-primary-glow);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.15);
}

.template-icon {
    width: 54px;
    height: 54px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--color-primary);
    transition: var(--transition-smooth);
}

.template-card.selected .template-icon {
    background: #ffffff;
    color: var(--color-primary);
}

.template-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
}

.template-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Step 2 Inputs */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

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

.form-group-full {
    grid-column: 1 / -1;
}

.form-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.form-input {
    background: rgba(255, 255, 255, 0.85);
    border: 1.5px solid #c7d2fe;
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    color: #1e293b;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.form-input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
    background: #ffffff;
}

.form-input::placeholder {
    color: #94a3b8;
}

/* Custom Domain Input */
.domain-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.domain-suffix {
    position: absolute;
    right: 16px;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.9rem;
    pointer-events: none;
}

.domain-input-wrapper .form-input {
    padding-right: 180px;
    width: 100%;
}

/* Step 3: Generating Screen */
.wizard-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
    gap: 24px;
}

.spinner-ring {
    position: relative;
    width: 80px;
    height: 80px;
    border: 3px solid rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-full);
    border-top-color: var(--color-primary);
    border-right-color: var(--color-secondary);
    animation: rotate 1s linear infinite;
}

.loading-steps-list {
    text-align: left;
    max-width: 320px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.loading-step-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.loading-step-item.active {
    color: var(--text-primary);
    font-weight: 600;
}

.loading-step-item.active i {
    color: var(--color-primary);
    animation: pulse 1s infinite;
}

.loading-step-item.done {
    color: var(--color-success);
}

.loading-step-item.done i {
    color: var(--color-success);
}

/* Simulated Result Portal Preview */
.demo-result-portal {
    background: #0a0814;
    border: 1px solid rgba(99, 102, 241, 0.25);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-glow);
    overflow: hidden;
    animation: scaleUp 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.portal-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--color-border);
}

.portal-logo {
    font-weight: 800;
    font-size: 1.15rem;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.portal-logo-icon {
    width: 28px;
    height: 28px;
    background: var(--color-success);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    font-size: 0.8rem;
}

.portal-nav-links {
    display: flex;
    gap: 20px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.portal-main {
    padding: 24px;
}

.portal-hero {
    text-align: center;
    padding: 32px 16px;
    background: linear-gradient(180deg, rgba(16, 185, 129, 0.05) 0%, transparent 100%);
    border-radius: 12px;
    margin-bottom: 24px;
    border: 1px solid rgba(16, 185, 129, 0.1);
}

.portal-hero h3 {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.portal-hero p {
    font-size: 0.95rem;
}

.portal-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.portal-feat-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 16px;
    text-align: center;
}

.portal-feat-card i {
    font-size: 1.25rem;
    color: var(--color-success);
    margin-bottom: 10px;
}

.portal-feat-card h5 {
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.portal-feat-card p {
    font-size: 0.75rem;
}

.portal-success-header {
    text-align: center;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    padding: 16px;
    border-radius: var(--radius-sm);
    color: var(--color-success);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-weight: 600;
}

/* Wizard Buttons */
.wizard-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 32px;
    border-top: 1px solid var(--color-border);
    padding-top: 24px;
}

.features-section {
    padding: 100px 0;
    position: relative;
    background: #ffffff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 20%, rgba(99, 102, 241, 0.05) 0%, transparent 60%);
    opacity: 0;
    transition: var(--transition-smooth);
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 35px rgba(99, 102, 241, 0.15);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: 28px;
    transition: var(--transition-smooth);
}

.feature-card:hover .feature-icon-wrapper {
    background: var(--color-primary);
    color: #ffffff;
    box-shadow: 0 0 20px var(--color-primary);
    border-color: transparent;
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.feature-card p {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Feature Showcase Details */
.showcase-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 100px;
}

.showcase-content h3 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.showcase-list {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.showcase-list-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.showcase-list-item i {
    color: var(--color-secondary);
    font-size: 1.1rem;
    margin-top: 4px;
}

.showcase-list-item h5 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.showcase-list-item p {
    font-size: 0.9rem;
}

/* Showcase CSS App mockup */
.showcase-visual {
    position: relative;
    width: 100%;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.showcase-app-mockup {
    width: 250px;
    height: 380px;
    background: #ffffff;
    border: 10px solid #e2e8f0;
    border-radius: 40px;
    box-shadow: var(--shadow-premium), 0 0 40px rgba(6, 182, 212, 0.15);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: floatMobile 7s ease-in-out infinite alternate;
}

.showcase-app-screen {
    flex: 1;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.showcase-app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.showcase-app-avatar {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-full);
    background: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
}

.showcase-app-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 12px;
}

.showcase-app-card-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.showcase-app-card-price {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--color-secondary);
    margin-top: 4px;
}

.showcase-app-pay-btn {
    width: 100%;
    background: var(--grad-primary);
    color: #fff;
    border: none;
    padding: 10px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    margin-top: 8px;
    transition: var(--transition-fast);
}

.showcase-app-pay-btn:hover {
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.4);
}

/* --- How it Works Section --- */
.process-section {
    padding: 100px 0;
    position: relative;
    background: #e0f2fe;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    position: relative;
    z-index: 10;
}

.process-grid::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 10%;
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, rgba(99, 102, 241, 0.2) 0%, rgba(6, 182, 212, 0.2) 50%, rgba(99, 102, 241, 0.2) 100%);
    z-index: 1;
}

.process-card {
    text-align: center;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.process-number {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-full);
    background: #ffffff;
    border: 2px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--color-primary);
    box-shadow: var(--shadow-premium);
    margin-bottom: 24px;
    transition: var(--transition-smooth);
}

.process-card:hover .process-number {
    transform: scale(1.1);
    border-color: var(--color-primary);
    color: #ffffff;
    background: var(--color-primary);
    box-shadow: 0 0 20px var(--color-primary);
}

.process-card h4 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

/* --- Pricing Section --- */
.pricing-section {
    padding: 100px 0;
    position: relative;
    background: #ffffff;
}

.pricing-toggle-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 50px;
}

.pricing-toggle-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.pricing-toggle-label.active {
    color: var(--text-primary);
}

.pricing-toggle {
    position: relative;
    width: 60px;
    height: 32px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition-fast);
}

.pricing-toggle-dot {
    position: absolute;
    top: 4px;
    left: 4px;
    width: 24px;
    height: 24px;
    background: var(--grad-primary);
    border-radius: var(--radius-full);
    transition: transform var(--transition-fast);
}

.pricing-toggle.yearly .pricing-toggle-dot {
    transform: translateX(28px);
}

.discount-badge {
    padding: 2px 8px;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--color-success);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: var(--radius-full);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: stretch;
}

.pricing-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 48px 36px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition-smooth);
}

.pricing-card.popular {
    border-color: var(--color-primary);
    background: rgba(99, 102, 241, 0.05);
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.8), 0 0 30px rgba(99, 102, 241, 0.15);
    transform: translateY(-10px);
}

.pricing-card.popular:hover {
    transform: translateY(-15px) scale(1.01);
}

.pricing-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.15);
}

.popular-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    padding: 4px 12px;
    background: var(--color-primary);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    box-shadow: 0 4px 10px rgba(99, 102, 241, 0.3);
}

.plan-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.plan-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 28px;
}

.plan-price-container {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 32px;
}

.plan-currency {
    font-size: 1.5rem;
    font-weight: 700;
}

.plan-price {
    font-size: 3rem;
    font-weight: 800;
}

.plan-period {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.plan-features-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
    flex: 1;
}

.plan-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
}

.plan-feature-item i {
    font-size: 1.1rem;
}

.plan-feature-item .icon-check {
    color: var(--color-success);
}

.plan-feature-item .icon-cross {
    color: var(--text-muted);
    opacity: 0.5;
}

.plan-feature-item.disabled {
    color: var(--text-muted);
    text-decoration: line-through;
}

.pricing-card .btn {
    width: 100%;
}

/* --- Testimonials Section --- */
.testimonials-section {
    padding: 100px 0;
    position: relative;
    background: #fdf4ff;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 36px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: var(--transition-smooth);
}

.testimonial-card:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: rgba(99, 102, 241, 0.2);
}

.rating-stars {
    color: var(--color-warning);
    display: flex;
    gap: 4px;
}

.testimonial-text {
    font-size: 0.95rem;
    line-height: 1.7;
    font-style: italic;
}

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 16px;
    border-top: 1px solid var(--color-border);
    padding-top: 20px;
    margin-top: auto;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    background: var(--color-primary);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.testimonial-info h5 {
    font-size: 0.95rem;
    font-weight: 700;
}

.testimonial-info p {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* --- FAQ Section --- */
.faq-section {
    padding: 100px 0;
    position: relative;
    background: #ffffff;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-header {
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.faq-header:hover {
    background: rgba(255, 255, 255, 0.02);
}

.faq-question {
    font-size: 1.05rem;
    font-weight: 600;
}

.faq-icon {
    font-size: 1.1rem;
    transition: transform var(--transition-smooth);
    color: var(--text-muted);
}

.faq-item.open {
    border-color: rgba(99, 102, 241, 0.25);
    background: rgba(99, 102, 241, 0.05);
}

.faq-item.open .faq-icon {
    transform: rotate(180deg);
    color: var(--color-primary);
}

.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-content {
    padding: 0 24px 24px 24px;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* --- Call To Action (CTA) Section --- */
.cta-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.cta-card {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(6, 182, 212, 0.15) 100%);
    border: 1px solid rgba(99, 102, 241, 0.25);
    border-radius: var(--radius-lg);
    padding: 80px 40px;
    text-align: center;
    position: relative;
    z-index: 10;
    overflow: hidden;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.7);
}

.cta-card::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, rgba(0,0,0,0) 70%);
    top: -300px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 0;
}

.cta-card-content {
    position: relative;
    z-index: 1;
    max-width: 650px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.cta-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 36px;
}

/* --- Footer --- */
footer {
    border-top: 1px solid var(--color-border);
    padding: 80px 0 30px 0;
    background: #1e293b;
    color: #f8fafc;
    --text-primary: #ffffff;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --color-border: rgba(255, 255, 255, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo-block {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo-block p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.social-btn {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.social-btn:hover {
    background: var(--color-primary);
    color: #ffffff;
    border-color: transparent;
    transform: translateY(-2px);
}

.footer-column h5 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.footer-links a:hover {
    color: var(--text-primary);
    padding-left: 4px;
}

.footer-newsletter h5 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-newsletter p {
    font-size: 0.85rem;
    margin-bottom: 20px;
}

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

.newsletter-form .form-input {
    flex: 1;
    padding: 10px 14px;
    font-size: 0.85rem;
}

.newsletter-form .btn {
    padding: 10px 20px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--color-border);
    padding-top: 30px;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-bottom-links a:hover {
    color: var(--text-secondary);
}

/* Toast Message Notification Styling */
/* Setup Wizard Enhancements */
.theme-select-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.theme-card {
    background: rgba(248, 250, 252, 0.8);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 18px;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
}

.theme-card:hover {
    border-color: var(--color-primary-glow);
    transform: translateY(-2px);
}

.theme-card.selected {
    border-color: var(--color-primary);
    background: rgba(79, 70, 229, 0.05);
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.15);
}

.theme-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.theme-preview-badge {
    display: inline-block;
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-primary);
    background: rgba(79, 70, 229, 0.1);
    border-radius: var(--radius-sm);
}

.theme-demo-btn {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-primary);
    background: rgba(79, 70, 229, 0.08);
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: var(--transition-fast);
}

.theme-demo-btn:hover {
    background: var(--color-primary);
    color: #ffffff;
}

.theme-card h4 {
    font-size: 1rem;
    margin-bottom: 6px;
}

.theme-card p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.domain-prefix {
    padding: 12px 14px;
    background: #e2e8f0;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid var(--color-border);
    border-right: none;
    border-radius: var(--radius-md) 0 0 var(--radius-md);
    display: flex;
    align-items: center;
}

.domain-input-wrapper input {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

.slug-feedback-msg {
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 6px;
    min-height: 20px;
}

.slug-feedback-msg.available {
    color: var(--color-success);
}

.slug-feedback-msg.taken {
    color: #ef4444;
}

.slug-feedback-msg.checking {
    color: var(--color-secondary);
}

.wizard-pkg-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.wizard-pkg-card {
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 16px;
    cursor: pointer;
    transition: var(--transition-smooth);
    background: #ffffff;
}

.wizard-pkg-card:hover {
    border-color: var(--color-primary);
}

.wizard-pkg-card.selected {
    border-color: var(--color-primary);
    background: rgba(79, 70, 229, 0.05);
}

.wizard-pkg-card h5 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.wizard-pkg-card .pkg-price {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-primary);
}

.payment-methods-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.payment-method-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    cursor: pointer;
    background: #ffffff;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.payment-method-card:hover, .payment-method-card.selected {
    border-color: var(--color-primary);
    background: rgba(79, 70, 229, 0.05);
}

.credentials-card {
    background: #f8fafc;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
}

.cred-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.cred-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cred-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
}

.cred-value {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    word-break: break-all;
}

.cred-value.link {
    color: var(--color-primary);
    text-decoration: underline;
}

.toast-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 10000;
}

.toast {
    background: rgba(10, 8, 20, 0.95);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: var(--radius-md);
    padding: 16px 24px;
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    animation: slideInLeft 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.toast i {
    color: var(--color-success);
}

/* --- PREMIUM SCROLL REVEAL ANIMATIONS --- */
.animate-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.animate-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-left.active {
    opacity: 1;
    transform: translateX(0);
}

.animate-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* Staggered Delay Helpers */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

/* --- KEYFRAME ANIMATIONS --- */
@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(99, 102, 241, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(99, 102, 241, 0); }
}

@keyframes floatWeb {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(0.5deg); }
}

@keyframes floatMobile {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(1.2deg); }
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

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

@keyframes scaleUp {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes slideInLeft {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-btns {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-visual {
        height: 400px;
    }
    
    .hero-visual {
        height: 340px;
        width: 100%;
        overflow: hidden;
    }
    
    .dashboard-mockup {
        width: 85%;
        left: 2%;
        animation: floatWeb 6s ease-in-out infinite;
    }
    
    .mobile-mockup {
        width: 140px;
        height: 280px;
        right: 2%;
        animation: floatMobile 5s ease-in-out infinite alternate;
    }
    
    .features-grid, .pricing-grid, .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pricing-card.popular {
        transform: none;
    }
    
    .pricing-card.popular:hover {
        transform: translateY(-5px);
    }
    
    .showcase-block {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .process-grid::before {
        display: none;
    }
    
    .process-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    z-index: 9998;
}

.nav-overlay.active {
    display: block;
}

.glow-blur {
    max-width: 100vw;
    overflow: hidden;
}

@media (max-width: 768px) {
    header {
        padding: 10px 0;
        background: rgba(255, 255, 255, 0.95) !important;
    }
    
    .nav-container {
        position: relative;
        height: 60px !important;
        width: 100%;
        padding: 0 16px !important;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: #0f172a;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
        flex-direction: column;
        padding: 30px 24px;
        gap: 20px;
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        align-items: flex-start;
        z-index: 9999;
        overflow-y: auto;
        display: flex !important;
    }
    
    .nav-menu.open {
        left: 0;
    }

    .mobile-only-action {
        display: block !important;
        width: 100%;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu .nav-link {
        display: block;
        padding: 12px 16px;
        font-size: 1.05rem;
        font-weight: 600;
        border-radius: 12px;
        color: #f8fafc;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        width: 100%;
    }

    .nav-menu .nav-link:hover {
        background: rgba(99, 102, 241, 0.2);
        color: #818cf8;
    }
    
    .nav-actions {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .nav-actions .btn {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        background: transparent;
        border: none;
        color: var(--text-primary);
        font-size: 1.5rem;
        width: 36px;
        height: 36px;
        cursor: pointer;
        padding: 0;
        margin: 0;
        flex-shrink: 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .features-grid, .pricing-grid, .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .template-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
    
    .form-grid {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }

    .form-group-full {
        grid-column: span 1 !important;
    }

    .domain-input-wrapper {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .domain-prefix {
        width: 100% !important;
        border-radius: 8px 8px 0 0 !important;
        border-right: 1px solid var(--color-border) !important;
        border-bottom: none !important;
        padding: 8px 12px !important;
        font-size: 0.8rem !important;
        text-align: center !important;
        word-break: break-all;
    }

    .domain-input-wrapper input {
        border-radius: 0 0 8px 8px !important;
        width: 100% !important;
    }

    .theme-select-grid, .wizard-pkg-grid, .payment-methods-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
    
    .wizard-card {
        padding: 16px 12px !important;
        border-radius: 16px !important;
    }
    
    .wizard-steps {
        display: flex !important;
        overflow-x: auto !important;
        padding: 8px 4px 14px 4px !important;
        gap: 8px !important;
        justify-content: flex-start !important;
        -webkit-overflow-scrolling: touch;
    }

    .wizard-steps::-webkit-scrollbar {
        display: none;
    }
    
    .wizard-step {
        flex: 0 0 auto !important;
        min-width: 80px !important;
    }

    .wizard-step .step-num {
        width: 32px !important;
        height: 32px !important;
        font-size: 0.8rem !important;
    }

    .wizard-step .step-label {
        font-size: 0.7rem !important;
        white-space: nowrap !important;
    }

    .wizard-footer {
        flex-direction: column-reverse !alignment;
        gap: 12px !important;
        margin-top: 20px !important;
        padding-top: 16px !important;
    }

    .wizard-footer button, .wizard-footer .btn {
        width: 100% !important;
        justify-content: center !important;
    }

    .cred-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .portal-features-grid {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}
