/* Website 105 - Red Sidebar Theme */
:root {
    --primary: #dc2626;
    --primary-dark: #b91c1c;
    --primary-light: #ef4444;
    --secondary: #7c3aed;
    --dark: #1a1a1a;
    --darker: #0f0f0f;
    --light: #fef2f2;
    --muted: #fca5a5;
    --sidebar-bg: #1f1f1f;
    --card-bg: #2a2a2a;
    --gradient: linear-gradient(135deg, #dc2626 0%, #7c3aed 100%);
    --shadow: 0 10px 40px rgba(220, 38, 38, 0.2);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--darker);
    color: var(--light);
    line-height: 1.6;
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    width: 260px;
    background: var(--sidebar-bg);
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 100;
    border-right: 1px solid rgba(220, 38, 38, 0.2);
}

.sidebar-header { margin-bottom: 40px; }

.sidebar .logo {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-light);
    text-decoration: none;
}

.sidebar-nav { flex: 1; display: flex; flex-direction: column; gap: 8px; }

.sidebar-nav a {
    padding: 14px 20px;
    color: var(--muted);
    text-decoration: none;
    border-radius: 10px;
    font-weight: 500;
    transition: var(--transition);
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
    background: rgba(220, 38, 38, 0.15);
    color: var(--primary-light);
}

.sidebar-footer { padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); }
.sidebar-footer p { font-size: 0.8rem; color: var(--muted); }

/* Main Content */
.main-content {
    flex: 1;
    margin-left: 260px;
    padding: 0;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 60px;
    background: linear-gradient(135deg, var(--darker) 0%, #1a0a0a 100%);
}

.hero-content { max-width: 600px; }

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(220, 38, 38, 0.15);
    border: 1px solid var(--primary);
    border-radius: 25px;
    font-size: 0.8rem;
    color: var(--primary-light);
    margin-bottom: 24px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(180deg, #fff 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p { font-size: 1.2rem; color: var(--muted); margin-bottom: 32px; }

.hero-actions { display: flex; gap: 16px; }

.btn-primary {
    display: inline-flex;
    padding: 14px 28px;
    background: var(--gradient);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-primary:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

.btn-secondary {
    display: inline-flex;
    padding: 14px 28px;
    background: transparent;
    color: var(--light);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    border: 1px solid rgba(220, 38, 38, 0.5);
    transition: var(--transition);
}

.btn-secondary:hover { background: rgba(220, 38, 38, 0.1); }

.hero-visual { flex: 1; display: flex; justify-content: center; align-items: center; }

.visual-box {
    width: 280px;
    height: 280px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #fff;
    animation: float 6s infinite ease-in-out;
}

.visual-box span:first-child { font-size: 4rem; margin-bottom: 12px; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Section Styles */
.section-title { text-align: center; margin-bottom: 50px; }
.section-title span { display: inline-block; padding: 6px 16px; background: rgba(220, 38, 38, 0.15); border-radius: 20px; font-size: 0.8rem; color: var(--primary-light); margin-bottom: 16px; }
.section-title h2 { font-size: 2.2rem; font-weight: 700; }

/* Features Grid */
.features-grid { padding: 80px 60px; background: var(--dark); }

.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.grid-item {
    background: var(--card-bg);
    padding: 32px;
    border-radius: 16px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
}

.grid-item:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.item-icon { font-size: 2.5rem; margin-bottom: 16px; display: block; }
.grid-item h3 { font-size: 1.15rem; margin-bottom: 8px; color: var(--light); }
.grid-item p { color: var(--muted); font-size: 0.9rem; }

/* Stats Section */
.stats-section { padding: 60px 60px; background: var(--gradient); }

.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.stat-item { text-align: center; }
.stat-num { display: block; font-size: 2.5rem; font-weight: 800; color: #fff; }
.stat-label { font-size: 0.9rem; color: rgba(255,255,255,0.8); }

/* Tech Section */
.tech-section { padding: 80px 60px; background: var(--darker); }

.tech-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.tech-item {
    text-align: center;
    padding: 30px 20px;
    background: var(--card-bg);
    border-radius: 16px;
    transition: var(--transition);
    border: 1px solid transparent;
}

.tech-item:hover { border-color: var(--primary); transform: translateY(-5px); }
.tech-item span { font-size: 2.5rem; margin-bottom: 12px; display: block; }
.tech-item h4 { font-size: 1.1rem; color: var(--light); }

/* CTA Section */
.cta-section { padding: 80px 60px; text-align: center; background: var(--dark); }
.cta-section h2 { font-size: 2rem; margin-bottom: 16px; }
.cta-section p { color: var(--muted); margin-bottom: 32px; }

/* Footer */
.site-footer { padding: 60px; background: var(--darker); border-top: 1px solid rgba(220, 38, 38, 0.1); }

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand h3 { font-size: 1.25rem; margin-bottom: 12px; color: var(--primary-light); }
.footer-brand p { color: var(--muted); font-size: 0.9rem; }
.footer-contact p { color: var(--muted); font-size: 0.9rem; margin-bottom: 8px; }

.footer-bottom { padding-top: 30px; text-align: center; }
.footer-bottom p { color: var(--muted); font-size: 0.875rem; }

/* Responsive */
@media (max-width: 1024px) {
    .sidebar { display: none; }
    .main-content { margin-left: 0; }
    .hero-section { padding: 100px 24px; flex-direction: column; text-align: center; }
    .hero-visual { display: none; }
    .grid-container { grid-template-columns: repeat(2, 1fr); }
    .tech-row { grid-template-columns: repeat(2, 1fr); }
    .stats-row { grid-template-columns: repeat(2, 1fr); }
    .footer-content { grid-template-columns: 1fr; text-align: center; }
}

@media (max-width: 768px) {
    .grid-container { grid-template-columns: 1fr; }
    .tech-row { grid-template-columns: 1fr; }
    .hero-content h1 { font-size: 2.5rem; }
}
