/* =============================================
   onegets.com — Global Stylesheet
   Theme: Clean & Modern (White/Blue)
   ============================================= */

:root {
  --primary:       #1a6ef5;
  --primary-dark:  #1455c0;
  --primary-light: #e8f0fe;
  --accent:        #ff6b35;
  --text:          #1a1f36;
  --text-muted:    #6b7280;
  --bg:            #ffffff;
  --bg-alt:        #f4f6fb;
  --border:        #e5e7ef;
  --card-shadow:   0 2px 16px rgba(26,110,245,.10);
  --radius:        12px;
  --radius-sm:     8px;
  --transition:    .2s ease;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', system-ui, sans-serif; color: var(--text); background: var(--bg); line-height: 1.6; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ── Typography ── */
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; line-height: 1.15; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }
h4 { font-size: 1rem; font-weight: 600; }
p  { color: var(--text-muted); }

/* ── Layout ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }
.section { padding: 5rem 0; }
.section-alt { background: var(--bg-alt); }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .7rem 1.5rem; border-radius: 50px; font-weight: 600;
  font-size: .95rem; cursor: pointer; border: none; transition: var(--transition);
  white-space: nowrap;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 4px 18px rgba(26,110,245,.35); }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary-light); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: #e05a28; transform: translateY(-1px); box-shadow: 0 4px 18px rgba(255,107,53,.35); }
.btn-lg { padding: .9rem 2rem; font-size: 1.05rem; }
.btn-sm { padding: .45rem 1rem; font-size: .85rem; }

/* ── Badge ── */
.badge {
  display: inline-block; padding: .25rem .75rem; border-radius: 50px;
  font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
}
.badge-blue  { background: var(--primary-light); color: var(--primary); }
.badge-green { background: #dcfce7; color: #16a34a; }
.badge-orange{ background: #fff7ed; color: var(--accent); }
.badge-red   { background: #fee2e2; color: #dc2626; }

/* ── Navbar ── */
.navbar {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,.97); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: .85rem 0;
}
.navbar .container { display: flex; align-items: center; gap: 1.5rem; }
.nav-logo { font-size: 1.5rem; font-weight: 900; color: var(--primary); flex-shrink: 0; }
.nav-logo span { color: var(--accent); }
.nav-search { flex: 1; max-width: 420px; position: relative; }
.nav-search input {
  width: 100%; padding: .6rem 1rem .6rem 2.6rem; border-radius: 50px;
  border: 2px solid var(--border); font-size: .9rem; background: var(--bg-alt);
  transition: var(--transition); outline: none;
}
.nav-search input:focus { border-color: var(--primary); background: #fff; }
.nav-search .search-icon { position: absolute; left: .9rem; top: 50%; transform: translateY(-50%); color: var(--text-muted); }
.nav-links { display: flex; align-items: center; gap: .25rem; margin-left: auto; }
.nav-links a { padding: .45rem .85rem; border-radius: 8px; font-size: .9rem; font-weight: 500; transition: var(--transition); }
.nav-links a:hover, .nav-links a.active { background: var(--primary-light); color: var(--primary); }
.nav-cta { margin-left: .5rem; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: .35rem; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: var(--transition); }

/* ── Mobile Nav ── */
@media(max-width:768px){
  .hamburger { display: flex; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--border); flex-direction: column; padding: 1rem; gap: .25rem; }
  .nav-links.open { display: flex; }
  .nav-search { max-width: 100%; order: 3; flex-basis: 100%; }
  .navbar .container { flex-wrap: wrap; }
}

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, #0f2a6e 0%, #1a6ef5 50%, #3d9cf5 100%);
  color: #fff; padding: 6rem 0 5rem; overflow: hidden; position: relative;
}
.hero::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0; height: 60px;
  background: var(--bg); clip-path: ellipse(55% 100% at 50% 100%);
}
.hero .container { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.hero-tag { display: inline-flex; align-items: center; gap: .5rem; background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.25); border-radius: 50px; padding: .4rem 1rem; font-size: .85rem; font-weight: 600; margin-bottom: 1.25rem; }
.hero h1 { color: #fff; margin-bottom: 1.25rem; }
.hero h1 span { color: #7dd3fc; }
.hero p { color: rgba(255,255,255,.85); font-size: 1.1rem; margin-bottom: 2rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 2rem; margin-top: 2.5rem; }
.stat { text-align: center; }
.stat-num { font-size: 1.8rem; font-weight: 800; color: #fff; }
.stat-label { font-size: .8rem; color: rgba(255,255,255,.7); }
.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-card {
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius); padding: 1.5rem; backdrop-filter: blur(12px);
  color: #fff; width: 280px;
}
.hero-card-title { font-weight: 700; margin-bottom: .5rem; }
.hero-card-rating { color: #fbbf24; font-size: 1.1rem; margin-bottom: .75rem; }
.hero-card-badge { background: rgba(255,255,255,.2); border-radius: 50px; padding: .25rem .75rem; font-size: .8rem; display: inline-block; }
.floating { animation: float 4s ease-in-out infinite; }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }

@media(max-width:768px){
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { display: none; }
}

/* ── Section Header ── */
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { margin-bottom: .6rem; }
.section-header p { max-width: 560px; margin: 0 auto; }

/* ── Offer Cards ── */
.offers-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.offer-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: var(--transition); display: flex; flex-direction: column;
  box-shadow: var(--card-shadow);
}
.offer-card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(26,110,245,.15); border-color: var(--primary); }
.offer-card-img { width: 100%; height: 200px; object-fit: cover; background: var(--bg-alt); }
.offer-card-img-placeholder { width: 100%; height: 200px; background: linear-gradient(135deg, var(--primary-light), #dbeafe); display: flex; align-items: center; justify-content: center; font-size: 3rem; }
.offer-card-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.offer-card-cat { font-size: .75rem; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: .05em; margin-bottom: .5rem; }
.offer-card-title { font-size: 1.05rem; font-weight: 700; margin-bottom: .5rem; color: var(--text); line-height: 1.3; }
.offer-card-desc { font-size: .88rem; color: var(--text-muted); margin-bottom: 1rem; flex: 1; }
.offer-card-rating { display: flex; align-items: center; gap: .4rem; margin-bottom: .75rem; }
.stars { color: #fbbf24; font-size: .95rem; letter-spacing: .05em; }
.rating-count { font-size: .8rem; color: var(--text-muted); }
.offer-card-footer { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-top: auto; padding-top: .75rem; border-top: 1px solid var(--border); }
.offer-price { font-weight: 700; color: var(--primary); font-size: 1.05rem; }
.offer-card .badge { flex-shrink: 0; }

/* ── Category Pills ── */
.cat-filter { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2rem; }
.cat-pill {
  padding: .45rem 1.1rem; border-radius: 50px; border: 2px solid var(--border);
  font-size: .87rem; font-weight: 600; cursor: pointer; transition: var(--transition); background: #fff; color: var(--text-muted);
}
.cat-pill:hover, .cat-pill.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ── Categories Section ── */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1.25rem; }
.cat-box {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.75rem 1.25rem; text-align: center; cursor: pointer;
  transition: var(--transition); text-decoration: none; color: var(--text);
}
.cat-box:hover { border-color: var(--primary); box-shadow: var(--card-shadow); transform: translateY(-3px); }
.cat-icon { font-size: 2.5rem; margin-bottom: .75rem; display: block; }
.cat-name { font-weight: 700; margin-bottom: .25rem; }
.cat-count { font-size: .82rem; color: var(--text-muted); }

/* ── Trust / Why Us ── */
.trust-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 2rem; }
.trust-item { text-align: center; }
.trust-icon { width: 64px; height: 64px; border-radius: 16px; background: var(--primary-light); display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; font-size: 1.75rem; }
.trust-item h3 { margin-bottom: .4rem; }

/* ── Landing Page (offer.html) ── */
.offer-hero { background: linear-gradient(135deg, #0f2a6e, #1a6ef5); padding: 4rem 0; color: #fff; }
.offer-hero .container { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.offer-hero h1 { color: #fff; font-size: clamp(1.6rem,4vw,2.6rem); margin-bottom: 1rem; }
.offer-hero p { color: rgba(255,255,255,.85); font-size: 1.05rem; margin-bottom: 1.5rem; }
.offer-hero-img { border-radius: var(--radius); overflow: hidden; box-shadow: 0 12px 40px rgba(0,0,0,.3); }
.offer-hero-img img, .offer-hero-img .img-placeholder { width: 100%; height: 320px; object-fit: cover; background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; font-size: 5rem; border-radius: var(--radius); }
@media(max-width:768px){ .offer-hero .container { grid-template-columns: 1fr; } }

/* ── Rating Block ── */
.rating-block { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; text-align: center; box-shadow: var(--card-shadow); }
.big-rating { font-size: 4rem; font-weight: 900; color: var(--primary); line-height: 1; }
.big-stars { font-size: 1.8rem; color: #fbbf24; margin: .5rem 0; }
.rating-bars { margin-top: 1.25rem; text-align: left; }
.rating-bar-row { display: flex; align-items: center; gap: .75rem; margin-bottom: .4rem; font-size: .85rem; }
.rating-bar-row span:first-child { width: 45px; flex-shrink: 0; }
.bar-track { flex: 1; height: 8px; background: var(--bg-alt); border-radius: 4px; overflow: hidden; }
.bar-fill { height: 100%; background: #fbbf24; border-radius: 4px; }
.bar-pct { width: 35px; text-align: right; color: var(--text-muted); }

/* ── Pros / Cons ── */
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.pros-box, .cons-box { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; }
.pros-box h3 { color: #16a34a; margin-bottom: 1rem; display: flex; align-items: center; gap: .5rem; }
.cons-box h3 { color: #dc2626; margin-bottom: 1rem; display: flex; align-items: center; gap: .5rem; }
.pros-box li, .cons-box li { padding: .4rem 0; font-size: .92rem; display: flex; align-items: flex-start; gap: .5rem; }
.pros-box li::before { content: '✓'; color: #16a34a; font-weight: 700; flex-shrink: 0; }
.cons-box li::before { content: '✗'; color: #dc2626; font-weight: 700; flex-shrink: 0; }
@media(max-width:600px){ .pros-cons { grid-template-columns: 1fr; } }

/* ── Reviews ── */
.review-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; margin-bottom: 1.25rem; box-shadow: var(--card-shadow); }
.review-header { display: flex; align-items: center; gap: 1rem; margin-bottom: .75rem; }
.reviewer-avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--primary); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 1.1rem; flex-shrink: 0; }
.reviewer-name { font-weight: 700; margin-bottom: .15rem; }
.reviewer-date { font-size: .8rem; color: var(--text-muted); }
.review-stars { color: #fbbf24; font-size: .95rem; margin-bottom: .5rem; }
.review-text { font-size: .92rem; color: var(--text-muted); line-height: 1.6; }
.review-verified { font-size: .78rem; color: #16a34a; font-weight: 600; margin-top: .5rem; }

/* ── FAQ ── */
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: .75rem; overflow: hidden; }
.faq-q { padding: 1.1rem 1.25rem; font-weight: 700; cursor: pointer; display: flex; align-items: center; justify-content: space-between; background: #fff; transition: var(--transition); }
.faq-q:hover { background: var(--primary-light); }
.faq-a { padding: 0 1.25rem; max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s ease; font-size: .92rem; color: var(--text-muted); background: var(--bg-alt); }
.faq-item.open .faq-a { max-height: 300px; padding: 1rem 1.25rem; }
.faq-icon { transition: transform .3s; font-style: normal; }
.faq-item.open .faq-icon { transform: rotate(45deg); }

/* ── Newsletter Section ── */
.newsletter-section { background: linear-gradient(135deg, #1a6ef5, #3d9cf5); padding: 4rem 0; color: #fff; text-align: center; }
.newsletter-section h2 { color: #fff; margin-bottom: .75rem; }
.newsletter-section p { color: rgba(255,255,255,.85); margin-bottom: 2rem; max-width: 500px; margin-left: auto; margin-right: auto; }
.newsletter-form { display: flex; gap: .75rem; max-width: 480px; margin: 0 auto; }
.newsletter-form input { flex: 1; padding: .8rem 1.25rem; border-radius: 50px; border: none; font-size: .95rem; outline: none; }
@media(max-width:500px){ .newsletter-form { flex-direction: column; } .newsletter-form input { text-align: center; } }

/* ── Contact Form ── */
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-weight: 600; margin-bottom: .45rem; font-size: .92rem; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: .75rem 1rem; border: 2px solid var(--border);
  border-radius: var(--radius-sm); font-size: .95rem; outline: none; transition: var(--transition);
  background: #fff; color: var(--text);
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--primary); }
.form-group textarea { resize: vertical; min-height: 130px; }
.form-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 2.5rem; box-shadow: var(--card-shadow); }

/* ── Sidebar / Sticky CTA (offer page) ── */
.offer-layout { display: grid; grid-template-columns: 1fr 320px; gap: 2rem; align-items: start; }
.offer-sidebar { position: sticky; top: 90px; }
.cta-box { background: #fff; border: 2px solid var(--primary); border-radius: var(--radius); padding: 2rem; box-shadow: var(--card-shadow); text-align: center; }
.cta-box h3 { margin-bottom: .5rem; }
.cta-box p { font-size: .9rem; margin-bottom: 1.5rem; }
.cta-box .btn { width: 100%; justify-content: center; margin-bottom: .75rem; }
.cta-guarantee { font-size: .8rem; color: var(--text-muted); margin-top: .75rem; }
@media(max-width:900px){ .offer-layout { grid-template-columns: 1fr; } .offer-sidebar { position: static; } }

/* ── Page Hero ── */
.page-hero { background: var(--primary); color: #fff; padding: 3.5rem 0; text-align: center; }
.page-hero h1 { color: #fff; font-size: clamp(1.8rem,4vw,2.8rem); }
.page-hero p { color: rgba(255,255,255,.85); margin-top: .5rem; }
.breadcrumb { display: flex; align-items: center; gap: .5rem; justify-content: center; margin-top: 1rem; font-size: .85rem; color: rgba(255,255,255,.7); }
.breadcrumb a { color: rgba(255,255,255,.85); }
.breadcrumb a:hover { color: #fff; }

/* ── Footer ── */
.footer { background: #0f1b35; color: #94a3b8; padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand .nav-logo { font-size: 1.6rem; margin-bottom: 1rem; display: inline-block; }
.footer-brand p { font-size: .9rem; line-height: 1.7; max-width: 280px; }
.footer-col h4 { color: #e2e8f0; font-size: .95rem; margin-bottom: 1.25rem; }
.footer-col li { margin-bottom: .6rem; }
.footer-col a { font-size: .9rem; transition: var(--transition); }
.footer-col a:hover { color: #fff; }
.social-links { display: flex; gap: .75rem; margin-top: 1.25rem; }
.social-link { width: 38px; height: 38px; background: rgba(255,255,255,.08); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; transition: var(--transition); }
.social-link:hover { background: var(--primary); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 1.75rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: .85rem; }
.footer-bottom a { transition: var(--transition); }
.footer-bottom a:hover { color: #fff; }
.affiliate-disclaimer { background: rgba(255,255,255,.04); border-radius: 8px; padding: 1rem 1.25rem; font-size: .82rem; line-height: 1.6; margin-bottom: 2rem; border-left: 3px solid var(--primary); }
@media(max-width:900px){ .footer-grid { grid-template-columns: 1fr 1fr; } }
@media(max-width:600px){ .footer-grid { grid-template-columns: 1fr; } .footer-bottom { flex-direction: column; text-align: center; } }

/* ── Search Results ── */
.search-bar-big { display: flex; gap: .75rem; max-width: 600px; margin: 0 auto 2rem; }
.search-bar-big input { flex: 1; padding: .85rem 1.25rem; border: 2px solid var(--border); border-radius: 50px; font-size: 1rem; outline: none; transition: var(--transition); }
.search-bar-big input:focus { border-color: var(--primary); }
.results-count { color: var(--text-muted); font-size: .9rem; margin-bottom: 1.5rem; }
.no-results { text-align: center; padding: 4rem 2rem; color: var(--text-muted); }
.no-results .icon { font-size: 3rem; margin-bottom: 1rem; }

/* ── Pagination ── */
.pagination { display: flex; justify-content: center; align-items: center; gap: .5rem; margin-top: 3rem; }
.page-btn { width: 40px; height: 40px; border-radius: 8px; border: 1px solid var(--border); background: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: .9rem; transition: var(--transition); }
.page-btn:hover, .page-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ── Google One Tap Button ── */
.og-google-btn { width: 100%; max-width: 340px; margin: 0 auto; }
.or-divider {
  display: flex; align-items: center; gap: .75rem;
  margin: .85rem 0; color: var(--text-muted); font-size: .85rem; font-weight: 600;
}
.or-divider::before, .or-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--border);
}
/* Newsletter section Google button (white on blue bg) */
.newsletter-section .og-google-btn button,
.newsletter-section .og-google-btn > div { filter: none; }
.newsletter-google-wrap { max-width: 480px; margin: 1rem auto 0; }
.newsletter-google-wrap .or-divider { color: rgba(255,255,255,.6); }
.newsletter-google-wrap .or-divider::before,
.newsletter-google-wrap .or-divider::after { background: rgba(255,255,255,.25); }

/* ── Toast ── */
.toast { position: fixed; bottom: 2rem; right: 2rem; background: #1a1f36; color: #fff; padding: 1rem 1.5rem; border-radius: var(--radius-sm); box-shadow: 0 8px 32px rgba(0,0,0,.2); font-size: .92rem; z-index: 9999; transform: translateY(100px); opacity: 0; transition: .3s ease; }
.toast.show { transform: translateY(0); opacity: 1; }

/* ── Admin Panel ── */
.admin-layout { display: grid; grid-template-columns: 1fr 400px; gap: 2rem; }
@media(max-width:900px){ .admin-layout { grid-template-columns: 1fr; } }
.admin-header { background: #0f1b35; color: #fff; padding: 1.25rem 0; }
.admin-header .container { display: flex; align-items: center; justify-content: space-between; }

/* ── Utility ── */
.text-center { text-align: center; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.fw-bold { font-weight: 700; }
.text-primary { color: var(--primary); }
.text-muted { color: var(--text-muted); }
.divider { border: none; border-top: 1px solid var(--border); margin: 2rem 0; }
.loading-spinner { text-align: center; padding: 3rem; color: var(--text-muted); font-size: 2rem; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
