/* Root Variables */
:root {
    --bg-soft: #eef4ff;
    --text-main: #0f172a;
    --text-muted: #475569;
    --brand-a: #2563eb;
    --brand-b: #06b6d4;
    --accent-a: #22c55e;
    --accent-b: #16a34a;
    --radius-lg: 18px;
    --shadow-soft: 0 12px 30px rgba(2, 12, 34, 0.09);
}

/* Base Styles */
body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: 
        radial-gradient(circle at 20% 50%, rgba(37, 99, 235, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(6, 182, 212, 0.05) 0%, transparent 50%),
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(37, 99, 235, 0.03) 2px, rgba(37, 99, 235, 0.03) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(37, 99, 235, 0.03) 2px, rgba(37, 99, 235, 0.03) 4px),
        linear-gradient(180deg, #f0f9ff 0%, #e0f2fe 50%, #f8fbff 100%);
    background-size: 100% 100%, 100% 100%, 50px 50px, 50px 50px, 100% 100%;
    color: var(--text-main);
    transition: 0.3s;
}

/* Header */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    padding: 20px 8%;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.85);
    border-bottom: 1px solid rgba(37, 99, 235, 0.12);
    align-items: center;
}

.logo {
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 0.3px;
}

nav {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

nav a {
    margin: 0;
    padding: 8px 10px;
    text-decoration: none;
    color: #0f172a;
    font-weight: 500;
    border-radius: 8px;
    transition: background 0.2s ease, color 0.2s ease;
}

nav a:hover {
    background: rgba(37, 99, 235, 0.08);
    color: #1d4ed8;
}

.client-btn {
    background: #2563eb;
    color: white;
    padding: 8px 15px;
    border-radius: 6px;
}

#darkToggle {
    border: 0;
    border-radius: 10px;
    padding: 7px 10px;
    cursor: pointer;
    background: #e2e8f0;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 120px 20px;
    background: linear-gradient(-45deg, #1e3a8a, #2563eb, #0f172a, #1e293b);
    background-size: 400% 400%;
    animation: gradientMove 10s ease infinite;
    color: white;
    border-radius: 0 0 24px 24px;
    overflow: hidden;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero h1 {
    font-size: clamp(1.9rem, 4vw, 3rem);
    margin-bottom: 10px;
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.15rem);
    opacity: 0.95;
}

.hero-buttons button {
    margin: 10px;
    padding: 12px 25px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.hero-buttons button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.2);
    filter: saturate(1.08);
}

.primary {
    background: #10b981;
    color: white;
}

.secondary {
    background: white;
    color: #1e3a8a;
}

/* Shared Hosting Plans */
.plans {
    padding: 60px 8%;
    text-align: center;
    background: 
        linear-gradient(135deg, rgba(37, 99, 235, 0.02) 25%, transparent 25%),
        linear-gradient(225deg, rgba(37, 99, 235, 0.02) 25%, transparent 25%),
        linear-gradient(45deg, rgba(37, 99, 235, 0.02) 25%, transparent 25%),
        linear-gradient(315deg, rgba(37, 99, 235, 0.02) 25%, rgba(255, 255, 255, 0.6) 25%);
    background-size: 40px 40px;
    background-position: 0 0, 0 20px, 20px -20px, -20px 0px;
    backdrop-filter: blur(2px);
}

.plan-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(240px, 300px));
    justify-content: center;
    gap: 7em;
    margin-top: 40px;
}

.plan {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(37, 99, 235, 0.09);
    width: 100%;
    min-height: 340px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px;
}

.plan h3 {
    font-size: 1.5rem;
    margin: 0 0 15px 0;
    color: var(--brand-a);
    text-align: center;
}

.plan .price {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 10px 0 20px 0;
    text-align: center;
}

.plan ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    text-align: center;
    line-height: 2.2;
    flex-grow: 1;
    width: 100%;
}

.plan ul li {
    padding: 8px 0;
    color: var(--text-muted);
    text-align: center;
}

.plan ul li::before {
    content: "✓ ";
    color: var(--accent-a);
    font-weight: 700;
    margin-right: 8px;
}

.plan button {
    margin-top: auto;
    border: 0;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--brand-a), var(--brand-b));
    color: #fff;
    font-weight: 700;
    padding: 14px 24px;
    font-size: 1rem;
    cursor: pointer;
    width: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.plan button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.2);
    filter: saturate(1.08);
}

.featured {
    border: 2px solid #2563eb;
}

/* VPS Section */
.vps {
    padding: 100px 8%;
    text-align: center;
    background:
        linear-gradient(rgba(15, 23, 42, 0.78), rgba(30, 58, 138, 0.78)),
        url('images/vps.jpg') center/cover no-repeat;
    color: white;
}

.vps h2 {
    font-size: clamp(1.7rem, 3.2vw, 2.4rem);
    letter-spacing: 0.3px;
}

.vps-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(260px, 320px));
    justify-content: center;
    gap: 7em;
    margin-top: 40px;
}

.vps-card {
    width: 100%;
    min-height: 560px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 30px;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.vps-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.vps-card.featured {
    border: 2px solid #93c5fd;
    box-shadow: 0 20px 45px rgba(30, 58, 138, 0.42);
}

.vps-img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    object-position: center;
    border-radius: 12px;
    margin-bottom: 8px;
}

.vps-card h3 {
    font-size: 1.5rem;
    margin: 10px 0 0 0;
    text-align: center;
}

.vps-card .price {
    font-size: 2rem;
    font-weight: 700;
    margin: 10px 0;
    text-align: center;
}

.vps-card ul {
    margin: 4px 0 0;
    padding: 0;
    line-height: 1.85;
    flex-grow: 1;
    list-style: none;
    text-align: center;
    width: 100%;
}

.vps-card ul li {
    padding: 6px 0;
    text-align: center;
}

.vps-card ul li::before {
    content: "✓ ";
    color: #22c55e;
    font-weight: 700;
    margin-right: 8px;
}

.vps-card button,
.order-btn {
    margin-top: auto;
    width: 100%;
    padding: 12px 18px;
    border-radius: 10px;
    font-weight: 700;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    border: none;
    color: white;
    cursor: pointer;
    text-decoration: none;
    display: block;
    box-sizing: border-box;
}

/* Why Section */
.why {
    padding: 80px 8%;
    text-align: center;
    background: 
        radial-gradient(circle at 10% 20%, rgba(34, 197, 94, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(37, 99, 235, 0.08) 0%, transparent 40%),
        linear-gradient(180deg, #f8fbff 0%, #eef6ff 100%);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.why-grid > div {
    background: #ffffff;
    border-radius: 14px;
    box-shadow: var(--shadow-soft);
    padding: 18px;
    text-align: left;
    border: 1px solid rgba(37, 99, 235, 0.1);
}

/* CTA Section */
.cta {
    padding: 80px 20px;
    background: linear-gradient(135deg, #1e3a8a, #2563eb);
    color: white;
    text-align: center;
}

.cta button {
    margin-top: 20px;
    padding: 12px 30px;
    background: linear-gradient(135deg, var(--accent-a), var(--accent-b));
    border: none;
    border-radius: 6px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.cta button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.2);
    filter: saturate(1.08);
}

/* Footer */
footer {
    text-align: center;
    padding: 24px 16px 34px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #94a3b8;
}

/* Dark Mode */
.dark {
    background: #0f172a;
    color: white;
}

.dark header {
    background: rgba(30, 41, 59, 0.85);
    border-bottom-color: rgba(148, 163, 184, 0.22);
}

.dark nav a {
    color: #ffffff !important;
}

.dark .plan,
.dark .why-grid > div {
    background: #1e293b;
    color: #e2e8f0;
    border-color: rgba(148, 163, 184, 0.16);
}

.dark .plan .price {
    color: #ffffff;
}

.dark .vps {
    background: #1e293b;
}

.dark .vps-card {
    background: #334155;
    color: white;
}

.dark .why {
    background: #0f172a;
}

.dark .cta {
    background: linear-gradient(135deg, #0f172a, #1e293b);
}

.dark #darkToggle {
    background: #334155;
    color: #ffffff;
}
/* ===== INFRASTRUCTURE SECTION ===== */
.infrastructure {
    position: relative;
    padding: 120px 20px;
    text-align: center;
    color: white;
    overflow: hidden;
    background: linear-gradient(135deg, #0f172a, #1e3a8a);
}

/* Animated gradient overlay */
.infrastructure::before {
    content: "";
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(159, 24, 91, 0.4) 0%, transparent 60%);
    animation: moveBg 12s linear infinite;
    top: -50%;
    left: -50%;
}

@keyframes moveBg {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.infra-content {
    position: relative;
    z-index: 2;
}

.infrastructure button {
    margin-top: 20px;
    padding: 12px 30px;
    border-radius: 8px;
    border: none;
    background: #10b981;
    color: white;
    font-weight: 600;
    cursor: pointer;
}