@import url('https://fonts.googleapis.com/css2?family=Electrolize&display=swap');

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

:root {
  --primary: #0f2b46;
  --primary-light: #1a3d5c;
  --accent: #0ea5e9;
  --accent-hover: #0284c7;
  --text: #1e293b;
  --text-light: #64748b;
  --bg: #f8fafc;
  --white: #ffffff;
  --border: #e2e8f0;
  --radius: 8px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

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

img {
  max-width: 100%;
  display: block;
}

/* ===== Navbar ===== */
.navbar {
  background: var(--primary);
  padding: 0 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.navbar .container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.navbar .logo {
  font-family: 'Electrolize', sans-serif;
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--white);
  letter-spacing: 3px;
  text-transform: uppercase;
}

.navbar .logo span {
  color: var(--accent);
}

.menu-toggle {
  font-family: 'Electrolize', sans-serif;
  background: none;
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.menu-toggle:hover {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.05);
}

.dropdown-wrapper {
  position: relative;
}

.nav-links {
  display: none;
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  background: var(--primary);
  list-style: none;
  min-width: 220px;
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.5rem 0;
  z-index: 200;
}

.nav-links.open {
  display: flex;
  flex-direction: column;
}

.nav-links li {
  width: 100%;
}

.nav-links a {
  font-family: 'Electrolize', sans-serif;
  color: rgba(255, 255, 255, 0.85);
  padding: 0.75rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s;
  display: block;
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.hamburger {
  display: none;
}

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  padding: 5rem 2rem;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero h1 span {
  color: var(--accent);
}

.hero p {
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto 2rem;
  color: rgba(255, 255, 255, 0.8);
}

.hero .btn {
  font-family: 'Electrolize', sans-serif;
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: background 0.2s, transform 0.2s;
}

.hero .btn:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}

/* ===== Sections ===== */
.section {
  padding: 4rem 2rem;
}

.section .container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 3rem;
  font-size: 1.05rem;
}

/* ===== Cards (Home features) ===== */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s;
}

.card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}

.card .icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* ===== Brands ===== */
.brands {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.brand-tag {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
}

/* ===== Price List Table ===== */
.price-table-wrapper {
  overflow-x: auto;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.price-table thead {
  background: var(--primary);
  color: var(--white);
}

.price-table th,
.price-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  font-size: 0.95rem;
}

.price-table tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}

.price-table tbody tr:hover {
  background: #f1f5f9;
}

.price-table .category-row {
  background: #e2e8f0;
  font-weight: 700;
}

.price-note {
  text-align: center;
  margin-top: 2rem;
  color: var(--text-light);
  font-size: 0.9rem;
}

/* ===== Filter Tabs ===== */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.filter-tabs button {
  padding: 0.5rem 1.25rem;
  border: 2px solid var(--border);
  background: var(--white);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-tabs button.active,
.filter-tabs button:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--white);
}

/* ===== Exchange Page ===== */
.exchange-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.exchange-info h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.exchange-info p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.steps {
  list-style: none;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  padding: 1rem 0;
  padding-left: 3.5rem;
  position: relative;
  border-bottom: 1px solid var(--border);
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 1rem;
  width: 2.25rem;
  height: 2.25rem;
  background: var(--accent);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.steps li h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.steps li p {
  color: var(--text-light);
  font-size: 0.9rem;
  margin: 0;
}

/* ===== Exchange Form ===== */
.exchange-form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}

.exchange-form-card h3 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

/* ===== Contact Form & Info ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info-card {
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
}

.contact-info-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
}

.contact-detail {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.contact-detail .label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.2rem;
}

.contact-detail .value {
  font-size: 1rem;
}

.contact-detail .icon-circle {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
}

.form-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
}

/* ===== Form Elements ===== */
.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s;
  background: var(--bg);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.btn-submit {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  border: none;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  width: 100%;
}

.btn-submit:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

/* ===== Page Header ===== */
.page-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  padding: 3rem 2rem;
  text-align: center;
}

.page-header h1 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.page-header p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.05rem;
}

/* ===== Footer ===== */
.footer {
  background: var(--primary);
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  padding: 2rem;
  font-size: 0.9rem;
}

.footer strong {
  color: var(--white);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .contact-grid,
  .exchange-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .price-table th,
  .price-table td {
    padding: 0.75rem;
    font-size: 0.85rem;
  }
}
