/*
 * ═══════════════════════════════════════════════════════════
 * EventNexus — Main Stylesheet
 * Design System: Indigo + Violet + Amber | Inter + Outfit
 * ═══════════════════════════════════════════════════════════
 */

/* ─── CSS Custom Properties (Design Tokens) ─────────────── */
:root {
    /* Primary Palette */
    --primary: #4F46E5;
    --primary-light: #818CF8;
    --primary-dark: #3730A3;
    --primary-50: #EEF2FF;
    --primary-100: #E0E7FF;
    --primary-200: #C7D2FE;
    --primary-500: #6366F1;
    --primary-600: #4F46E5;
    --primary-700: #4338CA;
    --primary-800: #3730A3;
    --primary-900: #312E81;

    /* Secondary (Violet) */
    --secondary: #7C3AED;
    --secondary-light: #A78BFA;
    --secondary-dark: #5B21B6;

    /* Accent (Amber) */
    --accent: #F59E0B;
    --accent-light: #FCD34D;
    --accent-dark: #D97706;

    /* Success / Warning / Danger */
    --success: #10B981;
    --success-light: #D1FAE5;
    --warning: #F59E0B;
    --warning-light: #FEF3C7;
    --danger: #EF4444;
    --danger-light: #FEE2E2;
    --info: #3B82F6;
    --info-light: #DBEAFE;

    /* Neutrals */
    --white: #FFFFFF;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;
    --black: #000000;

    /* Dark Theme Colors */
    --dark-bg: #0F0F1A;
    --dark-card: #1A1A2E;
    --dark-card-hover: #222240;
    --dark-border: #2D2D4A;
    --dark-text: #E2E8F0;
    --dark-text-muted: #94A3B8;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
    --gradient-hero: linear-gradient(135deg, #0F0F1A 0%, #1E1B4B 40%, #312E81 100%);
    --gradient-card: linear-gradient(135deg, rgba(79, 70, 229, 0.08) 0%, rgba(124, 58, 237, 0.08) 100%);
    --gradient-accent: linear-gradient(135deg, #F59E0B 0%, #EF4444 100%);
    --gradient-success: linear-gradient(135deg, #10B981 0%, #059669 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);

    /* Typography */
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Outfit', 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    /* Font Sizes */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 3.75rem;

    /* Spacing */
    --section-py: 5rem;
    --section-py-lg: 7rem;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0,0,0,0.25);
    --shadow-glow: 0 0 20px rgba(79, 70, 229, 0.3);
    --shadow-glow-lg: 0 0 40px rgba(79, 70, 229, 0.4);

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;
    --transition-spring: 400ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* ─── Base Reset & Typography ────────────────────────────── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--gray-900);
}

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-3xl); }
h4 { font-size: var(--text-2xl); }
h5 { font-size: var(--text-xl); }
h6 { font-size: var(--text-lg); }

p {
    color: var(--gray-600);
    margin-bottom: 1rem;
}

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

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
}

/* ─── Selection ──────────────────────────────────────────── */
::selection {
    background: var(--primary-200);
    color: var(--primary-900);
}

/* ─── Scrollbar ──────────────────────────────────────────── */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--gray-100);
}
::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--gray-400);
}

/* ─── Navbar ─────────────────────────────────────────────── */
.navbar-glass {
    background: rgba(15, 15, 26, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 0.75rem 0;
    transition: all var(--transition-base);
    z-index: 1050;
}

.navbar-glass.scrolled {
    background: rgba(15, 15, 26, 0.95);
    padding: 0.5rem 0;
    box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.brand-icon {
    width: 38px;
    height: 38px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--white);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.4);
}

.brand-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: var(--text-xl);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-glass .nav-link {
    color: rgba(255,255,255,0.75);
    font-weight: 500;
    font-size: var(--text-sm);
    padding: 0.5rem 1rem !important;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    position: relative;
}

.navbar-glass .nav-link:hover,
.navbar-glass .nav-link.active {
    color: var(--white);
    background: rgba(255,255,255,0.08);
}

.navbar-glass .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--primary-light);
    border-radius: 2px;
}

.dropdown-menu-glass {
    background: rgba(15, 15, 26, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    padding: 0.5rem;
    box-shadow: var(--shadow-2xl);
}

.dropdown-menu-glass .dropdown-item {
    color: rgba(255,255,255,0.75);
    border-radius: var(--radius-md);
    padding: 0.5rem 1rem;
    font-size: var(--text-sm);
    transition: all var(--transition-fast);
}

.dropdown-menu-glass .dropdown-item:hover {
    background: rgba(255,255,255,0.1);
    color: var(--white);
}

.dropdown-menu-glass .dropdown-divider {
    border-color: rgba(255,255,255,0.1);
}

.dropdown-menu-glass .dropdown-header {
    color: rgba(255,255,255,0.5);
}

.nav-avatar {
    border-radius: var(--radius-full);
    border: 2px solid rgba(255,255,255,0.2);
    object-fit: cover;
}

.btn-nav-user {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--white);
    border-radius: var(--radius-full);
    padding: 0.25rem 0.75rem 0.25rem 0.25rem;
    font-size: var(--text-sm);
}

.btn-nav-user:hover {
    background: rgba(255,255,255,0.15);
    color: var(--white);
}

.navbar-spacer {
    height: 72px;
}

.navbar-toggler {
    border: 1px solid rgba(255,255,255,0.2);
    padding: 0.4rem 0.6rem;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ─── Buttons ────────────────────────────────────────────── */
.btn {
    font-family: var(--font-body);
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn-primary-gradient {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.35);
}

.btn-primary-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.5);
    color: var(--white);
}

.btn-primary-gradient:active {
    transform: translateY(0);
}

.btn-outline-primary-custom {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline-primary-custom:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.35);
}

.btn-accent {
    background: var(--gradient-accent);
    color: var(--white);
    border: none;
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
    color: var(--white);
}

.btn-ghost {
    background: transparent;
    color: var(--gray-600);
    border: none;
}

.btn-ghost:hover {
    background: var(--gray-100);
    color: var(--gray-900);
}

.btn-lg {
    padding: 0.75rem 2rem;
    font-size: var(--text-lg);
}

.btn-sm {
    padding: 0.375rem 1rem;
    font-size: var(--text-sm);
}

.btn-icon {
    width: 40px;
    height: 40px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
}

/* Button Ripple Effect */
.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 10%, transparent 10.01%);
    transform: scale(10);
    opacity: 0;
    transition: transform 0.5s, opacity 0.5s;
}

.btn:active::after {
    transform: scale(0);
    opacity: 1;
    transition: 0s;
}

/* ─── Cards ──────────────────────────────────────────────── */
.card-glass {
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-xl);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-md);
}

.card-glass:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.card-hover-lift {
    transition: all var(--transition-base);
}

.card-hover-lift:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.card-gradient {
    background: var(--gradient-card);
    border: 1px solid var(--primary-100);
    border-radius: var(--radius-xl);
}

/* ─── Section Styles ─────────────────────────────────────── */
.section {
    padding: var(--section-py) 0;
}

.page-header {
    background: var(--gradient-hero);
    padding: 6rem 0 4rem;
    position: relative;
    overflow: hidden;
    color: var(--white);
    text-align: center;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at center, rgba(79, 70, 229, 0.2) 0%, transparent 60%);
    pointer-events: none;
}

.page-header h1 {
    color: var(--white);
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.page-header p {
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    z-index: 2;
}

.page-header .breadcrumb {
    justify-content: center;
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    display: inline-flex;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-header .breadcrumb-item, 
.page-header .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8) !important;
}

.page-header .breadcrumb-item.active {
    color: var(--white) !important;
    font-weight: 600;
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

.section-lg {
    padding: var(--section-py-lg) 0;
}

.section-dark {
    background: var(--gradient-hero);
    color: var(--white);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
    color: var(--white);
}

.section-dark p {
    color: rgba(255,255,255,0.7);
}

.section-gray {
    background: var(--gray-50);
}

.section-heading {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-heading .badge-label {
    display: inline-block;
    padding: 0.375rem 1rem;
    background: var(--primary-50);
    color: var(--primary);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 600;
    margin-bottom: 1rem;
    border: 1px solid var(--primary-100);
}

.section-dark .section-heading .badge-label {
    background: rgba(79, 70, 229, 0.2);
    color: var(--primary-light);
    border-color: rgba(79, 70, 229, 0.3);
}

.section-heading h2 {
    margin-bottom: 1rem;
}

.section-heading p {
    max-width: 600px;
    margin: 0 auto;
    font-size: var(--text-lg);
}

/* ─── Hero Section ───────────────────────────────────────── */
.hero-section {
    background: var(--gradient-hero);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 5rem;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(79, 70, 229, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(124, 58, 237, 0.1) 0%, transparent 50%);
    animation: heroGlow 15s ease-in-out infinite alternate;
}

@keyframes heroGlow {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-5%, 5%); }
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: rgba(79, 70, 229, 0.15);
    border: 1px solid rgba(79, 70, 229, 0.3);
    border-radius: var(--radius-full);
    color: var(--primary-light);
    font-size: var(--text-sm);
    font-weight: 500;
    margin-bottom: 1.5rem;
    animation: fadeInDown 0.6s ease;
}

.hero-badge i {
    animation: pulse 2s infinite;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease;
}

.hero-title .gradient-text {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent-light) 50%, var(--primary-light) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

.hero-desc {
    font-size: var(--text-lg);
    color: rgba(255,255,255,0.7);
    max-width: 540px;
    margin-bottom: 2rem;
    line-height: 1.7;
    animation: fadeInUp 1s ease;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 1.2s ease;
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 3rem;
    animation: fadeInUp 1.4s ease;
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    font-family: var(--font-heading);
    font-size: var(--text-3xl);
    font-weight: 800;
    color: var(--white);
    display: block;
}

.hero-stat-label {
    font-size: var(--text-sm);
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Hero floating card */
.hero-visual {
    position: relative;
    z-index: 2;
    animation: floatAnimation 6s ease-in-out infinite;
}

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

.hero-card-preview {
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-2xl);
    padding: 2rem;
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
}

/* ─── Feature Cards ──────────────────────────────────────── */
.feature-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-xl);
    padding: 2rem;
    text-align: center;
    transition: all var(--transition-base);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-200);
}

.feature-card .feature-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.3);
    transition: transform var(--transition-spring);
}

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

.feature-card h5 {
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.feature-card p {
    font-size: var(--text-sm);
    color: var(--gray-500);
    margin-bottom: 0;
}

/* ─── How It Works ───────────────────────────────────────── */
.step-card {
    text-align: center;
    position: relative;
    padding: 2rem 1rem;
}

.step-number {
    width: 56px;
    height: 56px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 800;
    color: var(--white);
    margin: 0 auto 1.25rem;
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.3);
    position: relative;
    z-index: 2;
}

.step-card::after {
    content: '';
    position: absolute;
    top: 3.5rem;
    right: -50%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), transparent);
    z-index: 1;
}

.step-card:last-child::after {
    display: none;
}

/* ─── Stats Counter ──────────────────────────────────────── */
.stats-section {
    background: var(--gradient-hero);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: var(--text-5xl);
    font-weight: 800;
    color: var(--white);
    display: block;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: rgba(255,255,255,0.6);
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
}

/* ─── Pricing Cards ──────────────────────────────────────── */
.pricing-card {
    background: var(--white);
    border: 2px solid var(--gray-100);
    border-radius: var(--radius-2xl);
    padding: 2.5rem;
    text-align: center;
    transition: all var(--transition-base);
    height: 100%;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
}

.pricing-card.featured {
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: var(--white);
    padding: 0.375rem 1.5rem;
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.4);
}

.pricing-price {
    font-family: var(--font-heading);
    font-size: var(--text-5xl);
    font-weight: 800;
    color: var(--gray-900);
}

.pricing-price .currency {
    font-size: var(--text-2xl);
    vertical-align: super;
}

.pricing-price .period {
    font-size: var(--text-base);
    color: var(--gray-500);
    font-weight: 400;
}

.pricing-features {
    list-style: none;
    padding: 0;
    text-align: left;
    margin: 2rem 0;
}

.pricing-features li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--gray-600);
    font-size: var(--text-sm);
}

.pricing-features li i {
    color: var(--success);
    font-size: 1.1rem;
}

/* ─── Testimonial Cards ──────────────────────────────────── */
.testimonial-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-xl);
    padding: 2rem;
    transition: all var(--transition-base);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-lg);
}

.testimonial-stars {
    color: var(--accent);
    margin-bottom: 1rem;
}

.testimonial-text {
    font-style: italic;
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    object-fit: cover;
    border: 2px solid var(--primary-100);
}

.testimonial-name {
    font-weight: 600;
    color: var(--gray-900);
    font-size: var(--text-sm);
}

.testimonial-role {
    font-size: var(--text-xs);
    color: var(--gray-500);
}

/* ─── CTA Section ────────────────────────────────────────── */
.cta-section {
    background: var(--gradient-primary);
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-section p {
    color: rgba(255,255,255,0.8);
    max-width: 500px;
    margin: 0 auto 2rem;
}

/* ─── Newsletter ─────────────────────────────────────────── */
.newsletter-form .form-control {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--white);
    border-radius: var(--radius-md) 0 0 var(--radius-md);
    padding: 0.625rem 1rem;
}

.newsletter-form .form-control::placeholder {
    color: rgba(255,255,255,0.5);
}

.newsletter-form .form-control:focus {
    background: rgba(255,255,255,0.15);
    border-color: var(--primary-light);
    box-shadow: none;
    color: var(--white);
}

/* ─── Footer ─────────────────────────────────────────────── */
.footer-section {
    background: var(--gray-900);
    color: rgba(255,255,255,0.7);
    position: relative;
}

.footer-wave {
    color: var(--gray-900);
    margin-bottom: -1px;
    line-height: 0;
}

.footer-wave svg {
    width: 100%;
    height: 80px;
}

.footer-main {
    padding: 4rem 0 2rem;
}

.footer-heading {
    color: var(--white);
    font-size: var(--text-lg);
    font-weight: 700;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.footer-desc {
    color: rgba(255,255,255,0.5);
    font-size: var(--text-sm);
    line-height: 1.7;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255,255,255,0.6);
    font-size: var(--text-sm);
    transition: all var(--transition-fast);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--white);
    transform: translateX(4px);
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    color: rgba(255,255,255,0.7);
    font-size: 1.1rem;
    transition: all var(--transition-base);
}

.social-link:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 1.25rem 0;
}

.footer-bottom p {
    color: rgba(255,255,255,0.4);
    font-size: var(--text-sm);
    margin-bottom: 0;
}

.text-primary-light {
    color: var(--primary-light) !important;
}

/* ─── Back to Top ────────────────────────────────────────── */
.btn-back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 44px;
    height: 44px;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-base);
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.4);
    z-index: 1040;
}

.btn-back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.btn-back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.5);
}

/* ─── Forms ──────────────────────────────────────────────── */
.form-control, .form-select {
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 0.625rem 1rem;
    font-size: var(--text-sm);
    transition: all var(--transition-fast);
    color: var(--gray-800);
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}

.form-control::placeholder {
    color: var(--gray-400);
}

.form-label {
    font-weight: 600;
    font-size: var(--text-sm);
    color: var(--gray-700);
    margin-bottom: 0.375rem;
}

.form-floating > .form-control,
.form-floating > .form-select {
    border-radius: var(--radius-md);
}

.input-group .form-control {
    border-radius: var(--radius-md) 0 0 var(--radius-md);
}

.input-group .btn {
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

/* ─── FAQ Accordion ──────────────────────────────────────── */
.faq-accordion .accordion-item {
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg) !important;
    margin-bottom: 0.75rem;
    overflow: hidden;
}

.faq-accordion .accordion-button {
    font-weight: 600;
    font-size: var(--text-base);
    color: var(--gray-800);
    background: var(--white);
    box-shadow: none;
    padding: 1.25rem 1.5rem;
}

.faq-accordion .accordion-button:not(.collapsed) {
    background: var(--primary-50);
    color: var(--primary);
}

.faq-accordion .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%234F46E5'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.faq-accordion .accordion-body {
    color: var(--gray-600);
    padding: 0 1.5rem 1.25rem;
    line-height: 1.7;
}

/* ─── Blog Cards ─────────────────────────────────────────── */
.blog-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all var(--transition-base);
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.blog-card-img {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

.blog-card-body {
    padding: 1.5rem;
}

.blog-card-category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--primary-50);
    color: var(--primary);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.blog-card-title {
    font-size: var(--text-lg);
    margin-bottom: 0.5rem;
}

.blog-card-title a {
    color: var(--gray-900);
}

.blog-card-title a:hover {
    color: var(--primary);
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: var(--text-xs);
    color: var(--gray-400);
}

/* ─── Event Cards ────────────────────────────────────────── */
.event-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all var(--transition-base);
    height: 100%;
}

.event-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.event-card-img {
    height: 200px;
    object-fit: cover;
    width: 100%;
    position: relative;
}

.event-card-date {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 0.5rem 0.75rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    line-height: 1;
}

.event-card-date .day {
    display: block;
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 800;
    color: var(--primary);
}

.event-card-date .month {
    font-size: var(--text-xs);
    text-transform: uppercase;
    color: var(--gray-500);
    font-weight: 600;
}

.event-card-body {
    padding: 1.5rem;
}

.event-card-category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--primary-50);
    color: var(--primary);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.event-card-title {
    font-size: var(--text-lg);
    margin-bottom: 0.5rem;
}

.event-card-info {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    margin-bottom: 1rem;
}

.event-card-info span {
    font-size: var(--text-sm);
    color: var(--gray-500);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.event-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-100);
}

.event-card-price {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--primary);
}

/* ─── Animations ─────────────────────────────────────────── */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

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

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

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

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

/* Scroll-triggered animation classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

.animate-delay-1 { transition-delay: 0.1s; }
.animate-delay-2 { transition-delay: 0.2s; }
.animate-delay-3 { transition-delay: 0.3s; }
.animate-delay-4 { transition-delay: 0.4s; }

/* ─── Utility Classes ────────────────────────────────────── */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient-primary {
    background: var(--gradient-primary) !important;
}

.bg-pattern {
    background-image: radial-gradient(circle at 1px 1px, rgba(79,70,229,0.05) 1px, transparent 0);
    background-size: 30px 30px;
}

.rounded-xl { border-radius: var(--radius-xl); }
.rounded-2xl { border-radius: var(--radius-2xl); }

.gap-card { gap: 1.5rem; }

/* ─── Page Header (Inner Pages) ──────────────────────────── */
.page-header {
    background: var(--gradient-hero);
    padding: 4rem 0 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 120%, rgba(79, 70, 229, 0.2) 0%, transparent 60%);
}

.page-header h1 {
    color: var(--white);
    font-size: var(--text-4xl);
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 2;
}

.page-header .breadcrumb {
    justify-content: center;
    position: relative;
    z-index: 2;
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    color: rgba(255,255,255,0.6);
    font-size: var(--text-sm);
}

.page-header .breadcrumb-item.active {
    color: var(--primary-light);
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,0.3);
}

/* ─── Gallery / Masonry ──────────────────────────────────── */
.gallery-grid {
    columns: 3;
    column-gap: 1rem;
}

.gallery-item {
    break-inside: avoid;
    margin-bottom: 1rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    position: relative;
}

.gallery-item img {
    width: 100%;
    display: block;
    transition: transform var(--transition-slow);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 50%);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.gallery-item:hover::after {
    opacity: 1;
}

/* ─── Pricing Toggle ─────────────────────────────────────── */
.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.pricing-toggle span {
    font-weight: 500;
    color: var(--gray-500);
}

.pricing-toggle span.active {
    color: var(--gray-900);
    font-weight: 700;
}

.pricing-toggle .form-switch .form-check-input {
    width: 50px;
    height: 26px;
    cursor: pointer;
}

.pricing-toggle .form-switch .form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

/* ─── Contact Form ───────────────────────────────────────── */
.contact-info-card {
    background: var(--gradient-primary);
    border-radius: var(--radius-2xl);
    padding: 2.5rem;
    color: var(--white);
    height: 100%;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-info-icon {
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.15);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 1199.98px) {
    h1 { font-size: var(--text-4xl); }
    .hero-title { font-size: clamp(2rem, 4vw, 3.5rem); }
}

@media (max-width: 991.98px) {
    .section { padding: 3.5rem 0; }
    .hero-section { min-height: auto; padding: 6rem 0 4rem; }
    .hero-stats { gap: 1.5rem; }
    .navbar-collapse { 
        background: rgba(15, 15, 26, 0.98);
        margin: 0.5rem -0.75rem;
        padding: 1rem;
        border-radius: var(--radius-lg);
    }
    .nav-auth { margin-top: 1rem; }
    .gallery-grid { columns: 2; }
}

@media (max-width: 767.98px) {
    h1 { font-size: var(--text-3xl); }
    h2 { font-size: var(--text-2xl); }
    .section { padding: 3rem 0; }
    .hero-stats { flex-wrap: wrap; gap: 1rem; }
    .hero-stat { flex: 1 0 40%; }
    .step-card::after { display: none; }
    .pricing-card.featured { transform: none; }
    .pricing-card.featured:hover { transform: translateY(-8px); }
    .footer-main { padding: 3rem 0 1.5rem; }
    .gallery-grid { columns: 1; }
    .stat-number { font-size: var(--text-4xl); }
}

@media (max-width: 575.98px) {
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn { width: 100%; }
    .navbar-spacer { height: 64px; }
}
