/* =============================================
   InoVPS — Premium Hosting Theme
   Dark Professional WHMCS Template Override
   ============================================= */

:root {
    --bg-primary: #0a0e1a;
    --bg-secondary: #111827;
    --bg-card: #1a1f2e;
    --bg-hover: #242b3d;
    --accent: #00d4ff;
    --accent2: #7c3aed;
    --accent3: #06d6a0;
    --text: #e2e8f0;
    --text-dim: #94a3b8;
    --text-dark: #1e293b;
    --border: #1e293b;
    --danger: #ef4444;
    --warning: #f59e0b;
    --success: #10b981;
    --gradient: linear-gradient(135deg, var(--accent), var(--accent2));
    --gradient2: linear-gradient(135deg, var(--accent3), var(--accent));
    --shadow: 0 4px 20px rgba(0, 212, 255, 0.15);
    --radius: 12px;
}

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

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

/* ─── Scrollbar ─── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 4px; }

/* ─── Navigation ─── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    background: rgba(10, 14, 26, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 212, 255, 0.08);
    transition: all 0.3s ease;
}
.navbar.scrolled {
    padding: 10px 0;
    background: rgba(10, 14, 26, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}
.navbar .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.navbar .logo {
    font-size: 24px;
    font-weight: 800;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}
.navbar .logo img { height: 36px; }
.navbar .logo span { 
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.navbar .logo .tag {
    font-size: 11px;
    font-weight: 600;
    background: rgba(0, 212, 255, 0.15);
    color: var(--accent);
    padding: 2px 8px;
    border-radius: 4px;
    -webkit-text-fill-color: var(--accent);
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}
.nav-links a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--accent); }
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.btn-client {
    padding: 10px 24px;
    border-radius: 8px;
    background: var(--gradient);
    color: var(--text-dark) !important;
    font-weight: 700 !important;
    text-decoration: none;
    font-size: 14px;
    transition: transform 0.3s, box-shadow 0.3s;
}
.btn-client:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0, 212, 255, 0.3); }
.btn-client::after { display: none !important; }
.mobile-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.mobile-toggle span { width: 28px; height: 2px; background: var(--text); border-radius: 2px; transition: 0.3s; }

/* ─── Hero ─── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 120px 24px 80px;
}
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}
.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 50%, transparent 0%, var(--bg-primary) 70%);
    z-index: 1;
}
.hero-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    text-align: center;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 100px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.2);
    font-size: 13px;
    color: var(--accent);
    margin-bottom: 24px;
}
.hero-badge .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent3);
    animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(6, 214, 160, 0.4); }
    50% { opacity: 0.7; box-shadow: 0 0 0 8px rgba(6, 214, 160, 0); }
}
.hero h1 {
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}
.hero h1 .highlight {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero p {
    font-size: 18px;
    color: var(--text-dim);
    max-width: 640px;
    margin: 0 auto 40px;
    line-height: 1.7;
}
.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}
.btn-primary {
    padding: 16px 36px;
    border-radius: 12px;
    background: var(--gradient);
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(0, 212, 255, 0.3); }
.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: translateX(-100%);
    transition: 0.5s;
}
.btn-primary:hover::before { transform: translateX(100%); }
.btn-secondary {
    padding: 16px 36px;
    border-radius: 12px;
    background: transparent;
    color: var(--text);
    font-weight: 600;
    font-size: 16px;
    border: 1px solid var(--border);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-3px); }

.hero-stats {
    display: flex;
    gap: 48px;
    justify-content: center;
    margin-top: 60px;
    flex-wrap: wrap;
}
.hero-stat { text-align: center; }
.hero-stat .num {
    font-size: 32px;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-stat .label {
    font-size: 13px;
    color: var(--text-dim);
    margin-top: 4px;
}

/* ─── Floating Particles ─── */
.particles {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}
.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0.3;
    animation: float-particle linear infinite;
}
@keyframes float-particle {
    0% { transform: translateY(100vh) scale(0); opacity: 0; }
    10% { opacity: 0.3; }
    90% { opacity: 0.3; }
    100% { transform: translateY(-100px) scale(1); opacity: 0; }
}

/* ─── Sections ─── */
.section {
    padding: 100px 24px;
    position: relative;
}
.section-dark { background: var(--bg-secondary); }
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}
.section-header h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 16px;
}
.section-header h2 .highlight {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.section-header p {
    color: var(--text-dim);
    font-size: 16px;
}
.section-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 100px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.15);
    font-size: 12px;
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

/* ─── Services Grid ─── */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}
.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px;
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s;
}
.service-card:hover { transform: translateY(-8px); border-color: rgba(0, 212, 255, 0.2); box-shadow: var(--shadow); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 28px;
}
.service-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}
.service-card p {
    color: var(--text-dim);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
}
.service-features { list-style: none; }
.service-features li {
    padding: 8px 0;
    font-size: 14px;
    color: var(--text-dim);
    display: flex;
    align-items: center;
    gap: 10px;
}
.service-features li::before {
    content: '→';
    color: var(--accent);
    font-weight: 700;
}
.service-price {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.service-price .price {
    font-size: 28px;
    font-weight: 800;
}
.service-price .price span {
    font-size: 14px;
    color: var(--text-dim);
    font-weight: 400;
}
.service-price .btn-order {
    padding: 10px 24px;
    border-radius: 8px;
    background: var(--gradient);
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
}
.service-price .btn-order:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0, 212, 255, 0.3); }

/* ─── Features ─── */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}
.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    text-align: center;
    transition: all 0.3s;
}
.feature-card:hover { transform: translateY(-5px); border-color: rgba(0, 212, 255, 0.15); }
.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(0, 212, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 24px;
}
.feature-card h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}
.feature-card p {
    font-size: 13px;
    color: var(--text-dim);
    line-height: 1.6;
}

/* ─── Pricing ─── */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}
.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px;
    text-align: center;
    transition: all 0.4s;
    position: relative;
}
.pricing-card.featured {
    border-color: var(--accent);
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.1);
}
.pricing-card.featured .popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 20px;
    border-radius: 100px;
    background: var(--gradient);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.pricing-card:hover { transform: translateY(-8px); border-color: rgba(0, 212, 255, 0.2); }
.pricing-card.featured:hover { transform: scale(1.05) translateY(-8px); }
.pricing-card .plan { font-size: 14px; color: var(--accent); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }
.pricing-card .price-big { font-size: 48px; font-weight: 800; margin-bottom: 8px; }
.pricing-card .price-big span { font-size: 16px; color: var(--text-dim); font-weight: 400; }
.pricing-card .price-desc { font-size: 13px; color: var(--text-dim); margin-bottom: 24px; }
.pricing-features { list-style: none; text-align: left; margin-bottom: 28px; }
.pricing-features li {
    padding: 10px 0;
    font-size: 14px;
    color: var(--text-dim);
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(30, 41, 59, 0.5);
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-features li .check { color: var(--accent3); font-weight: 700; }

/* ─── CTA ─── */
.cta-section {
    background: var(--gradient);
    padding: 80px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}
.cta-section h2 {
    font-size: 36px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
    position: relative;
}
.cta-section p {
    color: rgba(255,255,255,0.8);
    font-size: 18px;
    margin-bottom: 32px;
    position: relative;
}
.cta-section .btn-cta {
    display: inline-block;
    padding: 18px 40px;
    border-radius: 12px;
    background: #fff;
    color: var(--text-dark);
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
}
.cta-section .btn-cta:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(0,0,0,0.2); }

/* ─── Testimonials ─── */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}
.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
}
.testimonial-card .stars { color: #f59e0b; font-size: 16px; margin-bottom: 12px; }
.testimonial-card .text { font-size: 14px; color: var(--text-dim); line-height: 1.7; margin-bottom: 16px; font-style: italic; }
.testimonial-card .author { display: flex; align-items: center; gap: 12px; }
.testimonial-card .author .avatar {
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--gradient);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 16px; color: #fff;
}
.testimonial-card .author .name { font-weight: 600; font-size: 14px; }
.testimonial-card .author .role { font-size: 12px; color: var(--text-dim); }

/* ─── Footer ─── */
footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border);
    padding: 60px 24px 30px;
}
.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}
footer h4 { font-size: 14px; font-weight: 700; margin-bottom: 16px; color: var(--text); text-transform: uppercase; letter-spacing: 1px; }
footer ul { list-style: none; }
footer ul li { margin-bottom: 10px; }
footer ul a { color: var(--text-dim); text-decoration: none; font-size: 14px; transition: color 0.3s; }
footer ul a:hover { color: var(--accent); }
.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--text-dim);
    flex-wrap: wrap;
    gap: 16px;
}

/* ─── Animations ─── */
.fade-in { opacity: 0; transform: translateY(30px); transition: all 0.8s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.slide-left { opacity: 0; transform: translateX(-40px); transition: all 0.8s ease; }
.slide-left.visible { opacity: 1; transform: translateX(0); }
.slide-right { opacity: 0; transform: translateX(40px); transition: all 0.8s ease; }
.slide-right.visible { opacity: 1; transform: translateX(0); }
.scale-in { opacity: 0; transform: scale(0.9); transition: all 0.8s ease; }
.scale-in.visible { opacity: 1; transform: scale(1); }
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

/* ─── Typing Animation ─── */
.typing-text::after {
    content: '|';
    animation: blink 1s infinite;
}
@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* ─── Glow ─── */
.glow {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: 0;
}
.glow-1 {
    top: -200px; left: -100px;
    background: rgba(0, 212, 255, 0.08);
}
.glow-2 {
    bottom: -100px; right: -100px;
    background: rgba(124, 58, 237, 0.08);
}

/* ─── Mobile ─── */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(10,14,26,0.98);
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        transform: translateY(-120%);
        opacity: 0;
        pointer-events: none;
        transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
        border-bottom: 1px solid var(--border);
        z-index: 999;
        box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    }
    .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: all; }
    .mobile-toggle { display: flex; z-index: 1000; position: relative; }
    .mobile-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .mobile-toggle.open span:nth-child(2) { opacity: 0; }
    .mobile-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .hero-stats { gap: 24px; }
    .hero-stat .num { font-size: 24px; }
    .pricing-card.featured { transform: none; }
    .pricing-card.featured:hover { transform: translateY(-8px); }
}

/* ─── WHMCS inside iframe / embedded ─── */
html {
    scroll-behavior: smooth;
}
