:root {
  --bg-primary: #0a0f1d;
  --bg-secondary: #0f172a;
  --bg-card: rgba(30, 41, 59, 0.7);
  --bg-glass: rgba(15, 23, 42, 0.85);
  --border-color: rgba(255, 255, 255, 0.1);
  --border-hover: rgba(56, 189, 248, 0.5);
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --accent-cyan: #00f0ff;
  --accent-blue: #38bdf8;
  --accent-emerald: #10b981;
  --accent-purple: #a855f7;
  --accent-rose: #f43f5e;
  --font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-family);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(56, 189, 248, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 85%, rgba(16, 185, 129, 0.08) 0%, transparent 40%);
  background-attachment: fixed;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ========================================= */
/* NAVBAR & HEADER */
/* ========================================= */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  padding: 14px 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.logo-badge {
  font-size: 1.3rem;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.2), rgba(0, 240, 255, 0.2));
  padding: 4px 8px;
  border-radius: 8px;
  border: 1px solid rgba(56, 189, 248, 0.4);
}

.logo-text {
  background: linear-gradient(135deg, #ffffff 0%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--accent-cyan);
}

.cart-nav-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.15), rgba(16, 185, 129, 0.15));
  border: 1px solid var(--accent-cyan);
  color: #fff;
  padding: 8px 16px;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cart-nav-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
}

.cart-badge {
  background: var(--accent-rose);
  color: #fff;
  font-size: 0.75rem;
  padding: 2px 7px;
  border-radius: 9999px;
  font-weight: 800;
}

.lang-select-dropdown {
  background: #1e293b;
  color: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 0.85rem;
  font-weight: 600;
  outline: none;
  cursor: pointer;
}

/* ========================================= */
/* LAYOUT CONTAINERS & HERO */
/* ========================================= */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero {
  padding: 70px 0 50px;
  text-align: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 9999px;
  color: var(--accent-cyan);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 50%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 760px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ========================================= */
/* BUTTONS */
/* ========================================= */
.btn-primary {
  background: linear-gradient(135deg, #00f0ff 0%, #0284c7 100%);
  color: #04101d;
  font-weight: 800;
  padding: 14px 28px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  box-shadow: 0 10px 25px rgba(0, 240, 255, 0.3);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(0, 240, 255, 0.5);
  color: #000;
}

.btn-secondary {
  background: rgba(30, 41, 59, 0.8);
  color: #f8fafc;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-secondary:hover {
  background: rgba(51, 65, 85, 0.8);
  border-color: var(--accent-cyan);
  transform: translateY(-2px);
}

.btn-cart-action {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #fff;
  font-weight: 800;
  padding: 12px 24px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-cart-action:hover {
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
  transform: translateY(-1px);
}

/* ========================================= */
/* GRIDS & CARDS */
/* ========================================= */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 30px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 36px 30px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  backdrop-filter: blur(12px);
}

.product-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.product-card.featured {
  border-color: rgba(0, 240, 255, 0.5);
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.15);
}

.badge-featured {
  position: absolute;
  top: -12px;
  right: 24px;
  background: linear-gradient(135deg, #f43f5e, #e11d48);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 9999px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.card-icon {
  font-size: 2.8rem;
  margin-bottom: 18px;
}

.card-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}

.card-tagline {
  color: var(--accent-cyan);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.card-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

.feature-list {
  list-style: none;
  margin-bottom: 28px;
}

.feature-list li {
  font-size: 0.92rem;
  color: #cbd5e1;
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.feature-list li::before {
  content: "✓";
  color: var(--accent-emerald);
  font-weight: 800;
}

.price-box {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 20px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.price-amount {
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
}

.price-period {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.card-actions {
  display: flex;
  gap: 12px;
}

/* ========================================= */
/* SEPET / CART SLIDE-OVER DRAWER */
/* ========================================= */
.cart-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.cart-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -480px;
  width: 100%;
  max-width: 460px;
  height: 100vh;
  background: #0f172a;
  border-left: 1px solid var(--border-color);
  z-index: 2001;
  display: flex;
  flex-direction: column;
  transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -20px 0 50px rgba(0, 0, 0, 0.5);
}

.cart-drawer.active {
  right: 0;
}

.cart-drawer-header {
  padding: 24px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-drawer-title {
  font-size: 1.3rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-close-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 4px;
}

.cart-drawer-body {
  padding: 24px;
  flex-grow: 1;
  overflow-y: auto;
}

.cart-empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}

.cart-item {
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 14px;
  display: flex;
  gap: 14px;
  align-items: center;
}

.cart-item-icon {
  font-size: 1.8rem;
  background: rgba(15, 23, 42, 0.6);
  padding: 10px;
  border-radius: 10px;
}

.cart-item-details {
  flex-grow: 1;
}

.cart-item-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
  margin-bottom: 4px;
}

.cart-item-price {
  color: var(--accent-cyan);
  font-weight: 800;
  font-size: 0.9rem;
}

.cart-item-remove {
  background: transparent;
  border: none;
  color: #ef4444;
  cursor: pointer;
  font-size: 1.1rem;
}

.cart-drawer-footer {
  padding: 24px;
  border-top: 1px solid var(--border-color);
  background: rgba(15, 23, 42, 0.95);
}

.cart-subtotal-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.cart-subtotal-label {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-muted);
}

.cart-subtotal-val {
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
}

/* ========================================= */
/* CHECKOUT & MODAL DIALOGS */
/* ========================================= */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: #0f172a;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  max-width: 540px;
  width: 100%;
  padding: 32px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
  position: relative;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
}

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: #cbd5e1;
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  background: #1e293b;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 12px 16px;
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
}

.form-input:focus {
  border-color: var(--accent-cyan);
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
  cursor: pointer;
  margin-bottom: 14px;
}

.checkbox-label input {
  margin-top: 3px;
  accent-color: var(--accent-cyan);
}

/* Payment Gateway Options */
.payment-methods-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.payment-method-card {
  background: #1e293b;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 14px;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s;
}

.payment-method-card.selected {
  border-color: var(--accent-cyan);
  background: rgba(0, 240, 255, 0.08);
}

.payment-method-title {
  font-weight: 800;
  font-size: 0.95rem;
  color: #fff;
  margin-bottom: 2px;
}

.payment-method-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Toast */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: #1e293b;
  border: 1px solid var(--accent-cyan);
  color: #fff;
  padding: 14px 20px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Footer */
.footer {
  border-top: 1px solid var(--border-color);
  padding: 60px 0 30px;
  margin-top: 80px;
  background: rgba(15, 23, 42, 0.8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

@media (max-width: 860px) {
  .hero-title { font-size: 2.2rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
