/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #3b82f6;
    --primary-dark: #2563eb;
    --secondary-color: #10b981;
    --accent-color: #f59e0b;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-dark: #111827;
    --border-color: #e5e7eb;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    --gradient-primary: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    --gradient-secondary: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --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);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(16px, 5vw, 40px);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.25rem); }
h3 { font-size: clamp(1.5rem, 3.5vw, 1.875rem); }
h4 { font-size: clamp(1.25rem, 3vw, 1.5rem); }
h5 { font-size: clamp(1.125rem, 2.5vw, 1.25rem); }
h6 { font-size: clamp(1rem, 2vw, 1.125rem); }

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    gap: 8px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: white;
}

.btn-secondary {
    background: var(--gradient-secondary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: white;
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

/* Security Warning Banner */
.security-warning {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-bottom: 1px solid #cbd5e1;
    padding: 16px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1001;
}

.warning-content {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
    text-align: center;
}

.warning-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.warning-text {
    color: #475569;
    font-weight: 500;
    font-size: 0.9rem;
    line-height: 1.4;
}

.warning-text strong {
    color: #334155;
}

.warning-text a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.warning-text a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 70px; /* Minimal gap between warning banner and navbar */
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
    border-top: 2px solid rgba(59, 130, 246, 0.1); /* Subtle visual separator */
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo h2 {
    margin: 0;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.2s ease;
}

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

.cta-nav {
    background: var(--gradient-primary);
    color: white !important;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.9rem;
}

.cta-nav:hover {
    color: white !important;
    transform: translateY(-1px);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 188px 0 80px; /* Adjusted for warning banner + navbar with minimal gap */
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 2rem 0;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.feature {
    color: var(--success-color);
    font-weight: 500;
    font-size: 0.9rem;
}

/* Terminal Animation */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.terminal-window {
    background: var(--bg-dark);
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    width: 100%;
    max-width: 500px;
}

.terminal-header {
    background: #374151;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.terminal-buttons {
    display: flex;
    gap: 6px;
}

.terminal-buttons span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.btn-close { background: #ef4444; }
.btn-minimize { background: #f59e0b; }
.btn-maximize { background: #10b981; }

.terminal-title {
    color: #d1d5db;
    font-size: 0.9rem;
    font-weight: 500;
}

.terminal-body {
    padding: 20px;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
}

.terminal-line {
    color: #d1d5db;
    margin-bottom: 8px;
}

.terminal-line:first-child {
    color: #60a5fa;
}

.typing {
    color: #fbbf24;
    animation: typing 2s steps(40) infinite;
}

.success {
    color: #34d399;
    font-weight: 600;
}

@keyframes typing {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.3; }
}

/* Quick Setup Section */
.quick-setup {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.quick-header {
    text-align: center;
    margin-bottom: 4rem;
}

.quick-header h2 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.quick-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin: 0;
}

.setup-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.flow-step {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    flex: 1;
    min-width: 280px;
    max-width: 320px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.flow-step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.step-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.flow-step h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.flow-step p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.code-snippet {
    background: var(--bg-dark);
    border-radius: 8px;
    padding: 12px 16px;
    margin-top: 1rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.code-snippet code {
    color: #d1d5db;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.85rem;
    word-break: break-all;
}

.step-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
}

.step-details span {
    color: var(--success-color);
    font-size: 0.9rem;
    font-weight: 500;
}

.flow-arrow {
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: bold;
    flex-shrink: 0;
}

.quick-cta {
    text-align: center;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 600;
}

.cta-note {
    margin-top: 1rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.code-block {
    background: var(--bg-dark);
    border-radius: 8px;
    padding: 16px;
    margin: 1rem 0;
    position: relative;
    overflow-x: auto;
}

.code-block code {
    color: #d1d5db;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.9rem;
    line-height: 1.4;
}

.copy-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: background 0.2s ease;
}

.copy-btn:hover {
    background: var(--primary-dark);
}

/* Why Self-Host Section */
.why-self-host {
    padding: 80px 0;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin: 0;
    max-width: 600px;
    margin: 0 auto;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.self-hosting-card, .third-party-card {
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.self-hosting-card.featured {
    border: 2px solid var(--success-color);
    transform: scale(1.02);
}

.self-hosting-card:hover, .third-party-card:hover {
    transform: translateY(-5px);
}

.self-hosting-card.featured:hover {
    transform: scale(1.02) translateY(-5px);
}

.card-header {
    padding: 2rem 2rem 1rem;
    position: relative;
}

.card-header h3 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-size: 1.5rem;
}

.recommended-badge {
    background: var(--success-color);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    position: absolute;
    top: 1rem;
    right: 2rem;
}

.warning-badge {
    background: var(--warning-color);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    position: absolute;
    top: 1rem;
    right: 2rem;
}

.benefits-list, .risks-list {
    padding: 0 2rem;
}

.benefit-item, .risk-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.benefit-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.risk-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.benefit-content, .risk-content {
    flex: 1;
}

.benefit-content strong, .risk-content strong {
    color: var(--text-primary);
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.benefit-content p, .risk-content p {
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
    font-size: 0.9rem;
}

.card-footer {
    padding: 1.5rem 2rem 2rem;
    border-top: 1px solid var(--border-color);
    background: var(--bg-secondary);
}

.cost-breakdown {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.solution-highlight {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 16px;
    padding: 3rem;
    margin-bottom: 3rem;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.solution-content h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    text-align: center;
}

.solution-content p {
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.solution-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.feature {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.feature strong {
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.5rem;
}

.solution-cta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.trust-indicators {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.indicator {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: 12px;
}

.indicator strong {
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.indicator p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.8rem;
}

/* Requirements Section */
.requirements {
    padding: 80px 0;
}

.requirements h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.requirements p {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.req-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.req-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    border-top: 4px solid var(--primary-color);
}

.req-card h3 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.req-card ul {
    list-style: none;
}

.req-card li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.req-card li:last-child {
    border-bottom: none;
}

.req-card strong {
    color: var(--text-primary);
}

/* Guide Section */
.guide {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.guide h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.guide > p {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.guide-content {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    margin-top: 2rem;
}

.guide-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.guide-step {
    padding: 2rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-secondary);
}

.guide-step h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.guide-step ol, .guide-step ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.guide-step li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.info-box {
    background: #dbeafe;
    border: 1px solid #93c5fd;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1rem 0;
}

.info-box strong {
    color: var(--primary-dark);
}

.info-box ul {
    margin-top: 1rem;
}

/* Launchpad Steps Styling */
.launchpad-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.launchpad-step {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 2rem;
    position: relative;
}

.launchpad-step h5 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

.launchpad-step h6 {
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.highlight-choice {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
}

.important-note {
    background: #fef3c7;
    border: 2px solid #f59e0b;
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
}

.important-note strong {
    color: #92400e;
}

.withdrawal-warning {
    background: #eff6ff;
    border: 2px solid #3b82f6;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.1);
}

.warning-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0.75rem;
}

.warning-icon-blue {
    font-size: 1.2rem;
    color: var(--primary-color);
}

.warning-header strong {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.withdrawal-warning p {
    margin: 0;
    color: #1e40af;
    font-size: 1rem;
    line-height: 1.5;
}

.highlight-skip {
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    color: white;
    padding: 3px 10px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
}

.staking-options {
    margin: 1.5rem 0;
}

.option-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1rem 0;
    transition: border-color 0.2s ease;
}

.option-card.recommended {
    border-color: var(--success-color);
    background: #f0fdf4;
}

.option-card h6 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.option-card.recommended h6 {
    color: var(--success-color);
}

.option-card ul {
    margin: 0;
    padding-left: 1.5rem;
}

.option-card li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.option-card.recommended li {
    color: #166534;
}

.monitoring-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--secondary-color);
}

.feature-card h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.feature-card ul {
    list-style: none;
}

.feature-card li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
}

.feature-card li:before {
    content: "✓ ";
    color: var(--secondary-color);
    font-weight: bold;
}

/* Calculator Section */
.calculator {
    padding: 80px 0;
}

.calculator h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.calculator p {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.calc-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.calc-inputs {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.input-group {
    display: flex;
    flex-direction: column;
}

.input-group label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.input-group input {
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s ease;
}

.input-group input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.input-group small {
    color: var(--text-light);
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

.calc-results h3 {
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.result-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.result-item {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
}

.result-item h4 {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.result-item span {
    display: block;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.result-item small {
    color: var(--text-light);
    font-size: 0.9rem;
}

.calc-info {
    background: #fef3c7;
    border: 1px solid #fbbf24;
    border-radius: 8px;
    padding: 1.5rem;
}

.calc-info h4 {
    color: #92400e;
    margin-bottom: 1rem;
}

.calc-info ul {
    margin: 0;
    padding-left: 1.5rem;
}

.calc-info li {
    color: #92400e;
    margin-bottom: 0.5rem;
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.faq h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.faq > p {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.faq-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.faq-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.faq-item h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.faq-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Download Section */
.download {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.download h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.download > .container > p {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.download-hero {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.download-main {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.download-header h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.download-header p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.install-command {
    margin: 2rem 0;
}

.command-label {
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.code-block.featured {
    background: var(--bg-dark);
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
}

.setup-benefits {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.benefit {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: 8px;
}

.benefit-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.benefit strong {
    color: var(--text-primary);
    display: block;
    margin-bottom: 0.25rem;
}

.benefit p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.9rem;
}

.download-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.requirements-box, .support-box {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.requirements-box h4, .support-box h4 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.requirement-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding: 0.5rem;
    border-radius: 6px;
    transition: background-color 0.2s ease;
}

.requirement-item:hover {
    background: var(--bg-secondary);
}

.requirement-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
}

.requirement-item label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    cursor: pointer;
    line-height: 1.4;
}

.ready-status {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
}

.not-ready {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #f59e0b;
}

.ready {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid var(--success-color);
}

.support-box ul {
    list-style: none;
    padding: 0;
}

.support-box li {
    margin-bottom: 0.75rem;
}

.support-box a {
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}

.support-box a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.additional-resources {
    margin-top: 4rem;
}

.additional-resources h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.resource-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.resource-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.resource-card h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.resource-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.resource-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.resource-link:hover {
    color: var(--primary-dark);
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: #d1d5db;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

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

.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-section p {
    color: #9ca3af;
    line-height: 1.6;
}

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

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

.footer-section a {
    color: #9ca3af;
    transition: color 0.2s ease;
}

.footer-section a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    font-size: 1.5rem;
    transition: transform 0.2s ease;
}

.social-links a:hover {
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: #9ca3af;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.footer-bottom a {
    color: #60a5fa;
}

/* Mobile Responsive Design - Clean & Simple */
/* Command note styling */
.command-note {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 6px;
    padding: 12px;
    margin-top: 10px;
    font-size: 14px;
    color: #856404;
}

.command-note strong {
    color: #d1761e;
}

.command-note code {
    background: rgba(0, 0, 0, 0.1);
    padding: 2px 4px;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
}

@media (max-width: 768px) {
    /* Full width container - minimal padding */
    .container {
        max-width: 100%;
        padding: 0 10px;
    }
    
    /* Navigation */
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-md);
        padding: 2rem 0;
        z-index: 1000;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-item {
        margin: 1rem 0;
    }
    
    /* Security warning */
    .security-warning {
        padding: 12px 0;
    }
    
    .warning-content {
        flex-direction: column;
        gap: 8px;
        text-align: center;
        padding: 0 10px;
    }
    
    /* Hero section - Clean mobile version (no animations) */
    .hero {
        padding: 160px 0 30px;
        background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    }
    
    .hero-container {
        display: block;
        padding: 0 10px;
        max-width: 100%;
        width: 100%;
    }
    
    .hero-content {
        text-align: center;
        width: 100%;
    }
    
    .hero-content h1 {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
        line-height: 1.2;
        color: var(--text-primary);
    }
    
    .hero-content h1 .highlight {
        color: var(--primary-color);
        background: none;
        -webkit-text-fill-color: var(--primary-color);
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
        line-height: 1.4;
        color: var(--text-secondary);
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
    }
    
    /* Hide hero stats, features, and visual on mobile */
    .hero-stats,
    .hero-features,
    .hero-visual {
        display: none;
    }
    
    .hero-buttons {
        display: block;
        margin: 1.5rem 0;
        width: 100%;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        max-width: 300px;
        margin: 0 auto 1rem auto;
        padding: 14px 24px;
        font-size: 1rem;
        text-align: center;
        border-radius: 8px;
        font-weight: 500;
    }
    
    /* Disable all animations on mobile for better performance */
    * {
        animation-duration: 0s !important;
        animation-delay: 0s !important;
        transition-duration: 0s !important;
    }
    
    /* Re-enable only essential transitions */
    .btn:hover,
    .nav-menu {
        transition: all 0.2s ease !important;
    }
    
    /* Quick Setup - Hide on mobile */
    .quick-setup {
        display: none;
    }
    
    .quick-setup .container {
        max-width: none;
        width: 100%;
        padding: 0 5px;
        margin: 0;
    }
    
    .quick-header {
        padding: 0 10px;
        margin-bottom: 2rem;
    }
    
    .setup-flow {
        display: block;
        width: 100%;
        padding: 0;
        margin: 0;
    }
    
    .flow-step {
        width: calc(100% - 10px);
        margin: 0 5px 2rem 5px;
        padding: 1.5rem 1rem;
        background: white;
        border-radius: 12px;
        box-shadow: var(--shadow-md);
        box-sizing: border-box;
    }
    
    .flow-arrow {
        display: block;
        text-align: center;
        transform: rotate(90deg);
        margin: 1rem 0;
        font-size: 1.5rem;
        color: var(--primary-color);
    }
    
    .code-snippet {
        overflow-x: auto;
        padding: 12px;
        margin: 1rem 0;
        background: var(--bg-dark);
        border-radius: 6px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .code-snippet code {
        font-size: 0.8rem;
        word-break: break-all;
        color: #d1d5db;
        font-family: monospace;
    }
    
    .step-details {
        display: block;
        margin-top: 1rem;
    }
    
    .step-details span {
        display: block;
        margin-bottom: 0.5rem;
        text-align: center;
        color: var(--success-color);
        font-weight: 500;
    }
    
    .quick-cta {
        padding: 0 10px;
        text-align: center;
    }
    
    .quick-cta .btn-large {
        width: calc(100% - 20px);
        max-width: 320px;
        margin: 0 auto;
        display: block;
    }
    
    /* Why self-host */
    .comparison-grid {
        display: block;
    }
    
    .self-hosting-card, .third-party-card {
        margin-bottom: 2rem;
    }
    
    .feature-row {
        display: block;
    }
    
    .feature {
        margin-bottom: 1rem;
    }
    
    .solution-cta {
        display: block;
    }
    
    .solution-cta .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
        text-align: center;
    }
    
    .trust-indicators {
        display: block;
    }
    
    .indicator {
        margin-bottom: 1rem;
    }
    
    /* Requirements */
    .req-grid {
        display: block;
    }
    
    .req-card {
        margin-bottom: 2rem;
    }
    
    /* Guide - Full width with minimal padding */
    .guide-content {
        padding: 1rem 0.5rem;
        margin: 0;
        width: 100%;
    }
    
    .guide-steps {
        width: 100%;
    }
    
    .guide-step {
        padding: 1rem 0.75rem;
        margin-bottom: 1rem;
        width: 100%;
    }
    
    .guide-step h4 {
        font-size: 1.2rem;
        margin-bottom: 0.75rem;
    }
    
    .guide-step p {
        font-size: 0.95rem;
        margin-bottom: 1rem;
        line-height: 1.5;
    }
    
    .guide-step ul {
        padding-left: 1rem;
    }
    
    .guide-step li {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
        line-height: 1.4;
    }
    
    .launchpad-steps {
        width: 100%;
    }
    
    .launchpad-step {
        padding: 1rem 0.75rem;
        margin-bottom: 1rem;
        width: 100%;
    }
    
    .launchpad-step h5 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    
    .launchpad-step h6 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .launchpad-step p {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
        line-height: 1.4;
    }
    
    .withdrawal-warning {
        margin: 1rem 0;
        padding: 1rem 0.75rem;
    }
    
    .withdrawal-warning p {
        font-size: 0.9rem;
    }
    
    .staking-options {
        width: 100%;
    }
    
    .option-card {
        padding: 1rem 0.75rem;
        margin: 0.75rem 0;
        width: 100%;
    }
    
    .option-card h6 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .option-card ul {
        padding-left: 1rem;
    }
    
    .option-card li {
        font-size: 0.85rem;
        margin-bottom: 0.25rem;
        line-height: 1.3;
    }
    
    .info-box {
        padding: 1rem 0.75rem;
        margin: 1rem 0;
        width: 100%;
    }
    
    .info-box ul {
        padding-left: 1rem;
    }
    
    .info-box li {
        font-size: 0.85rem;
        margin-bottom: 0.25rem;
        line-height: 1.3;
    }
    
    /* Calculator - Full responsive */
    .calc-container {
        display: block;
        padding: 1rem 0.5rem;
        width: 100%;
        margin: 0;
    }
    
    .calc-inputs {
        margin-bottom: 2rem;
        width: 100%;
    }
    
    .input-group {
        margin-bottom: 1.5rem;
        width: 100%;
    }
    
    .input-group label {
        font-size: 1rem;
        margin-bottom: 0.5rem;
        display: block;
    }
    
    .input-group input {
        width: 100%;
        padding: 12px;
        font-size: 1rem;
        border-radius: 6px;
        border: 2px solid var(--border-color);
        box-sizing: border-box;
    }
    
    .input-group small {
        font-size: 0.85rem;
        margin-top: 0.25rem;
        display: block;
    }
    
    .calc-results {
        width: 100%;
    }
    
    .calc-results h3 {
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
        text-align: center;
    }
    
    .result-grid {
        display: block;
        width: 100%;
    }
    
    .result-item {
        margin-bottom: 1.5rem;
        padding: 1.25rem;
        background: var(--bg-secondary);
        border-radius: 8px;
        text-align: center;
        width: 100%;
        box-sizing: border-box;
    }
    
    .result-item h4 {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
        text-transform: uppercase;
        letter-spacing: 0.05em;
    }
    
    .result-item span {
        font-size: 1.5rem;
        font-weight: 600;
        color: var(--primary-color);
        display: block;
        margin-bottom: 0.25rem;
    }
    
    .result-item small {
        font-size: 0.85rem;
        color: var(--text-light);
    }
    
    .calc-info {
        padding: 1.25rem;
        margin-top: 1.5rem;
        width: 100%;
        box-sizing: border-box;
    }
    
    .calc-info h4 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .calc-info ul {
        padding-left: 1.25rem;
    }
    
    .calc-info li {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
        line-height: 1.4;
    }
    
    /* FAQ */
    .faq-grid {
        display: block;
    }
    
    .faq-item {
        margin-bottom: 2rem;
    }
    
    /* Download section */
    .download-hero {
        display: block;
    }
    
    .download-sidebar {
        margin-bottom: 2rem;
    }
    
    .download-main {
        padding: 1.5rem;
    }
    
    .setup-benefits {
        display: block;
    }
    
    .benefit {
        margin-bottom: 1rem;
    }
    
    .requirements-box, .support-box {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .resource-grid {
        display: block;
    }
    
    .resource-card {
        margin-bottom: 2rem;
    }
    
    /* Footer */
    .footer-content {
        display: block;
        text-align: center;
    }
    
    .footer-section {
        margin-bottom: 2rem;
    }
    
    /* Sections padding */
    section {
        padding: 50px 0;
    }
    
    /* Typography */
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    
    /* Buttons */
    .btn {
        padding: 12px 20px;
        font-size: 1rem;
    }
    
    /* Code blocks */
    .code-block {
        padding: 1rem;
        overflow-x: auto;
    }
    
    .code-block code {
        font-size: 0.85rem;
    }
}

/* Small mobile screens */
@media (max-width: 480px) {
    .container {
        padding: 0 8px;
    }
    
    .hero {
        padding: 140px 0 40px;
    }
    
    .hero-content h1 {
        font-size: 1.75rem;
    }
    
    .nav-menu {
        top: 60px;
    }
    
    .security-warning {
        padding: 10px 0;
    }
    
    .warning-text {
        font-size: 0.85rem;
    }
    
    section {
        padding: 40px 0;
    }
    
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
    
    .btn {
        padding: 10px 16px;
        font-size: 0.9rem;
    }
    
    .code-block {
        padding: 0.75rem;
    }
    
    .code-block code {
        font-size: 0.8rem;
    }
    
    .terminal-line {
        font-size: 0.75rem;
    }
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
button:focus,
input:focus,
a:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .navbar,
    .hero-visual,
    .download,
    .footer {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
    }
}