/* ============================================
   LocalDev Landing Page - Stylesheet
   ============================================ */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary-color: #10b981;
    --accent-color: #f59e0b;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --text-lighter: #9ca3af;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --bg-dark: #111827;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background-color: var(--bg-white);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.nav-brand:hover {
    transform: scale(1.02);
}

.nav-brand i {
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    padding: 8px 12px;
    border-radius: 6px;
    position: relative;
}

.nav-menu a:hover {
    color: var(--primary-color);
    background-color: rgba(37, 99, 235, 0.1);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-menu a:hover::after {
    width: 80%;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-dark);
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: var(--transition);
}

.nav-toggle:hover {
    background-color: var(--bg-light);
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--bg-white);
    padding: 120px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="rgba(255,255,255,0.05)"/></svg>');
    background-size: 100px 100px;
    opacity: 0.5;
}

.hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 1.35rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 3.5rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 16px 40px;
    border-radius: 12px;
    font-weight: 800;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: var(--bg-white);
    color: var(--primary-color);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background-color: var(--bg-light);
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--bg-white);
    border: 2px solid var(--bg-white);
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.btn-secondary:hover::before {
    left: 100%;
}

.btn-secondary:hover {
    background-color: var(--bg-white);
    color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}

.hero-stats {
    display: flex;
    gap: 50px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 20px 30px;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.stat:hover {
    background-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-5px);
}

.stat i {
    font-size: 2.8rem;
    margin-bottom: 5px;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.2));
}

.stat span {
    font-size: 1.2rem;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

/* Section Styles */
section {
    padding: 80px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.section-header h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
    color: var(--text-dark);
    position: relative;
    z-index: 1;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

/* Problem Section */
.problem {
    background-color: var(--bg-light);
    background-image: linear-gradient(135deg, var(--bg-light) 0%, rgba(37, 99, 235, 0.03) 100%);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
}

.problem-card {
    background-color: var(--bg-white);
    padding: 35px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    text-align: center;
    border: 2px solid transparent;
}

.problem-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(37, 99, 235, 0.2);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(37, 99, 235, 0.2) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    box-shadow: var(--shadow-sm);
}

.card-icon i {
    font-size: 2.2rem;
    color: var(--primary-color);
}

.problem-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--text-dark);
    font-weight: 700;
}

.problem-card p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1rem;
}

/* Quick Start Section */
.quickstart {
    background-color: var(--bg-white);
    background-image: linear-gradient(135deg, var(--bg-white) 0%, rgba(37, 99, 235, 0.02) 100%);
}

.quickstart-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
}

.step-card {
    background-color: var(--bg-light);
    padding: 35px;
    border-radius: 16px;
    border-left: 5px solid var(--primary-color);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.step-card:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-lg);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #2563eb 100%);
    color: var(--bg-white);
    border-radius: 50%;
    font-weight: 800;
    font-size: 1.2rem;
    margin-bottom: 25px;
    box-shadow: var(--shadow-md);
}

.step-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--text-dark);
    font-weight: 700;
}

.step-card p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 15px;
    font-size: 1rem;
}

.step-card code {
    display: block;
    background-color: var(--bg-dark);
    color: #a5b4fc;
    padding: 18px;
    border-radius: 10px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    overflow-x: auto;
    margin-bottom: 15px;
    border: 1px solid rgba(165, 180, 252, 0.2);
}

.step-card .step-note {
    font-size: 0.95rem;
    color: var(--accent-color);
    font-style: italic;
    padding: 12px;
    background-color: rgba(37, 99, 235, 0.05);
    border-radius: 8px;
    border-left: 3px solid var(--accent-color);
}

/* Tutorials Section */
.tutorials {
    background-color: var(--bg-light);
    background-image: linear-gradient(135deg, var(--bg-light) 0%, rgba(37, 99, 235, 0.03) 100%);
}

.tutorial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 35px;
}

.tutorial-card {
    background-color: var(--bg-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 2px solid transparent;
}

.tutorial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(37, 99, 235, 0.2);
}

.tutorial-image {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #4f46e5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.tutorial-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
}

.tutorial-image i {
    font-size: 4.5rem;
    color: var(--bg-white);
    position: relative;
    z-index: 1;
}

.tutorial-content {
    padding: 30px;
}

.tutorial-tag {
    display: inline-block;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(16, 185, 129, 0.25) 100%);
    color: var(--secondary-color);
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 15px;
    box-shadow: var(--shadow-sm);
}

.tutorial-content h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: var(--text-dark);
    font-weight: 700;
}

.tutorial-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1rem;
}

.tutorial-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 800;
    transition: var(--transition);
    font-size: 1.1rem;
    padding: 10px 20px;
    border-radius: 8px;
    background-color: rgba(37, 99, 235, 0.05);
}

.tutorial-link:hover {
    gap: 12px;
    color: #2563eb;
    background-color: rgba(37, 99, 235, 0.15);
    transform: translateX(5px);
}

/* Tools Section */
.tools {
    background-color: var(--bg-white);
    background-image: linear-gradient(135deg, var(--bg-white) 0%, rgba(245, 158, 11, 0.02) 100%);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px;
}

.tool-card {
    background-color: var(--bg-light);
    padding: 35px;
    border-radius: 16px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.tool-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(245, 158, 11, 0.2);
}

.tool-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(245, 158, 11, 0.25) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    box-shadow: var(--shadow-md);
}

.tool-icon i {
    font-size: 2.8rem;
    color: var(--accent-color);
}

.tool-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--text-dark);
    font-weight: 700;
}

.tool-card p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1rem;
}

.tool-link {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 800;
    transition: var(--transition);
    font-size: 1.1rem;
    padding: 10px 20px;
    border-radius: 8px;
    background-color: rgba(37, 99, 235, 0.05);
}

.tool-link:hover {
    text-decoration: underline;
    color: #2563eb;
    background-color: rgba(37, 99, 235, 0.15);
    transform: translateX(5px);
}

/* Troubleshoot Section */
.troubleshoot {
    background-color: var(--bg-light);
    background-image: linear-gradient(135deg, var(--bg-light) 0%, rgba(239, 68, 68, 0.03) 100%);
}

.troubleshoot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
}

.troubleshoot-card {
    background-color: var(--bg-white);
    padding: 35px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 2px solid transparent;
}

.troubleshoot-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(239, 68, 68, 0.2);
}

.troubleshoot-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.troubleshoot-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(239, 68, 68, 0.25) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}

.troubleshoot-icon i {
    font-size: 1.8rem;
    color: #ef4444;
}

.troubleshoot-card h3 {
    font-size: 1.4rem;
    color: var(--text-dark);
    font-weight: 700;
}

.troubleshoot-card p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 15px;
    font-size: 1rem;
}

.troubleshoot-card ul {
    list-style: none;
}

.troubleshoot-card li {
    padding: 10px 0;
    color: var(--text-light);
    border-bottom: 1px solid var(--border-color);
    font-size: 0.95rem;
}

.troubleshoot-card li:last-child {
    border-bottom: none;
}

/* AI Coding Agents Section */
.coding-agents {
    background-color: var(--bg-white);
    background-image: linear-gradient(135deg, var(--bg-white) 0%, rgba(37, 99, 235, 0.02) 100%);
}

.agents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.agent-card {
    background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-light) 100%);
    border-radius: 20px;
    padding: 30px 25px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.agent-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: var(--transition);
}

.agent-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(37, 99, 235, 0.2);
}

.agent-card:hover::before {
    opacity: 1;
}

.agent-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(37, 99, 235, 0.2) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.agent-card:hover .agent-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-lg);
}

.agent-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.agent-card h3 {
    font-size: 1.3rem;
    text-align: center;
    margin-bottom: 15px;
    color: var(--text-dark);
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.agent-card p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

/* Best Practices Section */
.best-practices {
    background-color: var(--bg-white);
    background-image: linear-gradient(135deg, var(--bg-white) 0%, rgba(16, 185, 129, 0.02) 100%);
    padding: 80px 0;
}

.best-practices .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.best-practices .section-header {
    text-align: center;
    margin-bottom: 50px;
}

.best-practices .section-header h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.best-practices .section-header p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.best-practices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.practice-card {
    background-color: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 30px;
    transition: var(--transition);
    text-align: center;
}

.practice-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.practice-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(16, 185, 129, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.practice-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.practice-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.practice-card p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Cost Comparison Section */
.cost-comparison {
    background-color: var(--bg-light);
    background-image: linear-gradient(135deg, var(--bg-light) 0%, rgba(37, 99, 235, 0.03) 100%);
}

.comparison-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.comparison-column {
    background-color: var(--bg-white);
    border-radius: 16px;
    padding: 30px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 2px solid transparent;
}

.comparison-column:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(37, 99, 235, 0.2);
}

.comparison-column-local {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(16, 185, 129, 0.1) 100%);
    border-color: rgba(16, 185, 129, 0.3);
}

.comparison-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
}

.comparison-header h3 {
    font-size: 1.4rem;
    color: var(--text-dark);
    font-weight: 700;
}

.cost-badge {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
}

.cost-badge {
    background-color: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.comparison-column-local .cost-badge {
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--secondary-color);
}

.comparison-list {
    list-style: none;
    margin-bottom: 25px;
}

.comparison-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.comparison-item:last-child {
    border-bottom: none;
}

.comparison-item i {
    font-size: 1.2rem;
    margin-top: 2px;
}

.comparison-item i.fa-times-circle {
    color: #ef4444;
}

.comparison-item i.fa-check-circle {
    color: var(--secondary-color);
}

.comparison-content {
    flex: 1;
}

.comparison-content strong {
    display: block;
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 5px;
}

.comparison-content p {
    color: var(--text-light);
    line-height: 1.5;
    font-size: 0.9rem;
}

.comparison-item-local {
    background-color: rgba(16, 185, 129, 0.03);
    border-radius: 8px;
    padding: 12px;
}

.comparison-item-local .comparison-content strong {
    color: var(--secondary-color);
}

.cost-estimate {
    background-color: var(--bg-light);
    padding: 15px;
    border-radius: 12px;
    text-align: center;
}

.cost-estimate p {
    color: var(--text-dark);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.cost-savings {
    color: var(--secondary-color);
    font-size: 1.2rem;
    font-weight: 800;
    margin-top: 8px;
}

/* Hardware Requirements Section */
.hardware {
    background-color: var(--bg-white);
    background-image: linear-gradient(135deg, var(--bg-white) 0%, rgba(245, 158, 11, 0.02) 100%);
}

.hardware-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.hardware-card {
    background-color: var(--bg-light);
    border-radius: 16px;
    padding: 25px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 2px solid transparent;
}

.hardware-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(245, 158, 11, 0.2);
}

.hardware-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(245, 158, 11, 0.25) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: var(--shadow-sm);
}

.hardware-icon i {
    font-size: 1.5rem;
    color: var(--accent-color);
}

.hardware-card h3 {
    font-size: 1.3rem;
    text-align: center;
    margin-bottom: 15px;
    color: var(--text-dark);
    font-weight: 700;
}

.hardware-specs {
    list-style: none;
}

.hardware-specs li {
    padding: 10px 0;
    color: var(--text-light);
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
    line-height: 1.5;
}

.hardware-specs li:last-child {
    border-bottom: none;
}

.hardware-specs strong {
    color: var(--text-dark);
    font-weight: 600;
}

.hardware-tips {
    background-color: rgba(245, 158, 11, 0.05);
    border-radius: 16px;
    padding: 25px;
    margin-top: 40px;
    border: 2px solid rgba(245, 158, 11, 0.2);
}

.hardware-tips h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hardware-tips h3 i {
    color: var(--accent-color);
}

.hardware-tips ul {
    list-style: none;
}

.hardware-tips li {
    padding: 10px 0;
    color: var(--text-light);
    border-bottom: 1px solid rgba(245, 158, 11, 0.1);
    font-size: 0.9rem;
    line-height: 1.5;
}

.hardware-tips li:last-child {
    border-bottom: none;
}

.hardware-tips li::before {
    content: '•';
    color: var(--accent-color);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

/* Community Section */
.community {
    background-color: var(--bg-dark);
    background-image: linear-gradient(135deg, var(--bg-dark) 0%, rgba(37, 99, 235, 0.1) 100%);
    color: var(--bg-white);
}

.community .section-header h2,
.community .section-header p {
    color: var(--bg-white);
}

.community-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
}

.community-card {
    background-color: rgba(255, 255, 255, 0.12);
    padding: 35px;
    border-radius: 16px;
    transition: var(--transition);
    border: 2px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
}

.community-card:hover {
    background-color: rgba(255, 255, 255, 0.18);
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.2);
}

.community-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--bg-white);
    font-weight: 700;
}

.community-card p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1rem;
}

.community-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: auto;
}

.community-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--bg-white);
    text-decoration: none;
    font-weight: 800;
    transition: var(--transition);
    font-size: 1.1rem;
    padding: 10px 20px;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.1);
}

.community-link:hover {
    gap: 12px;
    color: var(--accent-color);
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
}

.resource-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.resource-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    color: rgba(255, 255, 255, 0.85);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.resource-list li:last-child {
    border-bottom: none;
}

.resource-list li:hover {
    color: var(--accent-color);
    padding-left: 8px;
}

.resource-list a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

.resource-list a:hover {
    color: var(--accent-color);
}

/* Footer */
.footer {
    background-color: var(--bg-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 40px;
}

.footer .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--bg-white);
    margin-bottom: 20px;
}

.footer-brand i {
    font-size: 2rem;
    color: var(--primary-color);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-section h3 {
    color: var(--bg-white);
    font-size: 1.3rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section li {
    margin-bottom: 12px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    font-size: 1rem;
}

.footer-section a:hover {
    color: var(--primary-color);
    padding-left: 8px;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--bg-white);
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.3rem;
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-stats {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--bg-white);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu a {
        font-size: 1.2rem;
    }

    .hero {
        padding: 60px 0 40px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .hero-stats {
        gap: 20px;
    }

    .stat i {
        font-size: 2rem;
    }

    .stat span {
        font-size: 1rem;
    }

    section {
        padding: 60px 0;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .problem-grid,
    .quickstart-steps,
    .tutorial-grid,
    .tools-grid,
    .troubleshoot-grid,
    .practices-grid,
    .community-grid {
        grid-template-columns: 1fr;
    }

    .footer-brand {
        font-size: 1.5rem;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }

    .footer-brand i {
        font-size: 1.8rem;
    }

    .footer-section h3 {
        font-size: 1.2rem;
    }

    .footer-section a {
        font-size: 0.95rem;
    }

    .footer-bottom p {
        font-size: 0.9rem;
    }

    .social-links {
        gap: 15px;
    }

    .social-links a {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .btn {
        padding: 10px 25px;
        font-size: 0.9rem;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .card-icon,
    .tool-icon {
        width: 60px;
        height: 60px;
    }

    .card-icon i,
    .tool-icon i {
        font-size: 1.5rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out;
}

.animate-slide-in {
    animation: slideIn 0.6s ease-out;
}

/* Scroll to Top Button */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--bg-white);
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-5px);
}

/* Code Block Styling */
pre {
    background-color: var(--bg-dark);
    padding: 15px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 15px 0;
}

code {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

/* Table Styling */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

table th,
table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

table th {
    background-color: var(--bg-light);
    font-weight: 600;
    color: var(--text-dark);
}

table tr:hover {
    background-color: var(--bg-light);
}

/* Alert Box Styling */
.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin: 20px 0;
    border-left: 4px solid;
}

.alert-info {
    background-color: rgba(37, 99, 235, 0.1);
    border-color: var(--primary-color);
    color: var(--text-dark);
}

.alert-warning {
    background-color: rgba(245, 158, 11, 0.1);
    border-color: var(--accent-color);
    color: var(--text-dark);
}

.alert-success {
    background-color: rgba(16, 185, 129, 0.1);
    border-color: var(--secondary-color);
    color: var(--text-dark);
}

.alert-error {
    background-color: rgba(239, 68, 68, 0.1);
    border-color: #ef4444;
    color: var(--text-dark);
}

.alert i {
    margin-right: 10px;
}

/* Badge Styling */
.badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.badge-primary {
    background-color: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
}

.badge-secondary {
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--secondary-color);
}

.badge-accent {
    background-color: rgba(245, 158, 11, 0.1);
    color: var(--accent-color);
}