* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    line-height: 1.6;
    color: #0f172a;
    overflow-x: hidden;
    background: #ffffff;
}

[data-theme="dark"] body {
    background: #141b2d;
    color: #e2e8f0;
}

/* Utility Classes */
.hidden { display: none !important; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.space-x-3 > * + * { margin-left: 0.75rem; }
.space-x-4 > * + * { margin-left: 1rem; }
.space-x-6 > * + * { margin-left: 1.5rem; }
.space-x-8 > * + * { margin-left: 2rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-8 > * + * { margin-top: 2rem; }
.text-center { text-align: center; }
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.z-10 { z-index: 10; }
.z-50 { z-index: 50; }
.z-60 { z-index: 60; }

/* Enhanced Color Variables — vivid professional palette */
:root {
    --primary-gradient: linear-gradient(135deg, #C2410C 0%, #9A3412 50%, #FB923C 100%);
    --secondary-gradient: linear-gradient(135deg, #9A3412 0%, #FB923C 50%, #FED7AA 100%);
    --accent-gradient: linear-gradient(135deg, #EA580C 0%, #EA580C 50%, #FB923C 100%);
    --success-gradient: linear-gradient(135deg, #059669 0%, #10b981 50%, #34d399 100%);
    --warning-gradient: linear-gradient(135deg, #d97706 0%, #f59e0b 50%, #fbbf24 100%);
    --info-gradient: linear-gradient(135deg, #0891b2 0%, #06b6d4 50%, #22d3ee 100%);
    --hero-gradient: linear-gradient(135deg, #C2410C 0%, #9A3412 30%, #FB923C 60%, #EA580C 100%);
    --aurora-gradient: linear-gradient(135deg, #F97316 0%, #9A3412 25%, #FED7AA 50%, #FBBF24 75%, #FCD34D 100%);
    --shimmer-gradient: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.4) 50%, transparent 100%);

    --primary-color: #C2410C;
    --secondary-color: #9A3412;
    --accent-color: #EA580C;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --info-color: #06b6d4;
    --glow-primary: rgba(194, 65, 12, 0.35);
    --glow-secondary: rgba(154, 52, 18, 0.3);
    --glow-accent: rgba(234, 88, 12, 0.3);

    --text-primary: #1e293b;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --text-light: #94a3b8;

    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --bg-accent: #fef3c7;

    --border-light: rgba(226, 232, 240, 0.3);
    --border-medium: rgba(203, 213, 225, 0.5);
    --shadow-light: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 10px 25px rgba(0, 0, 0, 0.08);
    --shadow-heavy: 0 20px 40px rgba(0, 0, 0, 0.12);
    --shadow-glow: 0 0 40px rgba(194, 65, 12, 0.15), 0 0 80px rgba(154, 52, 18, 0.08);
    --shadow-glow-lg: 0 0 60px rgba(194, 65, 12, 0.2), 0 0 120px rgba(154, 52, 18, 0.1);
}

/* Dark Theme Color Variables */
[data-theme="dark"] {
    --primary-gradient: linear-gradient(135deg, #EA580C 0%, #F97316 50%, #FDBA74 100%);
    --secondary-gradient: linear-gradient(135deg, #F97316 0%, #FDBA74 50%, #FED7AA 100%);
    --accent-gradient: linear-gradient(135deg, #FB923C 0%, #FB923C 50%, #FDBA74 100%);
    --hero-gradient: linear-gradient(135deg, #EA580C 0%, #F97316 30%, #FDBA74 60%, #FB923C 100%);

    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --text-light: #475569;

    --bg-primary: #141b2d;
    --bg-secondary: #1a1f3a;
    --bg-tertiary: #1e293b;
    --bg-accent: rgba(245, 158, 11, 0.15);

    --border-light: rgba(51, 65, 85, 0.3);
    --border-medium: rgba(71, 85, 105, 0.4);
    --shadow-light: 0 4px 6px rgba(0, 0, 0, 0.2);
    --shadow-medium: 0 10px 25px rgba(0, 0, 0, 0.3);
    --shadow-heavy: 0 20px 40px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 40px rgba(234, 88, 12, 0.2), 0 0 80px rgba(249, 115, 22, 0.1);
    --shadow-glow-lg: 0 0 60px rgba(234, 88, 12, 0.25), 0 0 120px rgba(249, 115, 22, 0.15);
}

/* Main Content */
.page {
    min-height: 100vh;
    background: linear-gradient(160deg, #faf5ff 0%, var(--bg-primary) 30%, var(--bg-secondary) 60%, #eff6ff 100%);
    overflow: hidden;
    position: relative;
}

[data-theme="dark"] .page {
    background: linear-gradient(160deg, #141b2d 0%, #1a1f3a 30%, #141b2d 60%, #1a2340 100%);
}

.bg-elements {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.bg-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(4rem);
    animation: float 20s ease-in-out infinite;
}

.bg-circle-1 {
    top: 5rem;
    left: 2.5rem;
    width: 32rem;
    height: 32rem;
    background: var(--primary-gradient);
    opacity: 0.12;
    animation-delay: 0s;
}

.bg-circle-2 {
    top: 24rem;
    right: 5rem;
    width: 28rem;
    height: 28rem;
    background: var(--accent-gradient);
    opacity: 0.1;
    animation-delay: -5s;
}

.bg-circle-3 {
    bottom: 5rem;
    left: 33.333333%;
    width: 26rem;
    height: 26rem;
    background: var(--secondary-gradient);
    opacity: 0.08;
    animation-delay: -10s;
}

.bg-circle-4 {
    top: 50%;
    right: 15%;
    width: 20rem;
    height: 20rem;
    background: var(--success-gradient);
    opacity: 0.06;
    animation-delay: -15s;
}

.bg-circle-5 {
    top: 20%;
    left: 10%;
    width: 18rem;
    height: 18rem;
    background: var(--info-gradient);
    opacity: 0.07;
    animation-delay: -7s;
}

.grid-pattern {
    position: fixed;
    inset: 0;
    opacity: 0.03;
    pointer-events: none;
    z-index: 1;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23667eea' fill-opacity='0.1'%3E%3Ccircle cx='30' cy='30' r='1'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

[data-theme="dark"] .grid-pattern {
    opacity: 0.02;
}

/* Enhanced Content Sections */
.container {
    position: relative;
    z-index: 10;
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Enhanced Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

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

/* Smooth Background Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px) scale(1);
    }
    33% {
        transform: translateY(-15px) scale(1.01) rotate(1deg);
    }
    66% {
        transform: translateY(-25px) scale(1.03) rotate(-1deg);
    }
}

@keyframes pulse {
    0%, 100% { 
        opacity: 1; 
        transform: scale(1);
    }
    50% { 
        opacity: 0.7; 
        transform: scale(1.05);
    }
}

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

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

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

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

@keyframes borderGlow {
    0%, 100% { border-color: rgba(194, 65, 12, 0.2); box-shadow: 0 0 20px rgba(194, 65, 12, 0.05); }
    50% { border-color: rgba(154, 52, 18, 0.4); box-shadow: 0 0 30px rgba(154, 52, 18, 0.1); }
}

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

@keyframes rotateGlow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes textGradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes floatSlow {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-8px) rotate(0.5deg); }
    75% { transform: translateY(8px) rotate(-0.5deg); }
}

@keyframes ripple {
    0% { transform: scale(0.8); opacity: 1; }
    100% { transform: scale(2.5); opacity: 0; }
}

@keyframes glowPulse {
    0%, 100% { box-shadow: 0 0 20px rgba(194, 65, 12, 0.1); }
    50% { box-shadow: 0 0 40px rgba(194, 65, 12, 0.25), 0 0 80px rgba(154, 52, 18, 0.1); }
}

/* Smooth Scroll Animations — seamless reveal on scroll */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                filter 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    filter: blur(4px);
}

.scroll-animate.animate {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

.scroll-animate-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                filter 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    filter: blur(4px);
}

.scroll-animate-left.animate {
    opacity: 1;
    transform: translateX(0);
    filter: blur(0);
}

.scroll-animate-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                filter 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    filter: blur(4px);
}

.scroll-animate-right.animate {
    opacity: 1;
    transform: translateX(0);
    filter: blur(0);
}

/* Enhanced Glassmorphism */
.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.glass-dark {
    background: rgba(30, 41, 59, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(30, 41, 59, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

[data-theme="dark"] .glass {
    background: rgba(30, 41, 59, 0.2);
    border-color: rgba(51, 65, 85, 0.3);
}

/* Enhanced Gradients */
.gradient-text {
    background: var(--hero-gradient);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textGradientFlow 6s ease infinite;
}

.gradient-text-secondary {
    background: var(--secondary-gradient);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textGradientFlow 5s ease infinite;
}

.gradient-text-accent {
    background: var(--accent-gradient);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textGradientFlow 5s ease infinite;
}

[data-theme="dark"] .gradient-text {
    background: var(--hero-gradient);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
}

/* Enhanced Buttons - Modern and sleek */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.625rem 1.25rem;
    border: none;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    min-height: 2.25rem;
    letter-spacing: 0.01em;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.btn-primary {
    background: var(--primary-gradient);
    background-size: 150% 150%;
    color: white;
    box-shadow: 0 4px 15px rgba(194, 65, 12, 0.3), var(--shadow-medium);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(194, 65, 12, 0.3);
}

.btn-primary:active {
    transform: translateY(-1px) scale(0.98);
}

.btn-secondary {
    background: var(--secondary-gradient);
    background-size: 150% 150%;
    color: white;
    box-shadow: 0 4px 15px rgba(154, 52, 18, 0.25), var(--shadow-medium);
}

.btn-secondary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(154, 52, 18, 0.25);
}

.btn-accent {
    background: var(--accent-gradient);
    background-size: 150% 150%;
    color: white;
    box-shadow: 0 4px 15px rgba(234, 88, 12, 0.25), var(--shadow-medium);
}

.btn-accent:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(234, 88, 12, 0.25);
}

.btn-white {
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-primary);
    border: 1px solid rgba(194, 65, 12, 0.15);
    backdrop-filter: blur(10px);
}

.btn-white:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(194, 65, 12, 0.12);
    border-color: rgba(194, 65, 12, 0.2);
}

[data-theme="dark"] .btn-white {
    background: rgba(30, 41, 59, 0.8);
    color: #f1f5f9;
    border-color: rgba(234, 88, 12, 0.3);
}

[data-theme="dark"] .btn-white:hover {
    background: rgba(30, 41, 59, 0.95);
    border-color: rgba(234, 88, 12, 0.5);
}

/* Enhanced Cards */
.card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(194, 65, 12, 0.08);
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: var(--shadow-light);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.card::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 1.5rem;
    padding: 1px;
    background: linear-gradient(135deg, rgba(194, 65, 12,0), rgba(194, 65, 12,0.1), rgba(154, 52, 18,0.1), rgba(154, 52, 18,0));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
    border-color: rgba(194, 65, 12, 0.15);
}

.card:hover::after {
    opacity: 1;
}

[data-theme="dark"] .card {
    background: rgba(30, 41, 59, 0.7);
    border-color: rgba(51, 65, 85, 0.4);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .card:hover {
    box-shadow: var(--shadow-glow);
    border-color: rgba(234, 88, 12, 0.3);
}

.card-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-glass:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15), var(--shadow-glow);
    border-color: rgba(255, 255, 255, 0.3);
}

[data-theme="dark"] .card-glass {
    background: rgba(30, 41, 59, 0.3);
    border-color: rgba(51, 65, 85, 0.3);
}

/* Particle Canvas */
#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    opacity: 0.6;
}

/* Animated gradient border utility */
.gradient-border {
    position: relative;
}

.gradient-border::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    padding: 2px;
    background: var(--aurora-gradient);
    background-size: 300% 300%;
    animation: gradientShift 4s ease infinite;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

/* Enhanced Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .bg-circle {
        filter: blur(2rem);
    }
    
    .bg-circle-1,
    .bg-circle-2,
    .bg-circle-3,
    .bg-circle-4,
    .bg-circle-5 {
        width: 50%;
        height: 50%;
    }
}

@media (max-width: 480px) {
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
    }
    
    .card {
        padding: 1.5rem;
    }
    
    #particleCanvas {
        display: none;
    }
}

/* Status dot — animated pulse */
.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
    animation: statusPulse 2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes statusPulse {
    0%, 100% { box-shadow: 0 0 4px rgba(16, 185, 129, 0.4); transform: scale(1); }
    50% { box-shadow: 0 0 12px rgba(16, 185, 129, 0.8); transform: scale(1.2); }
}

/* Smooth page transitions */
.page {
    animation: pageIn 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Hero line reveal animation */
.hero-line {
    display: block;
    will-change: transform, opacity;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .scroll-animate, .scroll-animate-left, .scroll-animate-right {
        opacity: 1;
        transform: none;
        filter: none;
    }
    
    #particleCanvas {
        display: none;
    }
}
