/*
Theme Name:  GlobeeSIM
Theme URI:   http://82.25.102.122
Author:      GlobeeSIM
Description: Custom theme for GlobeeSIM — International eSIM plans for travelers.
Version:     1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License:     GNU General Public License v2 or later
Text Domain: globeesim
*/

/* ─── Reset & Base ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:    #2563eb;
  --primary-dk: #1d4ed8;
  --accent:     #06b6d4;
  --dark:       #0f172a;
  --dark2:      #1e293b;
  --mid:        #475569;
  --light:      #f1f5f9;
  --white:      #ffffff;
  --radius:     12px;
  --shadow:     0 4px 24px rgba(0,0,0,.08);
  --shadow-lg:  0 12px 40px rgba(0,0,0,.14);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
ul { list-style: none; }

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

/* ─── Buttons ──────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .8rem 1.75rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  transition: all .2s ease;
  border: 2px solid transparent;
  white-space: nowrap;
  text-decoration: none;
}
.btn-primary  { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dk); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(37,99,235,.35); color: var(--white); }
.btn-ghost    { background: transparent; color: var(--white); border-color: rgba(255,255,255,.5); }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-outline  { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--white); }
.btn-white    { background: var(--white); color: var(--primary); }
.btn-white:hover { background: var(--light); }
.btn-sm       { padding: .55rem 1.2rem; font-size: .875rem; }
.btn-full     { width: 100%; text-align: center; }

/* ─── Navbar ───────────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: transparent;
  transition: background .3s, box-shadow .3s;
}
.navbar.scrolled {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 16px rgba(0,0,0,.1);
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 2rem;
}
.nav-logo {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.5px;
}
.navbar.scrolled .nav-logo { color: var(--dark); }

.nav-links { display: flex; gap: 1.75rem; }
.nav-links a { font-size: .9rem; font-weight: 500; color: rgba(255,255,255,.85); transition: color .2s; }
.nav-links a:hover { color: var(--white); }
.navbar.scrolled .nav-links a { color: var(--mid); }
.navbar.scrolled .nav-links a:hover { color: var(--primary); }

.nav-actions { display: flex; align-items: center; gap: 1rem; }
.nav-burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.4rem;
  color: var(--white);
  line-height: 1;
}
.navbar.scrolled .nav-burger { color: var(--dark); }
.nav-mobile { display: none; }

/* ─── Hero ─────────────────────────────────────────────── */
.hero {
  position: relative;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 60%, #1d4ed8 100%);
  color: var(--white);
  padding: 8rem 0 0;
  overflow: hidden;
}
.hero-bg-dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding-bottom: 5rem;
  position: relative;
  z-index: 1;
}
.badge {
  display: inline-block;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  padding: .35rem 1rem;
  border-radius: 100px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .03em;
  margin-bottom: 1.25rem;
}
.hero-text h1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.02em;
  margin-bottom: 1.25rem;
}
.gradient-text {
  background: linear-gradient(90deg, #67e8f9, #a5b4fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,.75);
  max-width: 480px;
  margin-bottom: 2rem;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.75rem; }
.hero-trust { display: flex; gap: 1.5rem; font-size: .85rem; color: rgba(255,255,255,.65); flex-wrap: wrap; }

/* Phone mockup */
.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; }
.phone-mock {
  width: 220px; height: 400px;
  background: #fff;
  border-radius: 36px;
  border: 10px solid #1e293b;
  box-shadow: 0 30px 80px rgba(0,0,0,.4);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.phone-screen {
  background: linear-gradient(160deg, #0f172a, #1e3a8a);
  width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .5rem; color: #fff; padding: 1.5rem; text-align: center;
}
.signal-icon { font-size: 2.5rem; }
.signal-label { font-weight: 700; font-size: .95rem; }
.signal-status { font-size: .75rem; color: #6ee7b7; font-weight: 600; }
.signal-bars { display: flex; align-items: flex-end; gap: 3px; height: 20px; margin-top: .25rem; }
.bar { width: 6px; border-radius: 2px; }
.bar-1,.bar-2,.bar-3,.bar-4 { background: #6ee7b7; }
.bar-5 { background: rgba(255,255,255,.2); }
.bar-1{height:8px;} .bar-2{height:11px;} .bar-3{height:14px;} .bar-4{height:17px;} .bar-5{height:20px;}
.data-pill { margin-top:.5rem; background:rgba(255,255,255,.1); border-radius:100px; padding:.25rem .75rem; font-size:.7rem; font-weight:600; }
.float-card {
  position: absolute;
  background: var(--white); color: var(--dark);
  padding: .6rem 1.1rem; border-radius: 10px;
  font-size: .8rem; font-weight: 600;
  box-shadow: var(--shadow-lg); white-space: nowrap;
}
.card-top { top: 15%; right: -10px; }
.card-bot { bottom: 20%; left: -15px; }

.trust-bar {
  background: rgba(0,0,0,.25);
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1rem 0; position: relative; z-index: 1;
}
.trust-bar-inner {
  display: flex; justify-content: center; align-items: center;
  gap: 1.25rem; flex-wrap: wrap;
  font-size: .85rem; font-weight: 500; color: rgba(255,255,255,.75);
}
.divider { color: rgba(255,255,255,.25); }

/* ─── Sections shared ──────────────────────────────────── */
.section { padding: 5rem 0; }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 800; letter-spacing: -.02em; margin-bottom: .6rem; }
.section-header p { color: var(--mid); font-size: 1.05rem; max-width: 560px; margin: 0 auto; }
.section-tag {
  display: inline-block;
  background: #eff6ff; color: var(--primary);
  font-size: .78rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  padding: .3rem .9rem; border-radius: 100px; margin-bottom: 1rem;
}

/* ─── How It Works ─────────────────────────────────────── */
.how { background: var(--light); }
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.step { background: var(--white); border-radius: var(--radius); padding: 2rem; text-align: center; box-shadow: var(--shadow); position: relative; }
.step-num { font-size: .75rem; font-weight: 700; color: var(--primary); letter-spacing: .1em; margin-bottom: .5rem; }
.step-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.step h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: .5rem; }
.step p  { color: var(--mid); font-size: .92rem; }
.step-arrow { position:absolute; right:-1.25rem; top:50%; transform:translateY(-50%); font-size:1.5rem; color:#cbd5e1; z-index:1; }

/* ─── Features ─────────────────────────────────────────── */
.features-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(260px,1fr)); gap: 1.5rem; }
.feature-card { background: var(--white); border: 1px solid #e2e8f0; border-radius: var(--radius); padding: 1.75rem; transition: transform .2s, box-shadow .2s; }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature-icon { font-size: 2rem; margin-bottom: .75rem; }
.feature-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: .4rem; }
.feature-card p  { color: var(--mid); font-size: .9rem; line-height: 1.6; }

/* ─── Destinations ─────────────────────────────────────── */
.destinations { background: var(--light); }
.dest-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(160px,1fr)); gap: 1rem; }
.dest-card { background: var(--white); border-radius: var(--radius); padding: 1rem 1.25rem; display: flex; align-items: center; gap: .6rem; font-size: .9rem; font-weight: 500; border: 1px solid #e2e8f0; position: relative; transition: box-shadow .2s; }
.dest-card:hover { box-shadow: var(--shadow); }
.dest-flag { font-size: 1.4rem; }
.dest-badge { position: absolute; top:-6px; right:8px; background: var(--primary); color:#fff; font-size:.65rem; font-weight:700; padding:.1rem .45rem; border-radius:100px; }
.dest-more { text-align:center; margin-top:1.5rem; color:var(--mid); font-size:.9rem; }
.dest-more a { color: var(--primary); font-weight: 600; }

/* ─── Plans ────────────────────────────────────────────── */
.plans-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; align-items: start; }
.plan-card { background: var(--white); border: 1px solid #e2e8f0; border-radius: var(--radius); padding: 2rem; position: relative; transition: transform .2s, box-shadow .2s; }
.plan-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.plan-featured { border-color: var(--primary); background: #eff6ff; transform: scale(1.04); box-shadow: 0 12px 40px rgba(37,99,235,.18); }
.plan-badge { position:absolute; top:-14px; left:50%; transform:translateX(-50%); background:var(--primary); color:#fff; font-size:.75rem; font-weight:700; padding:.3rem 1rem; border-radius:100px; white-space:nowrap; }
.plan-header { text-align:center; margin-bottom:1.5rem; padding-bottom:1.5rem; border-bottom:1px solid #e2e8f0; }
.plan-header h3 { font-size:1.1rem; font-weight:700; margin-bottom:.75rem; }
.price-amount { font-size:2.5rem; font-weight:800; color:var(--primary); }
.price-period { font-size:.9rem; color:var(--mid); }
.plan-tagline { font-size:.82rem; color:var(--mid); margin-bottom:.5rem; }
.plan-data { margin-top:.4rem; font-size:.85rem; font-weight:600; color:var(--mid); }
.plan-features { margin-bottom:1.75rem; }
.plan-features li { display:flex; align-items:center; gap:.6rem; padding:.45rem 0; font-size:.9rem; border-bottom:1px solid rgba(0,0,0,.04); }
.check { color:#16a34a; font-weight:700; }
.plans-note { text-align:center; margin-top:1.5rem; color:var(--mid); font-size:.8rem; }

/* ─── Testimonials ─────────────────────────────────────── */
.testimonials { background: var(--dark); color: var(--white); }
.testimonials .section-tag { background: rgba(255,255,255,.1); color: #a5f3fc; }
.testimonials .section-header h2 { color: var(--white); }
.testimonials .section-header p  { color: rgba(255,255,255,.6); }
.rating-summary { display:flex; align-items:center; justify-content:center; gap:.75rem; margin-top:1rem; font-size:.9rem; color:rgba(255,255,255,.7); }
.rating-summary .stars { color:#fbbf24; font-size:1.1rem; }
.rating-summary strong { color:var(--white); }
.reviews-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.review-card { background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.08); border-radius:var(--radius); padding:1.5rem; }
.review-top { display:flex; align-items:center; gap:1rem; margin-bottom:1rem; }
.review-avatar { width:44px; height:44px; border-radius:50%; background:linear-gradient(135deg,var(--primary),var(--accent)); color:#fff; font-weight:700; font-size:.85rem; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.review-top strong { font-size:.95rem; display:block; }
.review-location { font-size:.8rem; color:rgba(255,255,255,.5); }
.review-stars { margin-left:auto; color:#fbbf24; font-size:.95rem; }
.review-text { font-size:.88rem; color:rgba(255,255,255,.7); line-height:1.65; }

/* ─── CTA Banner ───────────────────────────────────────── */
.cta-banner { background:linear-gradient(135deg,var(--primary) 0%,#7c3aed 100%); padding:5rem 0; text-align:center; color:var(--white); }
.cta-inner h2 { font-size:clamp(1.75rem,4vw,2.5rem); font-weight:800; margin-bottom:.75rem; }
.cta-inner p  { color:rgba(255,255,255,.8); margin-bottom:2rem; font-size:1.05rem; }

/* ─── FAQ ──────────────────────────────────────────────── */
.faq { background: var(--light); }
.faq-inner { max-width: 760px; margin: 0 auto; }
.faq-list { margin-top: .5rem; }
.faq-item { background:var(--white); border:1px solid #e2e8f0; border-radius:var(--radius); margin-bottom:.75rem; overflow:hidden; }
.faq-q { width:100%; background:none; border:none; text-align:left; padding:1.25rem 1.5rem; font-size:.95rem; font-weight:600; cursor:pointer; display:flex; justify-content:space-between; align-items:center; gap:1rem; color:var(--dark); font-family:inherit; }
.faq-icon { font-size:1.25rem; flex-shrink:0; color:var(--primary); }
.faq-a { padding:0 1.5rem 1.25rem; color:var(--mid); font-size:.92rem; line-height:1.7; display:none; }
.faq-item.open .faq-a { display:block; }

/* ─── Footer ───────────────────────────────────────────── */
.footer { background: var(--dark2); color: rgba(255,255,255,.7); }
.footer-grid { display:grid; grid-template-columns:2fr 1fr 1fr 1fr 1fr; gap:2.5rem; padding:4rem 0 3rem; }
.footer-logo { font-size:1.3rem; font-weight:800; color:var(--white); margin-bottom:.75rem; }
.footer-brand p { font-size:.88rem; line-height:1.65; max-width:240px; }
.footer-contact { margin-top:.75rem; }
.footer-email { font-size:.85rem; color:rgba(255,255,255,.7); transition:color .2s; }
.footer-email:hover { color:var(--white); }
.footer-social { display:flex; gap:1rem; margin-top:1rem; }
.footer-social a { opacity:.6; transition:opacity .2s; color:var(--white); display:flex; align-items:center; }
.footer-social a:hover { opacity:1; }
.footer-col h4 { font-size:.85rem; font-weight:700; color:var(--white); letter-spacing:.06em; text-transform:uppercase; margin-bottom:1rem; }
.footer-col ul li { margin-bottom:.6rem; }
.footer-col ul a { font-size:.88rem; transition:color .2s; }
.footer-col ul a:hover { color:var(--white); }
.footer-bottom { border-top:1px solid rgba(255,255,255,.07); padding:1.5rem 0; }
.footer-bottom .container { display:flex; justify-content:space-between; flex-wrap:wrap; gap:.5rem; }
.footer-bottom p { font-size:.82rem; }

/* ─── Responsive ───────────────────────────────────────── */
@media (max-width: 1024px) {
  .plans-grid { grid-template-columns: 1fr 1fr; }
  .plan-featured { transform: none; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-sub { margin: 0 auto 2rem; }
  .hero-actions { justify-content: center; }
  .hero-trust   { justify-content: center; }
  .hero-visual  { display: none; }
  .steps { grid-template-columns: 1fr; }
  .step-arrow { display: none; }
  .plans-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; position: fixed; inset: 68px 0 0; background: var(--dark); align-items: center; justify-content: center; gap: 2rem; font-size: 1.25rem; z-index: 99; }
  .nav-burger { display: block; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
  .footer-bottom .container { justify-content: center; text-align: center; }
}
@media (max-width: 480px) {
  .dest-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: 1; }
}
