/* ===================================
   DigiShell Website - Vanilla CSS
   Modern, responsive design with dark mode
   =================================== */

/* CSS Variables for Theme Colors */
:root {
    /* Crimson/Red Theme Colors */
    --crimson-50: #fef2f2;
    --crimson-100: #fee2e2;
    --crimson-200: #fecaca;
    --crimson-300: #fca5a5;
    --crimson-400: #f87171;
    --crimson-500: #ef4444;
    --crimson-600: #dc2626;
    --crimson-700: #b91c1c;
    --crimson-800: #991b1b;
    --crimson-900: #7f1d1d;
    --crimson-950: #450a0a;

    /* Slate Colors */
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-850: #152032;
    --slate-900: #0f172a;
    --slate-950: #020617;

    /* Other Colors */
    --green-100: #dcfce7;
    --green-400: #4ade80;
    --green-600: #16a34a;
    --green-900: #14532d;
    --blue-100: #dbeafe;
    --blue-400: #60a5fa;
    --blue-600: #2563eb;
    --blue-900: #1e3a8a;
    --purple-100: #f3e8ff;
    --purple-400: #c084fc;
    --purple-600: #9333ea;
    --purple-900: #581c87;
    --orange-100: #ffedd5;
    --orange-400: #fb923c;
    --orange-600: #ea580c;
    --orange-900: #7c2d12;
    --teal-100: #ccfbf1;
    --teal-400: #2dd4bf;
    --teal-600: #0d9488;
    --teal-900: #134e4a;
    --red-50: #fef2f2;
    --red-400: #f87171;
    --red-600: #dc2626;
    --red-800: #991b1b;
    --red-900: #7f1d1d;

    /* Fonts */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    --font-mono: 'JetBrains Mono', 'Menlo', 'Consolas', monospace;

    /* Spacing */
    --container-max: 1280px;
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Dark Mode Variables */
.dark {
    --bg-primary: var(--slate-950);
    --bg-secondary: var(--slate-900);
    --bg-tertiary: var(--slate-800);
    --text-primary: var(--slate-200);
    --text-secondary: var(--slate-400);
    --text-tertiary: var(--slate-500);
    --border-color: var(--slate-800);
    --accent: var(--crimson-500);
    --accent-hover: var(--crimson-400);
}

/* Light Mode Variables (Default) */
:root {
    --bg-primary: #ffffff;
    --bg-secondary: var(--slate-50);
    --bg-tertiary: var(--slate-100);
    --text-primary: var(--slate-900);
    --text-secondary: var(--slate-600);
    --text-tertiary: var(--slate-500);
    --border-color: var(--slate-200);
    --accent: var(--crimson-600);
    --accent-hover: var(--crimson-700);
}

/* ===================================
   Reset & Base Styles
   =================================== */

* {
    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;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    transition: background-color 0.3s, color 0.3s;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    border: none;
    background: none;
    font-family: inherit;
    cursor: pointer;
}

/* ===================================
   Scrollbar Styles
   =================================== */

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--slate-300);
    border-radius: 3px;
}

.dark ::-webkit-scrollbar-thumb {
    background: var(--slate-600);
}

/* ===================================
   Typography
   =================================== */

h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    line-height: 1.2;
}

.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.text-5xl { font-size: 3rem; }
.text-7xl { font-size: 4.5rem; }

.font-mono { font-family: var(--font-mono); }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-extrabold { font-weight: 800; }
.italic { font-style: italic; }

/* ===================================
   Layout Utilities
   =================================== */

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1rem;
}

.section {
    padding: 8rem 0;
}

.grid {
    display: grid;
    gap: 1.5rem;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

.text-center {
    text-align: center;
}

/* ===================================
   Navigation
   =================================== */

.nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    box-shadow: var(--shadow-xl);
    transition: background 0.3s;
}

.dark .nav {
    background: rgba(2, 6, 23, 0.95);
    box-shadow: 0 25px 50px -12px rgba(127, 29, 29, 0.7);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 5rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-logo-text {
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.05em;
    color: var(--text-primary);
}

.nav-logo-sub {
    font-size: 0.75rem;
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding-top: 0.25rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    list-style: none;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
    padding: 0.25rem 0;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
}

.nav-link:hover {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-primary {
    padding: 0.5rem 1rem;
    border-radius: var(--radius-lg);
    background: var(--accent);
    color: white;
    font-size: 0.875rem;
    font-weight: 700;
    transition: all 0.2s;
    box-shadow: 0 0 30px rgba(220, 38, 38, 0.3);
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: scale(1.02);
}

.theme-toggle {
    padding: 0.75rem;
    border-radius: var(--radius-lg);
    color: var(--text-tertiary);
    transition: background 0.2s;
}

.theme-toggle:hover {
    background: var(--bg-tertiary);
}

.theme-toggle svg {
    width: 1.25rem;
    height: 1.25rem;
}

.mobile-menu-btn {
    display: none;
    padding: 0.5rem;
    border-radius: var(--radius-lg);
    color: var(--text-primary);
}

.mobile-menu-btn:hover {
    background: var(--bg-tertiary);
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.hamburger-line {
    width: 1.5rem;
    height: 2px;
    background: currentColor;
    transition: all 0.3s;
}

.mobile-menu {
    display: none;
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
}

.mobile-menu.active {
    display: block;
}

.mobile-menu-list {
    list-style: none;
    padding: 0.5rem;
}

.mobile-menu-item {
    display: block;
    padding: 0.75rem;
    border-radius: var(--radius-md);
    font-weight: 500;
    transition: all 0.2s;
}

.mobile-menu-item:hover {
    background: var(--bg-tertiary);
    color: var(--accent);
}

/* ===================================
   Hero Section
   =================================== */

.hero {
    position: relative;
    padding: 14rem 0 12rem;
    overflow: hidden;
    background-image: url('sidebyside.png');
    background-size: cover;
    background-position: center 40%;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
        rgba(248, 250, 252, 0.85),
        rgba(248, 250, 252, 0.7),
        rgba(248, 250, 252, 0.85));
    z-index: 0;
}

.dark .hero-overlay {
    background: linear-gradient(to bottom,
        rgba(2, 6, 23, 0.85),
        rgba(2, 6, 23, 0.7),
        rgba(2, 6, 23, 0.85));
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 56rem;
    margin: 0 auto;
    text-align: center;
    padding: 4rem 1rem 0;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.hero-title-accent {
    color: var(--accent);
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-weight: 500;
}

.hero-snark {
    font-size: 0.875rem;
    color: var(--text-tertiary);
    font-style: italic;
    margin-bottom: 2.5rem;
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    justify-content: center;
}

.btn-hero {
    padding: 1rem 2.5rem;
    border-radius: var(--radius-xl);
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
}

.btn-hero-primary {
    background: linear-gradient(135deg, var(--crimson-600) 0%, var(--crimson-700) 100%);
    color: white;
    box-shadow: 0 10px 40px rgba(220, 38, 38, 0.4), 0 0 0 0 rgba(220, 38, 38, 0);
    border: 2px solid transparent;
}

.btn-hero-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 20px 60px rgba(220, 38, 38, 0.6), 0 0 30px rgba(220, 38, 38, 0.3);
    background: linear-gradient(135deg, var(--crimson-500) 0%, var(--crimson-600) 100%);
}

.btn-hero-primary:active {
    transform: translateY(0) scale(0.98);
}

.btn-hero-secondary {
    border: 2px solid var(--slate-300);
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.dark .btn-hero-secondary {
    border-color: var(--slate-600);
    background: rgba(15, 23, 42, 0.8);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.btn-hero-secondary:hover {
    border-color: var(--accent);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.95);
}

.dark .btn-hero-secondary:hover {
    background: rgba(15, 23, 42, 0.95);
    box-shadow: 0 8px 30px rgba(220, 38, 38, 0.2);
}

.btn-hero-secondary:active {
    transform: translateY(0) scale(0.98);
}

/* ===================================
   Section Styles
   =================================== */

.section-title-container {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    padding: 2rem;
}

.section-title-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(220, 38, 38, 0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

.dark .section-title-container::before {
    background: radial-gradient(ellipse at center, rgba(220, 38, 38, 0.1) 0%, transparent 70%);
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 48rem;
    margin: 0 auto;
    font-weight: 500;
    line-height: 1.8;
}

.bg-white {
    background: var(--bg-primary);
}

.bg-gray {
    background: var(--bg-secondary);
}

.border-top {
    border-top: 1px solid var(--border-color);
}

.border-bottom {
    border-bottom: 1px solid var(--border-color);
}

/* ===================================
   Full-Width Feature Sections
   =================================== */

.feature-full {
    display: grid;
    grid-template-columns: 1fr;
}

.feature-image {
    background: var(--bg-tertiary);
    padding: 2rem 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-image img {
    width: 100%;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-2xl);
    border: 1px solid var(--border-color);
}

.feature-content {
    padding: 4rem 6rem;
    display: flex;
    align-items: center;
}

.feature-inner {
    width: 100%;
    max-width: 48rem;
}

.feature-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--crimson-100);
    color: var(--crimson-700);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.dark .feature-badge {
    background: rgba(220, 38, 38, 0.3);
    color: var(--crimson-400);
}

.feature-title {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.feature-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-item {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.feature-icon {
    width: 2rem;
    height: 2rem;
    border-radius: var(--radius-lg);
    background: var(--crimson-100);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.dark .feature-icon {
    background: rgba(220, 38, 38, 0.3);
}

.feature-icon svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--accent);
}

.feature-item-title {
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.feature-item-description {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.warning-box {
    margin-top: 1.5rem;
    padding: 1rem;
    background: var(--red-50);
    border-left: 4px solid var(--red-600);
    border-radius: var(--radius-md);
}

.dark .warning-box {
    background: rgba(127, 29, 29, 0.1);
    border-left-color: var(--red-600);
}

.warning-box p {
    font-size: 0.875rem;
    color: var(--red-800);
}

.dark .warning-box p {
    color: var(--red-400);
}

.code-example {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--slate-800);
    border: 1px solid var(--slate-700);
    border-radius: var(--radius-lg);
}

.dark .code-example {
    background: var(--slate-900);
}

.code-example p {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--slate-300);
    line-height: 1.6;
}

/* ===================================
   Theme Gallery
   =================================== */

.theme-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 90rem;
    width: 100%;
}

.theme-gallery img {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-2xl);
    border: 1px solid var(--border-color);
    transition: transform 0.3s, box-shadow 0.3s;
}

.theme-gallery img:hover {
    transform: scale(1.02);
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.3);
}

.theme-preview {
    grid-column: span 2;
    background: linear-gradient(to right, var(--slate-700), var(--slate-900));
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
}

.theme-preview p {
    color: white;
    font-family: var(--font-mono);
    font-size: 0.875rem;
}

/* ===================================
   Macro Cards
   =================================== */

.macro-panel {
    background: var(--slate-900);
    border: 1px solid var(--slate-700);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-2xl);
    padding: 2rem;
    max-width: 28rem;
    width: 100%;
}

.macro-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.macro-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--slate-800);
    border-radius: var(--radius-lg);
    transition: background 0.2s;
    cursor: pointer;
}

.macro-card:hover {
    background: var(--slate-700);
}

.macro-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.macro-icon-cq { background: var(--crimson-600); }
.macro-icon-hi { background: var(--blue-600); }
.macro-icon-73 { background: var(--green-600); }
.macro-icon-qth { background: var(--purple-600); }

.macro-info {
    flex: 1;
}

.macro-title {
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
}

.macro-text {
    color: var(--slate-400);
    font-size: 0.75rem;
    font-family: var(--font-mono);
}

/* ===================================
   Tech Stack Cards
   =================================== */

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.tech-card {
    padding: 1.5rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    transition: border-color 0.2s;
}

.tech-card:hover {
    border-color: var(--accent);
}

.tech-icon {
    width: 3rem;
    height: 3rem;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.tech-icon svg {
    width: 1.5rem;
    height: 1.5rem;
}

.tech-icon-green {
    background: var(--green-100);
}

.dark .tech-icon-green {
    background: rgba(34, 197, 94, 0.3);
}

.tech-icon-green svg {
    color: var(--green-600);
}

.dark .tech-icon-green svg {
    color: var(--green-400);
}

.tech-icon-blue {
    background: var(--blue-100);
}

.dark .tech-icon-blue {
    background: rgba(59, 130, 246, 0.3);
}

.tech-icon-blue svg {
    color: var(--blue-600);
}

.dark .tech-icon-blue svg {
    color: var(--blue-400);
}

.tech-icon-purple {
    background: var(--purple-100);
}

.dark .tech-icon-purple {
    background: rgba(168, 85, 247, 0.3);
}

.tech-icon-purple svg {
    color: var(--purple-600);
}

.dark .tech-icon-purple svg {
    color: var(--purple-400);
}

.tech-icon-orange {
    background: var(--orange-100);
}

.dark .tech-icon-orange {
    background: rgba(249, 115, 22, 0.3);
}

.tech-icon-orange svg {
    color: var(--orange-600);
}

.dark .tech-icon-orange svg {
    color: var(--orange-400);
}

.tech-icon-crimson {
    background: var(--crimson-100);
}

.dark .tech-icon-crimson {
    background: rgba(220, 38, 38, 0.3);
}

.tech-icon-crimson svg {
    color: var(--crimson-600);
}

.dark .tech-icon-crimson svg {
    color: var(--crimson-400);
}

.tech-icon-teal {
    background: var(--teal-100);
}

.dark .tech-icon-teal {
    background: rgba(20, 184, 166, 0.3);
}

.tech-icon-teal svg {
    color: var(--teal-600);
}

.dark .tech-icon-teal svg {
    color: var(--teal-400);
}

.tech-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.tech-description {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}

.tech-features {
    list-style: none;
    font-size: 0.75rem;
    color: var(--text-tertiary);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

/* ===================================
   Philosophy/How it Works
   =================================== */

.philosophy-card {
    display: inline-block;
    padding: 1.5rem;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-2xl);
    text-align: left;
}

.philosophy-header {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.philosophy-icon {
    width: 2rem;
    height: 2rem;
    color: var(--red-600);
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.dark .philosophy-icon {
    color: var(--red-500);
}

.philosophy-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--red-600);
    margin-bottom: 0.25rem;
}

.dark .philosophy-title {
    color: var(--red-400);
}

.philosophy-text {
    color: var(--text-primary);
}

/* ===================================
   Setup & Installation
   =================================== */

.setup-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.setup-card {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
}

.setup-icon {
    width: 3rem;
    height: 3rem;
    margin: 0 auto 1rem;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.setup-icon svg {
    width: 1.5rem;
    height: 1.5rem;
}

.setup-card h3 {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.setup-card p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.install-tabs {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.tab-buttons {
    display: flex;
    border-bottom: 1px solid var(--border-color);
}

.tab-button {
    flex: 1;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-tertiary);
    transition: all 0.2s;
    border: none;
    background: transparent;
}

.tab-button:hover {
    color: var(--text-primary);
    background: var(--bg-tertiary);
}

.tab-button.active {
    color: var(--text-primary);
    background: var(--slate-200);
}

.dark .tab-button.active {
    background: var(--slate-800);
}

.tab-content {
    padding: 2rem;
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--text-primary);
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

.install-step {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.step-number {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background: var(--accent);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h4 {
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.step-content p {
    color: var(--text-tertiary);
}

.step-content code {
    background: var(--slate-200);
    color: var(--accent);
    padding: 0.125rem 0.25rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-mono);
}

.dark .step-content code {
    background: var(--slate-800);
}

.command-line {
    display: flex;
    gap: 1rem;
    opacity: 0.7;
    margin-bottom: 1rem;
}

.command-prompt {
    color: var(--accent);
    font-weight: 700;
}

.command-divider {
    border-top: 1px solid var(--border-color);
    margin: 1rem 0;
    padding-top: 1rem;
}

.command-comment {
    color: var(--text-tertiary);
    margin-bottom: 0.5rem;
}

.command-highlight {
    color: var(--text-primary);
    font-weight: 700;
}

/* ===================================
   Footer
   =================================== */

.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 3rem 0;
}

.footer-content {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-brand h4 {
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.footer-brand p {
    font-size: 0.875rem;
    color: var(--text-tertiary);
    margin-top: 0.25rem;
    font-weight: 500;
}

.footer-info {
    text-align: center;
}

.footer-info p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.footer-info a {
    font-weight: 700;
    color: var(--accent);
}

.footer-info a:hover {
    text-decoration: underline;
}

.footer-disclaimer {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    margin-top: 0.5rem;
}

/* ===================================
   Responsive Design
   =================================== */

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
        gap: 1.5rem;
    }
}

@media (min-width: 768px) {
    .nav-menu {
        display: flex;
    }

    .mobile-menu-btn {
        display: none;
    }

    .btn-primary-desktop {
        display: block;
    }

    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .footer-info {
        text-align: right;
    }
}

@media (max-width: 767px) {
    .nav-menu {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .btn-primary-desktop {
        display: none;
    }

    .hero-title {
        font-size: 2rem;
    }

    .feature-image,
    .feature-content {
        padding: 3rem 1.5rem;
    }

    .section {
        padding: 5rem 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .feature-title {
        font-size: 1.75rem;
    }
}

@media (min-width: 1024px) {
    .feature-full {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-reverse .feature-content {
        order: 1;
    }

    .feature-reverse .feature-image {
        order: 2;
    }

    .hero-title {
        font-size: 4.5rem;
    }

    .section-title {
        font-size: 3.5rem;
    }

    .section-subtitle {
        font-size: 1.375rem;
    }

    .nav-logo-sub {
        display: inline;
    }
}

@media (max-width: 1023px) {
    .nav-logo-sub {
        display: none;
    }

    .theme-gallery {
        max-width: 100%;
    }
}

/* ===================================
   Utility Classes
   =================================== */

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }

.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }

.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }

.max-w-2xl {
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.max-w-3xl {
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

.max-w-4xl {
    max-width: 56rem;
    margin-left: auto;
    margin-right: auto;
}

.hidden {
    display: none !important;
}

.block {
    display: block;
}
