/* ===== CSS Variables - Premium Theme ===== */
:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #ec4899;
    --secondary-light: #f472b6;
    --accent: #06b6d4;
    --accent-light: #22d3ee;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    
    --dark: #030712;
    --dark-100: #0a0f1a;
    --dark-200: #111827;
    --dark-300: #1f2937;
    --gray: #6b7280;
    --gray-light: #9ca3af;
    --gray-lighter: #d1d5db;
    --light: #f3f4f6;
    --white: #ffffff;
    
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
    --gradient-secondary: linear-gradient(135deg, #06b6d4 0%, #3b82f6 50%, #6366f1 100%);
    --gradient-glow: linear-gradient(135deg, rgba(99, 102, 241, 0.4) 0%, rgba(236, 72, 153, 0.4) 100%);
    --gradient-text: linear-gradient(135deg, #60a5fa 0%, #a78bfa 50%, #f472b6 100%);
    --gradient-dark: linear-gradient(180deg, #030712 0%, #0a0f1a 50%, #111827 100%);
    
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-hover: rgba(255, 255, 255, 0.06);
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 60px rgba(99, 102, 241, 0.15);
    --shadow-glow-lg: 0 0 100px rgba(99, 102, 241, 0.2);
    
    --radius: 20px;
    --radius-lg: 28px;
    --radius-sm: 12px;
    --radius-xs: 8px;
    
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--dark);
    color: var(--light);
    line-height: 1.7;
    overflow-x: hidden;
    font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background: rgba(99, 102, 241, 0.3);
    color: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul { list-style: none; }

img {
    max-width: 100%;
    height: auto;
}

/* ===== Utility Classes ===== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== Premium Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 32px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.01em;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%);
    opacity: 0;
    transition: var(--transition);
}

.btn:hover::before {
    opacity: 1;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4), 0 0 40px rgba(99, 102, 241, 0.1);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.5), 0 0 60px rgba(99, 102, 241, 0.2);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

.btn-lg {
    padding: 20px 40px;
    font-size: 16px;
}

.btn-block {
    width: 100%;
}

.btn i {
    font-size: 14px;
    transition: var(--transition);
}

.btn:hover i {
    transform: translateX(4px);
}

/* ===== 3D Background Canvas ===== */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* ===== Premium Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 24px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(3, 7, 18, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.logo-icon {
    width: 44px;
    height: 44px;
    background: var(--gradient-primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--white);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links a {
    font-weight: 500;
    font-size: 15px;
    color: var(--gray-light);
    padding: 10px 18px;
    border-radius: 100px;
    position: relative;
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.05);
}

.nav-cta {
    padding: 12px 28px !important;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===== Premium Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 32px 100px;
    position: relative;
    max-width: 1280px;
    margin: 0 auto;
}

.hero::before {
    content: '';
    position: absolute;
    top: 20%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
    filter: blur(80px);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 10%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.1) 0%, transparent 70%);
    filter: blur(80px);
    pointer-events: none;
}

.hero-content {
    flex: 1;
    max-width: 720px;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 24px;
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-light);
    margin-bottom: 32px;
    backdrop-filter: blur(10px);
}

.pulse {
    width: 10px;
    height: 10px;
    background: var(--success);
    border-radius: 50%;
    position: relative;
}

.pulse::before {
    content: '';
    position: absolute;
    inset: -4px;
    background: var(--success);
    border-radius: 50%;
    opacity: 0.4;
    animation: pulse 2s ease-out infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.4; }
    100% { transform: scale(2); opacity: 0; }
}

.hero-title {
    font-size: clamp(44px, 5.5vw, 76px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 28px;
}

.hero-description {
    font-size: 19px;
    color: var(--gray-light);
    margin-bottom: 44px;
    max-width: 540px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 72px;
}

.hero-stats {
    display: flex;
    gap: 48px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.stat-item {
    text-align: left;
}

.stat-number {
    font-size: 40px;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    display: block;
    font-size: 14px;
    color: var(--gray);
    margin-top: 4px;
    font-weight: 500;
}

.hero-visual {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 500px;
    height: 500px;
}

.floating-card {
    position: absolute;
    width: 90px;
    height: 90px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    animation: float 8s ease-in-out infinite;
    box-shadow: var(--shadow);
}

.floating-card i {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.card-1 { top: 5%; left: 15%; animation-delay: 0s; }
.card-2 { top: 25%; right: 5%; animation-delay: 2s; }
.card-3 { bottom: 25%; left: 5%; animation-delay: 4s; }
.card-4 { bottom: 5%; right: 15%; animation-delay: 6s; }

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-25px) rotate(3deg); }
}

.scroll-indicator {
    position: absolute;
    bottom: 48px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--gray);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 10px;
    background: var(--gradient-primary);
    border-radius: 4px;
    animation: scroll 2s ease-out infinite;
}

@keyframes scroll {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(16px); }
}

/* ===== Premium Section Styles ===== */
section {
    padding: 120px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 72px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-light);
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.section-title {
    font-size: clamp(36px, 4vw, 56px);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
    line-height: 1.1;
}

.section-description {
    font-size: 18px;
    color: var(--gray-light);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ===== Premium Problems Section ===== */
.problems {
    background: var(--gradient-dark);
    position: relative;
}

.problems::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 24px;
}

.problem-card {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.03) 0%, rgba(239, 68, 68, 0.08) 100%);
    border: 1px solid rgba(239, 68, 68, 0.1);
    border-radius: var(--radius);
    padding: 36px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.problem-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ef4444, #f97316);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.problem-card:hover {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.05) 0%, rgba(239, 68, 68, 0.12) 100%);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(239, 68, 68, 0.1);
}

.problem-card:hover::before {
    transform: scaleX(1);
}

.problem-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(239, 68, 68, 0.2) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f87171;
    font-size: 22px;
    margin-bottom: 24px;
}

.problem-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.problem-card p {
    color: var(--gray-light);
    font-size: 15px;
    line-height: 1.7;
}

/* ===== Premium Features Section ===== */
.features {
    background: var(--dark-100);
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 28px;
}

.feature-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 40px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.feature-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.03) 0%, transparent 50%);
    opacity: 0;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-12px);
    border-color: rgba(99, 102, 241, 0.2);
    box-shadow: var(--shadow-glow);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover::after {
    opacity: 1;
}

.feature-card.featured {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(139, 92, 246, 0.08) 50%, rgba(236, 72, 153, 0.08) 100%);
    border-color: rgba(99, 102, 241, 0.25);
}

.featured-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    padding: 6px 16px;
    background: var(--gradient-primary);
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.15) 100%);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: var(--primary-light);
    margin-bottom: 28px;
    position: relative;
    z-index: 1;
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 14px;
    letter-spacing: -0.01em;
    position: relative;
    z-index: 1;
}

.feature-card > p {
    color: var(--gray-light);
    margin-bottom: 24px;
    font-size: 15px;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.feature-list {
    list-style: none;
    position: relative;
    z-index: 1;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--gray-light);
    font-size: 14px;
    margin-bottom: 12px;
    font-weight: 500;
}

.feature-list i {
    color: var(--success);
    font-size: 12px;
    width: 20px;
    height: 20px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== Premium User Roles Section ===== */
.user-roles {
    background: var(--dark);
    position: relative;
    overflow: hidden;
}

.user-roles::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
}

.role-detail-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 48px;
    margin-bottom: 32px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.role-detail-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
}

.role-detail-card:hover {
    background: var(--glass-hover);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: var(--shadow-glow);
}

.role-detail-card:hover::before {
    opacity: 1;
}

.role-detail-header {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 36px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.role-icon {
    width: 80px;
    height: 80px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    flex-shrink: 0;
    position: relative;
}

.role-icon::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 28px;
    background: inherit;
    opacity: 0.3;
    filter: blur(12px);
}

.role-icon.super-admin { 
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(249, 115, 22, 0.15) 100%); 
    color: #f87171; 
}
.role-icon.dept-admin { 
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(34, 197, 94, 0.15) 100%); 
    color: #4ade80; 
}
.role-icon.teacher { 
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%); 
    color: #818cf8; 
}
.role-icon.student { 
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(251, 191, 36, 0.15) 100%); 
    color: #fbbf24; 
}

.role-info h3 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.role-subtitle {
    color: var(--gray);
    font-size: 15px;
    font-weight: 500;
}

.role-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}

.role-feature {
    display: flex;
    gap: 18px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: var(--radius);
    transition: var(--transition);
}

.role-feature:hover {
    background: rgba(99, 102, 241, 0.05);
    border-color: rgba(99, 102, 241, 0.15);
    transform: translateX(8px);
}

.role-feature > i {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.15) 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
    font-size: 18px;
    flex-shrink: 0;
}

.role-feature h4 {
    font-size: 17px;
    margin-bottom: 6px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.role-feature p {
    color: var(--gray-light);
    font-size: 14px;
    line-height: 1.6;
}

/* ===== Premium How It Works Section ===== */
.how-it-works {
    background: linear-gradient(180deg, var(--dark-100) 0%, var(--dark) 100%);
    position: relative;
}

.steps-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 900px;
    margin: 0 auto 80px;
}

.step {
    display: flex;
    align-items: center;
    gap: 36px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 40px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.step::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
}

.step:hover {
    background: var(--glass-hover);
    transform: translateX(12px);
    box-shadow: var(--shadow-glow);
}

.step:hover::before {
    opacity: 1;
}

.step-number {
    font-size: 64px;
    font-weight: 900;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    min-width: 100px;
    letter-spacing: -0.04em;
}

.step-content h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.step-content p {
    color: var(--gray-light);
    font-size: 16px;
    line-height: 1.7;
}

.step-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.15) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--primary-light);
    margin-left: auto;
    flex-shrink: 0;
}

.implementation-timeline {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 48px;
    text-align: center;
}

.implementation-timeline h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 40px;
    letter-spacing: -0.01em;
}

.timeline-bar {
    display: flex;
    justify-content: space-between;
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-bar::before {
    content: '';
    position: absolute;
    top: 28px;
    left: 12%;
    right: 12%;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 4px;
}

.timeline-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    position: relative;
    z-index: 1;
}

.timeline-item .week {
    width: 56px;
    height: 56px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
}

.timeline-item .task {
    color: var(--gray-light);
    font-size: 14px;
    font-weight: 600;
}

/* ===== Premium Pricing Section ===== */
.pricing {
    background: var(--dark-100);
    position: relative;
}

.pricing::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1000px;
    height: 1000px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.04) 0%, transparent 60%);
    pointer-events: none;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 28px;
    max-width: 1150px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.pricing-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 48px 36px;
    position: relative;
    transition: var(--transition);
}

.pricing-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-glow);
}

.pricing-card.featured {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(139, 92, 246, 0.08) 50%, rgba(236, 72, 153, 0.06) 100%);
    border-color: rgba(99, 102, 241, 0.3);
    transform: scale(1.04);
}

.pricing-card.featured:hover {
    transform: scale(1.04) translateY(-12px);
}

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 24px;
    background: var(--gradient-primary);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
}

.pricing-header {
    text-align: center;
    margin-bottom: 36px;
    padding-bottom: 36px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.pricing-header h3 {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.pricing-subtitle {
    color: var(--gray);
    font-size: 15px;
    margin-bottom: 24px;
    font-weight: 500;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 6px;
}

.pricing-price .currency {
    font-size: 24px;
    color: var(--gray-light);
    font-weight: 600;
}

.pricing-price .amount {
    font-size: 44px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.pricing-price .period {
    color: var(--gray);
    font-size: 15px;
    font-weight: 500;
}

.pricing-features {
    list-style: none;
    margin-bottom: 36px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    font-size: 15px;
    font-weight: 500;
}

.pricing-features li i {
    width: 22px;
    height: 22px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--success);
    font-size: 10px;
}

.pricing-features li.disabled {
    color: var(--gray);
}

.pricing-features li.disabled i {
    background: rgba(107, 114, 128, 0.1);
    color: var(--gray);
}

/* ===== Premium ROI Section ===== */
.roi-section {
    background: var(--dark);
    padding: 100px 0;
    position: relative;
}

.roi-section::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.roi-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.roi-text .section-title {
    text-align: left;
}

.roi-text > p {
    color: var(--gray-light);
    font-size: 18px;
    margin-bottom: 40px;
    line-height: 1.7;
}

.roi-stats {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.roi-stat {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 24px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    transition: var(--transition);
}

.roi-stat:hover {
    background: var(--glass-hover);
    transform: translateX(8px);
}

.roi-number {
    font-size: 44px;
    font-weight: 800;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    min-width: 120px;
    letter-spacing: -0.02em;
}

.roi-label {
    color: var(--gray-light);
    font-size: 15px;
    font-weight: 500;
}

.roi-comparison {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
    padding: 22px 28px;
    text-align: left;
}

.comparison-table th {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.comparison-table td {
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    font-size: 15px;
    font-weight: 500;
}

.comparison-table .before {
    color: #f87171;
}

.comparison-table .after {
    color: var(--success);
    font-weight: 700;
}

/* ===== Premium Services Section ===== */
.services {
    background: linear-gradient(180deg, var(--dark) 0%, var(--dark-100) 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 28px;
}

.service-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 40px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-secondary);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-12px);
    background: var(--glass-hover);
    border-color: rgba(6, 182, 212, 0.2);
    box-shadow: 0 20px 60px rgba(6, 182, 212, 0.1);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.1) 0%, rgba(59, 130, 246, 0.15) 100%);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: var(--accent-light);
    margin-bottom: 28px;
}

.service-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 14px;
    letter-spacing: -0.01em;
}

.service-card > p {
    color: var(--gray-light);
    margin-bottom: 24px;
    font-size: 15px;
    line-height: 1.7;
}

.service-features {
    list-style: none;
    margin-bottom: 28px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--gray-light);
    font-size: 14px;
    margin-bottom: 12px;
    font-weight: 500;
}

.service-features i {
    color: var(--success);
    font-size: 12px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--accent-light);
    font-weight: 600;
    font-size: 15px;
}

.service-link:hover {
    gap: 14px;
    color: var(--white);
}

/* ===== Premium FAQ Section ===== */
.faq-section {
    background: linear-gradient(180deg, var(--dark-100) 0%, var(--dark) 100%);
}

.faq-grid {
    max-width: 860px;
    margin: 0 auto;
}

.faq-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    margin-bottom: 16px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: rgba(255, 255, 255, 0.1);
}

.faq-item.active {
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: var(--shadow-glow);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 28px;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.02);
}

.faq-question span {
    font-weight: 600;
    font-size: 17px;
    letter-spacing: -0.01em;
}

.faq-question i {
    color: var(--primary);
    transition: var(--transition);
    font-size: 14px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 28px 24px;
    color: var(--gray-light);
    font-size: 16px;
    line-height: 1.8;
}

/* ===== Premium Demo Section ===== */
.demo-section {
    background: var(--dark-100);
    position: relative;
    overflow: hidden;
}

.demo-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(236, 72, 153, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.demo-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.demo-content .section-title {
    text-align: left;
}

.demo-content > p {
    color: var(--gray-light);
    font-size: 18px;
    margin-bottom: 36px;
    line-height: 1.7;
}

.demo-benefits {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--gray-light);
    font-size: 16px;
    font-weight: 500;
}

.benefit-item i {
    color: var(--success);
    font-size: 18px;
}

.demo-form-wrapper {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 48px;
    backdrop-filter: blur(20px);
}

.demo-form .form-group {
    margin-bottom: 24px;
    position: relative;
}

.demo-form label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--gray-light);
}

.demo-form input,
.demo-form select,
.demo-form textarea {
    width: 100%;
    padding: 16px 20px;
    padding-left: 48px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    color: var(--white);
    font-size: 15px;
    font-family: inherit;
    transition: var(--transition);
}

.demo-form textarea {
    padding-left: 20px;
    resize: vertical;
}

.demo-form input:focus,
.demo-form select:focus,
.demo-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.05);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.demo-form .form-group > i {
    position: absolute;
    left: 18px;
    top: 48px;
    color: var(--gray);
    font-size: 15px;
    pointer-events: none;
}

.demo-form select {
    appearance: none;
    cursor: pointer;
}

.demo-form option {
    background: var(--dark-200);
}

/* ===== Premium Contact Section ===== */
.contact {
    background: var(--dark);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 28px;
    transition: var(--transition);
}

.contact-card:hover {
    background: var(--glass-hover);
    transform: translateX(12px);
    border-color: rgba(99, 102, 241, 0.2);
}

.contact-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.15) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
    font-size: 22px;
    margin-bottom: 18px;
}

.contact-card h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.contact-card p {
    color: var(--gray-light);
    font-size: 15px;
    line-height: 1.8;
}

.social-links {
    display: flex;
    gap: 14px;
    margin-top: 24px;
}

.social-link {
    width: 50px;
    height: 50px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-light);
    font-size: 18px;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    color: var(--white);
    transform: translateY(-6px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.contact-form-wrapper {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 48px;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 18px 22px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    color: var(--white);
    font-size: 15px;
    font-family: inherit;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.05);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.contact-form textarea {
    resize: vertical;
}

/* ===== Premium Footer ===== */
.footer {
    background: var(--dark-100);
    padding: 100px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 72px;
}

.footer-brand .logo {
    margin-bottom: 24px;
}

.footer-brand p {
    color: var(--gray-light);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 28px;
    max-width: 320px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 44px;
    height: 44px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-light);
    font-size: 16px;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    color: var(--white);
    transform: translateY(-4px);
}

.footer-links h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 28px;
    letter-spacing: -0.01em;
}

.footer-links ul li {
    margin-bottom: 14px;
}

.footer-links a {
    color: var(--gray-light);
    font-size: 15px;
    font-weight: 500;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-light);
    padding-left: 6px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 36px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
    color: var(--gray);
    font-size: 14px;
    font-weight: 500;
}

.footer-bottom-links {
    display: flex;
    gap: 36px;
}

.footer-bottom-links a {
    color: var(--gray);
    font-size: 14px;
    font-weight: 500;
}

.footer-bottom-links a:hover {
    color: var(--primary-light);
}

/* ===== Premium Responsive Design ===== */
@media (max-width: 1200px) {
    .container {
        padding: 0 24px;
    }
    
    .hero-visual {
        display: none;
    }
}

@media (max-width: 1024px) {
    .roi-content,
    .demo-wrapper {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 48px;
    }
    
    .step {
        flex-wrap: wrap;
    }
    
    .step-icon {
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    section {
        padding: 80px 0;
    }
    
    .nav-links,
    .nav-cta {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero {
        padding: 120px 24px 80px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 24px;
        align-items: flex-start;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-cta .btn {
        width: 100%;
    }
    
    .problems-grid,
    .features-grid,
    .services-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .role-features-grid {
        grid-template-columns: 1fr;
    }
    
    .role-detail-header {
        flex-direction: column;
        text-align: center;
    }
    
    .role-detail-card {
        padding: 32px 24px;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-12px);
    }
    
    .timeline-bar {
        flex-direction: column;
        gap: 24px;
        align-items: flex-start;
    }
    
    .timeline-bar::before {
        display: none;
    }
    
    .timeline-item {
        flex-direction: row;
        gap: 20px;
    }
    
    .step {
        padding: 28px;
    }
    
    .step-number {
        font-size: 48px;
        min-width: 70px;
    }
    
    .contact-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
    
    .demo-form-wrapper,
    .contact-form-wrapper {
        padding: 32px 24px;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 32px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .btn-lg {
        padding: 16px 28px;
        font-size: 15px;
    }
    
    .role-feature {
        flex-direction: column;
        text-align: center;
    }
    
    .role-feature > i {
        margin: 0 auto;
    }
}

/* ===== Premium Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-fade-in {
    animation: fadeIn 1s ease forwards;
}

.animate-slide-up {
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Hover Glow Effect */
.glow-hover {
    position: relative;
}

.glow-hover::after {
    content: '';
    position: absolute;
    inset: -2px;
    background: var(--gradient-primary);
    border-radius: inherit;
    opacity: 0;
    z-index: -1;
    filter: blur(20px);
    transition: var(--transition);
}

.glow-hover:hover::after {
    opacity: 0.4;
}

/* Gradient Border Animation */
@keyframes gradientBorder {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.gradient-border {
    position: relative;
}

.gradient-border::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: var(--gradient-primary);
    background-size: 200% 200%;
    border-radius: inherit;
    z-index: -1;
    animation: gradientBorder 4s ease infinite;
}

/* Shimmer Effect */
.shimmer {
    position: relative;
    overflow: hidden;
}

.shimmer::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.05),
        transparent
    );
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    100% { left: 100%; }
}

/* ===== Screenshots Gallery Styles ===== */
.btn-view-screenshots {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    color: var(--primary-light);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-left: auto;
}

.btn-view-screenshots:hover {
    background: rgba(99, 102, 241, 0.1);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.role-screenshots {
    display: none;
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    animation: fadeInUp 0.5s ease;
}

.role-screenshots.active {
    display: block;
}

.screenshots-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.screenshots-header h4 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
}

.screenshots-header h4 i {
    color: var(--primary-light);
}

.btn-close-screenshots {
    width: 40px;
    height: 40px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: var(--gray-light);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-close-screenshots:hover {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
    color: #f87171;
}

.screenshots-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.screenshots-gallery.mobile-screenshots {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.screenshot-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
}

.screenshot-item:hover {
    transform: translateY(-8px);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: var(--shadow-glow);
}

.screenshot-item.mobile {
    max-width: 220px;
    margin: 0 auto;
}

.screenshot-placeholder {
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 50%, rgba(236, 72, 153, 0.05) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 24px;
    position: relative;
    overflow: hidden;
}

.screenshot-placeholder.mobile {
    aspect-ratio: 9/16;
}

.screenshot-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,0.03) 50%, transparent 60%);
    animation: shimmer 3s infinite;
}

.screenshot-placeholder i {
    font-size: 48px;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.screenshot-placeholder span {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-light);
    text-align: center;
}

.screenshot-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.screenshot-item:hover img {
    transform: scale(1.05);
}

.screenshot-item p {
    padding: 16px;
    font-size: 13px;
    color: var(--gray-light);
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

/* Screenshot Modal/Lightbox */
.screenshot-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.screenshot-modal.active {
    display: flex;
    opacity: 1;
}

.screenshot-modal img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.screenshot-modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 50px;
    height: 50px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    color: var(--white);
    font-size: 20px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.screenshot-modal-close:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.5);
}

.screenshot-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    color: var(--white);
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.screenshot-modal-nav:hover {
    background: rgba(99, 102, 241, 0.2);
    border-color: var(--primary);
}

.screenshot-modal-nav.prev { left: 24px; }
.screenshot-modal-nav.next { right: 24px; }

.screenshot-modal-info {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--white);
    z-index: 10;
}

.screenshot-modal-title {
    display: block;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 8px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.screenshot-modal-counter {
    display: block;
    font-size: 14px;
    color: var(--gray-light);
    background: rgba(0, 0, 0, 0.5);
    padding: 6px 16px;
    border-radius: 20px;
}

/* Screenshot Loading, Empty, Error States */
.screenshots-loading,
.screenshots-empty,
.screenshots-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    color: var(--gray);
    text-align: center;
    width: 100%;
}

.screenshots-loading i,
.screenshots-empty i,
.screenshots-error i {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.screenshots-loading i {
    color: var(--primary);
    opacity: 1;
}

.screenshots-error i {
    color: var(--danger);
}

.screenshots-gallery .screenshot-item {
    cursor: pointer;
    transition: var(--transition);
}

.screenshots-gallery .screenshot-item:hover {
    transform: translateY(-5px);
}

.screenshots-gallery .screenshot-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    transition: var(--transition);
}

.screenshots-gallery .screenshot-item:hover img {
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.3);
}

.screenshots-gallery .screenshot-item p {
    font-size: 14px;
    color: var(--gray-light);
    text-align: center;
}

@media (max-width: 768px) {
    .role-detail-header {
        flex-wrap: wrap;
    }
    
    .btn-view-screenshots {
        margin-left: 0;
        margin-top: 16px;
        width: 100%;
        justify-content: center;
    }
    
    .screenshots-gallery {
        grid-template-columns: 1fr 1fr;
    }
    
    .screenshots-gallery.mobile-screenshots {
        grid-template-columns: 1fr 1fr;
    }
    
    .screenshot-item.mobile {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .screenshots-gallery,
    .screenshots-gallery.mobile-screenshots {
        grid-template-columns: 1fr;
    }
}
