/* Global Styles */
html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Typography */
h1,
h2,
h3 {
    margin: 0;
    font-weight: 700;
}

.highlight-red {
    color: var(--color-primary);
}

.section__title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
}

@media (max-width: 768px) {
    .section__title {
        font-size: 2rem;
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    border: none;
    font-size: 1rem;
}

.btn--primary {
    background-color: var(--color-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.4);
}

.btn--primary:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 57, 70, 0.6);
}

.btn--outline {
    border: 2px solid var(--color-text-muted);
    background: transparent;
    color: var(--color-text);
}

.btn--outline:hover {
    border-color: var(--color-text);
    background: rgba(255, 255, 255, 0.05);
}

.btn--secondary {
    background-color: var(--color-shark-blue);
    color: white;
}

.btn--large {
    padding: 16px 32px;
    font-size: 1.2rem;
}

.btn--full {
    width: 100%;
    box-sizing: border-box;
}

/* Header */
.header {
    background-color: rgba(15, 17, 21, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo__img {
    height: 40px;
    width: auto;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav a {
    color: var(--color-text-muted);
    font-weight: 500;
}

.nav a:hover {
    color: var(--color-primary);
}

@media (max-width: 768px) {
    .nav {
        display: none;
        /* Simple mobile hide for now, or could be hamburger */
    }
}

/* Hero Section */
.hero {
    position: relative;
    padding: 80px 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero__bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(230, 57, 70, 0.15), transparent 40%),
        radial-gradient(circle at bottom left, rgba(69, 183, 209, 0.1), transparent 40%);
    z-index: -1;
}

.hero__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
}

.hero__content {
    z-index: 2;
}

.hero__title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero__subtitle {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    margin-bottom: 30px;
    max-width: 500px;
}

.hero__trial {
    margin-top: 10px;
    font-size: 0.9rem;
    color: var(--color-text-muted);
    opacity: 0.8;
}

.hero__image img {
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s ease;
}

.hero__image img:hover {
    transform: perspective(1000px) rotateY(0deg);
}

@media (max-width: 900px) {
    .hero__container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero__content {
        order: 2;
    }

    .hero__image {
        order: 1;
        margin-bottom: 20px;
    }

    .hero__title {
        font-size: 2.5rem;
    }

    .hero__subtitle {
        margin: 0 auto 30px;
    }
}

/* Sections General */
.section {
    padding: 80px 0;
}

.section:nth-child(even) {
    background-color: var(--color-bg-secondary);
}

/* Grids */
.grid {
    display: grid;
    gap: 30px;
}

.grid--3 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* Cards */
.card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    padding: 30px;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
}

.card__icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.card__title {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.card__text {
    color: var(--color-text-muted);
}

/* CleanWeb */
.section--cleanweb {
    background: linear-gradient(135deg, var(--color-bg) 0%, #15181e 100%);
}

.feature-list li {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

/* Steps */
.steps-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.step {
    text-align: center;
    width: 200px;
}

.step__number {
    width: 50px;
    height: 50px;
    background-color: var(--color-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 15px;
    box-shadow: 0 0 15px rgba(230, 57, 70, 0.5);
}

.step__arrow {
    font-size: 2rem;
    color: var(--color-text-muted);
}

@media (max-width: 600px) {
    .step__arrow {
        display: none;
    }

    .steps-container {
        flex-direction: column;
        gap: 40px;
    }
}

/* Platforms */
.platforms-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.platform-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 600;
}

.platform-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.platform-icon {
    font-size: 1.2rem;
}

/* Pricing */
.section--pricing {
    padding: 100px 0;
    /* More breathing room */
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
    /* Increased gap to prevent overlap on scale */
    align-items: center;
    margin-bottom: 60px;
    /* Space before promo block */
}

.pricing-card {
    background: var(--color-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    /* Ensures equal height */
    justify-content: space-between;
    transition: transform 0.3s ease;
}

/* Ensure no overlap with header */
.section__title {
    margin-bottom: 4rem;
}

.pricing-card--featured {
    background: #1e222b;
    border: 2px solid var(--color-primary);
    transform: scale(1.05);
    /* Stays scaled */
    z-index: 2;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    margin-top: -10px;
    /* Subtle lift */
}

/* On mobile, stacking needs care */
@media (max-width: 900px) {
    .pricing-card--featured {
        transform: scale(1);
        /* Reset scale on mobile to prevent horizontal overflow */
        margin-top: 0;
        border-width: 2px;
    }

    .pricing-grid {
        gap: 30px;
    }
}

.hero-glow {
    box-shadow: 0 0 30px rgba(230, 57, 70, 0.2);
}

.badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-primary);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
}

.pricing-card__period {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.pricing-card__price {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--color-text);
}

.pricing-card__price span {
    font-size: 1rem;
    color: var(--color-text-muted);
    font-weight: 400;
}

.pricing-card__total {
    color: var(--color-text-muted);
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.pricing-card__save {
    color: #4ade80;
    /* Green for savings */
    font-weight: 600;
    margin-bottom: 20px;
}

.promo-block {
    text-align: center;
    margin-top: 20px;
    /* Safe distance from cards */
    background: rgba(230, 57, 70, 0.1);
    padding: 40px;
    border-radius: 12px;
    border: 1px dashed var(--color-primary);
    position: relative;
    z-index: 1;
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    font-weight: 600;
    position: relative;
    list-style: none;
    /* Hide default triangle */
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 20px;
    font-size: 1.5rem;
    color: var(--color-primary);
}

details[open] .faq-question::after {
    content: '-';
}

.faq-answer {
    padding: 0 20px 20px;
    color: var(--color-text-muted);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 15px;
}

/* Reviews */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.review-card {
    background: var(--color-bg-secondary);
    padding: 30px;
    border-radius: 12px;
}

.review-author {
    font-weight: 700;
    margin-bottom: 5px;
}

.review-stars {
    color: #fca311;
    /* Gold */
    margin-bottom: 15px;
}

/* Footer */
.footer {
    padding: 40px 0;
    background-color: #000;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-seo {
    font-size: 0.8rem;
    color: #333;
    margin-top: 20px;
}

/* Utils */
.mt-4 {
    margin-top: 2rem;
}

/* --- NEW STYLES FOR REFINEMENT --- */

/* Animated Shark Hero */
.shark-container {
    position: relative;
    width: 100%;
    height: 400px;
    /* Adjust as needed */
    display: flex;
    justify-content: center;
    align-items: center;
}

.shark-anim {
    width: 100%;
    /* Or specific width like 600px */
    max-width: 700px;
    filter: drop-shadow(0 0 20px rgba(54, 185, 204, 0.3));
    /* Cyan glow */
    animation: swim 6s ease-in-out infinite;
}

@keyframes swim {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(2deg);
    }

    100% {
        transform: translateY(0) rotate(0deg);
    }
}

/* Server Stats Dashboard */
.section--stats {
    background: linear-gradient(135deg, #0f1115 0%, #1c2029 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.stats-dashboard {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px;
    gap: 20px;
    position: relative;
    overflow: hidden;
}

.stat-item {
    text-align: center;
    z-index: 2;
}

.stat-value {
    font-size: 3rem;
    font-weight: 800;
}

.stat-label {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-status {
    z-index: 2;
    background: rgba(0, 0, 0, 0.3);
    padding: 8px 15px;
    border-radius: 50px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(75, 255, 75, 0.2);
    color: #4ade80;
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: #4ade80;
    border-radius: 50%;
    box-shadow: 0 0 10px #4ade80;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.5;
    }
}

.server-map-visual {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
    pointer-events: none;
}

.server-map-visual img {
    width: 80%;
    object-fit: contain;
}

/* CleanWeb Modern */
.section--cleanweb-modern {
    background-color: var(--color-bg);
}

.cleanweb-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: linear-gradient(135deg, rgba(230, 230, 230, 0.05) 0%, rgba(20, 20, 20, 0.5) 100%);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.cleanweb-content {
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cleanweb-toggles {
    margin-top: 30px;
    background: rgba(0, 0, 0, 0.2);
    padding: 20px;
    border-radius: 12px;
}

.toggle-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
    padding: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.toggle-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.toggle {
    width: 50px;
    height: 28px;
    background: #333;
    border-radius: 50px;
    position: relative;
    transition: 0.3s;
}

.toggle.active {
    background: #4ade80;
    /* Green active */
}

.toggle::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    background: white;
    border-radius: 50%;
    top: 2px;
    left: 2px;
    transition: 0.3s;
}

.toggle.active::after {
    left: 24px;
}

.cleanweb-shield {
    background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    border-left: 1px solid rgba(255, 255, 255, 0.05);
}

.shield-icon {
    font-size: 8rem;
    filter: drop-shadow(0 0 30px rgba(74, 222, 128, 0.4));
    z-index: 2;
}

.shield-pulse {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 2px solid rgba(74, 222, 128, 0.3);
    animation: shield-ripple 3s infinite;
}

@keyframes shield-ripple {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .cleanweb-card {
        grid-template-columns: 1fr;
    }

    .cleanweb-shield {
        padding: 50px 0;
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }
}

/* SEO Cards Details */
.section--seo-details {
    background-color: var(--color-bg-secondary);
}

.seo-card {
    background: var(--color-bg);
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.03);
}


.seo-card h3 {
    color: var(--color-text);
    margin-bottom: 5px;
    margin-top: 20px;
    font-size: 1.1rem;
}

.seo-card h2 {
    margin-bottom: 20px;
}

.seo-list {
    margin: 15px 0;
    padding-left: 20px;
    color: var(--color-text-muted);
}

.seo-list li {
    margin-bottom: 10px;
    list-style-type: disc;
    /* Ensure bullets show */
}

/* SEO Table */
.seo-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    color: var(--color-text-muted);
}

.seo-table th,
.seo-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.seo-table th {
    color: var(--color-primary);
    font-weight: 600;
}