:root {
    /* Color Palette */
    --bg-main: #050505;       /* Deep Black */
    --bg-secondary: #0a0a0a;  /* Slightly Lighter Black */
    --bg-card: #111111;       /* Card Background */
    
    --primary-red: #ff003c;   /* Accent Red (Nexxus Color) */
    --primary-red-hover: #d90033;
    
    --text-white: #ffffff;
    --text-gray: #a1a1aa;
    
    --border-color: rgba(255, 255, 255, 0.1);
    
    /* Fonts */
    --font-head: 'Rajdhani', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--bg-main);
    color: var(--text-white);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; transition: 0.3s; color: inherit; }
ul { list-style: none; }

/* --- UTILITIES --- */
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.text-red { color: var(--primary-red); }
.text-white { color: #fff; }
.text-green { color: #00ff66; }
.bg-darker { background-color: var(--bg-secondary); }
.bg-black { background-color: #000; }
.mt-4 { margin-top: 2rem; }

/* Buttons with "Cut" Corners */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 28px;
    font-family: var(--font-head);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    clip-path: polygon(0 0, 100% 0, 100% 70%, 90% 100%, 0 100%);
    cursor: pointer;
    font-size: 1rem;
    border: none;
}

.btn-red { background: var(--primary-red); color: #fff; }
.btn-red:hover { background: var(--primary-red-hover); transform: translateY(-2px); }

.btn-outline { background: transparent; border: 1px solid var(--border-color); color: #fff; }
.btn-outline:hover { border-color: var(--primary-red); color: var(--primary-red); }

.btn-transparent { background: rgba(255,255,255,0.05); color: #fff; }
.btn-transparent:hover { background: rgba(255,255,255,0.1); }

.full { width: 100%; justify-content: center; }
.small { padding: 8px 16px; font-size: 0.85rem; }

/* --- HEADER --- */
.main-header {
    position: fixed; top: 0; width: 100%; z-index: 1000;
    background: rgba(5, 5, 5, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
}
.header-inner { display: flex; justify-content: space-between; align-items: center; height: 80px; }
.logo { font-family: var(--font-head); font-size: 1.8rem; font-weight: 700; color: #fff; display: flex; gap: 10px; align-items: center; }
.desktop-nav { display: flex; gap: 32px; }
.desktop-nav a { font-size: 0.95rem; font-weight: 500; color: var(--text-gray); }
.desktop-nav a:hover { color: #fff; }
.header-actions { display: flex; gap: 20px; align-items: center; }
.login-link { font-size: 0.9rem; font-weight: 600; color: #fff; display: flex; gap: 6px; align-items: center; }

/* --- HERO SECTION --- */
.hero { position: relative; padding: 180px 0 100px; border-bottom: 1px solid var(--border-color); }
.hero-bg-grid {
    position: absolute; inset: 0; z-index: -1;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
}
.hero-content { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.status-badge { 
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(0, 255, 102, 0.1); color: #00ff66;
    padding: 6px 12px; border-radius: 4px; border: 1px solid rgba(0, 255, 102, 0.2);
    font-size: 0.8rem; font-weight: 600; font-family: var(--font-head); margin-bottom: 20px;
}
.dot { width: 6px; height: 6px; background: #00ff66; border-radius: 50%; display: block; }
.pulse { animation: pulse 2s infinite; }
@keyframes pulse { 0% { opacity: 1; box-shadow: 0 0 0 0 rgba(0, 255, 102, 0.4); } 70% { opacity: 1; box-shadow: 0 0 0 10px rgba(0, 255, 102, 0); } 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(0, 255, 102, 0); } }

.hero h1 { font-family: var(--font-head); font-size: 4rem; line-height: 1.1; font-weight: 700; margin-bottom: 20px; }
.outlined-text { -webkit-text-stroke: 1px #fff; color: transparent; }
.hero-sub { font-size: 1.15rem; color: var(--text-gray); margin-bottom: 40px; max-width: 500px; }
.hero-btns { display: flex; gap: 16px; }

/* HUD Graphic */
.hud-panel {
    background: rgba(20, 20, 20, 0.6); border: 1px solid var(--border-color);
    padding: 24px; border-radius: 8px; position: relative;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
.hud-header { display: flex; justify-content: space-between; border-bottom: 1px solid var(--border-color); padding-bottom: 15px; margin-bottom: 20px; color: var(--primary-red); font-family: var(--font-head); font-weight: 700; letter-spacing: 1px; }
.stat-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; font-size: 0.85rem; font-family: var(--font-head); }
.bar { flex-grow: 1; height: 6px; background: #333; margin: 0 15px; border-radius: 3px; overflow: hidden; }
.fill { height: 100%; background: var(--primary-red); }
.active-anim { animation: loadBar 2s infinite ease-in-out; }
@keyframes loadBar { 0% { width: 50%; } 50% { width: 85%; } 100% { width: 50%; } }
.hud-log { margin-top: 20px; padding-top: 15px; border-top: 1px dashed #333; font-family: monospace; font-size: 0.8rem; color: #666; }

/* --- DOMAIN SEARCH --- */
.domain-section { margin-top: -50px; position: relative; z-index: 10; padding-bottom: 80px; }
.domain-wrapper {
    background: var(--bg-card); border: 1px solid var(--border-color);
    padding: 40px; border-radius: 8px; text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}
.domain-title { font-family: var(--font-head); margin-bottom: 24px; font-size: 1.8rem; }
.domain-form .input-group { display: flex; gap: 10px; max-width: 700px; margin: 0 auto; }
.domain-form input { flex-grow: 1; background: #050505; border: 1px solid var(--border-color); padding: 15px; color: #fff; border-radius: 4px; font-size: 1rem; }
.domain-form select { background: #050505; border: 1px solid var(--border-color); padding: 0 20px; color: #fff; border-radius: 4px; cursor: pointer; }

.domain-result { background: rgba(0, 255, 102, 0.05); border: 1px solid rgba(0, 255, 102, 0.2); padding: 15px 25px; margin: 20px auto 0; max-width: 700px; display: flex; align-items: center; justify-content: space-between; border-radius: 4px; }
.hidden { display: none; }
.result-icon { font-size: 1.5rem; color: #00ff66; margin-right: 15px; }
.result-text { text-align: left; flex-grow: 1; }
.tld-pills { display: flex; justify-content: center; gap: 15px; margin-top: 25px; flex-wrap: wrap; }
.pill { background: #1a1a1a; padding: 6px 14px; border-radius: 50px; font-size: 0.85rem; color: #ccc; border: 1px solid transparent; }
.pill strong { color: #fff; margin-left: 5px; }
.pill.hotspot { border-color: var(--primary-red); color: var(--primary-red); }

/* --- SECTIONS & PRICING --- */
.section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-tag { font-family: var(--font-head); font-weight: 700; color: var(--primary-red); letter-spacing: 1px; display: block; margin-bottom: 10px; }
.section-header h2 { font-family: var(--font-head); font-size: 2.5rem; margin-bottom: 15px; }
.section-header p { color: var(--text-gray); max-width: 600px; margin: 0 auto; }

.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.price-card { background: var(--bg-card); border: 1px solid var(--border-color); padding: 30px; border-radius: 6px; position: relative; transition: 0.3s; }
.price-card:hover { transform: translateY(-5px); border-color: rgba(255,255,255,0.2); }
.price-card.featured { border: 1px solid var(--primary-red); background: linear-gradient(180deg, #160005 0%, #111 100%); }
.popular-tag { position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); background: var(--primary-red); padding: 4px 12px; font-size: 0.75rem; font-weight: 700; border-radius: 4px; }
.card-top { border-bottom: 1px solid var(--border-color); padding-bottom: 20px; margin-bottom: 20px; text-align: center; }
.price { font-size: 2.5rem; font-weight: 700; font-family: var(--font-head); }
.card-features li { margin-bottom: 12px; color: var(--text-gray); font-size: 0.95rem; display: flex; gap: 10px; align-items: center; }
.card-features li i { color: var(--primary-red); }

/* --- SERVER SPLIT LAYOUT --- */
.split-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.spec-item { display: flex; gap: 20px; margin-bottom: 30px; }
.spec-item i { font-size: 2rem; color: var(--primary-red); background: rgba(255,0,60,0.1); width: 60px; height: 60px; display: flex; align-items: center; justify-content: center; border-radius: 8px; }
.spec-item h4 { font-family: var(--font-head); font-size: 1.2rem; margin-bottom: 5px; }
.server-visual { display: flex; justify-content: center; }
.server-rack-box { width: 200px; border: 2px solid #333; padding: 10px; background: #000; border-radius: 4px; box-shadow: 0 0 30px rgba(255,0,60,0.1); }
.rack-unit { height: 40px; background: #1a1a1a; margin-bottom: 5px; border-bottom: 1px solid #333; position: relative; }
.rack-unit.active::after { content: ''; position: absolute; right: 10px; top: 15px; width: 6px; height: 6px; background: #00ff66; border-radius: 50%; box-shadow: 0 0 5px #00ff66; }

/* --- NOC GRID (Network Monitor) --- */
.noc-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: center; border: 1px solid #222; padding: 40px; border-radius: 12px; background: radial-gradient(circle at center, #111 0%, #050505 100%); box-shadow: 0 0 50px rgba(0,0,0,0.5); }
.map-wrapper { position: relative; height: 400px; background-image: radial-gradient(#333 1px, transparent 1px); background-size: 20px 20px; border-radius: 8px; border: 1px solid #222; overflow: hidden; }
.map-point { position: absolute; cursor: pointer; }
.map-point::after { content: attr(data-loc); position: absolute; top: -25px; left: 50%; transform: translateX(-50%); background: var(--primary-red); color: #fff; padding: 2px 6px; font-size: 0.7rem; border-radius: 3px; opacity: 0; transition: 0.3s; white-space: nowrap; pointer-events: none; }
.map-point:hover::after { opacity: 1; top: -30px; }
.point-fra { top: 35%; left: 48%; }
.point-nyc { top: 38%; left: 25%; }
.point-lon { top: 33%; left: 45%; }
.point-sin { top: 55%; left: 75%; }
.dot-core { width: 8px; height: 8px; background: #fff; border-radius: 50%; position: relative; z-index: 2; box-shadow: 0 0 10px #fff; }
.dot-core.small { width: 6px; height: 6px; background: #666; }
.point-fra .dot-core { background: var(--primary-red); box-shadow: 0 0 15px var(--primary-red); }
.pulse-ring { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 20px; height: 20px; border: 1px solid var(--primary-red); border-radius: 50%; animation: radarPulse 2s infinite; }
@keyframes radarPulse { 0% { width: 10px; height: 10px; opacity: 1; border-width: 2px; } 100% { width: 60px; height: 60px; opacity: 0; border-width: 0px; } }

.status-terminal { background: #0a0a0a; border: 1px solid #333; border-left: 4px solid var(--primary-red); font-family: 'Courier New', monospace; padding: 20px; border-radius: 4px; }
.terminal-header { border-bottom: 1px solid #333; padding-bottom: 10px; margin-bottom: 15px; display: flex; justify-content: space-between; align-items: center; color: #888; font-size: 0.9rem; }
.status-light { width: 8px; height: 8px; background: #00ff66; border-radius: 50%; box-shadow: 0 0 8px #00ff66; animation: blink 1s infinite; }
.ping-row { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 0.9rem; color: #ccc; }
.latency { font-weight: bold; }
.separator-line { height: 1px; background: #222; margin: 15px 0; }
.service-item { display: flex; justify-content: space-between; margin-bottom: 10px; font-size: 0.85rem; }
.badge-status { color: #00ff66; background: rgba(0, 255, 102, 0.1); padding: 2px 6px; border-radius: 2px; font-size: 0.7rem; }
.badge-status.text-red-glow { color: var(--primary-red); background: rgba(255, 0, 60, 0.1); animation: textGlow 2s infinite alternate; }
@keyframes textGlow { from { text-shadow: 0 0 5px rgba(255,0,60,0.5); } to { text-shadow: 0 0 15px rgba(255,0,60,0.9); } }
.live-log-wrapper { height: 80px; overflow: hidden; background: #000; padding: 10px; border: 1px solid #222; font-size: 0.75rem; color: #666; margin-top: 15px; }
.live-log p { margin-bottom: 4px; }

/* --- FOOTER --- */
.footer { background: #080808; border-top: 1px solid var(--border-color); padding: 80px 0 30px; font-size: 0.9rem; margin-top: 50px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 60px; }
.footer-col h4 { font-family: var(--font-head); font-size: 1.1rem; color: #fff; margin-bottom: 20px; text-transform: uppercase; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: var(--text-gray); }
.footer-col ul li a:hover { color: var(--primary-red); padding-left: 5px; }
.socials { display: flex; gap: 15px; margin-top: 20px; font-size: 1.2rem; color: #fff; }
.footer-bottom { border-top: 1px solid var(--border-color); padding-top: 30px; display: flex; justify-content: space-between; align-items: center; color: #555; }
.payment-methods { font-size: 1.5rem; display: flex; gap: 15px; opacity: 0.6; }

/* Responsive */
@media (max-width: 900px) {
    .hero-content, .split-layout { grid-template-columns: 1fr; text-align: center; }
    .hero h1 { font-size: 2.8rem; }
    .desktop-nav { display: none; }
    .domain-form .input-group { flex-direction: column; }
    .footer-grid, .noc-grid { grid-template-columns: 1fr; }
    .hud-panel { display: none; }
    .map-wrapper { height: 300px; }
}