/* VPSRox — homepage layout and sections */

.hero-container { position: relative; z-index: 1; }

        .hero { padding: 100px 0 60px; text-align: center; }
        .hero h1 {
            font-size: 64px; font-weight: 800; letter-spacing: -1.5px;
            line-height: 1.15; margin-bottom: 24px; color: var(--text-main);
        }
        .hero p {
            font-size: 20px; color: var(--text-secondary);
            max-width: 640px; margin: 0 auto 48px; line-height: 1.6;
        }
        .hero-actions { display: flex; justify-content: center; gap: 16px; margin-bottom: 80px; }

        /* Fathom-style dark green mockup card */
        .hero-image-mockup {
            background: var(--bg-card);
            border-radius: 24px; padding: 40px;
            max-width: 1000px; margin: 0 auto;
            box-shadow: 0 30px 60px -12px rgba(15, 42, 29, 0.4);
            position: relative; overflow: hidden; text-align: left;
            width: 100%;
            box-sizing: border-box;
        }
        
        .mockup-header { display: flex; gap: 30px; margin-bottom: 40px; border-bottom: 1px solid var(--border-dark); padding-bottom: 20px; }
        .mockup-header span { font-size: 14px; color: var(--text-light-secondary); cursor: pointer; transition: color 0.2s; font-weight: 500;}
        .mockup-header span:hover { color: var(--text-light); }
        .mockup-header span.active { color: var(--text-light); position: relative; background: rgba(255,255,255,0.1); padding: 4px 12px; border-radius: 99px;}
        
        .mockup-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 50px; }
        .m-stat { display: flex; flex-direction: column; }
        .m-stat-label { font-size: 11px; text-transform: uppercase; color: var(--text-light-secondary); letter-spacing: 1px; margin-bottom: 8px; font-weight: 600;}
        .m-stat-value { font-size: 32px; font-weight: 600; color: var(--text-light); letter-spacing: -0.5px;}
        .m-stat-sub { font-size: 13px; color: var(--text-light-secondary); margin-top: 4px; }
        .m-stat-sub.highlight { color: var(--accent-green); font-weight: 500;}
        
        /* Fathom-style chart area mockup */
        .mockup-body {
            height: 240px; border-radius: 12px;
            background: #0B2016;
            border: 1px solid var(--border-dark); position: relative; overflow: hidden;
        }
        .mockup-chart-line {
            position: absolute; bottom: 60px; left: -10%; width: 120%; height: 2px;
            background: var(--accent-green);
            transform: rotate(-8deg);
        }
        .mockup-chart-line::after {
            content: ''; position: absolute; right: 20%; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--text-light); border: 2px solid var(--accent-green);
        }
        .mockup-chart-fill {
            position: absolute; bottom: -50px; left: -10%; width: 120%; height: 120px;
            background: linear-gradient(180deg, rgba(42, 211, 135, 0.15) 0%, rgba(42, 211, 135, 0) 100%);
            transform: rotate(-8deg);
        }

        .nodes-banner {
            padding: 40px 0; border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light);
            background: var(--bg-white);
        }
        .nodes-container { display: flex; justify-content: center; gap: 60px; flex-wrap: wrap; }
        .node-item { font-size: 15px; color: var(--text-main); font-weight: 500; display: flex; align-items: center; gap: 10px; }
        .node-item::before {
            content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%;
            background: var(--accent-green);
        }

        .key-numbers { padding: 100px 0 60px; text-align: center; background: var(--bg-main); }
        .numbers-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; max-width: 1000px; margin: 0 auto; }
        .number-box { border-right: 1px solid var(--border-light); }
        .number-box:last-child { border-right: none; }
        .n-label { font-size: 13px; color: var(--text-secondary); margin-bottom: 16px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
        .n-val { font-size: 56px; font-weight: 700; line-height: 1.1; margin-bottom: 8px; color: var(--text-main); letter-spacing: -1px;}
        .n-sub { font-size: 14px; color: var(--text-secondary); }

        .features { padding: 80px 0; background: var(--bg-white); }
        .feature-row { display: flex; align-items: center; gap: 80px; margin-bottom: 120px; }
        .feature-row:last-child { margin-bottom: 0; }
        .feature-row:nth-child(even) { flex-direction: row-reverse; }
        .feature-content { flex: 1; }
        .feature-content h2 { font-size: 40px; font-weight: 700; margin-bottom: 24px; letter-spacing: -1px; line-height: 1.15; color: var(--text-main); }
        .feature-content p { color: var(--text-secondary); font-size: 18px; margin-bottom: 32px; line-height: 1.7; }
        .feature-content p a,
        .card p a,
        .section-header p a {
            color: var(--accent-green);
            text-decoration: underline;
            text-underline-offset: 3px;
        }
        
        .feature-image {
            flex: 1; height: 440px; display: flex; align-items: center; justify-content: center;
            background: var(--bg-card); /* Dark green card surface */
            border-radius: 24px; position: relative; overflow: hidden;
            box-shadow: 0 20px 40px rgba(15, 42, 29, 0.2);
        }

        .feature-photo {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        .use-cases { padding: 120px 0; background: var(--bg-main); }
        .section-header { text-align: center; margin-bottom: 80px; }
        .section-header h2 { font-size: 48px; font-weight: 700; margin-bottom: 20px; letter-spacing: -1.5px; color: var(--text-main); }
        .section-header p { font-size: 18px; color: var(--text-secondary); }
        
        .cards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
        .card {
            background: var(--bg-white); border-radius: 20px; padding: 40px 30px;
            border: 1px solid var(--border-light);
            transition: all 0.3s ease;
        }
        .card:hover {
            transform: translateY(-4px);
            box-shadow: 0 20px 40px rgba(0,0,0,0.05);
            border-color: var(--accent-green);
        }
        .card h3 { font-size: 20px; margin-bottom: 16px; color: var(--text-main); }
        .card p { font-size: 15px; color: var(--text-secondary); line-height: 1.6; }

        .specs { padding: 60px 0 100px; text-align: center; background: var(--bg-main); }
        .specs h2 { font-size: 36px; font-weight: 700; letter-spacing: -0.5px; color: var(--text-main); }
        .specs-lead {
            max-width: 640px; margin: 16px auto 40px;
            font-size: 16px; line-height: 1.65; color: var(--text-secondary);
        }
        .specs-list {
            display: inline-flex; gap: 40px; margin-top: 40px; padding: 24px 48px;
            background: var(--bg-white); border: 1px solid var(--border-light);
            border-radius: 99px; box-shadow: 0 10px 30px rgba(0,0,0,0.03);
        }
        .spec-item { font-weight: 600; font-size: 16px; color: var(--text-main); display: flex; align-items: center; gap: 12px; }
        .spec-item::before { content: '✓'; color: var(--accent-green); font-size: 18px; font-weight: 800;}

        .pricing { padding: 120px 0; background: var(--bg-white); border-top: 1px solid var(--border-light); }
        .pricing-tabs {
            display: flex; justify-content: center; gap: 8px; margin-bottom: 60px;
            background: rgba(0,0,0,0.04); padding: 8px; border-radius: 99px; width: fit-content; margin-left: auto; margin-right: auto;
        }
        .tab-btn {
            padding: 10px 28px; border-radius: 99px; border: none; background: transparent;
            color: var(--text-secondary); font-weight: 600; cursor: pointer; font-size: 15px; transition: all 0.3s;
        }
        .tab-btn.active { background: var(--bg-white); color: var(--text-main); box-shadow: 0 2px 8px rgba(0,0,0,0.1); }

        .pricing-card-wrapper { max-width: 500px; margin: 0 auto; position: relative; }
        .pricing-card {
            background: var(--bg-card); border-radius: 24px; padding: 50px;
            box-shadow: 0 30px 60px rgba(15, 42, 29, 0.3); text-align: center; color: var(--text-light);
        }
        
        .plan-title { font-size: 28px; font-weight: 700; margin-bottom: 8px; }
        .plan-desc { color: var(--text-light-secondary); font-size: 16px; margin-bottom: 40px; }
        .plan-price-area { display: flex; align-items: baseline; justify-content: center; gap: 8px; margin-bottom: 40px; }
        .plan-price { font-size: 72px; font-weight: 800; line-height: 1; color: var(--accent-green); letter-spacing: -2px; transition: opacity 0.15s ease; }
        .plan-period { font-size: 18px; color: var(--text-light-secondary); font-weight: 500;}
        
        .pricing-card .btn-primary { background: var(--bg-white); color: var(--text-main); }
        .pricing-card .btn-primary:hover { background: var(--bg-main); }
        .pricing-order-btn {
            width: 100%;
            padding: 16px;
            font-size: 16px;
            display: inline-flex;
            box-sizing: border-box;
        }

        .addon-section { margin-top: 40px; text-align: left; background: rgba(255,255,255,0.03); padding: 24px; border-radius: 16px; border: 1px solid var(--border-dark);}
        .addon-title { font-size: 12px; font-weight: 700; text-transform: uppercase; color: var(--text-light-secondary); margin-bottom: 16px; letter-spacing: 1px; }
        .addon-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border-dark); font-size: 15px; color: var(--text-light); }
        .addon-row span:first-child { flex: 1; min-width: 0; }
        .addon-row:last-child { border-bottom: none; padding-bottom: 0; }
        .addon-price { color: var(--accent-green); font-weight: 600; flex-shrink: 0; }

        .faq { padding: 120px 0; background: var(--bg-main); border-top: 1px solid var(--border-light); }
        .faq-list { max-width: 800px; margin: 0 auto; }
        .faq-item { border-bottom: 1px solid var(--border-light); }
        .faq-question {
            padding: 32px 0; font-size: 20px; font-weight: 600; cursor: pointer; color: var(--text-main);
            display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; transition: color 0.3s;
        }
        .faq-question > span:first-child { flex: 1; min-width: 0; line-height: 1.45; }
        .faq-question:hover { color: var(--bg-card); }
        .faq-answer { padding-bottom: 32px; color: var(--text-secondary); display: none; line-height: 1.8; font-size: 16px; }
        .faq-item.active .faq-answer { display: block; animation: fadeIn 0.3s ease; }
        .faq-icon { font-size: 24px; transition: transform 0.3s; color: var(--text-muted); font-weight: 400; flex-shrink: 0; line-height: 1;}
        .faq-item.active .faq-icon { transform: rotate(45deg); color: var(--text-main); }

        .bottom-cta { padding: 140px 0; text-align: center; background: var(--bg-card); color: var(--text-light); }
        .bottom-cta h2 { font-size: 48px; font-weight: 700; margin-bottom: 24px; letter-spacing: -1px;}
        .bottom-cta-lead {
            max-width: 560px; margin: 0 auto 40px;
            font-size: 17px; line-height: 1.65; color: var(--text-light-secondary);
        }
        .bottom-cta-lead a { color: var(--accent-green); text-decoration: underline; text-underline-offset: 3px; }
        .bottom-cta-actions {
            display: flex;
            justify-content: center;
            gap: 20px;
            flex-wrap: wrap;
        }
        .bottom-cta .btn-primary {
            padding: 16px 36px;
            font-size: 16px;
            background: white;
            color: #0F2A1D;
        }
        .bottom-cta .btn-primary:hover {
            background: var(--bg-main);
            color: var(--text-main);
        }
        .bottom-cta .btn-secondary {
            padding: 16px 36px;
            font-size: 16px;
            border-color: rgba(255, 255, 255, 0.2);
            color: white;
        }
        .bottom-cta .btn-secondary:hover {
            background: rgba(255, 255, 255, 0.08);
            border-color: rgba(255, 255, 255, 0.35);
            color: white;
        }

        /* Responsive */
        @media (max-width: 1024px) {
            .numbers-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
            .number-box { border-right: none; border-bottom: 1px solid var(--border-light); padding-bottom: 30px;}
            .number-box:last-child, .number-box:nth-last-child(2) { border-bottom: none; }
            .feature-row, .feature-row:nth-child(even) { flex-direction: column; gap: 50px; text-align: center; }
            .feature-image { height: 320px; width: 100%; max-width: 100%; }
            .cards-grid { grid-template-columns: repeat(2, 1fr); }
            .specs-list {
                flex-direction: column;
                align-items: stretch;
                width: 100%;
                max-width: 560px;
                gap: 14px;
                padding: 24px 28px;
                border-radius: 20px;
                box-sizing: border-box;
            }
        }

        @media (max-width: 768px) {
            main .container {
                padding-left: 16px;
                padding-right: 16px;
            }

            .hero { padding: 64px 0 40px; }
            .hero h1 {
                font-size: 34px;
                letter-spacing: -0.8px;
                line-height: 1.2;
                margin-bottom: 18px;
            }
            .hero p {
                font-size: 16px;
                margin-bottom: 28px;
                padding: 0 4px;
            }
            .hero-actions {
                flex-direction: column;
                align-items: stretch;
                width: 100%;
                max-width: 360px;
                margin: 0 auto 40px;
                gap: 12px;
            }
            .hero-actions .btn {
                width: 100%;
                box-sizing: border-box;
            }

            .hero-image-mockup {
                padding: 18px 14px;
                border-radius: 16px;
                max-width: 100%;
                box-sizing: border-box;
            }

            .mockup-header {
                display: flex;
                flex-wrap: nowrap;
                gap: 8px;
                margin-bottom: 18px;
                padding-bottom: 14px;
                overflow-x: auto;
                -webkit-overflow-scrolling: touch;
                scrollbar-width: none;
            }

            .mockup-header::-webkit-scrollbar { display: none; }

            .mockup-header span {
                flex-shrink: 0;
                font-size: 12px;
                white-space: nowrap;
                padding: 6px 12px;
                border-radius: 9999px;
            }

            .mockup-header span.active { padding: 6px 12px; }

            .mockup-stats {
                grid-template-columns: repeat(2, minmax(0, 1fr));
                gap: 8px;
                margin-bottom: 20px;
            }

            .m-stat {
                background: rgba(255, 255, 255, 0.04);
                border: 1px solid rgba(255, 255, 255, 0.07);
                border-radius: 12px;
                padding: 12px 10px;
                min-width: 0;
            }

            .m-stat-label {
                font-size: 9px;
                letter-spacing: 0.4px;
                margin-bottom: 6px;
                line-height: 1.35;
            }

            .m-stat-value {
                font-size: 17px;
                line-height: 1.25;
                word-break: break-word;
            }

            .m-stat-sub {
                font-size: 10px;
                margin-top: 4px;
                line-height: 1.35;
            }

            .mockup-body { height: 150px; }

            .nodes-banner {
                padding: 20px 0;
                overflow: hidden;
            }

            .nodes-banner .container {
                padding-left: 0;
                padding-right: 0;
                max-width: 100%;
            }

            .nodes-container {
                display: flex;
                flex-wrap: nowrap;
                justify-content: flex-start;
                gap: 8px;
                overflow-x: auto;
                -webkit-overflow-scrolling: touch;
                scrollbar-width: none;
                margin: 0;
                padding: 2px 16px;
            }

            .nodes-container::-webkit-scrollbar { display: none; }

            .node-item {
                flex-shrink: 0;
                font-size: 12px;
                white-space: nowrap;
                padding: 8px 12px;
                background: var(--bg-main);
                border: 1px solid var(--border-light);
                border-radius: 9999px;
                gap: 6px;
            }

            .node-item::before {
                width: 6px;
                height: 6px;
                flex-shrink: 0;
            }

            .key-numbers { padding: 56px 0 40px; }
            .numbers-grid { gap: 24px; }
            .n-val { font-size: 44px; }
            .n-label { font-size: 12px; margin-bottom: 10px; }
            .n-sub { font-size: 13px; }

            .features { padding: 56px 0; }
            .feature-row {
                gap: 28px;
                margin-bottom: 56px;
            }
            .feature-content h2 {
                font-size: 28px;
                letter-spacing: -0.5px;
            }
            .feature-content p {
                font-size: 15px;
                margin-bottom: 24px;
            }
            .feature-content .btn {
                width: 100%;
                max-width: 280px;
                margin-left: auto;
                margin-right: auto;
            }
            .feature-image {
                height: 220px;
                border-radius: 16px;
            }

            .use-cases { padding: 64px 0; }
            .section-header { margin-bottom: 40px; }
            .section-header h2 {
                font-size: 30px;
                letter-spacing: -0.8px;
                margin-bottom: 12px;
                line-height: 1.2;
            }
            .section-header p { font-size: 15px; }
            .cards-grid { grid-template-columns: 1fr; gap: 16px; }
            .card { padding: 28px 22px; border-radius: 16px; }

            .specs { padding: 40px 0 64px; }
            .specs h2 { font-size: 28px; line-height: 1.25; padding: 0 8px; }
            .specs-list {
                margin-top: 28px;
                padding: 20px 18px;
                gap: 12px;
                border-radius: 16px;
            }
            .spec-item { font-size: 15px; justify-content: center; }

            .pricing { padding: 64px 0; }
            .pricing-tabs {
                display: grid;
                grid-template-columns: repeat(2, minmax(0, 1fr));
                width: 100%;
                max-width: 320px;
                margin-bottom: 36px;
                padding: 6px;
                border-radius: 16px;
                box-sizing: border-box;
            }
            .tab-btn {
                padding: 10px 12px;
                font-size: 14px;
                white-space: nowrap;
            }
            .pricing-card-wrapper { max-width: 100%; }
            .pricing-card { padding: 28px 18px; border-radius: 18px; box-sizing: border-box; }
            .plan-title { font-size: 22px; }
            .plan-desc { font-size: 14px; margin-bottom: 28px; }
            .plan-price-area { margin-bottom: 28px; flex-wrap: wrap; justify-content: center; }
            .plan-price { font-size: 52px; letter-spacing: -1px; }
            .plan-period { font-size: 16px; }
            .addon-section { padding: 18px 14px; margin-top: 28px; }
            .addon-row { font-size: 14px; padding: 10px 0; }

            .faq { padding: 64px 0; }
            .faq-question {
                padding: 22px 0;
                font-size: 17px;
                gap: 12px;
            }
            .faq-answer { font-size: 15px; padding-bottom: 22px; }
            .faq-icon { font-size: 22px; }

            .bottom-cta { padding: 72px 0; }
            .bottom-cta h2 {
                font-size: 28px;
                letter-spacing: -0.5px;
                margin-bottom: 28px;
                line-height: 1.25;
                padding: 0 8px;
            }
            .bottom-cta-actions {
                flex-direction: column;
                align-items: stretch;
                gap: 12px;
                max-width: 360px;
                margin: 0 auto;
            }
            .bottom-cta .btn {
                width: 100%;
                box-sizing: border-box;
            }
        }

        @media (max-width: 480px) {
            .hero h1 { font-size: 28px; }
            .hero p { font-size: 15px; }

            .hero-image-mockup { padding: 14px 12px; }

            .mockup-header span {
                font-size: 11px;
                padding: 5px 10px;
            }

            .mockup-stats {
                grid-template-columns: 1fr;
                gap: 8px;
            }

            .m-stat { padding: 12px 14px; }
            .m-stat-value { font-size: 16px; }
            .mockup-body { height: 120px; }

            .numbers-grid {
                grid-template-columns: 1fr 1fr;
                gap: 16px;
            }
            .number-box { padding-bottom: 20px; }
            .number-box:nth-last-child(2) { border-bottom: 1px solid var(--border-light); }
            .n-val { font-size: 36px; }

            .feature-image { height: 200px; }
            .feature-content h2 { font-size: 24px; }

            .section-header h2 { font-size: 26px; }
            .specs h2 { font-size: 24px; }

            .pricing-tabs { max-width: 100%; }
            .plan-price { font-size: 44px; }
            .plan-title { font-size: 20px; }

            .bottom-cta h2 { font-size: 24px; }
        }
