/* ============================================
   CSS VARIABLES & ROOT STYLES
   ============================================ */
:root {
    /* Triadic Color Scheme - Futuristic */
    --primary-color: #00d4ff;
    --secondary-color: #ff3d71;
    --accent-color: #7c4dff;
    
    /* Extended Color Palette */
    --primary-dark: #0099cc;
    --secondary-dark: #e6355f;
    --accent-dark: #6200ea;
    
    --primary-light: #4de4ff;
    --secondary-light: #ff7a9a;
    --accent-light: #b388ff;
    
    /* Neutral Colors */
    --dark-primary: #0a0e17;
    --dark-secondary: #1a1f2e;
    --dark-accent: #2a3441;
    
    --light-primary: #ffffff;
    --light-secondary: #f8f9fa;
    --light-accent: #e9ecef;
    
    --text-primary: #2c3e50;
    --text-secondary: #546e7a;
    --text-light: #ecf0f1;
    --text-muted: #95a5a6;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    --gradient-secondary: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    --gradient-dark: linear-gradient(135deg, var(--dark-primary), var(--dark-secondary));
    --gradient-glass: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    
    /* Typography */
    --font-heading: 'Manrope', sans-serif;
    --font-body: 'Rubik', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 4rem;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 16px 64px rgba(0, 0, 0, 0.25);
    
    /* Glass Effect */
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    
    /* Transitions */
    --transition-fast: 0.2s ease-out;
    --transition-normal: 0.3s ease-out;
    --transition-slow: 0.5s ease-out;
    
    /* Z-index */
    --z-dropdown: 1000;
    --z-sticky: 1010;
    --z-fixed: 1020;
    --z-modal: 1030;
    --z-overlay: 1040;
}

/* ============================================
   GLOBAL STYLES & RESET
   ============================================ */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--light-primary);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

p {
    margin-bottom: var(--spacing-md);
    color: var(--text-secondary);
    line-height: 1.7;
}

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

a:hover {
    color: var(--primary-dark);
    transform: translateY(-1px);
}

/* ============================================
   BUTTON STYLES (GLOBAL)
   ============================================ */
.btn,
button,
input[type='submit'],
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-sm) var(--spacing-lg);
    border: none;
    border-radius: var(--radius-md);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    z-index: 1;
    min-height: 48px;
}

.btn::before,
.button::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: var(--transition-normal);
    z-index: -1;
}

.btn:hover::before,
.button:hover::before {
    left: 100%;
}

/* Primary Button */
.btn-primary,
.button.is-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover,
.button.is-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-lg);
    color: white;
}

/* Secondary Button */
.btn-secondary,
.button.is-secondary {
    background: var(--gradient-secondary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-secondary:hover,
.button.is-secondary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-lg);
    color: white;
}

/* Outlined Button */
.btn-outline,
.button.is-outlined {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover,
.button.is-outlined:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Glass Button */
.btn-glass,
.button.is-glass {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    color: white;
}

.btn-glass:hover,
.button.is-glass:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    color: white;
}

/* Large Button */
.btn-large,
.button.is-large {
    padding: var(--spacing-md) var(--spacing-xl);
    font-size: 1.1rem;
    min-height: 56px;
}

/* Custom Button Class */
.custom-btn {
    background: var(--gradient-primary);
    color: white;
    border-radius: var(--radius-lg);
    padding: var(--spacing-md) var(--spacing-xl);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: var(--shadow-md);
    border: none;
    transition: all var(--transition-normal);
}

.custom-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-xl);
    color: white;
}

/* Read More Links */
.read-more {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    transition: var(--transition-fast);
}

.read-more::after {
    content: '→';
    transition: var(--transition-fast);
}

.read-more:hover {
    color: var(--primary-dark);
    transform: translateX(5px);
}

.read-more:hover::after {
    transform: translateX(3px);
}

/* ============================================
   LAYOUT & UTILITIES
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section {
    padding: var(--spacing-xxl) 0;
}

.section-sm {
    padding: var(--spacing-xl) 0;
}

.section-lg {
    padding: calc(var(--spacing-xxl) * 1.5) 0;
}

/* Text Utilities */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-primary { color: var(--primary-color) !important; }
.text-secondary { color: var(--secondary-color) !important; }
.text-accent { color: var(--accent-color) !important; }
.text-dark { color: var(--text-primary) !important; }
.text-light { color: var(--text-light) !important; }
.text-white { color: white !important; }

/* Background Utilities */
.bg-primary { background: var(--gradient-primary); }
.bg-secondary { background: var(--gradient-secondary); }
.bg-dark { background: var(--dark-primary); }
.bg-light { background: var(--light-secondary); }
.bg-glass { 
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
}

/* Spacing Utilities */
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: var(--spacing-xs) !important; }
.mt-2 { margin-top: var(--spacing-sm) !important; }
.mt-3 { margin-top: var(--spacing-md) !important; }
.mt-4 { margin-top: var(--spacing-lg) !important; }
.mt-5 { margin-top: var(--spacing-xl) !important; }

.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: var(--spacing-xs) !important; }
.mb-2 { margin-bottom: var(--spacing-sm) !important; }
.mb-3 { margin-bottom: var(--spacing-md) !important; }
.mb-4 { margin-bottom: var(--spacing-lg) !important; }
.mb-5 { margin-bottom: var(--spacing-xl) !important; }
.mb-6 { margin-bottom: var(--spacing-xxl) !important; }

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.navbar {
    background: rgba(10, 14, 23, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    z-index: var(--z-fixed);
}

.navbar.is-scrolled {
    background: rgba(10, 14, 23, 0.98);
    box-shadow: var(--shadow-lg);
}

.navbar-brand .navbar-item {
    color: white !important;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-item {
    color: var(--text-light) !important;
    font-weight: 500;
    transition: var(--transition-fast);
    position: relative;
}

.navbar-item:hover {
    color: var(--primary-color) !important;
    background: transparent !important;
}

.navbar-item::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition-fast);
    transform: translateX(-50%);
}

.navbar-item:hover::after {
    width: 80%;
}

.navbar-burger {
    color: white;
}

.navbar-burger:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    overflow: hidden;
}

.parallax-bg {
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
}

.parallax-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero .hero-body {
    position: relative;
    z-index: 2;
    padding: var(--spacing-xxl) 0;
}

.hero .container {
    position: relative;
    z-index: 3;
}

.hero .title {
    color: white !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    margin-bottom: var(--spacing-lg);
}

.hero .subtitle {
    color: rgba(255, 255, 255, 0.9) !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    margin-bottom: var(--spacing-xl);
    font-size: 1.25rem;
    line-height: 1.6;
}

.hero .buttons {
    gap: var(--spacing-md);
    margin-top: var(--spacing-xl);
}

/* Hero Animation Effects */
.hero-title-animated {
    opacity: 0;
    transform: translateY(50px);
    animation: heroSlideUp 1s ease-out 0.5s forwards;
}

.hero-subtitle-animated {
    opacity: 0;
    transform: translateY(30px);
    animation: heroSlideUp 1s ease-out 0.8s forwards;
}

.hero-buttons-animated {
    opacity: 0;
    transform: translateY(20px);
    animation: heroSlideUp 1s ease-out 1.1s forwards;
}

@keyframes heroSlideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   SUBTITLE DIVIDER
   ============================================ */
.subtitle-divider {
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    margin: var(--spacing-md) auto var(--spacing-xl) auto;
    border-radius: var(--radius-sm);
    position: relative;
    overflow: hidden;
}

.subtitle-divider::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* ============================================
   CARDS & COMPONENTS
   ============================================ */
.card {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: var(--transition-normal);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.card:hover {
    transform: translateY(-10px) rotateX(2deg) rotateY(2deg);
    box-shadow: var(--shadow-xl);
}

.card-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
    display: block;
    margin: 0 auto;
}

.card:hover .card-image img {
    transform: scale(1.1);
}

.card-content {
    padding: var(--spacing-lg);
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-content .title {
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.card-content p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    flex: 1;
}

/* Glass Card Effect */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-lg);
}

/* Project Cards */
.project-card {
    position: relative;
    overflow: hidden;
    height: 100%;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition-normal);
    z-index: 1;
}

.project-card:hover::before {
    opacity: 0.1;
}

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

/* ============================================
   IMAGE CONTAINERS
   ============================================ */
.image-container {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
    display: block;
    margin: 0 auto;
}

.image-container:hover img {
    transform: scale(1.05);
}

.image-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition-normal);
}

.image-container:hover::after {
    opacity: 0.2;
}

/* ============================================
   TIMELINE COMPONENT
   ============================================ */
.timeline-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--gradient-primary);
    transform: translateX(-50%);
    border-radius: var(--radius-sm);
}

.timeline-item {
    position: relative;
    margin-bottom: var(--spacing-xl);
    display: flex;
    align-items: center;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    width: 20px;
    height: 20px;
    background: var(--gradient-primary);
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: var(--shadow-md);
    z-index: 2;
}

.timeline-marker::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    width: 30px;
    height: 30px;
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    background: white;
    opacity: 0.3;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.2); opacity: 0.1; }
    100% { transform: scale(1); opacity: 0.3; }
}

.timeline-content {
    width: 45%;
    padding: var(--spacing-lg);
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    position: relative;
    transition: var(--transition-normal);
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: auto;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: auto;
}

/* Timeline arrows */
.timeline-content::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 0;
    height: 0;
    border: 15px solid transparent;
    transform: translateY(-50%);
}

.timeline-item:nth-child(odd) .timeline-content::before {
    right: -30px;
    border-left-color: white;
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: -30px;
    border-right-color: white;
}

/* ============================================
   PORTFOLIO SLIDER
   ============================================ */
.portfolio-slider {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.slider-container {
    overflow: hidden;
    position: relative;
}

.slider-track {
    display: flex;
    transition: transform var(--transition-slow);
    gap: var(--spacing-lg);
}

.slide {
    min-width: calc(33.333% - var(--spacing-md));
    flex-shrink: 0;
}

.slider-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 3;
}

.slider-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition-normal);
    pointer-events: all;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.prev-btn {
    margin-left: var(--spacing-md);
}

.next-btn {
    margin-right: var(--spacing-md);
}

/* ============================================
   FORMS
   ============================================ */
.contact-form-card {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-xl);
    border-radius: var(--radius-xl);
}

.custom-input {
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    transition: var(--transition-fast);
    backdrop-filter: blur(5px);
}

.custom-input:focus {
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
    outline: none;
}

.custom-input::placeholder {
    color: var(--text-muted);
}

.label {
    color: var(--text-primary) !important;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

/* ============================================
   RESOURCE CARDS
   ============================================ */
.resource-card {
    background: var(--gradient-glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    transition: var(--transition-normal);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.resource-card:hover {
    transform: translateY(-5px) rotateX(5deg);
    box-shadow: var(--shadow-xl);
}

.resource-card .card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--dark-primary);
    color: var(--text-light);
    padding: var(--spacing-xxl) 0 var(--spacing-lg) 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-primary);
}

.footer .title {
    color: white !important;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-md);
}

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

.footer-links li {
    margin-bottom: var(--spacing-sm);
}

.footer-links a {
    color: var(--text-light);
    transition: var(--transition-fast);
    position: relative;
    display: inline-block;
}

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

.footer-links a::before {
    content: '▶';
    opacity: 0;
    margin-right: var(--spacing-xs);
    transition: var(--transition-fast);
    transform: translateX(-10px);
}

.footer-links a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

/* Social Links */
.social-links {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.social-links a {
    color: var(--text-light);
    padding: var(--spacing-sm) var(--spacing-md);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
    font-weight: 500;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
}

.social-links a:hover {
    color: white;
    background: var(--gradient-primary);
    border-color: transparent;
    transform: translateY(-2px);
}

.footer hr {
    border: none;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: var(--spacing-xl) 0 var(--spacing-lg) 0;
}

/* ============================================
   SUCCESS PAGE
   ============================================ */
.success-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.success-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('image/success-celebration-background.jpg') center/cover no-repeat;
    opacity: 0.1;
    z-index: 1;
}

.success-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: var(--spacing-xl);
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    max-width: 600px;
    margin: 0 auto;
}

.success-content .title {
    color: white !important;
    margin-bottom: var(--spacing-lg);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.success-content .subtitle {
    color: rgba(255, 255, 255, 0.9) !important;
    margin-bottom: var(--spacing-xl);
}

/* Success Animation */
.success-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gradient-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-lg) auto;
    font-size: 2rem;
    color: white;
    animation: successPulse 2s infinite;
}

@keyframes successPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* ============================================
   PRIVACY & TERMS PAGES
   ============================================ */
.privacy-content,
.terms-content {
    padding-top: 100px;
    max-width: 800px;
    margin: 0 auto;
    padding-left: var(--spacing-md);
    padding-right: var(--spacing-md);
}

.privacy-content .content,
.terms-content .content {
    background: white;
    padding: var(--spacing-xxl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: var(--spacing-xl);
}

.privacy-content h1,
.privacy-content h2,
.privacy-content h3,
.terms-content h1,
.terms-content h2,
.terms-content h3 {
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
}

.privacy-content h2,
.terms-content h2 {
    margin-top: var(--spacing-xl);
    padding-bottom: var(--spacing-sm);
    border-bottom: 2px solid var(--primary-color);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .timeline-container::before {
        left: 20px;
    }
    
    .timeline-marker {
        left: 20px;
        transform: translateX(-50%);
    }
    
    .timeline-content {
        width: calc(100% - 60px);
        margin-left: 60px !important;
        margin-right: 0 !important;
    }
    
    .timeline-content::before {
        left: -30px !important;
        border-right-color: white !important;
        border-left-color: transparent !important;
    }
    
    .slide {
        min-width: calc(50% - var(--spacing-md));
    }
}

@media (max-width: 768px) {
    :root {
        --spacing-xxl: 2.5rem;
        --spacing-xl: 2rem;
    }
    
    .hero {
        min-height: 100vh;
        padding: var(--spacing-lg) 0;
    }
    
    .hero .title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero .subtitle {
        font-size: 1.1rem;
    }
    
    .hero .buttons {
        flex-direction: column;
        align-items: center;
        gap: var(--spacing-md);
    }
    
    .hero .button {
        width: 100%;
        max-width: 300px;
    }
    
    .card-image {
        height: 200px;
    }
    
    .image-container {
        height: 250px;
    }
    
    .slide {
        min-width: 100%;
    }
    
    .slider-controls {
        position: static;
        margin-top: var(--spacing-lg);
        justify-content: center;
        gap: var(--spacing-md);
    }
    
    .timeline-content {
        padding: var(--spacing-md);
    }
    
    .footer .columns {
        flex-direction: column;
        gap: var(--spacing-lg);
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    .section {
        padding: var(--spacing-xl) 0;
    }
    
    .card-content {
        padding: var(--spacing-md);
    }
    
    .btn,
    .button {
        padding: var(--spacing-sm);
        font-size: 0.9rem;
        min-height: 44px;
    }
    
    .btn-large,
    .button.is-large {
        padding: var(--spacing-md) var(--spacing-lg);
        min-height: 48px;
    }
}

/* ============================================
   ACCESSIBILITY & PERFORMANCE
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@media (prefers-color-scheme: dark) {
    :root {
        --text-primary: #ecf0f1;
        --text-secondary: #bdc3c7;
        --light-primary: #1a1f2e;
        --light-secondary: #2a3441;
    }
}

/* Focus styles for accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .navbar,
    .footer,
    .hero,
    .slider-controls {
        display: none !important;
    }
    
    .section {
        break-inside: avoid;
        page-break-inside: avoid;
    }
    
    * {
        box-shadow: none !important;
        text-shadow: none !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .card,
    .btn,
    .button {
        border: 2px solid currentColor;
    }
    
    .glass-card,
    .bg-glass {
        background: var(--light-primary);
        backdrop-filter: none;
    }
}

/* ============================================
   LOADING ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Animation classes */
.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.animate-slide-in-right {
    animation: slideInRight 0.6s ease-out;
}

.animate-slide-in-left {
    animation: slideInLeft 0.6s ease-out;
}

.animate-zoom-in {
    animation: zoomIn 0.6s ease-out;
}

/* Delayed animations */
.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }
.animate-delay-5 { animation-delay: 0.5s; }