/* =========================================
   ZKNZCODE HOSTING - REBOOT DESIGN SYSTEM
   Theme: "High Contrast SaaS"
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    --white: #ffffff;
    --black: #0f172a;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-500: #64748b;
    --primary: #2563eb;
    /* Brand Blue */
    --primary-dark: #1e40af;
    --accent: #4f46e5;
    /* Additional Indigo */

    --font-main: 'Plus Jakarta Sans', sans-serif;

    --container-width: 1200px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 24px;
}

/* Base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    background-color: var(--white);
    color: var(--black);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.2s;
}

.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
}

/* Typography */
h1,
h2,
h3 {
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.03em;
}

p {
    color: var(--gray-500);
    font-weight: 500;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
    display: inline-flex;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--black);
    color: white;
}

.btn-primary:hover {
    background: #334155;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border-color: var(--gray-200);
    color: var(--black);
}

.btn-outline:hover {
    border-color: var(--black);
    background: var(--gray-50);
}

.btn-text {
    color: var(--gray-500);
}

.btn-text:hover {
    color: var(--black);
}

.full-width {
    width: 100%;
    justify-content: center;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* Header */
.site-header {
    padding: 24px 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-actions {
    display: flex;
    gap: 16px;
    align-items: center;
}

.brand-logo img {
    height: 75px;
    filter: invert(1);
    /* Ensure it's black on white */
}

.footer-logo {
    height: 120px;
    /* Baya büyük */
    width: auto;
    display: block;
    margin-bottom: 24px;
    opacity: 1;
    /* Ensure clarity */
}

.main-nav {
    display: flex;
    gap: 32px;
}

.main-nav a {
    font-weight: 600;
    color: var(--gray-500);
}

.main-nav a:hover {
    color: var(--black);
}

/* Hero */
.hero-section {
    padding-top: 180px;
    padding-bottom: 100px;
    background: radial-gradient(circle at top right, #f1f5f9 0%, transparent 40%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 60px;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gray-50);
    padding: 6px 12px;
    border-radius: 99px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 24px;
    border: 1px solid var(--gray-200);
}

.dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    display: inline-block;
}

.hero-text h1 {
    font-size: 4rem;
    margin-bottom: 24px;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 32px;
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    border-top: 1px solid var(--gray-200);
    padding-top: 24px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-item strong {
    font-size: 1.5rem;
    color: var(--black);
}

.stat-item span {
    font-size: 0.9rem;
    color: var(--gray-500);
}

/* Hero Visual */
.floating {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.visual-card {
    background: #1e293b;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    color: white;
    font-family: 'Courier New', monospace;
    position: relative;
}

.visual-card::after {
    content: '';
    position: absolute;
    inset: -10px;
    z-index: -1;
    background: linear-gradient(45deg, var(--primary), var(--accent));
    border-radius: 20px;
    opacity: 0.2;
    filter: blur(20px);
}

.card-header {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.dot.red {
    background: #ef4444;
}

.dot.yellow {
    background: #eab308;
}

.dot.green {
    background: #22c55e;
}

.code-line {
    margin-bottom: 12px;
    color: #cbd5e1;
    font-size: 0.9rem;
}

.cmd {
    color: #f472b6;
    margin-right: 8px;
}

.success {
    color: #22c55e;
    margin-right: 8px;
}

.server-status-widget {
    margin-top: 24px;
    background: rgba(255, 255, 255, 0.05);
    padding: 16px;
    border-radius: 8px;
}

.widget-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.8rem;
}

.bar {
    width: 70%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

/* Minecraft Server List Card */
.mc-server-card {
    background: #000000;
    /* Deep black bg */
    border: 2px solid #585858;
    /* Minecraft gray border */
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 16px;
    font-family: 'Courier New', monospace;
    /* Monospaced for game feel */
    color: #aaaaaa;
    max-width: 600px;
    width: 100%;
    position: relative;
    box-shadow: 0 0 0 2px #000000;
    /* Double border effect */
}

.mc-icon {
    width: 64px;
    height: 64px;
    image-rendering: pixelated;
    /* Sharp pixels */
    flex-shrink: 0;
}

.mc-info {
    flex-grow: 1;
    line-height: 1.4;
}

.mc-name {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.mc-motd {
    color: #aaaaaa;
    font-size: 0.95rem;
}

.mc-motd span.highlight {
    color: #55ffff;
}

/* Aqua */
.mc-motd span.gold {
    color: #ffaa00;
}

/* Gold */

.mc-status {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.mc-count {
    color: #aaaaaa;
    font-size: 0.9rem;
}

.mc-signal {
    display: flex;
    gap: 2px;
    align-items: flex-end;
    height: 14px;
}

.signal-bar {
    width: 3px;
    background: #00aa00;
    /* Green signal */
    border-radius: 1px;
}

.signal-bar:nth-child(1) {
    height: 4px;
}

.signal-bar:nth-child(2) {
    height: 6px;
}

.signal-bar:nth-child(3) {
    height: 8px;
}

.signal-bar:nth-child(4) {
    height: 10px;
}

.signal-bar:nth-child(5) {
    height: 12px;
}

/* Tech Stack Bar */
.tech-stack-bar {
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
    padding: 20px 0;
    text-align: center;
    background: var(--white);
    font-weight: 600;
    color: var(--gray-500);
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.tech-stack-bar .separator {
    margin: 0 20px;
    color: var(--gray-200);
}

/* Common Section */
.section {
    padding: 100px 0;
}

.section-badge {
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 2px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
    text-align: center;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-desc {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

/* Bento Grid */
.bento-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 400px;
    gap: 24px;
}

.bento-card {
    background: var(--gray-50);
    border-radius: 24px;
    padding: 32px;
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
    transition: 0.3s;
}

.bento-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
}

.bento-card.large {
    grid-column: span 2;
    padding: 0;
    overflow: hidden;
    display: block;
}

.bento-card.full-img {
    padding: 0;
    overflow: hidden;
    display: block;
}

.bento-content {
    max-width: 100%;
    /* Allow text full width */
    margin-bottom: 0;
    z-index: 2;
}

.bento-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 0;
    display: block;
    box-shadow: none;
    transform: none;
    border-radius: 0;
}

.icon-box {
    font-size: 2rem;
    margin-bottom: 24px;
    background: white;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.bento-card h3 {
    margin-bottom: 12px;
    font-size: 1.5rem;
}

/* Pricing */
.pricing-section {
    padding-bottom: 100px;
    /* Reset to normal padding */
    position: relative;
    z-index: 1;
}



.pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    align-items: center;
}

.price-card {
    border: 1px solid var(--gray-200);
    border-radius: 20px;
    padding: 40px;
    background: white;
    transition: 0.3s;
}

.price-card.featured {
    border: 2px solid var(--black);
    transform: scale(1.05);
    /* Slight pop */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    background: var(--black);
    color: white;
}

.price-card.featured p {
    color: #94a3b8;
}

.price-card.featured h3 {
    color: white;
}

.price-card.featured .price {
    color: white;
}

.price-card.featured .features-list li {
    border-color: rgba(255, 255, 255, 0.1);
}

.price-card.featured .features-list li::before {
    color: #4ade80;
}

.popular-tag {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 4px 12px;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 99px;
    text-transform: uppercase;
}

.card-top {
    text-align: center;
    margin-bottom: 32px;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    margin: 16px 0;
}

.price span {
    font-size: 1rem;
    color: var(--gray-500);
    font-weight: 500;
}

.features-list {
    list-style: none;
    margin-bottom: 32px;
}

.features-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
}

.features-list li::before {
    content: '✓';
    margin-right: 8px;
    color: var(--primary);
    font-weight: 900;
}

/* Footer & CTA */
.site-footer {
    background: #020617;
    color: #94a3b8;
    position: relative;
    padding-top: 80px;
    /* Add padding for content inside footer */
}

/* Pre-Footer CTA - Now positioned absolutely to overlap neatly */
.footer-cta {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    z-index: 10;
}

.cta-box {
    background: #0f172a;
    /* Solid dark background to hide overlap lines */
    border-radius: 20px;
    padding: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 20px 60px -10px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

/* Ensure Logo is Large */
.footer-logo {
    height: 150px !important;
    /* Force resize */
    width: auto;
    display: block;
    margin-bottom: 24px;
    opacity: 1;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: radial-gradient(circle at top right, rgba(37, 99, 235, 0.15), transparent 60%);
    pointer-events: none;
}

.cta-box h2 {
    color: white;
    font-size: 2rem;
    margin-bottom: 12px;
}

.cta-box p {
    color: #cbd5e1;
    font-size: 1.1rem;
    max-width: 500px;
}

/* Main Footer */
.footer-main {
    padding-top: 40px;
    padding-bottom: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-col h4 {
    color: white;
    margin-bottom: 24px;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #64748b;
    transition: all 0.2s ease;
    font-size: 0.95rem;
    display: inline-block;
}

.footer-links a:hover {
    color: white;
    transform: translateX(4px);
}

.brand-col p {
    color: #64748b;
    font-size: 0.95rem;
    max-width: 300px;
    margin-bottom: 24px;
}

/* Social Icons */
.social-links {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    transition: 0.3s;
}

.social-icon:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transform: translateY(-2px);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 24px 0;
    background: #020617;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #475569;
}

.footer-credit {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #10b981;
    font-weight: 600;
}

.dot-status {
    width: 6px;
    height: 6px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 8px #10b981;
}

/* Mobile Footer */
@media (max-width: 768px) {
    .footer-cta {
        transform: translateY(0);
        margin: 40px 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .cta-box {
        flex-direction: column;
        text-align: center;
        gap: 24px;
        padding: 40px 20px;
    }

    .footer-bottom-inner {
        flex-direction: column;
        gap: 12px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .site-header {
        position: relative;
    }

    .main-nav,
    .header-actions {
        display: none;
    }

    /* Simplified for now */

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-text p {
        margin: 0 auto 30px;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .bento-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .bento-card.large {
        grid-column: span 1;
        flex-direction: column;
        text-align: center;
        padding-right: 32px;
    }

    .bento-img {
        display: none;
    }

    .pricing-cards {
        grid-template-columns: 1fr;
    }

    .price-card.featured {
        transform: scale(1);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}