/* Fooocus Website Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0ea5e9;
    --secondary-color: #06b6d4;
    --accent-color: #14b8a6;
    --dark-bg: #0a0e27;
    --dark-surface: #1a1f3a;
    --dark-surface-2: #252b45;
    --light-bg: #0a0e27;
    --light-surface: #1a1f3a;
    --text-primary: #e2e8f0;
    --text-secondary: #94a3b8;
    --border-color: #334155;
    --gradient: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 50%, #14b8a6 100%);
    --gradient-glow: linear-gradient(135deg, rgba(14, 165, 233, 0.3) 0%, rgba(6, 182, 212, 0.3) 50%, rgba(20, 184, 166, 0.3) 100%);
}

/* Google Fonts moved to HTML head for better performance */

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--light-bg);
    background-image: 
        radial-gradient(at 0% 0%, rgba(14, 165, 233, 0.15) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(20, 184, 166, 0.15) 0px, transparent 50%),
        radial-gradient(at 50% 50%, rgba(6, 182, 212, 0.1) 0px, transparent 50%);
    min-height: 100vh;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Header & Navigation */
header {
    background: var(--dark-bg);
    color: white;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 90px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 0.75rem;
}

.logo:hover {
    text-decoration: none;
}

.logo img {
    width: 70px;
    height: 70px;
    display: block;
    flex-shrink: 0;
}

.logo-text {
    font-family: 'Inter', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 50%, #14b8a6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    line-height: 1;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-links li {
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    line-height: 1;
    padding: 0.5rem 0;
}

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

/* Hamburger Menu Button */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
}

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

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

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

/* Main Content */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    line-height: 1.7;
}

main > section {
    margin-bottom: 4rem;
}

main > section:last-child {
    margin-bottom: 2rem;
}

/* Hero Section */
.hero {
    background: 
        linear-gradient(135deg, rgba(10, 14, 39, 0.55) 0%, rgba(14, 165, 233, 0.2) 50%, rgba(20, 184, 166, 0.2) 100%),
        url('https://images.unsplash.com/photo-1519681393784-d120267933ba?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80') center center / cover;
    background-blend-mode: overlay;
    color: white;
    padding: 6rem 2rem;
    text-align: center;
    border-radius: 1.5rem;
    margin: 2rem 0 4rem 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(14, 165, 233, 0.4);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 40%, rgba(14, 165, 233, 0.15) 0%, transparent 60%),
        radial-gradient(circle at 70% 60%, rgba(20, 184, 166, 0.15) 0%, transparent 60%),
        linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.3) 100%);
    pointer-events: none;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.25);
    pointer-events: none;
    z-index: 0;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(20px, -20px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.02em;
    position: relative;
    z-index: 2;
    color: white;
    text-shadow: 0 4px 30px rgba(0,0,0,0.8), 0 2px 10px rgba(0,0,0,0.6);
    animation: fadeInUp 1s ease-out;
}

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

.hero p {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    opacity: 0.98;
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease-out 0.2s both;
    font-weight: 400;
    letter-spacing: -0.01em;
    line-height: 1.6;
    color: white;
    text-shadow: 0 2px 20px rgba(0,0,0,0.7), 0 1px 5px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 1.1rem;
    opacity: 0.95;
    margin: 1rem 0 2.5rem 0;
    position: relative;
    z-index: 2;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.6;
    color: white;
    text-shadow: 0 2px 15px rgba(0,0,0,0.7), 0 1px 5px rgba(0,0,0,0.5);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1rem;
    position: relative;
    z-index: 2;
}

.btn {
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    letter-spacing: 0.01em;
    transition: transform 0.3s, box-shadow 0.3s;
    display: inline-block;
    border: none;
    outline: none;
}

.btn:focus,
.btn:active,
.btn:visited {
    text-decoration: none;
    outline: none;
}

.btn-primary {
    background: white;
    color: var(--primary-color);
    position: relative;
    overflow: hidden;
}

.btn-primary:focus,
.btn-primary:active,
.btn-primary:visited {
    color: var(--primary-color);
    text-decoration: none;
    background: white;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(14, 165, 233, 0.2), transparent);
    transition: left 0.5s;
}

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

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
    position: relative;
    overflow: hidden;
}

.btn-secondary:focus,
.btn-secondary:active,
.btn-secondary:visited,
.btn-secondary:focus:active {
    color: white !important;
    text-decoration: none !important;
    background: transparent;
    border-color: white;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: width 0.3s;
    z-index: 0;
}

.btn-secondary:hover::before,
.btn-secondary:focus::before,
.btn-secondary:active::before {
    width: 100%;
}

/* Ensure button text stays visible */
.btn-secondary,
.btn-secondary * {
    position: relative;
    z-index: 1;
    color: white !important;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* Button spacing in content */
.content-section .btn,
.subsection .btn,
.card .btn {
    margin-top: 1.5rem;
    margin-bottom: 0;
}

.highlight .btn {
    margin-top: 1.25rem;
}

/* Sections */
section {
    margin: 3rem 0;
    padding: 0;
}

section:first-of-type {
    margin-top: 0;
}

section:last-of-type {
    margin-bottom: 2rem;
}

/* SEO-Optimized Heading Hierarchy */
h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

/* Override for hero h1 - ensure white text is visible */
.hero h1 {
    color: white !important;
    -webkit-text-fill-color: white !important;
    background: none !important;
    background-clip: unset !important;
    -webkit-background-clip: unset !important;
}

h2 {
    font-size: 2.25rem;
    margin: 3.5rem 0 1.5rem 0;
    padding-bottom: 0.75rem;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.2;
    border-bottom: 2px solid rgba(14, 165, 233, 0.3);
}

h2:first-of-type {
    margin-top: 0;
}

h3 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem 0;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

h3:first-child {
    margin-top: 0;
}

h4 {
    font-size: 1.25rem;
    margin: 1.5rem 0 0.75rem 0;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    line-height: 1.4;
}

h4:first-child {
    margin-top: 0;
}

h5 {
    font-size: 1.1rem;
    margin: 1rem 0 0.5rem 0;
    color: var(--text-secondary);
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    line-height: 1.4;
}

h6 {
    font-size: 1rem;
    margin: 0.75rem 0 0.5rem 0;
    color: var(--text-secondary);
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    line-height: 1.4;
}

/* Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2.5rem 0;
}

/* 2x2 grid layout for specific sections */
.card-grid-2x2 {
    grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 768px) {
    .card-grid-2x2 {
        grid-template-columns: 1fr;
    }
}

.card {
    background: var(--dark-surface);
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    transition: transform 0.3s, box-shadow 0.3s, border 0.3s;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.card > * {
    margin-top: 0;
}

.card > *:last-child {
    margin-bottom: 0;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.card:hover::before {
    transform: scaleX(1);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(14, 165, 233, 0.25);
    border-color: var(--primary-color);
}

.card h3 {
    color: var(--primary-color);
    margin: 0 0 1rem 0;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.card p {
    font-weight: 400;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0 0 1.25rem 0;
}

.card .btn,
.card .internal-link {
    margin-top: auto;
    margin-bottom: 0;
}

/* Feature List */
.feature-list {
    list-style: none;
    margin: 1.5rem 0;
    padding: 0;
}

.feature-list li {
    padding: 0.5rem 0 0.5rem 2rem;
    position: relative;
    line-height: 1.7;
    margin: 0.5rem 0;
}

.feature-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Code Blocks */
code {
    background: var(--dark-surface-2);
    padding: 0.2rem 0.5rem;
    border-radius: 0.25rem;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

pre {
    background: var(--dark-bg);
    color: #e2e8f0;
    padding: 1.5rem;
    border-radius: 0.5rem;
    overflow-x: auto;
    margin: 1.25rem 0;
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
}

pre:first-child {
    margin-top: 0;
}

pre:last-child {
    margin-bottom: 0;
}

pre code {
    background: transparent;
    padding: 0;
    color: inherit;
}

/* Links */
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.logo:hover,
.logo:hover .logo-text {
    text-decoration: none;
}

a.btn,
a.btn:hover,
a.btn:focus,
a.btn:active,
a.btn:visited {
    text-decoration: none;
}

.internal-link {
    font-weight: 600;
    color: var(--secondary-color);
}

.external-link {
    color: var(--primary-color);
}

.external-link:after {
    content: " ↗";
    font-size: 0.8em;
}

/* Footer */
footer {
    background: var(--dark-bg);
    color: white;
    padding: 3rem 2rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h3 {
    color: white;
    margin-bottom: 1rem;
}

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

.footer-section ul li {
    margin: 0.5rem 0;
}

.footer-section a {
    color: #cbd5e1;
    text-decoration: none;
}

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

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #94a3b8;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: var(--dark-surface);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    border-radius: 0.5rem;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

th, td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

th {
    background: var(--dark-surface-2);
    font-weight: 600;
    color: var(--text-primary);
}

tr:hover {
    background: var(--dark-surface-2);
}

/* Badges */
.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    background: var(--primary-color);
    color: white;
    margin: 0.25rem;
}

/* Breadcrumbs */
.breadcrumbs {
    margin: 1rem 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.breadcrumbs a {
    color: var(--text-secondary);
}

.breadcrumbs a:hover {
    color: var(--primary-color);
}

.breadcrumbs span {
    color: var(--text-primary);
}

/* Responsive */
@media (max-width: 768px) {
    /* Navigation - Mobile */
    .menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 90px;
        left: 0;
        right: 0;
        background: var(--dark-bg);
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem;
        gap: 0;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        box-shadow: 0 10px 30px rgba(0,0,0,0.3);
        max-height: calc(100vh - 90px);
        overflow-y: auto;
        z-index: 999;
    }
    
    .nav-links.active {
        transform: translateX(0);
    }
    
    .nav-links li {
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .nav-links li:last-child {
        border-bottom: none;
    }
    
    .nav-links a {
        width: 100%;
        padding: 1rem 0;
        font-size: 1.1rem;
    }
    
    nav {
        padding: 0 1.5rem;
        min-height: 80px;
    }
    
    .logo img {
        width: 60px;
        height: 60px;
    }
    
    .logo-text {
        font-size: 1.5rem;
    }
    
    /* Hero Section - Mobile */
    .hero {
        padding: 4rem 1.5rem;
        margin: 1rem 0 2rem 0;
        border-radius: 1rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
        margin-bottom: 0.75rem;
    }
    
    .hero p {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin: 0.75rem 0 2rem 0;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        text-align: center;
        padding: 0.875rem 1.5rem;
    }
    
    /* Main Content - Mobile */
    main {
        padding: 1rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
        margin: 2.5rem 0 1rem 0;
    }
    
    h3 {
        font-size: 1.25rem;
        margin: 1.5rem 0 0.75rem 0;
    }
    
    /* Cards - Mobile */
    .card-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .card-grid-2x2 {
        grid-template-columns: 1fr;
    }
    
    .card {
        padding: 1.5rem;
    }
    
    /* Stats - Mobile */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-card {
        padding: 1.5rem 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
    
    /* Content Sections - Mobile */
    .content-section {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }
    
    .highlight {
        padding: 1.25rem;
        margin: 1.5rem 0;
    }
    
    .subsection {
        padding: 1.25rem;
        margin: 1.5rem 0;
    }
    
    /* Tables - Mobile */
    table {
        font-size: 0.9rem;
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    th, td {
        padding: 0.75rem 0.5rem;
        min-width: 100px;
    }
    
    /* Footer - Mobile */
    footer {
        padding: 2rem 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Breadcrumbs - Mobile */
    .breadcrumbs {
        font-size: 0.85rem;
        margin: 0.75rem 0;
    }
    
    /* Feature Header - Mobile */
    .feature-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .feature-header .feature-icon {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    nav {
        padding: 0 1rem;
        min-height: 70px;
    }
    
    .logo img {
        width: 50px;
        height: 50px;
    }
    
    .logo-text {
        font-size: 1.25rem;
    }
    
    .hero {
        padding: 3rem 1rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    main {
        padding: 0.75rem;
    }
    
    h1 {
        font-size: 1.75rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
}

/* SEO & Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

/* Image optimization */
img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
}

/* Content sections */
.content-section {
    margin: 2rem 0;
    padding: 2rem;
    background: var(--light-surface);
    border-radius: 0.75rem;
}

/* Highlight boxes */
.highlight {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.15) 0%, rgba(6, 182, 212, 0.15) 100%);
    border-left: 4px solid var(--primary-color);
    padding: 1.75rem;
    margin: 2rem 0;
    border-radius: 0.5rem;
    border: 1px solid rgba(14, 165, 233, 0.3);
}

.highlight > *:first-child {
    margin-top: 0;
}

.highlight > *:last-child {
    margin-bottom: 0;
}

.highlight h3 {
    margin: 0 0 1rem 0;
}

.highlight p {
    margin: 0 0 1rem 0;
    line-height: 1.7;
}

.highlight p:last-child {
    margin-bottom: 0;
}

.highlight ul {
    margin: 1rem 0;
}

/* Stats Section */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 2rem 0 3rem 0;
}

.stat-card {
    background: var(--dark-surface);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: transform 0.3s, box-shadow 0.3s;
}

.stat-card .stat-number {
    margin-bottom: 0.75rem;
}

.stat-card .stat-label {
    margin: 0;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.25);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0;
}

/* Feature Showcase */
.feature-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.feature-item {
    background: var(--dark-surface);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

.feature-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.25);
}

.feature-icon {
    font-size: 2rem;
    display: inline-block;
    vertical-align: middle;
    line-height: 1;
    flex-shrink: 0;
}

/* Feature header - icon and title on same line */
.feature-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.feature-header .feature-icon {
    margin: 0;
    font-size: 2rem;
}

.feature-header h3 {
    margin: 0;
    flex: 1;
    line-height: 1.2;
}

/* Feature icon with title on same line */
.card .feature-icon + h3 {
    display: inline-block;
    margin: 0;
    vertical-align: middle;
    line-height: 1.2;
}

.card .feature-icon {
    margin-bottom: 0;
}

/* Animated gradient text */
.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Glow effect */
.glow {
    box-shadow: 0 0 30px rgba(14, 165, 233, 0.4);
}

/* Content sections */
.content-section {
    margin: 2.5rem 0;
    padding: 2rem;
    background: var(--dark-surface);
    border-radius: 0.75rem;
    border: 1px solid var(--border-color);
}

.content-section > *:first-child {
    margin-top: 0;
}

.content-section > *:last-child {
    margin-bottom: 0;
}

.content-section p {
    color: var(--text-primary);
    margin: 0 0 1.25rem 0;
    line-height: 1.7;
}

.content-section p:last-child {
    margin-bottom: 0;
}

.content-section strong {
    color: var(--text-primary);
    font-weight: 600;
}

.content-section h3 {
    margin-top: 0;
    margin-bottom: 1rem;
}

.content-section ul,
.content-section ol {
    margin: 1.25rem 0;
}

/* Page Intro Section */
.page-intro {
    margin: 1.5rem 0 3rem 0;
    padding: 1.75rem 2rem;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1) 0%, rgba(6, 182, 212, 0.1) 100%);
    border-left: 4px solid var(--primary-color);
    border-radius: 0.5rem;
}

.page-intro p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-primary);
    margin: 0;
}

/* Subsection styling */
.subsection {
    margin: 2rem 0;
    padding: 1.75rem;
    background: var(--dark-surface);
    border-radius: 0.5rem;
    border-left: 3px solid var(--primary-color);
}

.subsection > *:first-child {
    margin-top: 0;
}

.subsection > *:last-child {
    margin-bottom: 0;
}

.subsection h3 {
    margin: 0 0 1rem 0;
    color: var(--primary-color);
}

.subsection h4 {
    margin: 1.5rem 0 0.75rem 0;
}

.subsection p {
    margin: 0 0 1.25rem 0;
    line-height: 1.7;
}

.subsection p:last-child {
    margin-bottom: 0;
}

.subsection ul,
.subsection ol {
    margin: 1rem 0;
}

.subsection pre {
    margin: 1.25rem 0;
}

/* List improvements */
ul, ol {
    margin: 1.25rem 0;
    padding-left: 2rem;
    line-height: 1.8;
}

ul:first-child,
ol:first-child {
    margin-top: 0;
}

ul:last-child,
ol:last-child {
    margin-bottom: 0;
}

li {
    margin: 0.5rem 0;
    color: var(--text-primary);
    line-height: 1.7;
}

li:first-child {
    margin-top: 0;
}

li:last-child {
    margin-bottom: 0;
}

li strong {
    color: var(--text-primary);
    font-weight: 600;
}
