/* css/style.css */
:root {
    --bg-color: #030303;
    --mint-primary: #3EB489;
    --mint-glow: rgba(62, 180, 137, 0.4);
    --mint-dim: rgba(62, 180, 137, 0.1);
    --text-main: #F5F5F7; /* Apple off-white */
    --text-muted: #86868b;
    --glass-surface: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-highlight: rgba(255, 255, 255, 0.15);
    --danger: #ff453a;
    --font-stack: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --radius-lg: 24px;
    --radius-md: 16px;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); /* Apple ease */
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-stack);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* --- Háttér Zaj --- */
.noise-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
    z-index: -1;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* --- Header --- */
header {
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 1000;
    background: rgba(3, 3, 3, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    transition: transform 0.3s ease;
}

.header-inner {
    max-width: 1000px;
    margin: 0 auto;
    height: 64px;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    font-weight: 700;
    font-size: 18px;
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand::before {
    content: '';
    width: 8px; height: 8px;
    background: var(--mint-primary);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--mint-primary);
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: var(--transition);
}

.nav-link:hover { color: #fff; }

/* --- Layout --- */
.container {
    max-width: 1000px;
    margin: 100px auto 60px;
    padding: 0 24px;
}

/* --- Typography --- */
h1 {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    background: linear-gradient(180deg, #FFFFFF 0%, #A0A0A0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

h2 {
    font-size: 20px;
    color: #fff;
    margin: 40px 0 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

p, li { color: var(--text-muted); font-size: 16px; margin-bottom: 16px; }

/* --- Cards (Glassmorphism) --- */
.glass-card {
    background: var(--glass-surface);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 40px;
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    box-shadow: 0 40px 80px -20px rgba(0,0,0,0.5);
    transition: var(--transition);
}

/* --- Pricing Grid --- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.price-card {
    position: relative;
    display: flex;
    flex-direction: column;
}

.price-card:hover {
    transform: translateY(-8px) scale(1.01);
    border-color: var(--glass-highlight);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 20px rgba(62, 180, 137, 0.1);
}

.price-card.featured {
    border-color: rgba(62, 180, 137, 0.3);
    background: linear-gradient(180deg, rgba(62, 180, 137, 0.05) 0%, rgba(255,255,255,0.02) 100%);
}

.plan-price { font-size: 25px; font-weight: 700; color: #fff; margin: 16px 0; }
.plan-price span { font-size: 16px; color: var(--text-muted); font-weight: 400; }

/* --- Buttons --- */
.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 16px 24px;
    border-radius: 100px; /* Pill shape */
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    font-size: 15px;
    cursor: pointer;
}

.btn-primary {
    background: #fff;
    color: #000;
}
.btn-primary:hover {
    background: var(--mint-primary);
    box-shadow: 0 0 20px var(--mint-glow);
}

.btn-secondary {
    background: rgba(255,255,255,0.08);
    color: #fff;
    border: 1px solid transparent;
}
.btn-secondary:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.2);
}

/* --- Features List --- */
.features-list { list-style: none; margin: 24px 0 40px; }
.features-list li { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.features-list li::before { content: '✓'; color: var(--mint-primary); font-weight: bold; }

/* --- Tables & Info Boxes --- */
.info-box {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 24px;
    margin-bottom: 24px;
}

table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 24px 0; }
th { text-align: left; color: var(--mint-primary); padding: 16px; border-bottom: 1px solid var(--glass-border); }
td { padding: 16px; border-bottom: 1px solid var(--glass-border); color: var(--text-muted); }

/* --- Animációk --- */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delay a grid elemekhez */
.pricing-grid > *:nth-child(1) { transition-delay: 0.1s; }
.pricing-grid > *:nth-child(2) { transition-delay: 0.2s; }
.pricing-grid > *:nth-child(3) { transition-delay: 0.3s; }

footer {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
    font-size: 12px;
    border-top: 1px solid var(--glass-border);
    margin-top: 60px;
}

@media (max-width: 768px) {
    h1 { font-size: 32px; }
    .glass-card { padding: 24px; }
    .pricing-grid { grid-template-columns: 1fr; }
}