/* ==========================================
   PROFESSIONAL WEBSITE - DESIGN SYSTEM
   Modern Dark Theme with Glassmorphism
   ========================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --primary-400: #818cf8;
    --primary-500: #6366f1;
    --primary-600: #4f46e5;
    --primary-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);

    /* Colors - Accent */
    --accent-400: #22d3ee;
    --accent-500: #06b6d4;
    --accent-600: #0891b2;

    /* Colors - Backgrounds */
    --bg-900: #0f172a;
    --bg-800: #1e293b;
    --bg-700: #334155;
    --bg-600: #475569;

    /* Colors - Surface (Glassmorphism) */
    --surface-glass: rgba(30, 41, 59, 0.7);
    --surface-glass-border: rgba(255, 255, 255, 0.1);
    --surface-glass-hover: rgba(51, 65, 85, 0.8);

    /* Colors - Text */
    --text-100: #f1f5f9;
    --text-200: #e2e8f0;
    --text-300: #cbd5e1;
    --text-400: #94a3b8;
    --text-500: #64748b;

    /* Colors - Semantic */
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    /* Font Sizes */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 3.75rem;

    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.3);
    --shadow-glow-accent: 0 0 40px rgba(6, 182, 212, 0.3);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;

    /* Z-Index */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-modal: 300;
    --z-tooltip: 400;
}

/* ==========================================
   RESET & BASE STYLES
   ========================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-family);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--text-200);
    background: var(--bg-900);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Animated Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 20% 20%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(6, 182, 212, 0.05) 0%, transparent 70%);
    z-index: -1;
    animation: backgroundPulse 15s ease-in-out infinite;
}

@keyframes backgroundPulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

/* ==========================================
   FLOATING PARTICLES (Bubbles & Stars)
   ========================================== */
.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    animation: floatUp linear infinite;
}

.particle.bubble {
    background: radial-gradient(circle at 30% 30%,
            rgba(99, 102, 241, 0.4) 0%,
            rgba(139, 92, 246, 0.1) 50%,
            transparent 70%);
    box-shadow:
        inset 0 0 10px rgba(255, 255, 255, 0.1),
        0 0 20px rgba(99, 102, 241, 0.2);
}

.particle.star {
    background: white;
    box-shadow:
        0 0 6px 2px rgba(255, 255, 255, 0.8),
        0 0 12px 4px rgba(99, 102, 241, 0.6);
    animation: floatUp linear infinite, twinkle 2s ease-in-out infinite;
}

@keyframes floatUp {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

@keyframes twinkle {

    0%,
    100% {
        opacity: 0.4;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

.particle.float-wave {
    animation: floatWave linear infinite;
}

@keyframes floatWave {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    25% {
        transform: translateY(75vh) translateX(30px);
    }

    50% {
        transform: translateY(50vh) translateX(-30px);
    }

    75% {
        transform: translateY(25vh) translateX(30px);
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(-100px) translateX(0);
        opacity: 0;
    }
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-base);
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul,
ol {
    list-style: none;
}

input,
textarea,
select {
    font-family: inherit;
    font-size: inherit;
}

/* ==========================================
   TYPOGRAPHY
   ========================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', var(--font-family);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-100);
}

h1 {
    font-size: var(--text-5xl);
}

h2 {
    font-size: var(--text-4xl);
}

h3 {
    font-size: var(--text-3xl);
}

h4 {
    font-size: var(--text-2xl);
}

h5 {
    font-size: var(--text-xl);
}

h6 {
    font-size: var(--text-lg);
}

p {
    color: var(--text-300);
    margin-bottom: var(--space-4);
}

.text-gradient {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-accent {
    color: var(--accent-500);
}

/* ==========================================
   LAYOUT & CONTAINER
   ========================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.section {
    padding: var(--space-24) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-16);
}

.section-header h2 {
    margin-bottom: var(--space-4);
}

.section-header p {
    font-size: var(--text-lg);
    max-width: 600px;
    margin: 0 auto;
}

/* ==========================================
   NAVIGATION
   ========================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-sticky);
    padding: var(--space-4) 0;
    transition: background var(--transition-base), backdrop-filter var(--transition-base);
}

.navbar.scrolled {
    background: var(--surface-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--surface-glass-border);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: var(--text-2xl);
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-8);
}

.nav-links a {
    font-weight: 500;
    color: var(--text-300);
    position: relative;
    padding: var(--space-2) 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: width var(--transition-base);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-100);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-2);
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--text-200);
    transition: transform var(--transition-base), opacity var(--transition-base);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    font-weight: 600;
    font-size: var(--text-sm);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left var(--transition-slow);
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 60px rgba(99, 102, 241, 0.4);
}

.btn-secondary {
    background: var(--surface-glass);
    color: var(--text-100);
    border: 1px solid var(--surface-glass-border);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--surface-glass-hover);
    border-color: var(--primary-400);
}

.btn-outline {
    background: transparent;
    color: var(--primary-400);
    border: 2px solid var(--primary-400);
}

.btn-outline:hover {
    background: var(--primary-500);
    color: white;
    border-color: var(--primary-500);
}

.btn-lg {
    padding: var(--space-4) var(--space-8);
    font-size: var(--text-base);
}

/* ==========================================
   CARDS & GLASSMORPHISM
   ========================================== */
.card {
    background: var(--surface-glass);
    border: 1px solid var(--surface-glass-border);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all var(--transition-base);
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-400);
    box-shadow: var(--shadow-glow);
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-lg);
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-6);
    font-size: var(--text-2xl);
}

.card h3 {
    margin-bottom: var(--space-3);
}

.card p {
    color: var(--text-400);
    margin-bottom: 0;
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--space-24);
    position: relative;
    overflow: hidden;
}

.hero::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.2) 0%, transparent 70%);
    animation: heroGlow 8s ease-in-out infinite;
}

@keyframes heroGlow {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        transform: translate(-50%, -50%) scale(1.2);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    background: var(--surface-glass);
    border: 1px solid var(--surface-glass-border);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    color: var(--text-300);
    margin-bottom: var(--space-6);
    backdrop-filter: blur(10px);
}

.hero-badge span {
    color: var(--accent-500);
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: var(--space-6);
    line-height: 1.1;
}

.hero p {
    font-size: var(--text-xl);
    color: var(--text-400);
    margin-bottom: var(--space-8);
    max-width: 550px;
}

.hero-buttons {
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: var(--space-12);
    margin-top: var(--space-16);
    padding-top: var(--space-8);
    border-top: 1px solid var(--surface-glass-border);
}

.hero-stat h4 {
    font-size: var(--text-3xl);
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-stat p {
    font-size: var(--text-sm);
    color: var(--text-400);
    margin-bottom: 0;
}

/* Floating Elements */
/* Floating Elements Container */
.hero-visual {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 600px;
    /* Increased width for better spacing */
    height: 600px;
    z-index: 0;
}

/* Background Blob for Hero Visual */
.hero-visual::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, rgba(56, 189, 248, 0.1) 40%, transparent 70%);
    filter: blur(40px);
    border-radius: 50%;
    z-index: -2;
    /* Moved behind grid */
    animation: pulseGlow 5s ease-in-out infinite alternate;
}

/* Tech Grid Overlay */
.hero-visual::after {
    content: '';
    position: absolute;
    inset: -20%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
    mask-image: radial-gradient(circle at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(circle at center, black 30%, transparent 70%);
    pointer-events: none;
}

@keyframes pulseGlow {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.5;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.8;
    }
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.03);
    /* Lighter glass */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: var(--space-4) var(--space-6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    animation: float 6s ease-in-out infinite;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    /* Stronger shadow */
    z-index: 2;
    white-space: nowrap;
    /* Prevent text wrapping */
}

/* Position 1: Top Left */
.floating-card:nth-child(1) {
    top: 15%;
    left: 0%;
    animation-delay: 0s;
}

/* Position 2: Top Right */
.floating-card:nth-child(2) {
    top: 25%;
    right: 5%;
    animation-delay: 2s;
}

/* Position 3: Bottom Left */
.floating-card:nth-child(3) {
    bottom: 20%;
    left: 10%;
    animation-delay: 4s;
}

/* Position 4: Bottom Right (Global Support) */
.floating-card:nth-child(4) {
    bottom: 30%;
    right: 20%;
    animation-delay: 1s;
    /* Different delay */
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* ==========================================
   FEATURES / SERVICES GRID
   ========================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-8);
}

.feature-card {
    text-align: center;
}

.feature-card .card-icon {
    margin: 0 auto var(--space-6);
}

/* ==========================================
   TESTIMONIALS
   ========================================== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-8);
}

.testimonial-card {
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: var(--space-4);
    right: var(--space-6);
    font-size: 80px;
    font-family: Georgia, serif;
    color: var(--primary-500);
    opacity: 0.2;
    line-height: 1;
}

.testimonial-content {
    font-size: var(--text-lg);
    font-style: italic;
    color: var(--text-300);
    margin-bottom: var(--space-6);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-full);
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
}

.testimonial-info h5 {
    font-size: var(--text-base);
    margin-bottom: var(--space-1);
}

.testimonial-info p {
    font-size: var(--text-sm);
    color: var(--text-500);
    margin-bottom: 0;
}

/* ==========================================
   CTA SECTION
   ========================================== */
.cta-section {
    background: var(--primary-gradient);
    border-radius: var(--radius-2xl);
    padding: var(--space-16);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    animation: ctaPulse 10s linear infinite;
}

@keyframes ctaPulse {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.cta-section h2 {
    position: relative;
    color: white;
    margin-bottom: var(--space-4);
}

.cta-section p {
    position: relative;
    color: rgba(255, 255, 255, 0.9);
    font-size: var(--text-lg);
    max-width: 500px;
    margin: 0 auto var(--space-8);
}

.cta-section .btn {
    position: relative;
    background: white;
    color: var(--primary-600);
}

.cta-section .btn:hover {
    background: var(--text-100);
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    background: var(--bg-800);
    border-top: 1px solid var(--surface-glass-border);
    padding: var(--space-16) 0 var(--space-8);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: var(--space-12);
    margin-bottom: var(--space-12);
}

.footer-brand .logo {
    margin-bottom: var(--space-4);
    display: inline-block;
}

.footer-brand p {
    color: var(--text-400);
    max-width: 300px;
}

.footer-links h5 {
    font-size: var(--text-base);
    margin-bottom: var(--space-6);
    color: var(--text-100);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.footer-links a {
    color: var(--text-400);
    font-size: var(--text-sm);
    transition: color var(--transition-base);
}

.footer-links a:hover {
    color: var(--primary-400);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-8);
    border-top: 1px solid var(--surface-glass-border);
}

.footer-bottom p {
    color: var(--text-500);
    font-size: var(--text-sm);
    margin-bottom: 0;
}

.social-links {
    display: flex;
    gap: var(--space-4);
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-lg);
    background: var(--surface-glass);
    border: 1px solid var(--surface-glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-300);
    transition: all var(--transition-base);
}

.social-links a:hover {
    background: var(--primary-500);
    border-color: var(--primary-500);
    color: white;
}

/* ==========================================
   FORMS
   ========================================== */
.form-group {
    margin-bottom: var(--space-6);
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: var(--space-2);
    color: var(--text-200);
}

.form-control {
    width: 100%;
    padding: var(--space-4);
    background: var(--bg-800);
    border: 1px solid var(--surface-glass-border);
    border-radius: var(--radius-lg);
    color: var(--text-100);
    transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-500);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.form-control::placeholder {
    color: var(--text-500);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* Newsletter Form */
.newsletter-form {
    display: flex;
    gap: var(--space-3);
    max-width: 450px;
}

.newsletter-form .form-control {
    flex: 1;
}

/* ==========================================
   PAGE HEADERS
   ========================================== */
.page-header {
    padding: calc(var(--space-24) + 80px) 0 var(--space-16);
    text-align: center;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(99, 102, 241, 0.2) 0%, transparent 60%);
}

.page-header h1 {
    position: relative;
    margin-bottom: var(--space-4);
}

.page-header p {
    position: relative;
    font-size: var(--text-xl);
    max-width: 600px;
    margin: 0 auto;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    justify-content: center;
    gap: var(--space-2);
    margin-bottom: var(--space-6);
    font-size: var(--text-sm);
    color: var(--text-400);
    position: relative;
}

.breadcrumb a {
    color: var(--primary-400);
}

.breadcrumb span {
    color: var(--text-500);
}

/* ==========================================
   ABOUT PAGE SPECIFIC
   ========================================== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
}

.about-image {
    border-radius: var(--radius-2xl);
    overflow: hidden;
    position: relative;
}

.about-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--primary-gradient);
    opacity: 0.1;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-8);
}

.team-card {
    text-align: center;
}

.team-avatar {
    width: 120px;
    height: 120px;
    border-radius: var(--radius-full);
    background: var(--primary-gradient);
    margin: 0 auto var(--space-6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-4xl);
    font-weight: 700;
    color: white;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--surface-glass-border);
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding-right: calc(50% + 30px);
    margin-bottom: var(--space-12);
    position: relative;
}

.timeline-item:nth-child(even) {
    justify-content: flex-start;
    padding-right: 0;
    padding-left: calc(50% + 30px);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    background: var(--primary-500);
    border-radius: var(--radius-full);
    border: 3px solid var(--bg-900);
}

.timeline-content {
    background: var(--surface-glass);
    border: 1px solid var(--surface-glass-border);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    max-width: 350px;
}

.timeline-content h4 {
    color: var(--primary-400);
    font-size: var(--text-sm);
    margin-bottom: var(--space-2);
}

.timeline-content h3 {
    font-size: var(--text-lg);
    margin-bottom: var(--space-2);
}

.timeline-content p {
    font-size: var(--text-sm);
    margin-bottom: 0;
}

/* ==========================================
   SERVICES PAGE SPECIFIC
   ========================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-8);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-8);
}

.pricing-card {
    text-align: center;
    position: relative;
}

.pricing-card.featured {
    border-color: var(--primary-500);
    transform: scale(1.05);
}

.pricing-card.featured::before {
    content: 'Popular';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--primary-gradient);
    color: white;
    padding: var(--space-1) var(--space-4);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 600;
}

.pricing-header {
    margin-bottom: var(--space-6);
    padding-bottom: var(--space-6);
    border-bottom: 1px solid var(--surface-glass-border);
}

.pricing-header h3 {
    margin-bottom: var(--space-2);
}

.pricing-header .price {
    font-size: var(--text-4xl);
    font-weight: 800;
    color: var(--text-100);
}

.pricing-header .price span {
    font-size: var(--text-base);
    font-weight: 400;
    color: var(--text-400);
}

.pricing-features {
    margin-bottom: var(--space-8);
}

.pricing-features li {
    padding: var(--space-3) 0;
    color: var(--text-300);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
}

.pricing-features li::before {
    content: '✓';
    color: var(--success);
    font-weight: 700;
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--surface-glass);
    border: 1px solid var(--surface-glass-border);
    border-radius: var(--radius-xl);
    margin-bottom: var(--space-4);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: var(--space-6);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--text-100);
    text-align: left;
    transition: background var(--transition-base);
}

.faq-question:hover {
    background: var(--surface-glass-hover);
}

.faq-question::after {
    content: '+';
    font-size: var(--text-xl);
    color: var(--primary-400);
    transition: transform var(--transition-base);
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 var(--space-6) var(--space-6);
    margin-bottom: 0;
}

/* ==========================================
   CONTACT PAGE SPECIFIC
   ========================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
}

.contact-info-cards {
    display: grid;
    gap: var(--space-6);
}

.contact-info-card {
    display: flex;
    gap: var(--space-4);
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-lg);
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-xl);
    flex-shrink: 0;
}

.contact-info-card h4 {
    font-size: var(--text-base);
    margin-bottom: var(--space-1);
}

.contact-info-card p {
    color: var(--text-400);
    margin-bottom: 0;
    font-size: var(--text-sm);
}

.contact-form-wrapper {
    background: var(--surface-glass);
    border: 1px solid var(--surface-glass-border);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
}

.map-placeholder {
    height: 300px;
    background: var(--bg-800);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-500);
    margin-top: var(--space-8);
    border: 1px solid var(--surface-glass-border);
}

/* ==========================================
   BLOG PAGE SPECIFIC
   ========================================== */
.blog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-4);
    margin-bottom: var(--space-8);
}

.blog-filters {
    display: flex;
    gap: var(--space-3);
    flex-wrap: wrap;
}

.filter-btn {
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    color: var(--text-300);
    background: var(--surface-glass);
    border: 1px solid var(--surface-glass-border);
    transition: all var(--transition-base);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-500);
    border-color: var(--primary-500);
    color: white;
}

.blog-search {
    position: relative;
}

.blog-search input {
    padding-left: var(--space-10);
    width: 250px;
}

.blog-search::before {
    content: '🔍';
    position: absolute;
    left: var(--space-4);
    top: 50%;
    transform: translateY(-50%);
    font-size: var(--text-sm);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-8);
}

.blog-card {
    overflow: hidden;
}

.blog-image {
    height: 200px;
    background: var(--primary-gradient);
    margin: calc(var(--space-8) * -1);
    margin-bottom: var(--space-6);
    position: relative;
}

.blog-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.5) 100%);
}

.blog-category {
    position: absolute;
    bottom: var(--space-4);
    left: var(--space-4);
    background: var(--primary-500);
    color: white;
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 600;
}

.blog-meta {
    display: flex;
    gap: var(--space-4);
    font-size: var(--text-sm);
    color: var(--text-500);
    margin-bottom: var(--space-3);
}

.blog-card h3 {
    font-size: var(--text-xl);
    margin-bottom: var(--space-3);
}

.blog-card h3 a:hover {
    color: var(--primary-400);
}

.read-more {
    color: var(--primary-400);
    font-weight: 600;
    font-size: var(--text-sm);
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
}

.read-more:hover {
    gap: var(--space-3);
}

/* Featured Post */
.featured-post {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
}

.featured-post .blog-image {
    margin: 0;
    height: 100%;
    min-height: 300px;
    border-radius: var(--radius-xl);
}

.featured-post .blog-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: var(--space-2);
    margin-top: var(--space-12);
}

.pagination button {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-lg);
    background: var(--surface-glass);
    border: 1px solid var(--surface-glass-border);
    color: var(--text-300);
    font-weight: 500;
    transition: all var(--transition-base);
}

.pagination button:hover,
.pagination button.active {
    background: var(--primary-500);
    border-color: var(--primary-500);
    color: white;
}

/* ==========================================
   ANIMATIONS
   ========================================== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Stagger animation delay */
.stagger-1 {
    transition-delay: 0.1s;
}

.stagger-2 {
    transition-delay: 0.2s;
}

.stagger-3 {
    transition-delay: 0.3s;
}

.stagger-4 {
    transition-delay: 0.4s;
}

.stagger-5 {
    transition-delay: 0.5s;
}

/* ==========================================
   UTILITY CLASSES
   ========================================== */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mt-4 {
    margin-top: var(--space-4);
}

.mt-8 {
    margin-top: var(--space-8);
}

.mt-12 {
    margin-top: var(--space-12);
}

.mb-4 {
    margin-bottom: var(--space-4);
}

.mb-8 {
    margin-bottom: var(--space-8);
}

.mb-12 {
    margin-bottom: var(--space-12);
}

.flex {
    display: flex;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.gap-4 {
    gap: var(--space-4);
}

.gap-8 {
    gap: var(--space-8);
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */
@media (max-width: 1024px) {
    .hero-visual {
        display: none;
    }

    .about-content,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .featured-post {
        grid-template-columns: 1fr;
    }

    .timeline::before {
        left: 0;
    }

    .timeline-item,
    .timeline-item:nth-child(even) {
        padding-left: 40px;
        padding-right: 0;
    }

    .timeline-item::before {
        left: 0;
        transform: none;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: var(--text-4xl);
    }

    h2 {
        font-size: var(--text-3xl);
    }

    h3 {
        font-size: var(--text-2xl);
    }

    .section {
        padding: var(--space-16) 0;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--bg-800);
        flex-direction: column;
        padding: var(--space-8);
        gap: var(--space-4);
        transform: translateY(-150%);
        opacity: 0;
        transition: transform var(--transition-base), opacity var(--transition-base);
        border-bottom: 1px solid var(--surface-glass-border);
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: var(--space-6);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand p {
        max-width: none;
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-4);
    }

    .pricing-card.featured {
        transform: none;
    }

    .blog-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .blog-search input {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-4);
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .features-grid,
    .testimonials-grid,
    .services-grid,
    .pricing-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   NOTIFICATION / TOAST
   ========================================== */
.toast {
    position: fixed;
    bottom: var(--space-6);
    right: var(--space-6);
    background: var(--surface-glass);
    border: 1px solid var(--surface-glass-border);
    backdrop-filter: blur(20px);
    padding: var(--space-4) var(--space-6);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    gap: var(--space-3);
    transform: translateX(150%);
    transition: transform var(--transition-base);
    z-index: var(--z-tooltip);
}

.toast.show {
    transform: translateX(0);
}

.toast.success {
    border-color: var(--success);
}

.toast.error {
    border-color: var(--error);
}

/* ==========================================
   BACK TO TOP BUTTON
   ========================================== */
.back-to-top {
    position: fixed;
    bottom: var(--space-8);
    right: var(--space-8);
    width: 50px;
    height: 50px;
    border-radius: var(--radius-full);
    background: var(--primary-gradient);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-xl);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-base);
    z-index: var(--z-sticky);
    box-shadow: var(--shadow-glow);
    border: none;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 60px rgba(99, 102, 241, 0.5);
}

/* ==========================================
   CUSTOM SCROLLBAR
   ========================================== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-900);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-600);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-500);
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--bg-600) var(--bg-900);
}

/* ==========================================
   PRELOADER / LOADING SCREEN
   ========================================== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-900);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--surface-glass-border);
    border-top-color: var(--primary-500);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ==========================================
   ADDITIONAL HOVER EFFECTS
   ========================================== */
.card-hover-glow:hover {
    box-shadow:
        0 0 20px rgba(99, 102, 241, 0.3),
        0 0 40px rgba(99, 102, 241, 0.1);
}

/* Gradient border on hover */
.gradient-border {
    position: relative;
}

.gradient-border::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: var(--primary-gradient);
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.gradient-border:hover::before {
    opacity: 1;
}

/* ==========================================
   SKELETON LOADING
   ========================================== */
.skeleton {
    background: linear-gradient(90deg,
            var(--bg-700) 25%,
            var(--bg-600) 50%,
            var(--bg-700) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: var(--radius-md);
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* ==========================================
   BADGE STYLES
   ========================================== */
.badge {
    display: inline-flex;
    align-items: center;
    padding: var(--space-1) var(--space-3);
    font-size: var(--text-xs);
    font-weight: 600;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-primary {
    background: rgba(99, 102, 241, 0.2);
    color: var(--primary-400);
}

.badge-success {
    background: rgba(16, 185, 129, 0.2);
    color: var(--success);
}

.badge-warning {
    background: rgba(245, 158, 11, 0.2);
    color: var(--warning);
}

/* ==========================================
   BIG PAGE ENHANCEMENTS
   ========================================== */

/* Logo Marquee */
.logo-marquee {
    overflow: hidden;
    padding: var(--space-8) 0;
    background: var(--bg-800);
    border-top: 1px solid var(--surface-glass-border);
    border-bottom: 1px solid var(--surface-glass-border);
}

.marquee-content {
    display: flex;
    gap: var(--space-24);
    animation: marquee 30s linear infinite;
    width: max-content;
}

.marquee-item {
    font-size: var(--text-2xl);
    font-weight: 800;
    color: var(--text-500);
    opacity: 0.5;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Process Steps */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-12);
    margin-top: var(--space-8);
}

.process-step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-gradient);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-xl);
    font-weight: 800;
    color: white;
    margin: 0 auto var(--space-4);
}

/* Portfolio Section */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-8);
}

.portfolio-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    height: 400px;
    background: var(--bg-800);
    border: 1px solid var(--surface-glass-border);
}

.portfolio-img {
    height: 100%;
    width: 100%;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 100px;
    transition: transform var(--transition-base);
}

.portfolio-card:hover .portfolio-img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95), transparent);
    padding: var(--space-8);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-tag {
    color: var(--accent-400);
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: var(--space-1);
}

/* ==========================================
   PREMIUM LIGHT MODE THEME OVERRIDES
   ========================================== */
body.light-mode {
    --bg-900: #f8fafc;
    --bg-800: #f1f5f9;
    --bg-700: #e2e8f0;
    --bg-600: #cbd5e1;

    --surface-glass: rgba(255, 255, 255, 0.75);
    --surface-glass-border: rgba(15, 23, 42, 0.08);
    --surface-glass-hover: rgba(255, 255, 255, 0.95);

    --text-100: #0f172a;
    --text-200: #1e293b;
    --text-300: #334155;
    --text-400: #627289;
    --text-500: #8ba2b9;

    --shadow-glow: 0 10px 40px rgba(99, 102, 241, 0.15);
    --shadow-glow-accent: 0 10px 40px rgba(6, 182, 212, 0.15);
}

body.light-mode::before {
    background:
        radial-gradient(ellipse at 20% 20%, rgba(99, 102, 241, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(139, 92, 246, 0.04) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(6, 182, 212, 0.03) 0%, transparent 70%);
}

body.light-mode .floating-card {
    background: rgba(255, 255, 255, 0.6);
    border-color: rgba(15, 23, 42, 0.08);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    color: var(--text-200);
}

body.light-mode .logo-marquee {
    background: var(--bg-800);
    border-color: rgba(15, 23, 42, 0.06);
}

body.light-mode .marquee-item {
    color: var(--text-400);
}

body.light-mode .particle.bubble {
    background: radial-gradient(circle at 30% 30%,
            rgba(99, 102, 241, 0.2) 0%,
            rgba(139, 92, 246, 0.05) 50%,
            transparent 70%);
    box-shadow:
        inset 0 0 10px rgba(0, 0, 0, 0.02),
        0 0 20px rgba(99, 102, 241, 0.08);
}

body.light-mode .particle.star {
    background: #6366f1;
    box-shadow:
        0 0 6px 1px rgba(99, 102, 241, 0.3),
        0 0 12px 2px rgba(139, 92, 246, 0.2);
}

/* ==========================================
   THEME TOGGLE SWITCH
   ========================================== */
.theme-toggle-container {
    display: flex;
    align-items: center;
    margin-left: var(--space-4);
}

.theme-toggle-btn {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    background: var(--surface-glass);
    border: 1px solid var(--surface-glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-xl);
    color: var(--text-200);
    transition: all var(--transition-base);
    backdrop-filter: blur(10px);
}

.theme-toggle-btn:hover {
    border-color: var(--primary-400);
    transform: scale(1.05);
    box-shadow: var(--shadow-glow);
}

.theme-toggle-btn .sun-icon {
    display: block;
}

.theme-toggle-btn .moon-icon {
    display: none;
}

body.light-mode .theme-toggle-btn .sun-icon {
    display: none;
}

body.light-mode .theme-toggle-btn .moon-icon {
    display: block;
}

/* ==========================================
   BILLING SWITCHER STYLES
   ========================================== */
.billing-switcher-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-4);
    margin-bottom: var(--space-12);
}

.billing-label {
    font-weight: 600;
    font-size: var(--text-base);
    color: var(--text-300);
    transition: color var(--transition-base);
}

.billing-label.active {
    color: var(--text-100);
}

.toggle-switch-wrapper {
    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(--bg-700);
    transition: var(--transition-base);
    border-radius: var(--radius-full);
    border: 1px solid var(--surface-glass-border);
}

.toggle-slider::before {
    position: absolute;
    content: "";
    height: 24px;
    width: 24px;
    left: 3px;
    bottom: 3px;
    background: var(--text-100);
    transition: var(--transition-base);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-sm);
}

.toggle-switch-input:checked + .toggle-slider {
    background: var(--primary-gradient);
    border-color: transparent;
}

.toggle-switch-input:checked + .toggle-slider::before {
    transform: translateX(28px);
}

.discount-badge {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    font-size: var(--text-xs);
    font-weight: 700;
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
}

/* ==========================================
   SAAS APP SHOWCASE DASHBOARD
   ========================================== */
.showcase-dashboard {
    width: 100%;
    height: 100%;
    background: var(--surface-glass);
    border: 1px solid var(--surface-glass-border);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
    display: grid;
    grid-template-columns: 200px 1fr;
    transition: all var(--transition-base);
}

.showcase-dashboard:hover {
    border-color: rgba(99, 102, 241, 0.3);
}

@media (max-width: 991px) {
    .hero-visual {
        display: none !important;
    }
}

/* Dashboard Sidebar */
.dashboard-sidebar {
    background: rgba(15, 23, 42, 0.4);
    border-right: 1px solid var(--surface-glass-border);
    padding: var(--space-6) var(--space-4);
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.sidebar-logo {
    font-weight: 800;
    font-size: var(--text-lg);
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-4);
    padding-left: var(--space-2);
}

.sidebar-menu {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.sidebar-menu-btn {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-lg);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-400);
    text-align: left;
    transition: all var(--transition-fast);
}

.sidebar-menu-btn.active {
    color: var(--text-100);
    background: rgba(255, 255, 255, 0.05);
    border-left: 3px solid var(--primary-500);
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

body.light-mode .sidebar-menu-btn.active {
    background: rgba(15, 23, 42, 0.05);
}

.sidebar-menu-btn:hover:not(.active) {
    color: var(--text-200);
    background: rgba(255, 255, 255, 0.02);
}

/* Dashboard Main Content */
.dashboard-main {
    padding: var(--space-6);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--surface-glass-border);
    padding-bottom: var(--space-4);
    margin-bottom: var(--space-6);
}

.dashboard-header h4 {
    font-size: var(--text-lg);
    font-weight: 700;
}

.dashboard-tabs {
    display: flex;
    background: var(--bg-800);
    border: 1px solid var(--surface-glass-border);
    padding: 3px;
    border-radius: var(--radius-full);
    gap: 2px;
}

.dashboard-tab-btn {
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--text-400);
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
}

.dashboard-tab-btn.active {
    color: white;
    background: var(--primary-gradient);
    box-shadow: var(--shadow-sm);
}

.dashboard-panel {
    display: none;
    flex-grow: 1;
    animation: fadeIn 0.4s ease;
}

.dashboard-panel.active {
    display: flex;
    flex-direction: column;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Tab 1: Analytics Panel */
.analytics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
    margin-bottom: var(--space-6);
}

.mini-stat-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--surface-glass-border);
    border-radius: var(--radius-xl);
    padding: var(--space-4);
}

body.light-mode .mini-stat-card {
    background: rgba(15, 23, 42, 0.01);
}

.mini-stat-card p {
    font-size: var(--text-xs);
    color: var(--text-400);
    margin-bottom: var(--space-1);
}

.mini-stat-card h5 {
    font-size: var(--text-xl);
    font-weight: 800;
    margin-bottom: var(--space-2);
}

.stat-trend {
    display: inline-flex;
    align-items: center;
    font-size: var(--text-xs);
    font-weight: 700;
    gap: 4px;
}

.stat-trend.up { color: var(--success); }
.stat-trend.down { color: var(--error); }

/* Chart Mockup CSS */
.chart-mockup {
    flex-grow: 1;
    height: 180px;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--surface-glass-border);
    border-radius: var(--radius-xl);
    padding: var(--space-4);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.chart-bars {
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    height: 120px;
    padding-top: var(--space-4);
}

.chart-bar-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    flex-grow: 1;
}

.chart-bar {
    width: 24px;
    background: var(--primary-gradient);
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    opacity: 0.8;
    transition: height 1s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-glow);
}

.chart-bar:hover {
    opacity: 1;
}

.chart-label {
    font-size: 10px;
    color: var(--text-400);
    font-weight: 500;
}

/* Tab 2: Live Activity Panel */
.live-activity-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    max-height: 280px;
    overflow-y: auto;
}

.activity-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-3) var(--space-4);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--surface-glass-border);
    border-radius: var(--radius-lg);
}

body.light-mode .activity-item {
    background: rgba(15, 23, 42, 0.01);
}

.activity-user {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.activity-avatar {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-full);
    background: var(--primary-gradient);
    color: white;
    font-weight: 800;
    font-size: var(--text-xs);
    display: flex;
    align-items: center;
    justify-content: center;
}

.activity-details h6 {
    font-size: var(--text-xs);
    margin-bottom: 2px;
}

.activity-details p {
    font-size: 10px;
    color: var(--text-400);
    margin-bottom: 0;
}

.activity-badge {
    font-size: 10px;
    font-weight: 700;
    color: var(--success);
    background: rgba(16, 185, 129, 0.1);
    padding: 2px 8px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    gap: 4px;
}

.activity-pulse {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--success);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

/* Tab 3: Funnel Panel */
.funnel-container {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    padding: var(--space-2) 0;
}

.funnel-stage {
    position: relative;
    height: 52px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--surface-glass-border);
    display: flex;
    align-items: center;
    padding: 0 var(--space-6);
    justify-content: space-between;
    overflow: hidden;
}

body.light-mode .funnel-stage {
    background: rgba(15, 23, 42, 0.01);
}

.funnel-stage-fill {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    background: var(--primary-gradient);
    opacity: 0.15;
    z-index: 0;
    transition: width 1s ease-out;
}

.funnel-stage-label {
    font-weight: 700;
    font-size: var(--text-sm);
    z-index: 1;
}

.funnel-stage-value {
    font-weight: 800;
    font-size: var(--text-base);
    color: var(--accent-400);
    z-index: 1;
}

/* ==========================================
   PROJECT ESTIMATOR WIDGET (SERVICES PAGE)
   ========================================== */
.calculator-widget {
    margin-top: var(--space-12);
}

.calculator-card {
    background: var(--surface-glass);
    border: 1px solid var(--surface-glass-border);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: var(--space-12);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
}

@media (max-width: 768px) {
    .calculator-card {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }
}

.calc-inputs {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.calc-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.calc-label-row {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-size: var(--text-base);
}

.calc-value-badge {
    color: var(--primary-400);
    background: rgba(99, 102, 241, 0.15);
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
}

/* Custom Range Input styling */
.calc-range {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    border-radius: var(--radius-full);
    background: var(--bg-700);
    outline: none;
}

.calc-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-500);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
    border: 2px solid white;
    transition: background var(--transition-fast), transform var(--transition-fast);
}

.calc-range::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    background: var(--primary-400);
}

/* Custom Toggles Grid */
.calc-toggles {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
}

.checkbox-card {
    position: relative;
    border: 1px solid var(--surface-glass-border);
    border-radius: var(--radius-xl);
    padding: var(--space-4);
    display: flex;
    align-items: center;
    gap: var(--space-3);
    cursor: pointer;
    background: rgba(255, 255, 255, 0.01);
    transition: all var(--transition-base);
}

.checkbox-card:hover {
    border-color: var(--primary-400);
    background: rgba(99, 102, 241, 0.02);
}

.checkbox-card.active {
    border-color: var(--primary-500);
    background: rgba(99, 102, 241, 0.08);
    box-shadow: var(--shadow-glow);
}

.checkbox-card input {
    accent-color: var(--primary-500);
    width: 18px;
    height: 18px;
}

.checkbox-card span {
    font-size: var(--text-sm);
    font-weight: 600;
}

/* Calculator Results Panel */
.calc-results {
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid var(--surface-glass-border);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

body.light-mode .calc-results {
    background: rgba(15, 23, 42, 0.02);
}

.calc-results::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.06) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.results-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.result-stat-group p {
    font-size: var(--text-sm);
    color: var(--text-400);
    margin-bottom: var(--space-1);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.result-stat-group h3 {
    font-size: var(--text-4xl);
    font-weight: 900;
    margin-bottom: 0;
}

.result-timeline {
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--text-200);
}

.result-roi-badge {
    align-self: center;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(5, 150, 105, 0.2) 100%);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.3);
    font-size: var(--text-sm);
    font-weight: 700;
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
}

/* ==========================================
   AWS TRUST BAR & PROFESSIONAL ENHANCEMENTS
   ========================================== */

.aws-trust-bar {
    padding: var(--space-10) 0;
    background: linear-gradient(180deg, var(--bg-900) 0%, rgba(15, 23, 42, 0.95) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

/* Logo branding in navbar */
.logo span {
    color: var(--primary-500);
    font-weight: 800;
}

/* Enhanced hero badge */
.hero-badge {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(139, 92, 246, 0.1)) !important;
    border: 1px solid rgba(99, 102, 241, 0.3) !important;
}

/* Testimonial star ratings */
.testimonial-card > div:first-child {
    letter-spacing: 2px;
}

/* Footer trust badges */
.footer-brand > div:last-child span {
    transition: all 0.2s ease;
}

.footer-brand > div:last-child span:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.2);
}

/* Professional responsive adjustments for architecture grid */
@media (max-width: 768px) {
    .features-grid[style*="repeat(4"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 480px) {
    .features-grid[style*="repeat(4"] {
        grid-template-columns: 1fr !important;
    }
}

/* ==========================================
   DEMO PAGE STYLES
   ========================================== */

.demo-builder {
    max-width: 900px;
    margin: 0 auto;
}

.demo-step-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-4);
    margin-bottom: var(--space-8);
}

.demo-step {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--text-500);
    font-size: var(--text-sm);
    font-weight: 500;
    transition: all 0.3s ease;
}

.demo-step.active {
    color: var(--primary-400);
}

.demo-step.completed {
    color: var(--success);
}

.demo-step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-700);
    font-weight: 700;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.demo-step.active .demo-step-num {
    background: var(--primary-500);
    color: white;
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.4);
}

.demo-step.completed .demo-step-num {
    background: var(--success);
    color: white;
}

.demo-step-line {
    width: 40px;
    height: 2px;
    background: var(--bg-700);
}

.demo-prompt-box {
    background: var(--surface-glass);
    border: 1px solid var(--surface-glass-border);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    backdrop-filter: blur(20px);
}

.demo-progress {
    margin-top: var(--space-8);
    background: var(--surface-glass);
    border: 1px solid var(--surface-glass-border);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
}

.demo-progress-bar {
    height: 6px;
    background: var(--bg-700);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-bottom: var(--space-6);
}

.demo-progress-fill {
    height: 100%;
    background: var(--primary-gradient);
    border-radius: var(--radius-full);
    width: 0;
    transition: width 0.5s ease;
}

.demo-progress-steps {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.progress-step-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    color: var(--text-500);
    font-size: var(--text-sm);
    transition: color 0.3s ease;
}

.demo-preview {
    margin-top: var(--space-8);
}

.demo-preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-800);
    border: 1px solid var(--surface-glass-border);
    border-bottom: none;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    padding: var(--space-3) var(--space-5);
}

.demo-preview-body {
    background: var(--bg-900);
    border: 1px solid var(--surface-glass-border);
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
    padding: 0;
    min-height: 400px;
    overflow: hidden;
}

/* Mock Page Styles */
.mock-page {
    padding: 0;
}

.mock-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.mock-hero {
    text-align: center;
    padding: 50px 24px 40px;
    background: linear-gradient(180deg, rgba(99,102,241,0.05) 0%, transparent 100%);
}

.mock-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 24px;
}

.mock-feature-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 8px;
    padding: 16px;
    text-align: center;
}

.mock-pricing {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 24px;
}

.mock-price-card {
    height: 100px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 8px;
}

.mock-price-card.mock-featured {
    border-color: var(--primary-500);
    background: rgba(99,102,241,0.05);
    transform: scale(1.03);
}

.mock-cta {
    text-align: center;
    padding: 30px 24px;
    background: rgba(255,255,255,0.01);
}

/* ==========================================
   TEMPLATE GALLERY
   ========================================== */

.template-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

.template-card {
    background: var(--surface-glass);
    border: 1px solid var(--surface-glass-border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.template-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-500);
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.15);
}

.template-preview {
    height: 140px;
    display: flex;
    align-items: flex-end;
}

.template-card h3 {
    padding: var(--space-4) var(--space-4) var(--space-1);
    font-size: var(--text-base);
    color: var(--text-100);
}

.template-card p {
    padding: 0 var(--space-4) var(--space-4);
    font-size: var(--text-sm);
    color: var(--text-400);
}

.template-tag {
    position: absolute;
    top: var(--space-3);
    right: var(--space-3);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 3px 8px;
    border-radius: var(--radius-full);
    background: rgba(99, 102, 241, 0.2);
    color: var(--primary-400);
    border: 1px solid rgba(99, 102, 241, 0.3);
}

/* ==========================================
   PERFORMANCE STATS
   ========================================== */

.perf-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
}

.perf-stat-card {
    background: var(--surface-glass);
    border: 1px solid var(--surface-glass-border);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    text-align: center;
}

.perf-score {
    font-size: 3rem;
    font-weight: 800;
    color: var(--success);
    line-height: 1;
    margin-bottom: var(--space-2);
}

.perf-label {
    font-size: var(--text-sm);
    color: var(--text-400);
    font-weight: 500;
    margin-bottom: var(--space-3);
}

.perf-bar {
    height: 6px;
    background: var(--bg-700);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.perf-bar-fill {
    height: 100%;
    border-radius: var(--radius-full);
    transition: width 1s ease;
}

/* ==========================================
   CHANGELOG PAGE
   ========================================== */

.changelog-entry {
    background: var(--surface-glass);
    border: 1px solid var(--surface-glass-border);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    margin-bottom: var(--space-6);
    transition: all 0.3s ease;
}

.changelog-entry:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

.changelog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-3);
}

.changelog-version {
    font-family: var(--font-mono);
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--primary-400);
    background: rgba(99, 102, 241, 0.1);
    padding: 3px 10px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.changelog-date {
    font-size: var(--text-sm);
    color: var(--text-500);
}

.changelog-entry h3 {
    color: var(--text-100);
    margin-bottom: var(--space-3);
    font-size: var(--text-lg);
}

.changelog-badges {
    display: flex;
    gap: var(--space-2);
    margin-bottom: var(--space-4);
}

.cl-badge {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 2px 8px;
    border-radius: var(--radius-full);
}

.cl-new {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.cl-improved {
    background: rgba(99, 102, 241, 0.15);
    color: var(--primary-400);
    border: 1px solid rgba(99, 102, 241, 0.3);
}

.cl-fixed {
    background: rgba(245, 158, 11, 0.15);
    color: var(--warning);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.cl-breaking {
    background: rgba(239, 68, 68, 0.15);
    color: var(--error);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.changelog-list {
    list-style: none;
    padding: 0;
}

.changelog-list li {
    padding: var(--space-2) 0;
    color: var(--text-300);
    font-size: var(--text-sm);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    line-height: 1.6;
}

.changelog-list li:last-child {
    border-bottom: none;
}

.changelog-list li strong {
    color: var(--text-100);
}

/* ==========================================
   CAREERS PAGE
   ========================================== */

.job-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.job-card {
    background: var(--surface-glass);
    border: 1px solid var(--surface-glass-border);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    transition: all 0.3s ease;
}

.job-card:hover {
    border-color: var(--primary-500);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.1);
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--space-3);
}

.job-header h3 {
    color: var(--text-100);
    font-size: var(--text-lg);
    margin-bottom: var(--space-2);
}

.job-meta {
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.job-meta span {
    font-size: var(--text-sm);
    color: var(--text-400);
}

.job-dept {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    background: rgba(99, 102, 241, 0.15);
    color: var(--primary-400);
    border: 1px solid rgba(99, 102, 241, 0.25);
    white-space: nowrap;
}

.job-card p {
    color: var(--text-300);
    font-size: var(--text-sm);
    line-height: 1.6;
}

/* ==========================================
   RESPONSIVE FOR NEW PAGES
   ========================================== */

@media (max-width: 768px) {
    .template-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .perf-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mock-features,
    .mock-pricing {
        grid-template-columns: 1fr 1fr;
    }

    .job-header {
        flex-direction: column;
        gap: var(--space-2);
    }

    .demo-step-indicator {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .template-grid {
        grid-template-columns: 1fr;
    }

    .perf-stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .mock-features {
        grid-template-columns: 1fr;
    }

    .mock-pricing {
        grid-template-columns: 1fr;
    }
}

/* Terminal Console Styles */
.terminal-console {
    background: #0d1117;
    border: 1px solid #30363d;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    font-family: var(--font-mono, monospace);
    height: 250px;
    display: flex;
    flex-direction: column;
}

.terminal-header {
    background: #161b22;
    padding: 10px 15px;
    border-bottom: 1px solid #30363d;
    display: flex;
    align-items: center;
    gap: 8px;
}

.terminal-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.terminal-dot.red { background: #ff5f56; }
.terminal-dot.yellow { background: #ffbd2e; }
.terminal-dot.green { background: #27c93f; }

.terminal-title {
    color: #8b949e;
    font-size: 0.75rem;
    margin-left: 10px;
    user-select: none;
}

.terminal-body {
    padding: 15px;
    flex: 1;
    overflow-y: auto;
    font-size: 0.8rem;
    line-height: 1.5;
    color: #c9d1d9;
    text-align: left;
}

.log-line {
    margin-bottom: 6px;
    animation: fadeInLog 0.2s ease forwards;
}

.log-line.system { color: #58a6ff; }
.log-line.bedrock { color: #d7ba7d; }
.log-line.sagemaker { color: #f43f5e; }
.log-line.lambda { color: #ec4899; }
.log-line.s3 { color: #3b82f6; }
.log-line.cloudfront { color: #eab308; }
.log-line.success { color: #22c55e; font-weight: 600; }

@keyframes fadeInLog {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive grid for demo builder progress */
@media (max-width: 992px) {
    .demo-progress > div {
        grid-template-columns: 1fr !important;
        gap: var(--space-6) !important;
    }
}

/* Interactive AWS Explorer Styles */
.aws-explorer-container {
    background: var(--bg-800);
    border: 1px solid var(--surface-glass-border);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    margin-top: var(--space-8);
}

.aws-explorer-tabs {
    display: flex;
    justify-content: center;
    gap: var(--space-4);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: var(--space-4);
    margin-bottom: var(--space-8);
}

.aws-explorer-tab {
    background: transparent;
    border: none;
    color: var(--text-400);
    font-size: 1rem;
    font-weight: 600;
    padding: 10px 20px;
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
}

.aws-explorer-tab.active {
    color: var(--primary-400);
}

.aws-explorer-tab.active::after {
    content: '';
    position: absolute;
    bottom: -17px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-gradient);
}

.aws-explorer-panel {
    display: none;
    animation: fadeInPanel 0.4s ease forwards;
}

.aws-explorer-panel.active {
    display: block;
}

@keyframes fadeInPanel {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Tab 1 Pipeline Styles */
.aws-pipeline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    gap: var(--space-4);
    flex-wrap: wrap;
    margin-bottom: var(--space-8);
}

.aws-pipeline::before {
    content: '';
    position: absolute;
    top: 35px;
    left: 5%;
    width: 90%;
    height: 2px;
    background: rgba(255,255,255,0.05);
    z-index: 1;
}

.aws-pipeline-step {
    flex: 1;
    min-width: 150px;
    text-align: center;
    position: relative;
    z-index: 2;
    cursor: pointer;
}

.aws-pipeline-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--bg-900);
    border: 2px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-4);
    font-size: 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.aws-pipeline-step.active .aws-pipeline-circle {
    border-color: var(--primary-400);
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.4);
    background: var(--primary-gradient);
    transform: scale(1.08);
}

.aws-pipeline-step h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-200);
    margin-bottom: 4px;
}

.aws-pipeline-step span {
    font-size: 0.75rem;
    color: var(--text-400);
}

.aws-pipeline-details {
    background: var(--bg-900);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    text-align: left;
}

/* Tab 2 Grid Styles */
.aws-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
}

.aws-grid-card {
    background: var(--bg-900);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    cursor: pointer;
    transition: all 0.3s ease;
}

.aws-grid-card:hover {
    border-color: rgba(99, 102, 241, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.aws-grid-card h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: var(--space-3);
    color: var(--text-200);
}

.aws-grid-card p {
    font-size: 0.8rem;
    line-height: 1.5;
    color: var(--text-400);
}

@media (max-width: 768px) {
    .aws-pipeline::before { display: none; }
    .aws-pipeline { flex-direction: column; align-items: stretch; }
    .aws-pipeline-step { min-height: 100px; display: flex; gap: var(--space-4); text-align: left; align-items: center; }
    .aws-pipeline-circle { margin: 0; flex-shrink: 0; }
    .aws-grid { grid-template-columns: 1fr; }
}



