:root {
    /* --- Apple Style Color Palette --- */
    --bg-body: #F5F5F7;          /* Apple Hellgrau */
    --bg-card: #FFFFFF;          /* Reines Weiß */
    --bg-glass: rgba(255, 255, 255, 0.72); 
    
    --text-main: #1D1D1F;        /* Fast Schwarz */
    --text-muted: #86868B;       /* Apple Grau */
    
    --accent: #0071e3;           /* Apple Blau */
    --accent-hover: #0077ED;
    --accent-light: rgba(0, 113, 227, 0.1);
    --accent-gradient: linear-gradient(135deg, #0071e3 0%, #42a5f5 100%);
    
    --border: rgba(0, 0, 0, 0.08); 
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.08);
    --shadow-xl: 0 30px 60px rgba(0, 0, 0, 0.12);
    
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    
    --font-main: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
    --max-width: 1200px;
}

/* --- Base Setup --- */
*, *::before, *::after { box-sizing: border-box; }

body {
    margin: 0;
    font-family: var(--font-main);
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.5;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; transition: 0.2s; }
a:hover { color: var(--accent-hover); }

/* --- Layout Utility --- */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.text-center { text-align: center; }

/* --- Header / Navigation --- */
.guest-header {
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed; /* Sticky Header */
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand-icon {
    width: 36px; height: 36px;
    background: var(--text-main); color: white;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-weight: 700; font-size: 18px; letter-spacing: -0.02em; }
.brand-sub { font-size: 11px; color: var(--text-muted); font-weight: 500; }

.guest-nav { display: flex; align-items: center; gap: 24px; }
.nav-item { color: var(--text-muted); font-weight: 500; font-size: 14px; }
.nav-item:hover { color: var(--text-main); }

/* --- Buttons --- */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 10px 22px; border-radius: 99px;
    font-size: 14px; font-weight: 600; cursor: pointer;
    transition: all 0.2s ease; border: none;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
    background: var(--text-main); /* Apple Style Black Button */
    color: white;
}
.btn-primary:hover { background: #333; box-shadow: 0 4px 15px rgba(0,0,0,0.2); }

.btn-ghost { background: transparent; color: var(--text-main); border: 1px solid rgba(0,0,0,0.1); }
.btn-ghost:hover { background: rgba(0,0,0,0.05); border-color: rgba(0,0,0,0.2); }

.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-lg { padding: 14px 32px; font-size: 16px; }
.btn-full { width: 100%; }

/* --- Landing Page: HERO --- */
.hero {
    padding-top: 140px; /* Space for fixed header */
    padding-bottom: 80px;
    background: radial-gradient(circle at 50% 0%, #E3F2FD 0%, #FFFFFF 70%);
    overflow: hidden;
}

.hero-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
}

.hero-pill {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(0, 113, 227, 0.08); color: var(--accent);
    padding: 6px 14px; border-radius: 99px;
    font-size: 12px; font-weight: 600; margin-bottom: 24px;
}

.pulse-dot {
    width: 8px; height: 8px; background: var(--accent);
    border-radius: 50%; box-shadow: 0 0 0 2px rgba(0, 113, 227, 0.3);
}

.hero-title {
    font-size: 64px; line-height: 1.05; font-weight: 800;
    letter-spacing: -0.03em; margin: 0 0 24px 0;
}

.text-gradient {
    background: var(--accent-gradient);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 20px; color: var(--text-muted); line-height: 1.6;
    margin-bottom: 40px; max-width: 500px;
}
.highlight { color: var(--text-main); font-weight: 600; }

.hero-actions { display: flex; gap: 16px; margin-bottom: 30px; }
.hero-trust { display: flex; gap: 20px; font-size: 13px; color: var(--text-muted); font-weight: 500; }

/* Hero Visual (Right Side Card) */
.hero-visual { position: relative; perspective: 1000px; }

.server-card-preview {
    background: white; border-radius: var(--radius-xl);
    padding: 30px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border);
    transform: rotateY(-5deg) rotateX(2deg);
    transition: transform 0.5s ease;
    position: relative; z-index: 2;
}
.hero-visual:hover .server-card-preview { transform: rotateY(0) rotateX(0); }

.preview-header { display: flex; justify-content: space-between; margin-bottom: 20px; }
.region-badge { font-size: 12px; background: #f5f5f7; padding: 4px 10px; border-radius: 8px; }

.preview-body .preview-row {
    display: flex; justify-content: space-between; margin-bottom: 12px; font-weight: 500;
}
.preview-divider { height: 1px; background: #eee; margin: 20px 0; }
.preview-info strong { display: block; font-size: 18px; margin-bottom: 4px; }
.preview-info p { color: var(--text-muted); font-size: 13px; margin: 0; }

/* --- FEATURES SECTION --- */
.section-features { padding: 100px 0; background: #fff; }
.section-title { font-size: 40px; font-weight: 700; margin: 0 0 10px 0; letter-spacing: -0.02em; }
.section-subtitle { font-size: 18px; color: var(--text-muted); margin-bottom: 60px; }

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

.feature-card {
    padding: 30px; border-radius: var(--radius-lg);
    background: var(--bg-body); transition: 0.3s;
}
.feature-card:hover { transform: translateY(-5px); background: #f0f0f5; }
.feature-icon { font-size: 32px; margin-bottom: 20px; }
.feature-card h3 { margin: 0 0 10px 0; font-size: 18px; font-weight: 700; }
.feature-card p { color: var(--text-muted); margin: 0; line-height: 1.6; }

/* --- PRICING SECTION --- */
.section-pricing { padding: 100px 0; }

.pricing-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px; align-items: start;
}

.pricing-card {
    background: var(--bg-card); padding: 40px 30px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md); position: relative;
    transition: 0.3s;
}

.pricing-card:hover { box-shadow: var(--shadow-xl); transform: translateY(-5px); }

.pricing-card.featured {
    border: 2px solid var(--accent);
    box-shadow: 0 20px 50px rgba(0, 113, 227, 0.15);
}

.featured-badge {
    position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
    background: var(--accent); color: white;
    padding: 6px 16px; border-radius: 99px;
    font-size: 12px; font-weight: 600; text-transform: uppercase;
}

.plan-header { text-align: center; margin-bottom: 30px; }
.plan-header h3 { margin: 0; font-size: 20px; font-weight: 600; }
.price { font-size: 42px; font-weight: 800; margin: 10px 0; color: var(--text-main); }
.price span { font-size: 16px; font-weight: 500; color: var(--text-muted); }
.plan-header p { color: var(--text-muted); font-size: 14px; }

.plan-features { list-style: none; padding: 0; margin: 0 0 30px 0; }
.plan-features li {
    padding: 12px 0; border-bottom: 1px solid #f0f0f0;
    text-align: center; font-size: 14px; color: var(--text-main);
}
.plan-features li:last-child { border-bottom: none; }

/* --- FOOTER --- */
.guest-footer {
    padding: 40px 0; border-top: 1px solid var(--border);
    background: white; text-align: center; font-size: 13px; color: var(--text-muted);
}
.footer-content { display: flex; justify-content: space-between; max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: var(--text-muted); }
.footer-links a:hover { color: var(--text-main); text-decoration: underline; }

/* --- Status Pills --- */
.status-pill {
    display: inline-flex; align-items: center; padding: 4px 10px;
    border-radius: 99px; font-size: 11px; font-weight: 600;
}
.status-active { background: rgba(52, 199, 89, 0.15); color: #248a3d; }

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
    .guest-header { padding: 15px 20px; }
    .hero { padding-top: 100px; padding-bottom: 40px; text-align: center; }
    .hero-container { grid-template-columns: 1fr; gap: 40px; }
    .hero-actions { justify-content: center; }
    .hero-trust { justify-content: center; }
    .hero-subtitle { margin-left: auto; margin-right: auto; }
    .hero-title { font-size: 42px; }
    .footer-content { flex-direction: column; gap: 20px; align-items: center; }
    .hero-visual { display: none; /* Hide 3D card on mobile to save space */ }
}

/* --- DARK MODE SUPPORT --- */
html[data-theme="dark"] {
    --bg-body: #000000;
    --bg-card: #151516;
    --text-main: #F5F5F7;
    --text-muted: #86868B;
    --border: rgba(255, 255, 255, 0.12);
}

html[data-theme="dark"] .hero {
    background: radial-gradient(circle at 50% 0%, #1a1a2e 0%, #000000 70%);
}
html[data-theme="dark"] .guest-header { background: rgba(0,0,0,0.8); }
html[data-theme="dark"] .section-features { background: #050505; }
html[data-theme="dark"] .feature-card { background: #111; }
html[data-theme="dark"] .server-card-preview { background: #111; border-color: #333; }
html[data-theme="dark"] .guest-footer { background: #000; }
html[data-theme="dark"] .btn-primary { background: white; color: black; }
html[data-theme="dark"] .btn-primary:hover { background: #e0e0e0; }