:root {
    --bg-color: #f8fafc;
    --card-bg: #ffffff;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --accent: #2563eb;
    --accent-glow: rgba(37, 99, 235, 0.1);
    --border: #e2e8f0;
    --gradient: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.5;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #0f172a;
}

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

/* Navbar */
.navbar {
    height: 80px;
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
}

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

.logo {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
}

.logo-accent {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
    font-size: 15px;
}

.nav-links a:hover {
    color: var(--accent);
}

.btn-nav {
    background: var(--accent);
    color: #ffffff !important;
    padding: 10px 24px;
    border-radius: 10px;
    font-weight: 700 !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

/* Hero */
.hero {
    padding-top: 200px;
    padding-bottom: 120px;
    text-align: center;
    background: radial-gradient(circle at 50% 0%, #eef2ff 0%, #f8fafc 50%);
}

.hero-badge {
    display: inline-block;
    background: #ffffff;
    color: var(--accent);
    padding: 8px 18px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 700;
    border: 1px solid var(--border);
    margin-bottom: 32px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.hero-title {
    font-size: 72px;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-muted);
    max-width: 750px;
    margin: 0 auto 56px;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 100px;
}

.btn-primary-lg {
    background: var(--accent);
    color: #ffffff;
    text-decoration: none;
    padding: 20px 40px;
    border-radius: 14px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.2s;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.25);
}

.btn-secondary-lg {
    background: #ffffff;
    color: #0f172a;
    text-decoration: none;
    padding: 20px 40px;
    border-radius: 14px;
    font-weight: 800;
    border: 1px solid var(--border);
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.btn-primary-lg:hover { transform: translateY(-3px); box-shadow: 0 15px 30px rgba(37, 99, 235, 0.3); }
.btn-secondary-lg:hover { background: #f1f5f9; transform: translateY(-3px); }

.hero-image-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 40px;
}

.hero-image {
    width: 100%;
    max-height: 500px;
    height: auto;
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: 
        0 0 0 1px rgba(0,0,0,0.05),
        0 20px 50px rgba(0,0,0,0.1),
        inset 0 0 0 1px rgba(255,255,255,0.8);
    background: #ffffff;
    object-fit: cover;
    object-position: top;
    padding: 4px;
    display: block;
}

.image-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 90%;
    background: var(--accent);
    filter: blur(100px);
    opacity: 0.1;
    z-index: -1;
}

/* Partnership Bar */
.partnership-bar {
    padding: 32px 0;
    background: #f8fafc;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.partner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.partner-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.partner-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.partner-logo img {
    height: 32px;
    width: auto;
}

.partner-name {
    font-size: 20px;
    font-weight: 500;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.partner-name .weight-bold {
    font-weight: 800;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #f0fdf4;
    border: 1px solid #dcfce7;
    border-radius: 100px;
    color: #16a34a;
    font-size: 13px;
    font-weight: 700;
}

.trust-badge i {
    width: 16px;
    height: 16px;
}

/* Stats */
.quick-stats {
    padding: 80px 0;
    background: #ffffff;
    border-bottom: 1px solid var(--border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
}

.stat-num {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 4px;
    color: var(--accent);
}

.stat-label {
    color: var(--text-muted);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
}

/* Video Demo */
.video-demo {
    padding: 80px 0;
    background: #ffffff;
}

.video-container {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Features */
.features {
    padding: 140px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: 48px;
    margin-bottom: 20px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 20px;
}

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

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    padding: 32px;
    border-radius: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.feature-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
}

.icon-box {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.icon-box i {
    width: 20px;
    height: 20px;
}

.feature-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
}

/* Comparison Section */
.comparison {
    padding: 100px 0;
    background: #ffffff;
}

.comparison-table {
    max-width: 900px;
    margin: 0 auto;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 16px;
}

table {
    width: 100%;
    min-width: 600px; /* Ensure table remains readable on scroll */
    border-collapse: collapse;
    text-align: left;
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
}

th, td {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
}

th {
    background: #f8fafc;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    color: var(--text-muted);
}

.highlight {
    background: #eff6ff;
    color: var(--accent);
}

td.highlight {
    font-weight: 700;
}

/* Advanced Settings Feature */
.settings-feature {
    padding: 120px 0;
    background: #f8fafc;
}

.settings-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.settings-visual {
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border);
}

.settings-mockup-container {
    position: relative;
    width: 100%;
    height: 650px;
    background: #ffffff;
}

.settings-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.settings-overlay {
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 100px rgba(0,0,0,0.02);
    pointer-events: none;
}

.settings-features-list {
    list-style: none;
    margin-top: 40px;
}

.settings-features-list li {
    display: flex;
    gap: 20px;
    margin-bottom: 32px;
}

.settings-features-list i {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}

.settings-features-list h4 {
    font-size: 18px;
    margin-bottom: 4px;
}

.settings-features-list p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
}

/* Compatibility */
.compatibility {
    padding: 80px 0;
}

.compat-box {
    background: var(--accent);
    border-radius: 24px;
    padding: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #ffffff;
    gap: 40px;
}

.compat-text h3 {
    font-size: 32px;
    margin-bottom: 12px;
    color: #ffffff;
}

.compat-text p {
    opacity: 0.9;
    font-size: 18px;
}

.compat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.compat-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 700;
    text-align: center;
}

/* Official Resources Section */
.official-links {
    padding: 80px 0;
    background: #f8fafc;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.resource-card {
    background: #ffffff;
    border: 1px solid var(--border);
    padding: 40px;
    border-radius: 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.resource-card.primary {
    border-color: var(--accent);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.05);
}

.resource-icon {
    width: 56px;
    height: 56px;
    background: #f1f5f9;
    color: var(--accent);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.resource-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.resource-card p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 32px;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: 2px solid var(--border);
    border-radius: 10px;
    color: var(--text-main);
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.2s;
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: #eff6ff;
}

/* FAQ Section */
.faq {
    padding: 120px 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item h4 {
    font-size: 18px;
    margin-bottom: 12px;
}

.faq-item p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
}

/* Setup Guide (Complete Rework) */
.setup-guide {
    padding: 120px 0;
    background: #ffffff;
}

.setup-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 100px;
    align-items: flex-start;
}

.setup-tag {
    display: inline-block;
    padding: 6px 14px;
    background: #f1f5f9;
    color: #475569;
    font-size: 12px;
    font-weight: 800;
    border-radius: 6px;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.setup-text h2 { 
    font-size: 48px; 
    margin-bottom: 20px;
    letter-spacing: -0.04em;
}

.setup-desc {
    color: var(--text-muted);
    font-size: 19px;
    margin-bottom: 64px;
    max-width: 550px;
}

.steps-container {
    position: relative;
    padding-left: 0;
}

.step-card {
    position: relative;
    padding-bottom: 64px;
}

.step-card:last-child {
    padding-bottom: 0;
}

/* Vertical Line */
.step-card::before {
    content: '';
    position: absolute;
    left: 21px; /* Centered with 42px width step-num */
    top: 42px;
    bottom: 0;
    width: 2px;
    background: #f1f5f9;
}

.step-card:last-child::before {
    display: none;
}

.step-head {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 16px;
}

.step-num {
    width: 42px;
    height: 42px;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 16px;
    color: var(--text-main);
    flex-shrink: 0;
    z-index: 2;
    transition: all 0.3s ease;
}

.step-card:hover .step-num {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.1);
}

.step-head h4 {
    font-size: 24px;
    margin: 0;
    font-weight: 800;
}

.step-body {
    padding-left: 66px;
}

.step-body p {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
}

.setup-visual {
    position: sticky;
    top: 140px;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.08);
}

.miner-mockup-container {
    width: 100%;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.miner-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.miner-glow-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, transparent 0%, rgba(255,255,255,0.2) 100%);
    pointer-events: none;
}

/* Footer Enhancements */
.footer {
    padding: 100px 0 40px;
    background: #ffffff;
    border-top: 1px solid var(--border);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 24px;
    max-width: 320px;
}

.footer-socials {
    display: flex;
    gap: 16px;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    background: #f1f5f9;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    transition: all 0.2s;
}

.footer-socials a:hover {
    background: var(--accent);
    color: #ffffff;
    transform: translateY(-3px);
}

.footer-socials i {
    width: 18px;
    height: 18px;
}

.footer-group h5 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 24px;
    color: #0f172a;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 40px;
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-title { font-size: 56px; }
    .setup-layout, .settings-layout { gap: 60px; }
    .compat-box { flex-direction: column; text-align: center; padding: 40px; }
    .compat-grid { width: 100%; margin-top: 24px; }
}

@media (max-width: 768px) {
    .navbar { height: 70px; }
    .nav-links { display: none; } /* Simplified for now */
    
    .hero { padding-top: 140px; padding-bottom: 80px; }
    .hero-title { font-size: 42px; }
    .hero-subtitle { font-size: 18px; margin-bottom: 40px; }
    .hero-cta { flex-direction: column; gap: 12px; align-items: center; }
    .btn-primary-lg, .btn-secondary-lg { width: 100%; max-width: 320px; justify-content: center; }
    
    .hero-image-container { padding: 0 20px; }
    
    .partner-content { gap: 24px; }
    
    .section-header h2 { font-size: 32px; }
    
    .feature-grid { grid-template-columns: 1fr; gap: 20px; }
    .feature-card { padding: 32px; }
    
    .setup-layout, .settings-layout { grid-template-columns: 1fr; gap: 48px; }
    .setup-visual, .settings-visual { position: static; order: -1; }
    .miner-mockup-container, .settings-mockup-container { height: 350px; }
    
    .resources-grid { grid-template-columns: 1fr; }
    .faq-grid { grid-template-columns: 1fr; gap: 32px; }
    
    .footer-top { grid-template-columns: 1fr; gap: 40px; }
    .footer-brand p { max-width: 100%; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 32px; }
    .setup-text h2 { font-size: 32px; }
    .step-head h4 { font-size: 20px; }
    .step-body { padding-left: 0; margin-top: 12px; }
    .step-card::before { display: none; }
    .step-head { gap: 16px; }
    
    .partner-label { width: 100%; text-align: center; margin-bottom: -16px; }
    .trust-badge { width: 100%; justify-content: center; }
}