/* ================================================
   SheraAI LMS - Premium Glassmorphism Website
   Author: SheraAI Technologies
   Version: 1.0.0
   ================================================ */

/* ===== CSS Variables ===== */
:root {
    /* Primary Colors */
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --primary-glow: rgba(99, 102, 241, 0.5);
    
    /* Secondary Colors */
    --secondary: #8b5cf6;
    --accent: #06b6d4;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    
    /* Neutral Colors */
    --dark: #0f172a;
    --dark-light: #1e293b;
    --gray-900: #111827;
    --gray-800: #1f2937;
    --gray-700: #374151;
    --gray-600: #4b5563;
    --gray-500: #6b7280;
    --gray-400: #9ca3af;
    --gray-300: #d1d5db;
    --gray-200: #e5e7eb;
    --gray-100: #f3f4f6;
    --white: #ffffff;
    
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-bg-light: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: rgba(0, 0, 0, 0.3);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #06b6d4 100%);
    --gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    --gradient-glow: linear-gradient(135deg, rgba(99, 102, 241, 0.3) 0%, rgba(139, 92, 246, 0.3) 100%);
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Space Grotesk', sans-serif;
    
    /* Spacing */
    --section-padding: 100px 0;
    --container-padding: 0 24px;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Z-index */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal: 400;
    --z-tooltip: 500;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    background: var(--dark);
    color: var(--gray-300);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* ===== Animated Background ===== */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: var(--dark);
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.5;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: var(--primary);
    top: -200px;
    left: -200px;
    animation-delay: 0s;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: var(--secondary);
    top: 50%;
    right: -150px;
    animation-delay: -5s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: var(--accent);
    bottom: -100px;
    left: 30%;
    animation-delay: -10s;
}

.orb-4 {
    width: 300px;
    height: 300px;
    background: var(--primary-light);
    top: 30%;
    left: 50%;
    animation-delay: -15s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(50px, -50px) scale(1.1); }
    50% { transform: translate(-30px, 30px) scale(0.9); }
    75% { transform: translate(-50px, -30px) scale(1.05); }
}

/* Particles */
.particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

/* ===== Glass Morphism Components ===== */
.glass-nav {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    transition: var(--transition-normal);
}

.glass-card:hover {
    background: var(--glass-bg-light);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 25px 50px -12px var(--glass-shadow);
}

.glass-card-mini {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 16px 24px;
}

.glass-card-large {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 40px;
}

.glass-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    padding: 8px 20px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--primary-light);
}

.glass-badge i {
    color: var(--primary);
}

.glass-float {
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 12px 20px;
}

.glass-phone {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.9));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid var(--glass-border);
    border-radius: 40px;
}

.glass-icon {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-light);
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: var(--z-sticky);
    padding: 16px 0;
    transition: var(--transition-normal);
}

.navbar.scrolled {
    padding: 12px 0;
    box-shadow: 0 10px 40px var(--glass-shadow);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--container-padding);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--white);
}

.logo-text .highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 10px 20px;
    border-radius: var(--radius-full);
    font-weight: 500;
    color: var(--gray-400);
    transition: var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
    background: var(--glass-bg);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 28px;
    padding: 5px 0;
}

.mobile-toggle span {
    display: block;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition-fast);
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px var(--primary-glow);
}

.btn-glow {
    animation: glow-pulse 2s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% { box-shadow: 0 0 20px var(--primary-glow); }
    50% { box-shadow: 0 0 40px var(--primary-glow), 0 0 60px rgba(139, 92, 246, 0.3); }
}

.btn-glass {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    color: var(--white);
}

.btn-glass:hover {
    background: var(--glass-bg-light);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 24px 60px;
    position: relative;
}

.hero-content {
    flex: 1;
    max-width: 650px;
    padding-right: 40px;
}

.hero-badge {
    margin-bottom: 24px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 24px;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--gray-400);
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    gap: 24px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 4px;
}

.stat-number::after {
    content: '+';
    color: var(--primary);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* Hero Visual */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.phone-mockup {
    position: relative;
}

.phone-frame {
    width: 300px;
    height: 620px;
    padding: 12px;
    position: relative;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--dark);
    border-radius: 32px;
    overflow: hidden;
    padding: 20px;
}

.app-preview {
    height: 100%;
}

.app-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px;
    background: var(--glass-bg);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}

.app-logo-small {
    width: 36px;
    height: 36px;
    background: var(--gradient-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.app-header span {
    font-weight: 600;
    color: var(--white);
}

.dashboard-preview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.dash-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 16px;
    text-align: center;
}

.dash-card i {
    font-size: 1.5rem;
    margin-bottom: 8px;
    display: block;
}

.dash-card span {
    font-size: 0.75rem;
    color: var(--gray-400);
}

.dash-card-1 i { color: #3b82f6; }
.dash-card-2 i { color: #10b981; }
.dash-card-3 i { color: #f59e0b; }
.dash-card-4 i { color: #8b5cf6; }

/* Floating Elements */
.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    color: var(--white);
    animation: float-up-down 4s ease-in-out infinite;
}

.float-card i {
    color: var(--primary);
}

.float-1 {
    top: 15%;
    right: -60px;
    animation-delay: 0s;
}

.float-2 {
    top: 45%;
    left: -80px;
    animation-delay: -1.5s;
}

.float-3 {
    bottom: 20%;
    right: -70px;
    animation-delay: -3s;
}

@keyframes float-up-down {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--gray-500);
    font-size: 0.875rem;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--gray-600);
    border-radius: 12px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--primary);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 2s ease-in-out infinite;
}

@keyframes scroll-wheel {
    0%, 100% { opacity: 1; top: 8px; }
    50% { opacity: 0.3; top: 20px; }
}

/* ===== Section Styles ===== */
.section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--container-padding);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-badge {
    margin-bottom: 20px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.section-description {
    font-size: 1.125rem;
    color: var(--gray-400);
}

/* ===== Features Section ===== */
.features {
    padding: var(--section-padding);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.feature-card {
    padding: 32px;
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.gradient-icon-1 { background: linear-gradient(135deg, #3b82f6, #1d4ed8); color: white; }
.gradient-icon-2 { background: linear-gradient(135deg, #10b981, #059669); color: white; }
.gradient-icon-3 { background: linear-gradient(135deg, #8b5cf6, #7c3aed); color: white; }
.gradient-icon-4 { background: linear-gradient(135deg, #f59e0b, #d97706); color: white; }
.gradient-icon-5 { background: linear-gradient(135deg, #ef4444, #dc2626); color: white; }
.gradient-icon-6 { background: linear-gradient(135deg, #06b6d4, #0891b2); color: white; }

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--white);
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--gray-400);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--gray-300);
}

.feature-list i {
    color: var(--success);
    font-size: 0.75rem;
}

.features-highlight {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
    border-color: rgba(99, 102, 241, 0.3);
}

.highlight-content h3 {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 8px;
}

.highlight-content p {
    color: var(--gray-400);
    max-width: 500px;
}

.highlight-icons {
    display: flex;
    gap: 16px;
}

.security-icon {
    width: 50px;
    height: 50px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
    font-size: 1.25rem;
}

/* ===== Roles Section ===== */
.roles {
    padding: var(--section-padding);
    background: linear-gradient(180deg, transparent 0%, rgba(99, 102, 241, 0.05) 50%, transparent 100%);
}

.roles-carousel {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.glass-card-role {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    transition: var(--transition-normal);
}

.glass-card-role:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 25px 50px rgba(99, 102, 241, 0.2);
}

.role-icon {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    margin: 0 auto 20px;
}

.superadmin-gradient { background: linear-gradient(135deg, #f59e0b, #d97706); }
.orgadmin-gradient { background: linear-gradient(135deg, #6366f1, #4f46e5); }
.teacher-gradient { background: linear-gradient(135deg, #10b981, #059669); }
.student-gradient { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.feeclerk-gradient { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }
.attendance-gradient { background: linear-gradient(135deg, #06b6d4, #0891b2); }

.role-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--white);
    margin-bottom: 12px;
}

.role-card p {
    color: var(--gray-400);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.role-features {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.role-features span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    padding: 6px 14px;
    font-size: 0.8rem;
    color: var(--gray-300);
}

.role-features i {
    font-size: 0.75rem;
    color: var(--primary-light);
}

/* ===== Pricing Section ===== */
.pricing {
    padding: var(--section-padding);
}

.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 50px;
}

.toggle-label {
    color: var(--gray-400);
    font-weight: 500;
}

.toggle-switch {
    position: relative;
    width: 60px;
    height: 32px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    transition: var(--transition-fast);
}

.toggle-slider::before {
    position: absolute;
    content: "";
    height: 24px;
    width: 24px;
    left: 4px;
    bottom: 3px;
    background: var(--gradient-primary);
    border-radius: 50%;
    transition: var(--transition-fast);
}

.toggle-switch input:checked + .toggle-slider::before {
    transform: translateX(28px);
}

.save-badge {
    background: var(--success);
    color: var(--white);
    padding: 2px 8px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 8px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.pricing-card {
    padding: 40px 32px;
    text-align: center;
    position: relative;
}

.pricing-card.popular {
    border-color: var(--primary);
    transform: scale(1.05);
}

.pricing-card.popular::before {
    content: 'Most Popular';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: var(--white);
    padding: 6px 20px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
}

.plan-badge {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-light);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.plan-price {
    margin-bottom: 16px;
}

.plan-price .currency {
    font-size: 1.5rem;
    color: var(--gray-400);
    vertical-align: top;
}

.plan-price .amount {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--white);
}

.plan-price .period {
    color: var(--gray-500);
    font-size: 1rem;
}

.plan-description {
    color: var(--gray-400);
    margin-bottom: 30px;
    font-size: 0.95rem;
}

.plan-features {
    text-align: left;
    margin-bottom: 32px;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    color: var(--gray-300);
    font-size: 0.95rem;
    border-bottom: 1px solid var(--glass-border);
}

.plan-features li:last-child {
    border-bottom: none;
}

.plan-features i {
    color: var(--success);
    font-size: 0.875rem;
}

.plan-features li.disabled {
    color: var(--gray-600);
}

.plan-features li.disabled i {
    color: var(--gray-600);
}

/* ===== Contact Section ===== */
.contact {
    padding: var(--section-padding);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.contact-info {
    padding: 40px;
}

.contact-info h3 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    color: var(--white);
    margin-bottom: 16px;
}

.contact-info > p {
    color: var(--gray-400);
    margin-bottom: 32px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.method-icon {
    width: 50px;
    height: 50px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.method-content h4 {
    color: var(--white);
    margin-bottom: 4px;
    font-size: 1rem;
}

.method-content p {
    color: var(--gray-400);
    font-size: 0.95rem;
}

.method-content a {
    color: var(--primary-light);
}

.method-content a:hover {
    color: var(--primary);
}

/* Contact Form */
.contact-form-card {
    padding: 40px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    color: var(--gray-300);
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    color: var(--white);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-600);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ===== Footer ===== */
.footer {
    background: rgba(15, 23, 42, 0.9);
    border-top: 1px solid var(--glass-border);
    padding-top: 80px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--container-padding);
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid var(--glass-border);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-brand p {
    color: var(--gray-400);
    margin-bottom: 24px;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    transition: var(--transition-fast);
}

.social-links a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-column h4 {
    color: var(--white);
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 1rem;
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-column a {
    color: var(--gray-400);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.footer-column a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    padding: 24px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--gray-500);
    font-size: 0.9rem;
}

.powered-by a {
    color: var(--primary-light);
    font-weight: 500;
}

.powered-by a:hover {
    color: var(--primary);
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition-normal);
    z-index: var(--z-fixed);
    box-shadow: 0 10px 30px var(--primary-glow);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
}

/* ===== Download Page ===== */
.download-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 60px;
    text-align: center;
}

.download-container {
    max-width: 800px;
}

.download-content {
    margin-bottom: 60px;
}

.download-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
}

.download-description {
    font-size: 1.125rem;
    color: var(--gray-400);
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.download-options {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 32px;
    min-width: 320px;
    border-radius: var(--radius-lg);
    transition: var(--transition-normal);
    position: relative;
}

.glass-card-download {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
}

.glass-card-download:hover {
    background: var(--glass-bg-light);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 20px 40px var(--glass-shadow);
}

.download-btn .btn-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
}

.download-btn .btn-content {
    text-align: left;
}

.download-btn .btn-small {
    display: block;
    font-size: 0.75rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.download-btn .btn-large {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
}

.download-btn .btn-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    color: var(--gray-400);
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-badge.recommended {
    background: var(--gradient-primary);
    border-color: transparent;
    color: var(--white);
}

.btn-badge i {
    font-size: 0.7rem;
}

/* ===== Legal Pages ===== */
.legal-hero {
    padding: 150px 24px 60px;
    text-align: center;
}

.legal-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

.legal-header {
    max-width: 600px;
    margin: 0 auto;
}

.legal-header h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--white);
    margin: 24px 0 16px;
}

.legal-subtitle {
    color: var(--gray-400);
    font-size: 1.125rem;
    margin-bottom: 24px;
}

.legal-meta {
    display: flex;
    justify-content: center;
    gap: 24px;
    color: var(--gray-500);
    font-size: 0.9rem;
}

.legal-meta i {
    margin-right: 8px;
    color: var(--primary-light);
}

.legal-content {
    padding: 0 24px 80px;
}

.legal-content .legal-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    align-items: start;
}

.toc-sidebar {
    position: sticky;
    top: 100px;
    padding: 24px;
}

.toc-sidebar h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 20px;
}

.toc-sidebar i {
    color: var(--primary-light);
}

.toc-sidebar ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.toc-sidebar a {
    display: block;
    padding: 8px 12px;
    color: var(--gray-400);
    font-size: 0.9rem;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.toc-sidebar a:hover {
    background: var(--glass-bg);
    color: var(--primary-light);
}

.legal-main {
    min-width: 0;
}

.legal-article {
    padding: 40px;
}

.legal-section {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--glass-border);
}

.legal-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.legal-section h2 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 20px;
}

.section-number {
    color: var(--primary-light);
}

.legal-section h3 {
    font-size: 1.125rem;
    color: var(--white);
    margin: 24px 0 12px;
}

.legal-section p {
    color: var(--gray-400);
    margin-bottom: 16px;
    line-height: 1.8;
}

.legal-section ul,
.legal-section ol {
    color: var(--gray-400);
    margin: 16px 0;
    padding-left: 24px;
}

.legal-section li {
    margin-bottom: 8px;
    line-height: 1.7;
}

.info-box {
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: var(--radius-md);
    padding: 20px;
    margin: 20px 0;
}

.info-box p {
    margin-bottom: 0;
    color: var(--gray-300);
}

.warning-box {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: var(--radius-md);
    padding: 20px;
    margin: 20px 0;
}

.warning-box p {
    margin-bottom: 0;
    color: var(--gray-300);
}

/* ===== Responsive Design ===== */
@media (max-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .roles-carousel {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pricing-card.popular {
        transform: scale(1);
    }
}

@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        padding-top: 100px;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
        padding-right: 0;
        margin-bottom: 60px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-visual {
        display: none;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 20px;
        border-bottom: 1px solid var(--glass-border);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .legal-content .legal-container {
        grid-template-columns: 1fr;
    }
    
    .toc-sidebar {
        position: static;
        margin-bottom: 24px;
    }
}

/* ============================================
   Hero Trust Badges
   ============================================ */
.hero-trust {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.trust-badge:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.trust-badge i {
    color: var(--primary-light);
    font-size: 1.1rem;
}

/* ============================================
   Enhanced Contact Form Styles
   ============================================ */
.glass-card-form {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.form-header {
    text-align: center;
    margin-bottom: 32px;
}

.form-header i {
    font-size: 3rem;
    color: var(--primary-light);
    margin-bottom: 16px;
    display: block;
    text-shadow: 0 0 30px rgba(149, 128, 255, 0.5);
}

.form-header h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.form-header p {
    color: var(--text-secondary);
    font-size: 1rem;
}

.input-wrapper,
.textarea-wrapper {
    position: relative;
    margin-bottom: 24px;
}

.input-wrapper i,
.textarea-wrapper i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1.1rem;
    z-index: 1;
    transition: color 0.3s ease;
}

.textarea-wrapper i {
    top: 20px;
    transform: none;
}

.input-wrapper input,
.input-wrapper select,
.textarea-wrapper textarea {
    width: 100%;
    padding: 16px 16px 16px 50px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.input-wrapper input::placeholder,
.textarea-wrapper textarea::placeholder {
    color: var(--text-muted);
}

.input-wrapper input:focus,
.input-wrapper select:focus,
.textarea-wrapper textarea:focus {
    outline: none;
    border-color: var(--primary-light);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 3px rgba(149, 128, 255, 0.15);
}

.input-wrapper input:focus + i,
.input-wrapper input:focus ~ i,
.textarea-wrapper textarea:focus + i,
.textarea-wrapper textarea:focus ~ i,
.input-wrapper:focus-within i,
.textarea-wrapper:focus-within i {
    color: var(--primary-light);
}

.textarea-wrapper textarea {
    min-height: 140px;
    resize: vertical;
}

/* Contact Info Cards */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.contact-info-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 28px;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    border-color: rgba(149, 128, 255, 0.3);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.contact-info-card .icon-box {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.5rem;
    color: white;
    box-shadow: 0 8px 20px rgba(149, 128, 255, 0.3);
}

.contact-info-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.contact-info-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 0;
}

.contact-info-card a {
    color: var(--primary-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info-card a:hover {
    color: var(--text-primary);
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
    }
    
    .features-grid,
    .roles-carousel,
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .features-highlight {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }
    
    .hero-stats,
    .hero-trust {
        flex-direction: column;
        gap: 16px;
        align-items: center;
    }
    
    .trust-badge {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .footer-links {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .download-btn {
        min-width: 100%;
    }
    
    .legal-meta {
        flex-direction: column;
        gap: 12px;
    }
    
    .glass-card-form {
        padding: 28px 20px;
    }
    
    .contact-info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .btn-large {
        padding: 14px 24px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .glass-card-large {
        padding: 24px;
    }
    
    .legal-article {
        padding: 24px;
    }
    
    .form-header i {
        font-size: 2.5rem;
    }
    
    .form-header h3 {
        font-size: 1.5rem;
    }
}

