/* --- FULLSCREEN IMAGE MODAL --- */
.img-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.88);
    justify-content: center;
    align-items: center;
}

.img-modal.open {
    display: flex;
}

.img-modal-content {
    max-width: 90vw;
    max-height: 90vh;
    width: auto;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.9);
    border: 3px solid var(--primary);
    object-fit: contain;
    display: block;
}

.img-modal-close {
    position: absolute;
    top: 32px;
    right: 48px;
    color: #fff;
    font-size: 3rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 2100;
    text-shadow: 0 2px 8px #000;
    transition: color 0.2s;
}

.img-modal-close:hover {
    color: var(--primary);
}

/* --- DESIGN SYSTEM --- */
:root {
    --primary: #7C4DFF;
    --primary-glow: #9166FF;
    --bg-body: #0D0D0D;
    --bg-card: #161616;
    --border: #252525;
    --text-main: #FFFFFF;
    --text-dim: #f3f3f3;
    --success: #4CAF50;
    --danger: #FF5252;
    --warning: #FF9800;
    --gold: #FFD700;
    --transition: all 0.3s ease;
    --section-spacing: 50px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- UTILITIES --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding {
    padding: var(--section-spacing) 0;
}

/* Global spacing between sections to ensure consistent gaps */
body>section {
    margin-bottom: 2.5rem;
}

@media (max-width: 768px) {
    body>section {
        margin-bottom: 3rem;
    }
}

@media (max-width: 480px) {
    body>section {
        margin-bottom: 4rem;
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 0.95rem;
    text-align: center;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 15px rgba(124, 77, 255, 0.3);
}

.btn-primary:hover {
    background: var(--primary-glow);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 77, 255, 0.5);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border);
    color: white;
}

.btn-outline:hover {
    border-color: var(--primary);
    background: rgba(124, 77, 255, 0.05);
}

.pulse {
    animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
    0% {
        box-shadow: 0 0 0 0px rgba(124, 77, 255, 0.4);
    }

    100% {
        box-shadow: 0 0 0 15px rgba(124, 77, 255, 0);
    }
}

h2.section-title {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    text-align: center;
    margin-bottom: 3rem;
    margin-top: 2rem;
    font-weight: 800;
}

h2.section-title span {
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin: 10px auto 0;
    border-radius: 2px;
}

/* --- NAVIGATION --- */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(13, 13, 13, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
    transition: var(--transition);
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: white;
    text-decoration: none;
}

.logo span {
    color: var(--primary);
    padding-left: 5px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: white;
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: white;
    transition: var(--transition);
}

/* --- HERO SECTION --- */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 120px 0 0;
}

.hero-bg-effects {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
}

.radial-glow {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: clamp(300px, 80vw, 600px);
    height: clamp(300px, 80vw, 600px);
    background: radial-gradient(circle, rgba(124, 77, 255, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.grid-pattern {
    position: absolute;
    width: 200%;
    height: 200%;
    background-image:
        linear-gradient(to right, rgba(124, 77, 255, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(124, 77, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    transform: perspective(500px) rotateX(60deg);
    animation: grid-move 20s linear infinite;
}

@keyframes grid-move {
    0% {
        transform: perspective(500px) rotateX(60deg) translateY(0);
    }

    100% {
        transform: perspective(500px) rotateX(60deg) translateY(50px);
    }
}

.hero-content h1 {
    font-size: clamp(2.2rem, 8vw, 2.2rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-logo {
    width: clamp(180px, 35vw, 320px);
    height: auto;
    display: block;
    margin: 0 auto 1.25rem;
}

.hero-content h1 span {
    color: var(--primary);
}

.hero-content p {
    color: var(--text-dim);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    font-size: clamp(1rem, 2vw, 1.1rem);
    padding: 0 1rem 1rem;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.app-mockup {
    width: 100%;
    max-width: 800px;
    background: #111;
    border: 1px solid var(--border);
    border-radius: 12px;
    margin: 0 auto;
    position: relative;
    box-shadow: 0 0 40px rgba(124, 77, 255, 0.1);
    overflow: hidden;
}

/* Dein Gradient-Rand bleibt unverändert */
.app-mockup::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 12px;
    padding: 1px;
    background: linear-gradient(to bottom, var(--primary), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 2;
}

/* NEUER INNER WRAPPER */
.app-mockup-inner {
    position: relative;
    display: block;
    padding: 0px;
    z-index: 1;
}

.app-mockup-inner img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
}

.placeholder-text {
    color: var(--text-dim);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    border: 1px dashed var(--primary);
    padding: 20px 40px;
    text-align: center;
    margin: 0 10px;
}

/* --- FEATURES --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

@media (max-width: 900px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --- MEDIA --- */
.media-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.media-item h4 {
    margin-top: 0.75rem;
    font-size: 1rem;
    font-weight: 700;
    text-align: left;
}

.video-wrap {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    /* 16:9 */
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.video-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.yt-facade {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    background: #000;
}

.yt-facade img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0.85;
    transition: opacity 0.2s;
}

.yt-facade:hover img {
    opacity: 1;
}

.yt-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 68px;
    height: 48px;
    background: #ff0000;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.2s;
    pointer-events: none;
}

.yt-facade:hover .yt-play-btn {
    background: #cc0000;
    transform: translate(-50%, -50%) scale(1.08);
}

.yt-play-btn svg {
    width: 24px;
    height: 24px;
    fill: #fff;
    margin-left: 4px;
}

.feature-card {
    background: linear-gradient(165deg, #1c1c1c 0%, #131313 100%);
    border-radius: 20px;
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 1.75rem 1.9rem;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(124, 77, 255, 0.85), transparent);
    opacity: 0.45;
    transition: width 0.4s ease, opacity 0.4s ease;
    pointer-events: none;
}

.feature-card:hover::before {
    width: 80%;
    opacity: 1;
}

.hero-discord-link {
    color: var(--primary-glow);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid rgba(145, 102, 255, 0.4);
    transition: color 0.2s ease, border-color 0.2s ease;
}

.hero-discord-link:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
}

.feature-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at top center, rgba(124, 77, 255, 0.1) 0%, transparent 65%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.feature-card:hover::after {
    opacity: 1;
}

.feature-card:hover {
    border-color: rgba(124, 77, 255, 0.45);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(124, 77, 255, 0.15), inset 0 1px 0 rgba(124, 77, 255, 0.18);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: rgba(124, 77, 255, 0.09);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    border: 1px solid rgba(124, 77, 255, 0.2);
    margin: 2.25rem auto 1.25rem;
    flex-shrink: 0;
    transition: box-shadow 0.35s ease, border-color 0.35s ease, background 0.35s ease;
    position: relative;
    z-index: 1;
}

.feature-card:hover .feature-icon {
    border-color: rgba(124, 77, 255, 0.55);
    background: rgba(124, 77, 255, 0.16);
    box-shadow: 0 0 0 8px rgba(124, 77, 255, 0.06), 0 0 28px rgba(124, 77, 255, 0.18);
}

.feature-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.3;
    margin: 0 0 0.5rem;
    position: relative;
    z-index: 1;
}

.feature-card p {
    color: var(--text-dim);
    font-size: 0.875rem;
    line-height: 1.65;
    margin: 0;
    opacity: 0.7;
    position: relative;
    z-index: 1;
}

/* --- SERVERS --- */
.server-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(320px, 1fr));
    gap: 1rem;
    justify-content: center;
    align-items: stretch;
}

.servers-toolbar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding: 0.85rem 1rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
}

.servers-meta {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    text-align: center;
}

.servers-meta span {
    color: var(--text-main);
    font-size: 0.86rem;
    font-weight: 600;
}

.servers-meta small {
    color: var(--text-dim);
    font-size: 0.78rem;
}

.server-card-top {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.7rem;
}

.server-card-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.server-card-status {
    margin-top: 0.3rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.server-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: none;
    opacity: 1;
}

.server-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.25rem;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
    transition: var(--transition);
}

.server-card:hover {
    border-color: var(--primary-glow);
    box-shadow: 0 8px 24px rgba(124, 77, 255, 0.10);
}

.server-placeholder {
    border: 1px dashed var(--border);
    background: var(--bg-card);
    border-radius: 12px;
    min-height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dim);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-align: center;
}

.server-identity {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.85rem;
    padding: 0.2rem 0.1rem 0.2rem 0.1rem;
}

.server-logo {
    width: 58px;
    height: 58px;
    background: transparent;
    /* remove fill */
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    /* subtle outline */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.55rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: var(--text-dim);
    flex-shrink: 0;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
    /* optional: keep light outer shadow */
}

.server-title-wrap {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
}

.server-title-wrap h3 {
    margin: 0;
    font-size: 1.35rem;
    line-height: 1.15;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: -0.01em;
}

.status-badge {
    justify-self: end;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 4px 9px;
    border-radius: 20px;
    font-size: 0.66rem;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    margin: 0;
    align-self: center;
    white-space: nowrap;
}

.status-badge::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 5px currentColor;
    flex-shrink: 0;
    align-self: center;
    transform: translateY(-1px);
}

.server-status-caption {
    color: var(--text-dim);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1;
}

.status-working {
    background: rgba(76, 175, 80, 0.1);
    color: var(--success);
}

.status-update {
    background: rgba(255, 152, 0, 0.1);
    color: var(--warning);
}

.status-offline {
    background: rgba(239, 83, 80, 0.12);
    color: #ef5350;
}

.server-description {
    position: relative;
    z-index: 1;
    color: var(--text-dim);
    font-size: 0.76rem;
    margin: 0;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    padding-left: 0.1rem;
}

.server-logo-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    padding: 5px;
}

.server-actions {
    position: relative;
    z-index: 1;
    margin-top: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    width: 100%;
    padding-top: 0.25rem;
}

.server-actions .btn {
    margin-top: 0;
    width: auto;
    text-align: center;
    padding: 0.44rem 0.62rem;
    font-size: 0.74rem;
    border-radius: 9px;
    flex: 1 1 calc(33.333% - 0.35rem);
    min-width: 86px;
    letter-spacing: 0.01em;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.03);
}

.server-actions .btn.btn-disabled {
    opacity: 0.45;
    pointer-events: none;
    cursor: not-allowed;
    box-shadow: none;
    border-color: var(--border);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-dim);
}

.server-state {
    justify-content: center;
    align-items: center;
    color: var(--text-dim);
    min-height: 120px;
    text-align: center;
    font-weight: 600;
}

.server-features-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2500;
    padding: 1.25rem;
}

.server-features-modal.open {
    display: flex;
}

.server-features-dialog {
    width: min(780px, 100%);
    max-height: 88vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: #111;
    border: 1px solid rgba(124, 77, 255, 0.3);
    border-radius: 18px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(124, 77, 255, 0.1);
}

.server-features-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.35rem 1.6rem;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(135deg, rgba(124, 77, 255, 0.08) 0%, transparent 60%);
    flex-shrink: 0;
}

.server-features-head h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.server-features-close {
    width: 32px;
    height: 32px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-dim);
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
}

.server-features-close:hover {
    background: rgba(255, 82, 82, 0.15);
    border-color: rgba(255, 82, 82, 0.4);
    color: #ff5252;
}

.server-features-body {
    overflow-y: auto;
    padding: 1.4rem 1.6rem;
    flex: 1;
    scrollbar-width: thin;
    scrollbar-color: rgba(124, 77, 255, 0.5) transparent;
}

.server-features-body::-webkit-scrollbar {
    width: 5px;
}

.server-features-body::-webkit-scrollbar-track {
    background: transparent;
}

.server-features-body::-webkit-scrollbar-thumb {
    background: rgba(124, 77, 255, 0.45);
    border-radius: 99px;
}

.server-features-body::-webkit-scrollbar-thumb:hover {
    background: rgba(124, 77, 255, 0.75);
}

.server-features-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.server-features-list li {
    color: var(--text-dim);
    font-size: 0.875rem;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid transparent;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.server-features-list li:hover {
    background: rgba(124, 77, 255, 0.06);
    border-color: rgba(124, 77, 255, 0.15);
}

.server-features-list li::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
    flex-shrink: 0;
    margin-top: 0.45rem;
    box-shadow: 0 0 6px rgba(124, 77, 255, 0.5);
}

.server-features-list li.feat-category {
    background: transparent;
    border: none;
    padding: 0.85rem 0 0.25rem;
    margin-top: 0.4rem;
    gap: 0.55rem;
    align-items: center;
}

.server-features-list li.feat-category:first-child {
    padding-top: 0;
    margin-top: 0;
}

.server-features-list li.feat-category::before {
    display: none;
}

.feat-category-text {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--primary-glow);
}

.feat-category-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, rgba(124, 77, 255, 0.35), transparent);
}

.server-features-list li.feat-no-data {
    justify-content: center;
    color: #555;
    font-style: italic;
    padding: 2rem;
    background: transparent;
    border: 1px dashed var(--border);
}

.server-features-list li.feat-note {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-left: 3px solid rgba(124, 77, 255, 0.4);
    color: #999;
    font-size: 0.82rem;
    font-style: italic;
    line-height: 1.6;
    padding: 0.6rem 0.9rem;
    border-radius: 6px;
    margin-top: 0.3rem;
}

.server-features-list li.feat-note::before {
    display: none;
}

/* --- TRIAL MODAL CONTACT BLOCKS --- */
.trial-contact-block {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.1rem 1.2rem;
    margin-bottom: 0.85rem;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.trial-contact-block:hover {
    background: rgba(124, 77, 255, 0.07);
    border-color: rgba(124, 77, 255, 0.25);
}

.trial-contact-icon {
    font-size: 1.6rem;
    flex-shrink: 0;
    line-height: 1;
    margin-top: 2px;
}

.trial-contact-label {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary-glow);
    margin-bottom: 0.25rem;
}

.trial-contact-value {
    display: inline-block;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-main);
    text-decoration: none;
    margin-bottom: 0.45rem;
    transition: color 0.2s ease;
}

.trial-contact-value:hover {
    color: var(--primary-glow);
    text-decoration: underline;
}

.trial-contact-desc {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-dim);
    opacity: 0.7;
    line-height: 1.6;
}

/* Alignment Fix: Push button to bottom */
.server-info .btn {
    margin-top: auto;
    align-self: flex-start;
}

/* --- PRICING --- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: stretch;
    /* Cards will have the same height */
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    /* Content stack */
    height: 100%;
}

.pricing-card.popular {
    border: 1px solid var(--primary);
    transform: scale(1.05);
    z-index: 2;
    box-shadow: 0 0 40px rgba(124, 77, 255, 0.15);
}

.pricing-card.lifetime {
    border-color: var(--gold);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 4px 15px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.price {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.price span {
    font-size: 1rem;
    color: var(--text-dim);
    font-weight: 400;
}

.pricing-features {
    list-style: none;
    margin: 2rem 0;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
    /* Pushes button down */
}

.pricing-features li {
    color: var(--text-dim);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.9rem;
    margin: 0;
    padding: 0.48rem 0.9rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.02);
    line-height: 1.3;
    max-width: 100%;
}

.pricing-feature-info {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border: 1px solid var(--border);
    border-radius: 50%;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.04);
    cursor: help;
    flex-shrink: 0;
}

.pricing-feature-info .info-tooltip {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 10px);
    transform: translateX(-50%) translateY(4px);
    width: min(280px, 72vw);
    padding: 0.65rem 0.75rem;
    border-radius: 10px;
    border: 1px solid rgba(124, 77, 255, 0.4);
    background: rgba(22, 22, 22, 0.98);
    color: var(--text-dim);
    font-size: 0.78rem;
    line-height: 1.4;
    text-align: left;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
    z-index: 20;
}

.pricing-feature-info .info-tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: rgba(124, 77, 255, 0.4);
}

.pricing-feature-info:hover .info-tooltip,
.pricing-feature-info:focus-visible .info-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    font-weight: 300;
}

.pricing-features li::before {
    content: "✓";
    color: var(--primary);
    font-weight: 800;
}

.lifetime .pricing-features li::before {
    color: var(--gold);
}

.pricing-note {
    margin: 0 0 1rem;
    padding: 8px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: rgb(117 117 117 / 5%);
    color: var(--text-dim);
    font-size: 0.75rem;
    line-height: 1.3;
    text-align: center;
}

.pricing-note strong {
    color: #e73939;
    font-weight: 700;
}

/* Ensure equal height buttons */
.pricing-card .btn {
    width: 100%;
    margin-top: auto;
}

/* --- PRICING: PAYMENT INFO --- */
.pricing-payment-info {
    margin-top: 2.75rem;
    text-align: center;
    color: var(--text-dim);
    font-size: 0.95rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding: 0.75rem 1rem 2rem 1rem;
    line-height: 1.4;
}

.pricing-payment-info strong {
    color: var(--text-main);
    font-weight: 700;
}

.pricing-payment-info.pricing-highlight {
    margin-top: 1.5rem;
    width: 100%;
    max-width: none;
    padding: 1rem 1.25rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: linear-gradient(180deg, rgb(141 141 141 / 9%) 0%, rgb(255 255 255 / 2%) 100%);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
}

.pricing-payment-info.pricing-highlight h4 {
    letter-spacing: 0.04em;
}

/* --- HOW IT WORKS --- */
.steps-container {
    display: flex;
    justify-content: space-between;
    position: relative;
    gap: 2rem;
}

.steps-container::after {
    content: "";
    position: absolute;
    top: 40px;
    left: 20%;
    right: 20%;
    height: 2px;
    border-top: 2px dashed var(--border);
    z-index: 1;
}

.step-item {
    flex: 1;
    text-align: center;
    z-index: 2;
}

.step-num {
    width: 80px;
    height: 80px;
    background: var(--bg-body);
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    margin: 0 auto 1.5rem;
}

.step-item h3 {
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
}

.step-item p {
    color: var(--text-dim);
    font-size: 0.9rem;
}

/* --- FAQ --- */
.faq-container {
    max-width: 850px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: var(--transition);
    overflow: hidden;
}

.faq-header {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.faq-header h3 {
    font-size: 1.05rem;
}

.faq-icon-wrapper {
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
}

.faq-item.active .faq-icon-wrapper {
    background: var(--primary);
    transform: rotate(135deg);
}

.faq-icon {
    width: 12px;
    height: 12px;
    position: relative;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background: white;
}

.faq-icon::before {
    width: 100%;
    height: 2px;
    top: 5px;
    left: 0;
}

.faq-icon::after {
    width: 2px;
    height: 100%;
    left: 5px;
    top: 0;
}

.faq-body {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s ease;
}

.faq-item.active .faq-body {
    grid-template-rows: 1fr;
}

.faq-content {
    overflow: hidden;
}

.faq-text {
    padding: 0 1.5rem 1.5rem 1.5rem;
    color: var(--text-dim);
    font-size: 0.95rem;
}

/* --- FOOTER --- */
footer {
    border-top: 1px solid var(--border);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-logo h2 {
    margin-bottom: 1rem;
}

.footer-logo p {
    color: var(--text-dim);
    font-size: 0.9rem;
    max-width: 300px;
}

.footer-col h4 {
    margin-bottom: 1.5rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.social-icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    color: var(--text-dim);
    font-size: 0.85rem;
}

/* --- COOKIE & BACK TO TOP --- */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 500px;
    background: var(--bg-card);
    border: 1px solid var(--primary);
    padding: 1.5rem;
    border-radius: 12px;
    z-index: 2000;
    display: none;
    /* hidden by default to prevent flash */
    flex-direction: column;
    gap: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

/* --- RESPONSIVE OVERRIDES --- */
@media (max-width: 1100px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-card.popular {
        grid-column: span 2;
        max-width: 450px;
        margin: 0 auto;
        transform: none;
        /* Disable scale for tablet layout */
    }
}

@media (max-width: 900px) {
    :root {
        --section-spacing: 70px;
    }

    .server-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        height: 100vh;
        background: var(--bg-body);
        flex-direction: column;
        justify-content: center;
        padding: 3rem;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 10px 0 30px rgba(0, 0, 0, 0.5);
        border-right: 1px solid var(--border);
    }

    .nav-links.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hero-content h1 {
        margin-bottom: 1rem;
    }

    .server-card {
        padding: 0.85rem;
    }

    .servers-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .servers-meta {
        text-align: center;
    }

    .server-logo {
        margin: 0;
    }

    .server-identity {
        grid-template-columns: 50px 1fr;
        grid-template-areas:
            "logo title"
            "logo badge";
        gap: 0.55rem 0.7rem;
        align-items: center;
    }

    .server-logo {
        grid-area: logo;
        width: 50px;
        height: 50px;
    }

    .server-title-wrap {
        grid-area: title;
    }

    .status-badge {
        grid-area: badge;
        justify-self: start;
    }

    .server-actions {
        justify-content: center;
    }

    .server-actions .btn {
        flex: 1 1 calc(50% - 0.25rem);
        min-width: 0;
    }

    .steps-container {
        flex-direction: column;
        gap: 3rem;
    }

    .steps-container::after {
        display: none;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card.popular {
        grid-column: span 1;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .footer-logo p {
        margin: 0 auto;
    }

    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-btns .btn {
        width: 100%;
    }

    .media-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        padding: 0 1.25rem 1.5rem;
    }

    .pricing-card {
        padding: 2rem 1.5rem;
    }

    /* Ensure container keeps side margin on small devices */
    .container {
        padding: 0 1rem;
    }

    /* Make the popular pricing card full width on small screens */
    .pricing-card.popular {
        max-width: none;
        width: 100%;
    }

    .server-row {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .features-grid {
        gap: 2rem;
    }

    .pricing-grid {
        gap: 2.5rem;
    }

    .faq-container {
        gap: 1.25rem;
    }
}