:root {
    --primary: #ff6a00;
    --dark: #111;
    --muted: #666;
    --border: #eaeaea;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, sans-serif;
}

body {
    background: #fff;
    color: #111;
    line-height: 1.6;
}

.container {
    max-width: 520px;
    margin: auto;
    padding: 20px;
    position: relative;
}

.country-btn { 
    position: absolute; 
    right: 16px; 
    border: 1px solid var(--border); 
    background: #fff; 
    border-radius: 12px; 
    padding: 8px 12px; 
    cursor: pointer; 
    font-size: 14px; 
    display: flex; 
    align-items: center; 
    gap: 6px; 
    max-width: 180px; 
    overflow: hidden; 
    text-overflow: ellipsis; 
    white-space: nowrap; 
}

.country-btn:hover { 
    transform: scale(1.05); 
    box-shadow: 0 4px 12px rgba(0,0,0,.1); 
}

.badge { 
    background: #ffe8e0; 
    color: #d63000; 
    display: inline-block; 
    padding: 6px 12px; 
    border-radius: 999px; 
    font-weight: 600; 
    margin-bottom: 16px; 
}

.pulse { animation: pulse 1.5s infinite; }

@keyframes pulse { 
    0% { box-shadow: 0 0 0 0 rgba(255,106,0,.4); } 
    70% { box-shadow: 0 0 0 12px rgba(255,106,0,0); } 
    100% { box-shadow: 0 0 0 0 rgba(255,106,0,0); } 
}

h1 { font-size: 28px; margin-bottom: 12px; }

p { color: var(--muted); margin-bottom: 20px; }

.card { 
    border: 1px solid var(--border); 
    border-radius: 18px; 
    padding: 20px; 
    box-shadow: 0 10px 28px rgba(0,0,0,.06); 
}

.coupon code { font-size: 24px; font-weight: 900; color: var(--primary); }

.bonus-text { 
    text-align: center; 
    margin: 20px 0; 
    font-size: 24px; 
    font-weight: 800; 
    color: var(--primary); 
}

.btn { 
    display: block; 
    width: 100%; 
    padding: 16px; 
    border-radius: 14px; 
    text-align: center; 
    text-decoration: none; 
    color: #fff; 
    font-weight: 600; 
    background: var(--primary); 
    margin-bottom: 12px; 
}

.btn.secondary { background: var(--dark); }

.timer { margin: 12px 0; text-align: center; font-weight: 600; color: #d60000; }

.trust-badge { 
    background: #e8f5e9; 
    color: #2e7d32; 
    padding: 10px 16px; 
    border-radius: 12px; 
    text-align: center; 
    font-weight: 600; 
    margin: 16px 0; 
    font-size: 15px; 
}

.reviews { 
    margin-top: 24px; 
    background: #f9f9f9; 
    border-radius: 12px; 
    padding: 16px; 
}

.review { 
    display: flex; 
    align-items: start; 
    gap: 12px; 
    margin-bottom: 16px; 
    font-size: 14px; 
}

.review-stars { color: #ffb400; font-size: 18px; }

.faq { margin-top: 24px; }

.faq h2 { font-size: 20px; margin-bottom: 12px; }

details { 
    border: 1px solid var(--border); 
    border-radius: 12px; 
    padding: 12px; 
    margin-bottom: 10px; 
}

summary { cursor: pointer; font-weight: 600; }

footer { 
    text-align: center; 
    font-size: 12px; 
    color: #aaa; 
    margin-top: 30px; 
}

/* Modal - ქვეყნების არჩევა */
.modal { 
    display: none; 
    position: fixed; 
    inset: 0; 
    background: rgba(0,0,0,.4); 
    z-index: 50; 
    justify-content: center; 
    align-items: center; 
}

.modal-box { 
    background: #fff; 
    max-width: 420px; 
    width: 90%; 
    border-radius: 16px; 
    padding: 20px; 
    max-height: 80vh; 
    display: flex; 
    flex-direction: column; 
}

.search-fixed { 
    position: sticky; 
    top: 0; 
    background: #fff; 
    z-index: 10; 
    padding-bottom: 12px; 
    border-bottom: 1px solid var(--border); 
}

.search-fixed input { 
    width: 100%; 
    padding: 12px; 
    border-radius: 10px; 
    border: 1px solid var(--border); 
}

.country-list { 
    flex: 1; 
    overflow-y: auto; 
    margin-top: 10px; 
}

.country-item { 
    padding: 14px; 
    border-radius: 8px; 
    cursor: pointer; 
    display: flex; 
    align-items: center; 
    gap: 12px; 
    font-size: 18px; 
}

.country-item:hover { background: #f5f5f5; }

/* Coupon with "Tap to copy" label */
.coupon {
    position: relative;
    overflow: visible;
    border: 2px dashed var(--primary);
    border-radius: 16px;
    padding: 22px 20px 20px;
    text-align: center;
    margin-bottom: 16px;
    cursor: pointer;
}

.coupon span {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: #fff;
    font-size: 12px;
    padding: 6px 14px;
    border-radius: 999px;
    white-space: nowrap;
}

/* Fade-in for critical elements */
.container, .badge, .bonus-text, h1, p, .card {
    opacity: 0;
    animation: fadeIn 0.6s forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

/* Review form */
.review-toggle {
    width: 100%;
    margin: 24px 0 12px;
    padding: 14px;
    border-radius: 16px;
    border: 1px solid #ddd;
    background: #fff;
    font-weight: 600;
    cursor: pointer;
}

.review-toggle:hover { border-color: #000; }

.review-accordion {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height .45s ease, opacity .3s ease;
}

.review-accordion.active {
    max-height: 1200px;
    opacity: 1;
}

.review-inner {
    background: #fafafa;
    border: 1px solid #ddd;
    border-radius: 18px;
    padding: 20px;
}

.field { margin-bottom: 12px; }

.review-inner input,
.review-inner textarea {
    width: 100%;
    padding: 14px;
    border-radius: 14px;
    border: 1px solid #ddd;
    font-size: 14px;
}

.review-inner textarea {
    resize: vertical;
    min-height: 90px;
}

.review-inner input:focus,
.review-inner textarea:focus {
    outline: none;
    border-color: #000;
}

.rating-label { margin: 12px 0 6px; font-weight: 600; }

.rating-stars {
    display: flex;
    justify-content: center;
    gap: 10px;
    font-size: 26px;
    cursor: pointer;
    margin-bottom: 4px;
}

.rating-stars span {
    color: #ddd;
    transition: transform .15s ease, color .15s ease;
}

.rating-stars span.active { color: #000; }

.rating-stars span:hover { transform: scale(1.15); }

.error {
    font-size: 12px;
    color: #d60000;
    opacity: 0;
}

.error.show { opacity: 1; }

.submit-review {
    width: 100%;
    padding: 14px;
    border-radius: 16px;
    border: none;
    background: #000;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}

.submit-review:hover {
    background: #fff;
    color: #000;
    border: 1px solid #000;
}

.review-success {
    display: none;
    margin-top: 20px;
    padding: 16px;
    background: #e8f5e9;
    border-radius: 16px;
    text-align: center;
    font-weight: 600;
    color: #2e7d32;
    animation: fadeIn 0.5s ease;
}

/* Review output items */
.review {
    background: #fafafa;
    border: 1px solid #ddd;
    border-radius: 18px;
    padding: 16px;
}

.review-stars { text-align: center; font-size: 20px; margin-bottom: 8px; }

.review p {
    font-size: 14px;
    line-height: 1.5;
    white-space: pre-wrap;
    word-break: break-word;
    margin: 6px 0;
}

.review small {
    display: block;
    text-align: right;
    font-size: 12px;
    color: #555;
}

/* =======================
   GEO SUGGEST POPUP – ჩასწორებული (ცენტრში viewport-ზე)
   ======================= */
.geo-overlay {
    position: fixed;
    inset: 0;
    background: transparent;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.geo-overlay.show {
    display: flex;
}

.geo-modal {
    background: #fff;
    border-radius: 18px;
    width: calc(100% - 32px);
    max-width: 420px;
    padding: 22px;
    box-shadow: 0 10px 40px rgba(0,0,0,.25);
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.geo-close {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 28px;
    background: none;
    border: none;
    color: #555;
    cursor: pointer;
    line-height: 1;
}

.geo-title { margin: 0 0 6px; }

.geo-sub { margin: 0 0 14px; color: #555; }

.geo-suggest {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-bottom: 14px;
}

.geo-flag { font-size: 28px; }

.geo-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.geo-btn {
    padding: 12px 14px;
    border-radius: 12px;
    font-weight: 600;
    border: none;
    cursor: pointer;
}

.geo-btn.primary { background: var(--primary); color: #fff; }
.geo-btn.ghost { background: #f1f1f1; color: #111; }
.geo-btn.text { background: none; color: #555; }

/* Animation polish */
.geo-overlay {
    opacity: 0;
    transition: opacity .22s ease;
}

.geo-overlay.show {
    opacity: 1;
}

.geo-modal {
    transform: scale(0.95);
    opacity: 0;
    transition: all .22s ease;
}

.geo-overlay.show .geo-modal {
    transform: scale(1);
    opacity: 1;
}

/* FAQ accordion & styles (შენარჩუნებული) */
.faq-contact {
    margin-top: 14px;
}

.faq-toggle {
    width: 100%;
    background: #ff6a00;
    color: #fff;
    border: none;
    padding: 12px 16px;
    border-radius: 14px;
    font-weight: 800;
    cursor: pointer;
}

.faq-accordion {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
    margin-top: 12px;
}

.faq-accordion.active { max-height: 520px; }

.faq-accordion form {
    background: rgba(255,255,255,.75);
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 16px;
    padding: 14px;
}

.submit-faq {
    width: 100%;
    background: #ff6a00;
    color: #fff;
    border: none;
    padding: 12px 16px;
    border-radius: 14px;
    font-weight: 800;
    cursor: pointer;
}

.faq-success {
    display: none;
    background: rgba(0, 121, 107, .10);
    color: #00796b;
    padding: 10px 12px;
    border-radius: 12px;
    margin-top: 10px;
    font-weight: 700;
    text-align: center;
}

/* =======================
   SEO sections (Global page)
   ======================= */
.section{
    margin-top: 20px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 10px 28px rgba(0,0,0,.04);
}
.section h2{
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--dark);
}
.section-note{
    margin-top: 8px;
    font-size: 14px;
    color: var(--muted);
}
.steps{
    margin: 0;
    padding-left: 18px;
    color: #333;
}
.steps li{ margin: 8px 0; }
.inline-code{
    display: inline-block;
    padding: 2px 8px;
    border: 1px solid var(--border);
    border-radius: 999px;
    font-weight: 800;
    color: var(--primary);
    background: #fff7f2;
}
.meta-row{
    display:flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin: 14px 0 0;
}
.meta-pill{
    border: 1px solid var(--border);
    background: #fff;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 12px;
    color: #333;
}
.country-links{
    display:flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}
.country-links a{
    border: 1px solid var(--border);
    background: #fafafa;
    padding: 10px 12px;
    border-radius: 14px;
    font-weight: 600;
    font-size: 14px;

    color: #111;
    text-decoration: none;
}
.country-links a:visited{color:#111;}
.country-links a:hover{text-decoration:none;}
.country-links a:hover{
    border-color: #000;
}
.all-countries{
    margin-top: 12px;
}
.trust-list{
    margin: 0;
    padding-left: 18px;
    color: #333;
}
.trust-list li{ margin: 8px 0; }

/* === Country link chips (make them look like buttons, not blue links) === */
.country-links a{
  color: #111 !important;
  text-decoration: none !important;
}
.country-links a:visited{ color:#111 !important; }
.country-links a:hover{
  text-decoration: none !important;
  transform: translateY(-1px);
}

.header-right{
  display:flex;
  gap:10px;
  align-items:center;
}

/* Top links (About / Privacy) */
.topbar{
  display:flex;
  justify-content:flex-end;
  gap:10px;
  margin-bottom: 10px;
}
.toplink{
  display:inline-flex;
  align-items:center;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  font-weight: 700;
  font-size: 13px;
  color: #111;
  text-decoration: none;
}
.toplink:hover{
  border-color:#000;
  text-decoration:none;
}
.reviews-note{
  margin-top: 6px;
  font-size: 13px;
  color: var(--muted);
}

/* === Country links: modern chips === */
.country-links{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:10px;
}
.country-links a{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid rgba(0,0,0,.10);
  background:#fafafa;
  color:#111 !important;
  text-decoration:none !important;
  font-weight:600;
  font-size:14px;
  line-height:1;
}
.country-links a:hover{
  border-color: rgba(0,0,0,.28);
  transform: translateY(-1px);
}
.country-links a:visited{ color:#111 !important; }

/* Footer plain links */
.footer-nav{
  margin-top: 10px;
  display:flex;
  gap:10px;
  justify-content:center;
  flex-wrap:wrap;
  font-size: 13px;
}
.footer-nav a{
  color: rgba(0,0,0,.65);
  text-decoration:none;
}
.footer-nav a:hover{
  text-decoration: underline;
}
.footer-nav .sep{
  color: rgba(0,0,0,.35);
}
.small{ font-size: 12px; }

/* Footer subtle links */
.footer-links{
  margin-top: 10px;
  font-size: 13px;
  opacity: .85;
}
.footer-links a{
  color: rgba(0,0,0,.65);
  text-decoration: none;
}
.footer-links a:hover{
  text-decoration: underline;
}
