/* ============================================================
   ARXD Hosting — Main Stylesheet
   ============================================================ */

/* ----- Reset & Root Variables ----------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary:    #00ffcc;
    --secondary:  #ff00ff;
    --accent:     #00d4ff;
    --dark:       #0a0a0f;
    --dark-light: #1a1a2e;
    --text:       #e0e0e0;
}

/* ----- Base ----------------------------------------------- */
body {
    font-family: 'JetBrains Mono', monospace;
    background: var(--dark);
    color: var(--text);
    overflow-x: hidden;
}

/* ----- Animated Background Grid -------------------------- */
.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(90deg, rgba(0, 255, 204, 0.03) 1px, transparent 1px),
        linear-gradient(rgba(0, 255, 204, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridScroll 20s linear infinite;
    pointer-events: none;
}

@keyframes gridScroll {
    0%   { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* ----- Glowing Orbs --------------------------------------- */
.orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    pointer-events: none;
    animation: float 20s infinite ease-in-out;
}

.orb1 {
    width: 500px;
    height: 500px;
    background: var(--primary);
    top: -200px;
    left: -200px;
}

.orb2 {
    width: 400px;
    height: 400px;
    background: var(--secondary);
    bottom: -150px;
    right: -150px;
    animation-delay: -10s;
}

.orb3 {
    width: 350px;
    height: 350px;
    background: var(--accent);
    top: 50%;
    right: -100px;
    animation-delay: -5s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%       { transform: translate(50px, -80px) scale(1.1); }
    66%       { transform: translate(-30px, 50px) scale(0.9); }
}

/* ----- Header --------------------------------------------- */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background: rgba(10, 10, 15, 0.8);
    border-bottom: 1px solid rgba(0, 255, 204, 0.1);
}

.logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 3px;
    position: relative;
}

.logo::after {
    content: '█';
    animation: blink 1s infinite;
    color: var(--primary);
}

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

nav {
    display: flex;
    gap: 3rem;
}

nav a {
    color: var(--text);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 300;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}

nav a:hover               { color: var(--primary); }
nav a:hover::after        { width: 100%; }

/* ----- Hero Section --------------------------------------- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0 5%;
}

.hero-content {
    text-align: center;
    z-index: 10;
    max-width: 1200px;
}

.hero h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 900;
    margin-bottom: 1rem;
    line-height: 1.1;
    position: relative;
}

/* Glitch effect */
.glitch {
    position: relative;
    display: inline-block;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    animation: glitch-1 2s infinite;
    color: var(--primary);
    z-index: -1;
}

.glitch::after {
    animation: glitch-2 2s infinite;
    color: var(--secondary);
    z-index: -2;
}

@keyframes glitch-1 {
    0%, 100% { transform: translate(0); }
    20%      { transform: translate(-2px,  2px); }
    40%      { transform: translate(-2px, -2px); }
    60%      { transform: translate( 2px,  2px); }
    80%      { transform: translate( 2px, -2px); }
}

@keyframes glitch-2 {
    0%, 100% { transform: translate(0); }
    20%      { transform: translate( 2px, -2px); }
    40%      { transform: translate( 2px,  2px); }
    60%      { transform: translate(-2px, -2px); }
    80%      { transform: translate(-2px,  2px); }
}

.hero .subtitle {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.8;
    font-weight: 300;
    letter-spacing: 2px;
}

/* ----- Buttons -------------------------------------------- */
.cta-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1.2rem 3rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--dark);
    clip-path: polygon(10% 0%, 100% 0%, 90% 100%, 0% 100%);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(0, 255, 204, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    clip-path: polygon(0% 0%, 90% 0%, 100% 100%, 10% 100%);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--dark);
    transform: translateY(-3px);
}

/* ----- Stats Section -------------------------------------- */
.stats {
    padding: 8rem 5%;
    position: relative;
    z-index: 10;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.stat-card {
    background: rgba(26, 26, 46, 0.6);
    border: 1px solid rgba(0, 255, 204, 0.2);
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 204, 0.1), transparent);
    transition: left 0.5s;
}

.stat-card:hover::before  { left: 100%; }
.stat-card:hover {
    border-color: var(--primary);
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 255, 204, 0.2);
}

.stat-number {
    font-family: 'Orbitron', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 1rem;
    display: block;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Stagger animations */
.stat-card:nth-child(1) { animation: slideUp 0.6s ease-out 0.1s backwards; }
.stat-card:nth-child(2) { animation: slideUp 0.6s ease-out 0.2s backwards; }
.stat-card:nth-child(3) { animation: slideUp 0.6s ease-out 0.3s backwards; }
.stat-card:nth-child(4) { animation: slideUp 0.6s ease-out 0.4s backwards; }

@keyframes slideUp {
    from { opacity: 0; transform: translateY(50px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ----- Section Title -------------------------------------- */
.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    text-align: center;
    margin-bottom: 5rem;
    background: linear-gradient(135deg, var(--primary), var(--accent), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ----- Features Section ----------------------------------- */
.features {
    padding: 8rem 5%;
    position: relative;
    z-index: 10;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.feature-card {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.8), rgba(26, 26, 46, 0.4));
    border: 1px solid rgba(0, 255, 204, 0.2);
    padding: 3rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(0, 255, 204, 0.1), transparent);
    transform: translate(50%, -50%);
    transition: all 0.3s;
}

.feature-card:hover::after  { transform: translate(30%, -30%) scale(1.5); }
.feature-card:hover {
    border-color: var(--primary);
    transform: translateX(10px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
    display: inline-block;
    position: relative;
}

.feature-icon svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 20px currentColor);
}

.feature-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.feature-card p {
    line-height: 1.8;
    opacity: 0.8;
    font-weight: 300;
}

/* ----- Pricing Section ------------------------------------ */
.pricing {
    padding: 8rem 5%;
    position: relative;
    z-index: 10;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.pricing-card {
    background: rgba(26, 26, 46, 0.6);
    border: 2px solid rgba(0, 255, 204, 0.2);
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    transition: all 0.3s;
}

.pricing-card.featured {
    border-color: var(--primary);
    transform: scale(1.05);
    background: rgba(0, 255, 204, 0.05);
}

.pricing-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: var(--accent);
    box-shadow: 0 30px 80px rgba(0, 212, 255, 0.3);
}

.pricing-card.featured:hover { transform: translateY(-15px) scale(1.07); }

.plan-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.plan-price {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 2rem;
}

.plan-price span {
    font-size: 1rem;
    opacity: 0.6;
}

.plan-features {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}

.plan-features li {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(0, 255, 204, 0.1);
    font-size: 0.95rem;
}

.plan-features li::before {
    content: '▹';
    color: var(--primary);
    margin-right: 1rem;
    font-weight: bold;
}

/* ----- Scroll Indicator ----------------------------------- */
.scroll-indicator {
    position: fixed;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    z-index: 100;
}

.scroll-indicator::before {
    content: '↓';
    font-size: 2rem;
    color: var(--primary);
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(10px); }
}

/* ----- Footer --------------------------------------------- */
footer {
    padding: 4rem 5%;
    border-top: 1px solid rgba(0, 255, 204, 0.2);
    text-align: center;
    position: relative;
    z-index: 10;
}

footer p {
    opacity: 0.6;
    font-size: 0.9rem;
}

/* ----- Responsive ----------------------------------------- */
@media (max-width: 768px) {
    nav { display: none; }

    .hero h1     { font-size: 3rem; }
    .hero .subtitle { font-size: 1rem; }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .stats-grid,
    .features-grid,
    .pricing-grid { grid-template-columns: 1fr; }


}
