* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", system-ui, sans-serif;
}

:root {
    --bg-main: #0b0f1a;
    --bg-secondary: #121a2b;
    --accent: #4f8cff;
    --text-main: #e5e9f0;
    --text-muted: #9aa4b2;
    --online: #2ecc71;
}

/* BASE */
body {
    background: var(--bg-main);
    color: var(--text-main);
    overflow-x: hidden;
}

/* BACKGROUND GLOW */
.bg-glow {
    position: fixed;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(79,140,255,0.15), transparent 70%);
    z-index: -1;
    animation: glowFloat 14s ease-in-out infinite;
}

@keyframes glowFloat {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, 30px); }
}

/* HEADER */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 8%;
}

.logo {
    font-size: 1.6rem;
    font-weight: 700;
}

.logo span {
    color: var(--accent);
}

nav a {
    margin-left: 24px;
    color: var(--text-muted);
    text-decoration: none;
    position: relative;
    transition: color 0.2s ease;
}

nav a::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.25s ease;
}

nav a:hover {
    color: var(--text-main);
}

nav a:hover::after {
    width: 100%;
}

/* HERO */
.hero {
    padding: 120px 8% 80px;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 16px;
    animation: fadeUp 0.8s ease forwards;
}

.hero p {
    color: var(--text-muted);
    margin-bottom: 32px;
    animation: fadeUp 1s ease forwards;
}

/* BUTTONS */
.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.btn {
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(79,140,255,0.25);
}

.primary {
    background: var(--accent);
    color: #fff;
}

.secondary {
    border: 1px solid var(--accent);
    color: var(--accent);
}

/* SECTIONS */
.section {
    padding: 80px 8%;
    max-width: 1200px;
    margin: auto;
}

.section h2 {
    font-size: 2rem;
    margin-bottom: 12px;
}

.section-desc {
    color: var(--text-muted);
    margin-bottom: 32px;
}

/* CARD GRID */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

/* CARDS */
.card {
    background: var(--bg-secondary);
    padding: 24px;
    border-radius: 12px;
    opacity: 0;
    transform: translateY(20px);
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
}

.card.reveal {
    opacity: 1;
    transform: translateY(0);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.35);
}

.card p {
    color: var(--text-muted);
    margin-top: 8px;
}

.card h3, .card h4 {
    margin-bottom: 12px;
    color: var(--text-main);
}

/* CONTACT CARDS */
.contact-card a {
    display: block;
    margin-top: 14px;
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
}

.contact-card a:hover {
    text-decoration: underline;
}

/* SERVER STATUS */
.server-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.server-name {
    font-weight: 600;
    color: var(--text-main);
}

.server-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--online);
    box-shadow: 0 0 10px rgba(46,204,113,0.7);
    animation: pulse 1.6s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 rgba(46,204,113,0.7); }
    50% { box-shadow: 0 0 14px rgba(46,204,113,1); }
    100% { box-shadow: 0 0 0 rgba(46,204,113,0.7); }
}

.server-specs li {
    list-style: none;
    margin-bottom: 6px;
    color: var(--text-muted);
}

/* SALES PANEL */
.sales-panel {
    margin-top: 48px;
    padding: 32px;
    background: linear-gradient(145deg, #121a2b, #0f1625);
    border: 1px solid rgba(79, 140, 255, 0.25);
    border-radius: 14px;
    text-align: center;
}

.sales-panel h3 {
    margin-bottom: 10px;
}

.sales-panel p {
    color: var(--text-muted);
    margin-bottom: 16px;
}

.sales-panel a {
    display: block;
    margin-bottom: 20px;
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
}

.sales-panel a:hover {
    text-decoration: underline;
}

/* PRICING DROPDOWN */
.pricing-toggle {
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
}

.pricing-dropdown {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, opacity 0.4s ease;
    opacity: 0;
    margin-top: 24px;
}

.pricing-dropdown.open {
    max-height: 1000px;
    opacity: 1;
}

/* PRICING CARDS */
.pricing-card ul {
    margin: 12px 0;
    padding-left: 0;
}

.pricing-card li {
    list-style: none;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.price {
    display: block;
    margin-top: 12px;
    font-weight: 700;
    color: var(--accent);
}

/* FOOTER */
footer {
    text-align: center;
    padding: 40px 8%;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ANIMATIONS */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}
.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 32px 8%;
    flex-wrap: wrap;
    border-top: 1px solid rgba(79,140,255,0.2);
    margin-bottom: 16px;
}

.footer-left {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.footer-logo {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo span {
    color: var(--accent);
}

.swiss-flag {
    width: 24px;
    height: auto;
    border-radius: 4px;
}

.ca-flag {
    width: 48px;
    height: auto;
    border-radius: 4px;
}

.footer-right {
    display: flex;
    gap: 48px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.footer-section h4 {
    color: var(--text-main);
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.footer-section a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 6px;
    transition: color 0.2s ease;
}

.footer-section a:hover {
    color: var(--accent);
}

/* Footer bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 8%;
    border-top: 1px solid rgba(79,140,255,0.2);
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    color: var(--text-muted);
    margin: 0;
}

.social-mini a {
    color: var(--accent);
    margin-left: 12px;
    text-decoration: none;
    font-weight: 600;
}

.social-mini a:hover {
    text-decoration: underline;
}
/* Minecraft hosting terms under price */
.mc-terms {
    margin-top: 8px;
    color: var(--text-muted);
    font-size: 0.9rem;
}
/* Minecraft hosting terms styling */
.mc-terms {
    font-style: italic;
}

.contact-form-trigger {
    margin-top: 40px;
    text-align: center;
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(11, 15, 26, 0.85);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1000;
}

.modal-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.modal {
    background: var(--bg-secondary);
    padding: 32px;
    border-radius: 14px;
    width: 100%;
    max-width: 480px;
    position: relative;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    animation: fadeUp 0.4s ease forwards;
}

.modal h3 {
    margin-bottom: 20px;
    text-align: center;
}

.modal-close {
    position: absolute;
    top: 14px;
    right: 18px;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--text-muted);
    cursor: pointer;
}

.modal-close:hover {
    color: var(--accent);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    margin-bottom: 16px;
    padding: 14px;
    border-radius: 8px;
    border: 1px solid rgba(79,140,255,0.25);
    background: #0f1625;
    color: var(--text-main);
    font-size: 0.95rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.contact-form button {
    width: 100%;
}

.contact-form select {
    width: 100%;
    margin-bottom: 16px;
    padding: 14px;
    border-radius: 8px;
    border: 1px solid rgba(79,140,255,0.25);
    background: #0f1625;
    color: var(--text-main);
    font-size: 0.95rem;
    appearance: none;
    cursor: pointer;
}

.contact-form select:focus {
    outline: none;
    border-color: var(--accent);
}

/* Hide honeypot + dynamic fields */
.hp-field {
    display: none !important;
}

.hidden-field {
    display: none;
}

/* Smooth reveal */
.hidden-field.show {
    display: block;
    animation: fadeUp 0.3s ease;
}
