/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors */
    --primary-500: #3b82f6;
    --primary-600: #2563eb;
    --primary-700: #1d4ed8;
    --secondary-500: #8b5cf6;
    --secondary-600: #7c3aed;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --white: #ffffff;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Spacing */
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    
    /* Shadows */
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    
    /* Border Radius */
    --radius-lg: 0.5rem;
    --radius-xl: 0.75rem;
    --radius-2xl: 1rem;
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-normal: 250ms ease;
}

body {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--white);
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-4);
}

@media (min-width: 768px) {
    .container {
        padding: 0 var(--space-6);
    }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 50;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-weight: 600;
    font-size: 1.125rem;
    color: var(--gray-900);
    text-decoration: none;
}

.logo {
    width: 32px;
    height: 32px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-8);
}

.nav-link {
    color: var(--gray-600);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-fast);
}

.nav-link:hover {
    color: var(--primary-600);
}

/* Page Hero */
.page-hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    position: relative;
    overflow: hidden;
    color: white;
    text-align: center;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.1) 0%, transparent 25%),
        radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.1) 0%, transparent 25%);
    animation: heroFloat 25s ease-in-out infinite;
    pointer-events: none;
}

@keyframes heroFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(20px, -30px) rotate(90deg); }
    50% { transform: translate(-20px, 20px) rotate(180deg); }
    75% { transform: translate(30px, 10px) rotate(270deg); }
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-4);
    position: relative;
    z-index: 2;
}

@media (min-width: 768px) {
    .page-title {
        font-size: 3rem;
    }
}

.gradient-text {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-description {
    font-size: 1.125rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.95;
    position: relative;
    z-index: 2;
}

/* Main Content */
.main-content {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: var(--space-20) 0;
}

.content-section {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    margin-bottom: var(--space-8);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.content-section:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.section-icon {
    font-size: 3rem;
    margin-bottom: var(--space-4);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.section-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--space-4);
}

.section-text {
    color: var(--gray-700);
    margin-bottom: var(--space-6);
    line-height: 1.7;
}

/* Two Column Grid */
.two-column-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
}

@media (min-width: 768px) {
    .two-column-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.info-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(248, 250, 252, 0.8));
    padding: var(--space-6);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(79, 172, 254, 0.1);
    transition: var(--transition-normal);
}

.info-card:hover {
    border-color: rgba(79, 172, 254, 0.3);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: var(--space-2);
}

.card-text {
    color: var(--gray-600);
}

/* Links Grid */
.links-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-4);
}

@media (min-width: 640px) {
    .links-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.link-card {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-4);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(248, 250, 252, 0.8));
    border-radius: var(--radius-xl);
    border: 1px solid rgba(79, 172, 254, 0.1);
    text-decoration: none;
    color: var(--gray-700);
    transition: var(--transition-normal);
}

.link-card:hover {
    border-color: rgba(79, 172, 254, 0.3);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--primary-600);
}

.link-icon {
    font-size: 1.5rem;
}

.link-text {
    font-weight: 500;
}

/* Subsections */
.subsection {
    margin-top: var(--space-6);
}

.subsection-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: var(--space-3);
}

/* Lists */
.check-list, .bullet-list, .numbered-list {
    color: var(--gray-700);
    line-height: 1.8;
}

.check-list {
    list-style: none;
    padding-left: 0;
}

.check-list li {
    padding: var(--space-2) 0;
    position: relative;
    padding-left: var(--space-8);
}

.check-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
    font-size: 1.25rem;
}

.bullet-list {
    padding-left: var(--space-6);
}

.bullet-list li {
    margin: var(--space-2) 0;
}

.numbered-list {
    padding-left: var(--space-6);
}

.numbered-list li {
    margin: var(--space-3) 0;
}

.nested-list {
    margin-top: var(--space-2);
    padding-left: var(--space-6);
}

/* Code Blocks */
code {
    background: rgba(79, 172, 254, 0.1);
    padding: 0.125rem 0.375rem;
    border-radius: 0.25rem;
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
    color: var(--primary-700);
}

.code-block {
    background: var(--gray-900);
    color: #e2e8f0;
    padding: var(--space-6);
    border-radius: var(--radius-lg);
    overflow-x: auto;
    box-shadow: var(--shadow-md);
}

.code-block pre {
    margin: 0;
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
    line-height: 1.6;
}

.code-block code {
    background: transparent;
    color: inherit;
    padding: 0;
}

/* Highlight Section */
.highlight-section {
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.1) 0%, rgba(240, 147, 251, 0.1) 100%);
    border: 2px solid rgba(79, 172, 254, 0.2);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--secondary-500) 100%);
    color: var(--white);
    padding: var(--space-16);
    border-radius: var(--radius-2xl);
    text-align: center;
    margin-top: var(--space-12);
}

.cta-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: var(--space-4);
}

.cta-description {
    font-size: 1.125rem;
    margin-bottom: var(--space-8);
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-4) var(--space-8);
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-xl);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: var(--white);
    box-shadow: 0 8px 32px rgba(79, 172, 254, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(79, 172, 254, 0.4);
}

.btn-icon svg {
    width: 20px;
    height: 20px;
}

/* Footer */
.footer {
    padding: var(--space-12) 0;
    background: linear-gradient(135deg, #0f1419 0%, #1a1f2e 50%, #16213e 100%);
    color: var(--gray-300);
}

.footer-content {
    margin-bottom: var(--space-8);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.footer-logo {
    width: 48px;
    height: 48px;
    border-radius: 8px;
}

.footer-brand h3 {
    color: var(--white);
    margin-bottom: var(--space-2);
    font-size: 1.25rem;
}

.footer-brand p {
    color: var(--gray-400);
    font-size: 0.875rem;
}

.footer-bottom {
    padding-top: var(--space-6);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: var(--gray-400);
    font-size: 0.875rem;
}