:root {
    /* თვალისთვის სასიამოვნო, ჩამქრალი ფერები */
    --blue: #0ea5e9; 
    --purple: #7e22ce;
    --dark: #05050a; /* ძალიან მუქი ფონი */
    --glass: rgba(15, 23, 42, 0.4); /* მუქი მინის ეფექტი */
    --glass-border: rgba(255, 255, 255, 0.05);
}

* {
    margin: 0; padding: 0; box-sizing: border-box;
    font-family: 'Fira GO', sans-serif; /* ნაგულისხმევი ფონტი EN/RU-სთვის */
    scroll-behavior: smooth;
}

body {
    background-color: var(--dark);
    color: #e2e8f0;
    overflow-x: hidden;
}

/* ==============================================================
   ქართული ენის "მთავრული" ფონტის იზოლირებული ლოგიკა
============================================================== */
html[lang="ka"] body,
html[lang="ka"] h1,
html[lang="ka"] h2,
html[lang="ka"] h3,
html[lang="ka"] p,
html[lang="ka"] a,
html[lang="ka"] span,
html[lang="ka"] div,
html[lang="ka"] input,
html[lang="ka"] button {
    font-family: 'BPG Nino Mtavruli', sans-serif !important;
    letter-spacing: 0.5px;
}

/* ზომების მორგება ქართული ფონტისთვის */
html[lang="ka"] h1 { font-size: 3.2rem; }
html[lang="ka"] .hero-text p { font-size: 1.1rem; }
html[lang="ka"] .glass-card p, html[lang="ka"] .glass-panel p { font-size: 0.95rem; }
html[lang="ka"] .nav-links a { font-size: 0.95rem; }
/* ============================================================== */

/* ანიმირებული ფონი */
.bg-animate {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(45deg, #05050a, #0b0b1a, #070712);
    z-index: -1;
}

.bg-animate::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.15) 0%, transparent 20%),
                radial-gradient(circle, rgba(126, 34, 206, 0.15) 0%, transparent 20%);
    background-position: 20% 30%, 80% 70%;
    filter: blur(100px);
    animation: moveBg 25s infinite alternate;
}

@keyframes moveBg {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.container {
    width: 85%; max-width: 1200px; margin: auto; padding: 80px 0;
}

/* ნავიგაცია */
header {
    position: fixed; top: 0; width: 100%; z-index: 100;
    background: rgba(5, 5, 10, 0.85);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
}

nav {
    display: flex; justify-content: space-between; align-items: center; height: 80px;
}

.logo { font-size: 1.5rem; font-weight: bold; letter-spacing: 2px; color: #fff;}
.logo span { color: var(--blue); }

.nav-links { display: flex; list-style: none; gap: 30px; }
.nav-links a { text-decoration: none; color: #cbd5e1; transition: 0.3s; }
.nav-links a:hover { color: var(--blue); }

.lang-box span { 
    margin-left: 10px; cursor: pointer; font-size: 0.85rem; 
    color: #64748b; font-weight: bold; transition: 0.3s;
}
.lang-box span:hover, .lang-box span.active { color: var(--blue); }

/* Hero სექცია */
.hero { height: 100vh; display: flex; align-items: center; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center;}

h1 { font-size: 3.5rem; line-height: 1.2; margin-bottom: 20px; color: #f8fafc; }
.hero-text p { font-size: 1.1rem; color: #94a3b8; margin-bottom: 30px; line-height: 1.6;}

.btn-main {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(to right, #0284c7, #6b21a8);
    border-radius: 50px;
    color: white;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 10px 20px rgba(2, 132, 199, 0.2);
    transition: 0.4s; border: none; cursor: pointer;
}

.btn-main:hover { transform: scale(1.05); box-shadow: 0 15px 25px rgba(2, 132, 199, 0.4); }

.hero-img { display: flex; justify-content: center; }
.retro-phone {
    width: 320px; 
    height: 320px;
    filter: drop-shadow(0 0 25px rgba(14, 165, 233, 0.15));
    animation: floatPhone 5s infinite ease-in-out;
}

@keyframes floatPhone {
    0%, 100% { transform: translateY(0) rotate(-3deg); }
    50% { transform: translateY(-20px) rotate(3deg); }
}

/* Glass Cards */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }

.glass-card, .glass-panel {
    background: var(--glass);
    backdrop-filter: blur(15px);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    transition: 0.4s;
}
.glass-panel { text-align: center; }
.glass-panel p { color: #94a3b8; margin-top: 15px; }

.glass-card:hover { background: rgba(30, 41, 59, 0.6); transform: translateY(-10px); }
.glass-card .icon { font-size: 2rem; margin-bottom: 15px; }
.glass-card h3 { margin-bottom: 10px; color: #e2e8f0; }
.glass-card p { color: #94a3b8; font-size: 0.95rem;}

/* პორტირების სპეციალური სტილი */
.highlight-panel {
    border-color: rgba(126, 34, 206, 0.3);
    box-shadow: 0 10px 30px rgba(126, 34, 206, 0.1);
}

.discount-badge {
    display: inline-block;
    margin-top: 25px;
    padding: 12px 25px;
    background: linear-gradient(to right, #0ea5e9, #7e22ce);
    border-radius: 30px;
    font-weight: bold;
    color: #fff;
    box-shadow: 0 5px 15px rgba(14, 165, 233, 0.3);
}

/* ტარიფები */
.tariff-table { background: var(--glass); border-radius: 20px; padding: 20px; border: 1px solid var(--glass-border); }
.table-row { display: flex; justify-content: space-between; padding: 20px; border-bottom: 1px solid rgba(255,255,255,0.05); }
.table-row:last-child { border-bottom: none; }
.table-row.head { color: var(--blue); font-weight: bold; font-size: 1.2rem; }
.price { color: #34d399; font-weight: bold; }

/* კონტაქტი */
.contact-box { display: flex; flex-direction: column; gap: 20px; max-width: 500px; margin: auto; }
input { 
    background: rgba(15, 23, 42, 0.6); 
    border: 1px solid var(--glass-border); 
    padding: 15px; border-radius: 10px; color: white; outline: none; transition: 0.3s;
}
input:focus { border-color: var(--blue); }

@media (max-width: 768px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-img { display: none; }
    h1 { font-size: 2.5rem; }
    .nav-links { display: none; }
}