:root {
    /* Gradient Colors - Enhanced for Dark Mode */
    --purple-400: #a78bfa;
    --purple-500: #8b5cf6;
    --purple-600: #7c3aed;
    --pink-400: #f472b6;
    --pink-500: #ec4899;
    --pink-600: #db2777;
    --blue-400: #60a5fa;
    --blue-500: #3b82f6;
    --cyan-400: #22d3ee;
    --cyan-500: #06b6d4;
    --orange-400: #fb923c;
    --orange-500: #f97316;
    
    /* Base Colors */
    --black: #000000;
    --gray-900: #0f172a;
    --gray-800: #1e293b;
    --gray-700: #334155;
    --gray-600: #475569;
    --gray-500: #64748b;
    --gray-400: #94a3b8;
    --gray-300: #cbd5e1;
    --gray-200: #e2e8f0;
    --gray-100: #f1f5f9;
    --gray-50: #f8fafc;
    --white: #ffffff;
    
    /* Theme Colors - Dark Mode (Default) */
    --bg-primary: var(--gray-900);
    --bg-secondary: var(--gray-800);
    --bg-tertiary: var(--gray-700);
    --bg-nav: rgba(15, 23, 42, 0.95);
    --text-primary: var(--gray-100);
    --text-secondary: var(--gray-400);
    --text-muted: var(--gray-500);
    --border-color: rgba(139, 92, 246, 0.2);
    --border-color-light: rgba(139, 92, 246, 0.1);
    --card-shadow: rgba(0, 0, 0, 0.5);
    --card-hover-shadow: rgba(0, 0, 0, 0.7);
    --glow-intensity: 0.6;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    
    /* Typography */
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Light Theme */
[data-theme="light"] {
    --bg-primary: var(--gray-50);
    --bg-secondary: var(--white);
    --bg-tertiary: var(--gray-100);
    --bg-nav: rgba(248, 250, 252, 0.95);
    --text-primary: var(--gray-900);
    --text-secondary: var(--gray-600);
    --text-muted: var(--gray-500);
    --border-color: rgba(139, 92, 246, 0.3);
    --border-color-light: rgba(139, 92, 246, 0.15);
    --card-shadow: rgba(0, 0, 0, 0.1);
    --card-hover-shadow: rgba(0, 0, 0, 0.15);
    --glow-intensity: 0.3;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--bg-nav);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px var(--card-shadow);
    border-bottom: 1px solid var(--border-color-light);
    z-index: 100;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-sm) var(--space-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-img {
    height: 40px;
    width: auto;
}

.logo-text {
    background: linear-gradient(135deg, var(--purple-400) 0%, var(--pink-400) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    font-size: 1.5rem;
}

.layer {
    background: linear-gradient(135deg, var(--purple-400) 0%, var(--pink-400) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.number {
    background: linear-gradient(135deg, var(--blue-400) 0%, var(--cyan-400) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: var(--space-lg);
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

.nav-links a:hover {
    color: var(--purple-400);
}

/* Dropdown Menu */
.nav-links li {
    position: relative;
}

.nav-links .dropdown {
    position: relative;
}

.nav-links .dropdown > a {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-links .dropdown > a::after {
    content: '▼';
    font-size: 0.7rem;
}

.nav-links .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-nav);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: var(--space-xs) 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    box-shadow: 0 10px 25px var(--card-shadow);
    z-index: 200;
}

.nav-links .dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.nav-links .dropdown-menu li {
    list-style: none;
}

.nav-links .dropdown-menu a {
    display: block;
    padding: var(--space-xs) var(--space-md);
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: background 0.2s ease, color 0.2s ease;
}

.nav-links .dropdown-menu a:hover {
    background: var(--bg-tertiary);
    color: var(--purple-400);
}

.nav-cta {
    background: linear-gradient(135deg, var(--purple-600) 0%, var(--pink-600) 100%);
    color: var(--white) !important;
    padding: var(--space-xs) var(--space-md);
    border-radius: 50px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(139, 92, 246, 0.6);
}

/* Theme Toggle Button */
.theme-toggle {
    background: none;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: var(--text-secondary);
}

.theme-toggle:hover {
    border-color: var(--purple-400);
    color: var(--purple-400);
    transform: rotate(15deg);
}

.theme-toggle svg {
    width: 20px;
    height: 20px;
}

.theme-toggle .sun-icon {
    display: none;
}

.theme-toggle .moon-icon {
    display: block;
}

[data-theme="light"] .theme-toggle .sun-icon {
    display: block;
}

[data-theme="light"] .theme-toggle .moon-icon {
    display: none;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--purple-400);
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero-bg-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(139, 92, 246, 0.25) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(236, 72, 153, 0.25) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.15) 0%, transparent 50%);
    z-index: 0;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--purple-500) 0%, var(--pink-500) 100%);
    color: var(--white);
    padding: var(--space-xs) var(--space-md);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.5);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.gradient-text {
    background: linear-gradient(135deg, var(--purple-400) 0%, var(--pink-400) 50%, var(--orange-400) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientFlow 8s ease infinite;
    background-size: 200% auto;
}

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

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    margin-bottom: var(--space-xl);
}

.btn {
    display: inline-block;
    padding: var(--space-md) var(--space-xl);
    text-decoration: none;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.3s;
    font-size: 1.1rem;
}

.btn-gradient {
    background: linear-gradient(135deg, var(--purple-600) 0%, var(--pink-600) 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.6);
}

.btn-gradient:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.7);
}

.btn-outline {
    background: transparent;
    color: var(--purple-400);
    border: 2px solid var(--purple-400);
}

.btn-outline:hover {
    background: var(--purple-600);
    color: var(--white);
    transform: translateY(-3px);
    border-color: var(--purple-600);
}

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-lg);
    padding: var(--space-lg);
    background: var(--bg-secondary);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 4px 20px var(--card-shadow);
    border: 1px solid var(--border-color);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.stat {
    text-align: center;
}

.stat-value {
    font-size: 2rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--purple-400) 0%, var(--pink-400) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.stat-divider {
    width: 2px;
    height: 40px;
    background: linear-gradient(180deg, transparent 0%, rgba(139, 92, 246, 0.5) 50%, transparent 100%);
}

/* Services Section */
.services {
    padding: var(--space-3xl) 0;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    transition: background 0.3s ease;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.service-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.service-card {
    background: var(--bg-secondary);
    padding: var(--space-xl);
    border-radius: 24px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    border: 1px solid var(--border-color-light);
    cursor: pointer;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 24px;
    padding: 3px;
    background: linear-gradient(135deg, transparent 0%, transparent 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s;
}

.gradient-border-purple::before {
    background: linear-gradient(135deg, var(--purple-500) 0%, var(--pink-500) 100%);
}

.gradient-border-blue::before {
    background: linear-gradient(135deg, var(--blue-500) 0%, var(--cyan-500) 100%);
}

.gradient-border-pink::before {
    background: linear-gradient(135deg, var(--pink-500) 0%, var(--orange-500) 100%);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--card-hover-shadow);
    background: var(--bg-tertiary);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
}

.gradient-border-purple .service-icon {
    background: linear-gradient(135deg, var(--purple-500) 0%, var(--pink-500) 100%);
    color: var(--white);
}

.gradient-border-blue .service-icon {
    background: linear-gradient(135deg, var(--blue-500) 0%, var(--cyan-500) 100%);
    color: var(--white);
}

.gradient-border-pink .service-icon {
    background: linear-gradient(135deg, var(--pink-500) 0%, var(--orange-500) 100%);
    color: var(--white);
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
    line-height: 1.7;
}

.service-link {
    display: inline-flex;
    align-items: center;
    color: var(--purple-400);
    text-decoration: none;
    font-weight: 600;
    margin-top: var(--space-md);
    transition: all 0.3s ease;
}

.service-link:hover {
    color: var(--pink-400);
    transform: translateX(4px);
}

.feature-list {
    list-style: none;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-xs) 0;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.checkmark {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* About Section */
.about {
    padding: var(--space-3xl) 0;
    background: var(--bg-primary);
    transition: background-color 0.3s ease;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.about-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: var(--space-md);
}

.value-cards {
    display: grid;
    gap: var(--space-md);
}

.value-card {
    padding: var(--space-xl);
    border-radius: 20px;
    color: var(--text-primary);
    position: relative;
    overflow: hidden;
    border: 1px solid;
    transition: background-color 0.3s ease;
}

.gradient-bg-purple {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.15) 0%, rgba(219, 39, 119, 0.15) 100%);
    border-color: rgba(139, 92, 246, 0.3);
    backdrop-filter: blur(10px);
}

.gradient-bg-blue {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(6, 182, 212, 0.15) 100%);
    border-color: rgba(59, 130, 246, 0.3);
    backdrop-filter: blur(10px);
}

.gradient-bg-pink {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.15) 0%, rgba(249, 115, 22, 0.15) 100%);
    border-color: rgba(236, 72, 153, 0.3);
    backdrop-filter: blur(10px);
}

.value-emoji {
    font-size: 2.5rem;
    margin-bottom: var(--space-sm);
}

.value-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: var(--space-xs);
}

.value-card p {
    opacity: 0.95;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--purple-600) 0%, var(--pink-600) 100%);
    padding: var(--space-3xl) 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    color: var(--white);
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: var(--space-md);
    color: var(--white);
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: var(--space-xl);
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    min-width: 200px;
}

.cta-buttons .btn-gradient {
    background: var(--white);
    color: var(--purple-600);
}

.cta-buttons .btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.cta-buttons .btn-outline {
    border-color: var(--white);
    color: var(--white);
}

.cta-buttons .btn-outline:hover {
    background: var(--white);
    color: var(--purple-600);
}

/* Footer */
.footer {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    padding: var(--space-3xl) 0 var(--space-lg);
    border-top: 1px solid var(--border-color);
    transition: background 0.3s ease;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.footer-section .logo-img {
    height: 50px;
    width: auto;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-section .logo {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: var(--space-sm);
}

.footer-section p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-section h4 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: var(--space-md);
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

.footer-section ul li {
    margin-bottom: var(--space-xs);
}

.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.footer-section a:hover {
    color: var(--purple-400);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-lg);
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Legacy footer classes for compatibility */
.footer-brand p {
    margin-top: var(--space-sm);
    color: var(--text-secondary);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.footer-column h4 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: var(--space-md);
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: var(--space-xs);
}

.footer-column a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: var(--purple-400);
}

/* Responsive Design */
@media (max-width: 768px) {
    .cta-content h2 {
        font-size: 1.75rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .nav-container {
        padding: var(--space-sm);
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-secondary);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 5rem 2rem 2rem;
        gap: var(--space-md);
        transition: right 0.3s ease, background-color 0.3s ease;
        border-left: 2px solid var(--purple-500);
        box-shadow: -5px 0 30px var(--card-shadow);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        width: 100%;
    }
    
    .nav-links a {
        display: block;
        padding: 0.75rem 0;
        font-size: 1.1rem;
    }
    
    /* Mobile Dropdown Menu */
    .nav-links .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        border: none;
        border-radius: 0;
        padding: 0 0 0 var(--space-md);
        min-width: auto;
        background: transparent;
        box-shadow: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .nav-links .dropdown.active .dropdown-menu {
        max-height: 300px;
    }
    
    .nav-links .dropdown > a::after {
        float: right;
    }
    
    .nav-links .dropdown-menu a {
        padding: 0.5rem 0;
        font-size: 1rem;
    }
    
    .nav-cta {
        text-align: center;
        padding: 1rem var(--space-md) !important;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: var(--space-md);
    }
    
    .stat-divider {
        width: 100px;
        height: 2px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
}

/* Content Pages (Legal, Services, etc.) */
.content-page {
    padding-top: 100px;
    padding-bottom: var(--space-3xl);
    min-height: 100vh;
}

.content-page .container {
    max-width: 900px;
}

.content-page h1 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: var(--space-lg);
    color: var(--text-primary);
}

.content-page h2 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-top: var(--space-xl);
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.content-page h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-top: var(--space-lg);
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.content-page p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--space-md);
}

.content-page ul, 
.content-page ol {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--space-md);
    padding-left: var(--space-lg);
}

.content-page li {
    margin-bottom: var(--space-xs);
}

.content-page a {
    color: var(--purple-400);
    text-decoration: none;
    transition: color 0.3s;
}

.content-page a:hover {
    color: var(--pink-400);
}

.content-page .last-updated {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: var(--space-xl);
}

/* Services Page Specific */
.services-page .service-detail {
    background: var(--bg-secondary);
    border-radius: 20px;
    padding: var(--space-xl);
    margin-bottom: var(--space-xl);
    border: 1px solid var(--border-color-light);
    transition: background-color 0.3s ease;
}

.services-page .service-detail:hover {
    border-color: var(--border-color);
}

.services-page .service-detail h2 {
    margin-top: 0;
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.services-page .service-detail .icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.services-page .service-detail .icon.purple {
    background: linear-gradient(135deg, var(--purple-500) 0%, var(--pink-500) 100%);
    color: var(--white);
}

.services-page .service-detail .icon.blue {
    background: linear-gradient(135deg, var(--blue-500) 0%, var(--cyan-500) 100%);
    color: var(--white);
}

.services-page .service-detail .icon.pink {
    background: linear-gradient(135deg, var(--pink-500) 0%, var(--orange-500) 100%);
    color: var(--white);
}

/* New Page Styles */
.page-hero {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    border-bottom: 1px solid var(--border-color-light);
}

.breadcrumb {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: var(--space-md);
}

.breadcrumb a {
    color: var(--purple-400);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--pink-400);
}

.page-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: var(--space-md);
    line-height: 1.2;
}

.page-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
}

.content-section {
    padding: var(--space-3xl) 0;
}

.content-section.alt-bg {
    background: var(--bg-secondary);
}

.content-block {
    max-width: 800px;
    margin: 0 auto;
}

.content-block .lead {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.content-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color-light);
    border-radius: 12px;
    padding: var(--space-lg);
    transition: all 0.3s ease;
}

.content-card:hover {
    border-color: var(--border-color);
    transform: translateY(-2px);
}

.content-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.features-section {
    padding: var(--space-3xl) 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-xl);
}

.features-grid-2col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-xl);
}

.feature-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color-light);
    border-radius: 16px;
    padding: var(--space-xl);
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: var(--border-color);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px var(--card-shadow);
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--purple-500) 0%, var(--pink-500) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
    color: var(--white);
}

.feature-detail {
    background: var(--bg-primary);
    border: 1px solid var(--border-color-light);
    border-radius: 16px;
    padding: var(--space-xl);
}

.feature-detail .feature-icon {
    margin-bottom: var(--space-md);
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.security-item {
    text-align: center;
    padding: var(--space-lg);
}

.security-item svg {
    color: var(--purple-400);
    margin-bottom: var(--space-md);
}

.security-item h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.security-highlight {
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: var(--space-2xl);
    text-align: center;
    max-width: 800px;
    margin: var(--space-xl) auto 0;
}

.security-highlight .security-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--purple-500) 0%, var(--pink-500) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-lg);
    color: var(--white);
}

.roadmap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.roadmap-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color-light);
    border-radius: 12px;
    padding: var(--space-lg);
    display: flex;
    gap: var(--space-md);
}

.roadmap-card svg {
    color: var(--purple-400);
    flex-shrink: 0;
}

.roadmap-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: var(--space-xs);
}

.note {
    margin-top: var(--space-lg);
    padding: var(--space-md);
    background: var(--bg-secondary);
    border-left: 3px solid var(--purple-400);
    border-radius: 4px;
    font-style: italic;
    color: var(--text-secondary);
}

.info-box {
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: var(--space-xl);
    margin-top: var(--space-xl);
}

.info-box h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.styled-list {
    list-style: none;
    padding: 0;
}

.styled-list li {
    padding-left: var(--space-lg);
    margin-bottom: var(--space-md);
    position: relative;
}

.styled-list li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--purple-400);
    font-weight: bold;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-xl);
}

.process-step {
    text-align: center;
    padding: var(--space-lg);
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--purple-500) 0%, var(--pink-500) 100%);
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-md);
}

.use-cases {
    display: grid;
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.use-case {
    background: var(--bg-primary);
    border: 1px solid var(--border-color-light);
    border-radius: 12px;
    padding: var(--space-lg);
}

.use-case h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.compliance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-xl);
}

.compliance-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color-light);
    border-radius: 16px;
    padding: var(--space-xl);
    text-align: center;
}

.compliance-card svg {
    color: var(--purple-400);
    margin-bottom: var(--space-md);
}

.compliance-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--space-md);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-xl);
}

.contact-method {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color-light);
    border-radius: 16px;
    padding: var(--space-xl);
    text-align: center;
}

.contact-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--purple-500) 0%, var(--pink-500) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-lg);
    color: var(--white);
}

.contact-method h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--space-md);
}

.contact-method a {
    color: var(--purple-400);
    text-decoration: none;
    font-weight: 600;
}

.contact-method a:hover {
    color: var(--pink-400);
}

.lang-switch {
    padding: 0.5rem 1rem !important;
    background: var(--bg-tertiary);
    border-radius: 6px;
    font-weight: 600 !important;
}

@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }
    
    .content-grid,
    .features-grid,
    .features-grid-2col,
    .process-grid,
    .compliance-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
}
