@import url('https://fonts.googleapis.com/css2?family=Unbounded:wght@400;500;600;700;800;900&family=Onest:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-dark: #070707;
    --card-bg: rgba(20, 20, 20, 0.4);
    --card-border: rgba(255, 255, 255, 0.05);
    --accent: #ffffff;
    --text-muted: #8a8a8a;
    --text-primary: #ffffff;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --radius-main: 2.5rem;
    --radius-sub: 2rem;
    --radius-pill: 100px;
    --font-head: 'Unbounded', sans-serif;
    --font-body: 'Onest', sans-serif;
}

body.light-theme {
    --bg-dark: #f0f2f5;
    --card-bg: rgba(255, 255, 255, 0.7);
    --card-border: rgba(0, 0, 0, 0.08);
    --accent: #000000;
    --text-muted: #6b7280;
    --text-primary: #000000;
}

body.light-theme .btn-primary {
    background: #000;
    color: #fff;
}

body.light-theme .btn-order {
    background: #000;
    color: #fff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.5;
    font-family: var(--font-body);
    overflow-x: hidden;
    transition: background-color 0.4s ease, color 0.4s ease;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

.glass {
    background: var(--card-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

.border-subtle { border: 1px solid var(--card-border); }

/* Header */
header {
    position: fixed; top: 0; width: 100%; z-index: 1000; padding: 1.5rem 0;
}
.navbar {
    display: flex; justify-content: space-between; align-items: center;
    padding: 0.8rem 1.5rem; border-radius: var(--radius-pill) !important;
    max-width: 960px; margin: 0 auto; border: 1px solid var(--card-border);
    transition: var(--transition);
}
.logo { display: flex; align-items: center; gap: 0.8rem; font-weight: 800; font-size: 1.15rem; font-family: var(--font-head); }
.nav-links { display: flex; gap: 2rem; font-size: 0.85rem; font-weight: 500; color: var(--text-muted); }
.nav-links a { display: flex; align-items: center; gap: 0.4rem; }
.nav-links a:hover { color: var(--accent); }
.nav-actions { display: flex; align-items: center; gap: 1rem; }
.theme-toggle { cursor: pointer; font-size: 1.1rem; opacity: 0.6; transition: var(--transition); }
.theme-toggle:hover { opacity: 1; transform: rotate(15deg); }

.btn {
    padding: 0.6rem 1.4rem; border-radius: var(--radius-pill); font-size: 0.9rem; font-weight: 600; font-family: var(--font-body);
    cursor: pointer; transition: var(--transition); display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
}
.btn-primary { background: var(--accent); color: var(--bg-dark); border: none; }
.btn-primary:hover { box-shadow: 0 4px 15px rgba(255,255,255,0.1); transform: translateY(-2px); }

/* Hero Section (V3 - Exact Match) */
.hero-section {
    padding-top: 10rem;
    padding-bottom: 2rem;
}
.hero-card-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}
.hero-image-box {
    width: 100%;
    height: 500px;
    border-radius: var(--radius-main);
    overflow: hidden;
    position: relative;
}
.hero-bg-img {
    width: 100%; height: 100%; object-fit: cover;
}
.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    padding: 3.5rem; display: flex; align-items: flex-start;
}
.hero-box {
    max-width: 500px; padding: 2.5rem; border-radius: 2rem !important;
}
.hero-box h1 {
    font-family: var(--font-head); font-size: 2.4rem; font-weight: 900;
    line-height: 1.05; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: -0.02em;
}
.subtitle { font-size: 1rem; font-weight: 500; margin-bottom: 1rem; }
.badges { display: flex; gap: 0.5rem; margin-bottom: 1.5rem; }
.badge { background: rgba(255, 255, 255, 0.08); padding: 0.35rem 0.8rem; border-radius: var(--radius-pill); font-size: 0.8rem; font-weight: 500; color: var(--text-muted); border: 1px solid rgba(255,255,255,0.05); display: flex; align-items: center; gap: 0.4rem; }
.subtext { font-size: 0.95rem; color: var(--text-muted); }

/* Stats Cutout Magic (The Inverted Corner) */
.stats-cutout {
    position: absolute;
    bottom: 0;
    left: 0;
    background: var(--bg-dark);
    padding: 1.25rem 2rem 0 0;
    border-top-right-radius: var(--radius-sub);
    transition: background 0.4s ease;
}
.stats-cutout::before, .stats-cutout::after {
    content: ""; position: absolute;
    width: 2rem; height: 2rem;
    pointer-events: none;
    transition: box-shadow 0.4s ease;
}
.stats-cutout::before {
    top: -2rem; left: 0;
    border-bottom-left-radius: 2rem;
    box-shadow: -15px 15px 0 15px var(--bg-dark);
}
.stats-cutout::after {
    bottom: 0px; right: -2rem;
    border-bottom-left-radius: 2rem;
    box-shadow: -15px 15px 0 15px var(--bg-dark);
}
.stats-grid { display: flex; gap: 2.5rem; padding: 0.5rem 0 1rem 1rem; }
.stat-item { display: flex; align-items: center; gap: 0.8rem; }
.stat-icon-wrap { width: 36px; height: 36px; background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.05); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.stat-info .val { font-family: var(--font-head); font-size: 1.4rem; font-weight: 800; display: flex; align-items: baseline; gap: 0.3rem;}
.stat-info .lab-inline { font-size: 0.6rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; font-family: var(--font-body); }

/* Tariffs */
.section { padding: 5rem 0; }
.section-header h2 { font-family: var(--font-head); font-size: 2.5rem; font-weight: 900; margin-bottom: 0.5rem; letter-spacing: -0.04em; }
.section-header p { color: var(--text-muted); font-size: 1rem; }
.tariff-controls { display: flex; justify-content: space-between; align-items: center; margin: 2.5rem 0 3.5rem; flex-wrap: wrap; gap: 1.5rem; }
.tab-group, .currency-group { background: var(--card-bg); padding: 0.35rem; border-radius: 1.25rem; display: flex; border: 1px solid var(--card-border); backdrop-filter: blur(12px); }
.tab-btn, .curr-btn { padding: 0.6rem 1.25rem; border-radius: 1rem; font-size: 0.9rem; font-weight: 600; color: var(--text-muted); cursor: pointer; border: none; background: transparent; transition: var(--transition); display: flex; align-items: center; gap: 0.5rem; }
.tab-btn.active, .curr-btn.active { background: var(--accent); color: var(--bg-dark); }
.currency-group { border-radius: var(--radius-pill); }
.curr-btn { border-radius: var(--radius-pill); font-family: var(--font-head); padding: 0.5rem 1rem; font-size: 0.85rem;}

.tariffs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.tariff-card { padding: 2.5rem; border-radius: 2rem !important; position: relative; border: 1px solid var(--card-border); transition: var(--transition); display: flex; flex-direction: column; }
.tariff-card:hover { border-color: rgba(255,255,255,0.15); transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0,0,0,0.2); }
.tariff-badge { position: absolute; top: 1.5rem; right: 1.5rem; background: #FF3B30; color: #fff; padding: 0.25rem 0.6rem; border-radius: 0.5rem; font-weight: 800; font-size: 0.75rem; font-family: var(--font-head); }
.tariff-card-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 2rem; }
.flag { width: 36px; height: 24px; border-radius: 4px; object-fit: cover; }
.tariff-label h3 { font-family: var(--font-head); font-size: 1.25rem; font-weight: 800; line-height: 1; margin-bottom: 0.2rem;}
.tariff-label span { font-size: 0.7rem; color: var(--text-muted); font-weight: 700; text-transform: uppercase; }

.price-box { margin-bottom: 2.5rem; min-height: 50px; }
.price-old { margin-bottom: 0.2rem; }
.price-old-val { font-family: var(--font-head); font-size: 1rem; color: var(--text-muted); text-decoration: line-through; opacity: 0.8; }
.price-inline { display: flex; align-items: baseline; gap: 0.5rem; }
.price-main { font-family: var(--font-head); font-size: 2.25rem; font-weight: 900; letter-spacing: -0.04em; }
.price-sub { font-size: 0.9rem; color: var(--text-muted); font-weight: 600;}

.specs-list { margin-bottom: 2.5rem; flex-grow: 1; }
.spec-row { display: flex; justify-content: space-between; align-items: center; padding: 0.7rem 0; border-bottom: 1px dashed var(--card-border); }
.spec-row:last-child { border-bottom: none; }
.spec-info { display: flex; align-items: center; gap: 0.6rem; color: var(--text-muted); font-weight: 500; font-size: 0.85rem; }
.spec-val { font-weight: 700; font-size: 0.9rem; font-family: var(--font-head); }

.btn-order { background: var(--accent); color: var(--bg-dark); width: 100%; padding: 1rem; border-radius: 1rem; font-family: var(--font-head); font-weight: 800; font-size: 0.9rem; justify-content: center; gap: 0.5rem; border: none; cursor: pointer; transition: var(--transition); display: flex; align-items: center; }
.btn-order:hover { transform: scale(1.02); }

.general-info-box { padding: 2rem; border-radius: 1.5rem !important; display: flex; justify-content: space-around; flex-wrap: wrap; gap: 1rem; }
.flex-info { flex-direction: column; align-items: flex-start; gap: 0.2rem; }
.info-val { font-family: var(--font-head); font-size: 1rem !important; font-weight: 600; }

/* FAQ */
.faq-grid { max-width: 800px; margin: 0 auto; }
.faq-item { margin-bottom: 1rem; border-radius: 1rem !important; overflow: hidden; }
.faq-question { padding: 1.5rem; display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-weight: 600; font-family: var(--font-head); font-size: 1rem; }
.faq-toggle { display: flex; align-items: center; justify-content: center; color: var(--text-muted); }
.faq-answer { padding: 0 1.5rem 1.5rem; color: var(--text-muted); font-size: 0.95rem; }

/* Footer */
footer { padding: 4rem 0 2rem; border-top: 1px solid var(--card-border); margin-top: 4rem;}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 4rem; margin-bottom: 3rem;}
.footer-desc { color: var(--text-muted); font-size: 0.9rem; max-width: 300px; margin-top: 1rem; }
.footer-links h4 { margin-bottom: 1.5rem; font-size: 1.1rem; font-family: var(--font-head); }
.footer-links ul li { margin-bottom: 0.75rem; }
.footer-links a { color: var(--text-muted); font-size: 0.9rem; font-weight: 500; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom { text-align: center; color: var(--text-muted); font-size: 0.85rem; }

/* Background lines */
.bg-lines { position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: -1; }

.fade-up { animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 1024px) {
    .tariffs-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .tariffs-grid { grid-template-columns: 1fr; }
    .hero-image-box { border-bottom-left-radius: 0; }
    .stats-cutout { position: relative; padding: 2rem 0; background: transparent; }
    .stats-cutout::before, .stats-cutout::after { display: none; }
    .stats-grid { flex-wrap: wrap; background: var(--bg-dark); padding: 1.5rem; border-radius: 1.5rem; border: 1px solid var(--card-border); }
    .general-info-box { flex-direction: column; }
    .tab-group { overflow-x: auto; white-space: nowrap; width: 100%; }
}
