*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --primary: #1a56db;
  --primary-dark: #1340a0;
  --primary-light: #e8f0fe;
  --accent: #f59e0b;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --green: #10b981;
  --red: #ef4444;
  --shadow: 0 1px 3px rgba(0,0,0,.1), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -1px rgba(0,0,0,.06);
  --radius: 8px;
}
html { scroll-behavior: smooth; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; background: var(--gray-50); color: var(--gray-800); line-height: 1.6; }

/* Top Bar */
.top-bar { background: var(--gray-900); color: #fff; font-size: 13px; padding: 8px 0; }
.top-bar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.top-bar a { color: var(--accent); text-decoration: none; }
.top-bar .contact-info { display: flex; gap: 20px; align-items: center; }
.top-bar .contact-info i { margin-right: 5px; }

/* Header */
.header { background: var(--primary); color: #fff; position: sticky; top: 0; z-index: 1000; box-shadow: var(--shadow-md); }
.header .container { display: flex; justify-content: space-between; align-items: center; padding: 12px 20px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.logo img { height: 40px; }
.logo span { font-size: 22px; font-weight: 800; letter-spacing: -0.5px; }
.nav { display: flex; gap: 0; }
.nav a { color: rgba(255,255,255,.85); text-decoration: none; padding: 10px 16px; font-size: 14px; font-weight: 500; transition: .2s; border-radius: 6px; }
.nav a:hover, .nav a.active { background: rgba(255,255,255,.15); color: #fff; }
.nav-toggle { display: none; background: none; border: none; color: #fff; font-size: 28px; cursor: pointer; padding: 4px 8px; }

/* Container */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Hero */
.hero { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: #fff; padding: 60px 0; text-align: center; }
.hero h1 { font-size: 2.5em; margin-bottom: 15px; font-weight: 800; }
.hero p { font-size: 1.15em; opacity: .9; max-width: 700px; margin: 0 auto 25px; }
.hero .search-box { max-width: 500px; margin: 0 auto; display: flex; border-radius: 50px; overflow: hidden; box-shadow: var(--shadow-md); }
.hero .search-box input { flex: 1; padding: 14px 20px; border: none; font-size: 16px; outline: none; }
.hero .search-box button { background: var(--accent); color: #fff; border: none; padding: 14px 28px; font-weight: 600; cursor: pointer; font-size: 16px; }
.badges { display: flex; justify-content: center; gap: 25px; margin-top: 25px; flex-wrap: wrap; }
.badges span { background: rgba(255,255,255,.15); padding: 8px 18px; border-radius: 20px; font-size: 13px; font-weight: 500; }

/* Sections */
.section { padding: 50px 0; }
.section-title { font-size: 1.8em; font-weight: 700; margin-bottom: 30px; text-align: center; color: var(--gray-900); }
.section-subtitle { text-align: center; color: var(--gray-500); margin-bottom: 35px; font-size: 1.05em; }

/* Country Card Grid */
.country-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 15px; }
.country-card { background: #fff; border-radius: var(--radius); padding: 20px; text-align: center; text-decoration: none; color: var(--gray-700); box-shadow: var(--shadow); transition: .25s; border: 1px solid var(--gray-200); }
.country-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--primary); }
.country-card .flag { font-size: 2.5em; margin-bottom: 8px; display: block; }
.country-card .name { font-weight: 600; font-size: 14px; }
.country-card .price { color: var(--primary); font-size: 13px; font-weight: 500; margin-top: 5px; }

/* Category Cards */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.cat-card { background: #fff; border-radius: var(--radius); padding: 30px; text-align: center; box-shadow: var(--shadow); border: 1px solid var(--gray-200); transition: .25s; }
.cat-card:hover { border-color: var(--primary); transform: translateY(-2px); }
.cat-card .icon { font-size: 3em; margin-bottom: 12px; }
.cat-card h3 { font-size: 1.2em; margin-bottom: 8px; }
.cat-card p { color: var(--gray-500); font-size: 14px; margin-bottom: 15px; }
.cat-card .btn { display: inline-block; padding: 8px 24px; background: var(--primary); color: #fff; text-decoration: none; border-radius: 6px; font-size: 14px; font-weight: 500; }

/* Feature Strip */
.feature-strip { background: #fff; border-top: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200); }
.feature-strip .container { display: flex; justify-content: space-around; padding: 25px 20px; flex-wrap: wrap; gap: 20px; text-align: center; }
.feature-item { display: flex; align-items: center; gap: 12px; }
.feature-item .fi-icon { font-size: 2em; }
.feature-item .fi-text { font-size: 14px; }
.feature-item .fi-text strong { display: block; font-size: 15px; color: var(--gray-900); }

/* Reviews */
.review-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.review-card { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 25px; box-shadow: var(--shadow); }
.review-card .stars { color: var(--accent); font-size: 18px; margin-bottom: 10px; }
.review-card p { color: var(--gray-600); font-size: 14px; margin-bottom: 12px; }
.review-card .author { font-weight: 600; font-size: 14px; }

/* Footer */
.footer { background: var(--gray-900); color: rgba(255,255,255,.8); padding: 50px 0 0; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 30px; margin-bottom: 30px; }
.footer h4 { color: #fff; font-size: 16px; margin-bottom: 15px; }
.footer a { color: rgba(255,255,255,.65); text-decoration: none; display: block; padding: 4px 0; font-size: 14px; transition: .2s; }
.footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; text-align: center; font-size: 14px; }

/* Buttons */
.btn { display: inline-block; padding: 10px 28px; border-radius: 6px; font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer; border: none; transition: .2s; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: #d97706; }
.btn-outline { background: transparent; border: 2px solid var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-block { display: block; width: 100%; text-align: center; }

/* Tables */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
th, td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--gray-200); font-size: 14px; }
th { background: var(--primary); color: #fff; font-weight: 600; }
tr:hover td { background: var(--gray-50); }

/* Crypto Payment */
.crypto-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.crypto-card { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 25px; text-align: center; }
.crypto-card img { width: 80px; height: 80px; margin-bottom: 12px; }
.crypto-card h4 { font-size: 1.1em; margin-bottom: 5px; }
.crypto-card .address { background: var(--gray-100); padding: 10px; border-radius: 6px; font-size: 12px; word-break: break-all; margin: 8px 0; font-family: monospace; cursor: pointer; }
.crypto-card .copy-btn { background: var(--primary); color: #fff; border: none; padding: 6px 16px; border-radius: 4px; cursor: pointer; font-size: 12px; }

/* Page header */
.page-header { background: var(--primary); color: #fff; padding: 40px 0; text-align: center; }
.page-header h1 { font-size: 2em; font-weight: 700; }
.page-header p { opacity: .85; margin-top: 8px; }

/* Forms */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 500; margin-bottom: 5px; font-size: 14px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 10px 14px; border: 1px solid var(--gray-300); border-radius: 6px; font-size: 14px; outline: none; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26,86,219,.15); }

/* Cart */
.cart-badge { background: var(--red); color: #fff; border-radius: 50%; padding: 2px 7px; font-size: 11px; margin-left: 4px; }
.cart-page { min-height: 400px; }
.cart-empty { text-align: center; padding: 60px 20px; color: var(--gray-500); }
.cart-empty .icon { font-size: 4em; margin-bottom: 15px; }
.cart-item { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; border-bottom: 1px solid var(--gray-200); }
.cart-item-info { flex: 1; }
.cart-item-info h4 { font-size: 15px; }
.cart-item-info p { font-size: 13px; color: var(--gray-500); }
.cart-item .remove-btn { color: var(--red); cursor: pointer; background: none; border: none; font-size: 14px; }

/* Toast */
.toast { position: fixed; bottom: 20px; right: 20px; background: var(--gray-900); color: #fff; padding: 14px 24px; border-radius: var(--radius); z-index: 9999; opacity: 0; transform: translateY(20px); transition: .3s; font-size: 14px; max-width: 350px; }
.toast.show { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 900px) {
  .nav { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--primary); padding: 10px; box-shadow: var(--shadow-md); }
  .nav.open { display: flex; }
  .nav-toggle { display: block; }
  .header .container { position: relative; }
  .hero h1 { font-size: 1.8em; }
  .country-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
}

/* Misc */
.text-center { text-align: center; }
.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.faq-item { border:1px solid var(--gray-200);border-radius:var(--radius);margin-bottom:12px;overflow:hidden;background:#fff; }
.faq-q { padding:16px 20px;font-weight:600;cursor:pointer;display:flex;justify-content:space-between;align-items:center;font-size:15px; }
.faq-q:hover { background:var(--gray-50); }
.faq-q .arrow { transition:.3s;font-size:12px; }
.faq-q.open .arrow { transform:rotate(180deg); }
.faq-a { padding:0 20px;max-height:0;overflow:hidden;transition:.3s;color:var(--gray-600);font-size:14px;line-height:1.7; }
.faq-a.open { padding:0 20px 16px;max-height:500px; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.gap-10 { gap: 10px; }
.gap-20 { gap: 20px; }
.justify-center { justify-content: center; }
.items-center { align-items: center; }
