/* ============================================================
   INDIEDRINKS.INFO — Styles
   ============================================================ */

:root {
  --bg-primary: #ffffff;
  --bg-alt: #f4f1ed;
  --bg-dark: #1b2a3d;
  --bg-dark-deep: #142233;
  --text-primary: #1a1a1a;
  --text-secondary: #4a4a4a;
  --text-muted: #777777;
  --text-white: #ffffff;
  --accent: #ff5c17;
  --accent-dark: #e04e10;
  --accent-light: rgba(255, 92, 23, 0.08);
  --border: #e2ddd8;
  --shadow: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.10);
  --radius: 10px;
  --font: 'Roboto', Arial, sans-serif;
  --container: 1100px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
}

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
  font-weight: 500;
  font-size: 15px;
  padding: 12px 32px;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-primary {
  background: var(--accent);
  color: var(--text-white);
  border-color: var(--accent);
}
.btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(255, 92, 23, 0.3); }

.btn-outline {
  background: transparent;
  color: var(--text-white);
  border-color: rgba(255,255,255,0.3);
}
.btn-outline:hover { border-color: var(--text-white); background: rgba(255,255,255,0.08); }

.btn-sm { font-size: 13px; padding: 8px 18px; }
.btn-lg { font-size: 16px; padding: 14px 36px; }
.btn-full { width: 100%; }

/* --- Header --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 14px 0;
  background: var(--bg-dark);
  transition: box-shadow 0.3s, background 0.3s;
}

.header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.2); background: var(--bg-dark-deep); }

.header-solid {
  background: var(--bg-dark);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo-img { height: 22px; width: auto; filter: brightness(0) invert(1); }

.nav { display: flex; align-items: center; }

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

.nav-links a {
  font-size: 13px;
  font-weight: 400;
  color: rgba(255,255,255,0.75);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--text-white); }
.nav-links .btn { text-transform: none; color: var(--text-white); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-white);
  transition: transform 0.3s, opacity 0.3s;
}

/* --- Hero --- */
.hero {
  background: var(--bg-primary);
  padding: 130px 0 80px;
}

.hero-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-text h1 {
  font-size: 38px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.hero-text p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 12px;
}

.hero-text .btn { margin-top: 16px; }

.hero-subtext {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 12px !important;
}

.hero-illustration img {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}

/* --- Sections --- */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-dark-deep) 100%); color: var(--text-white); }

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
}

.section-header h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 10px;
}

.section-header p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.section-dark .section-header p { color: rgba(255,255,255,0.65); }

/* --- Services --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  text-align: center;
  padding: 32px 24px;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  border-top: 3px solid var(--accent);
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

.service-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 14px;
}

.service-icon img { width: 100%; height: 100%; object-fit: contain; }

.service-illustration {
  width: 160px;
  height: 160px;
  margin: 0 auto 16px;
}

.service-illustration img { width: 100%; height: 100%; object-fit: contain; }

.service-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --- Why Choose Us --- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.why-card {
  text-align: center;
  padding: 28px 20px;
  background: var(--bg-primary);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: transform 0.3s, box-shadow 0.3s;
}

.why-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

.why-icon {
  width: 36px;
  height: 36px;
  margin: 0 auto 14px;
}

.why-icon img { width: 100%; height: 100%; object-fit: contain; }

.why-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 6px;
}

.why-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* --- Markets --- */
.markets-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.market-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 24px;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.market-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--accent); }

.market-flag {
  width: 64px;
  height: auto;
  margin-bottom: 14px;
  border-radius: 4px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

.market-flag-emoji {
  font-size: 48px;
  line-height: 1;
  margin-bottom: 14px;
}

.market-card h3 {
  font-size: 17px;
  font-weight: 600;
}

/* --- Market Page Hero --- */
.market-hero {
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-dark-deep) 100%);
  padding: 110px 0 56px;
  text-align: center;
}

.market-hero-inner { color: var(--text-white); }

.market-hero-flag {
  width: 80px;
  height: auto;
  margin: 0 auto 16px;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.market-hero-flag-emoji {
  font-size: 64px;
  display: block;
  margin-bottom: 16px;
}

.market-hero h1 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 8px;
}

.market-hero p {
  font-size: 16px;
  color: rgba(255,255,255,0.65);
}

/* --- Accordion --- */
.accordion {
  max-width: 760px;
  margin: 0 auto;
}

.accordion-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 8px;
  overflow: hidden;
  background: var(--bg-primary);
}

.accordion-trigger {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 16px 20px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}

.accordion-trigger:hover { color: var(--accent); }

.accordion-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.accordion-icon img { width: 100%; height: 100%; object-fit: contain; }

.accordion-arrow {
  margin-left: auto;
  flex-shrink: 0;
  transition: transform 0.3s;
  color: var(--text-muted);
}

.accordion-item.open .accordion-arrow { transform: rotate(180deg); color: var(--accent); }

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion-content p {
  padding: 0 20px 16px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* --- Duty Tables --- */
.duty-tables {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.duty-table-wrap {
  background: var(--bg-primary);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.duty-table-wrap h3 {
  font-size: 14px;
  font-weight: 700;
  padding: 14px 16px 6px;
  color: var(--accent);
}

.duty-table {
  width: 100%;
  border-collapse: collapse;
}

.duty-table th,
.duty-table td {
  padding: 7px 16px;
  font-size: 13px;
  text-align: left;
}

.duty-table th {
  background: var(--bg-alt);
  font-weight: 500;
  color: var(--text-muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.duty-table td { border-top: 1px solid var(--border); }

.duty-footnote {
  padding: 10px 16px;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
}

/* --- Resources --- */
.resources-list {
  max-width: 700px;
  margin: 0 auto;
}

.resource-link {
  display: block;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 10px;
  transition: all 0.2s;
}

.resource-link:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
  background: var(--accent-light);
}

.resource-link strong {
  display: block;
  font-size: 15px;
  margin-bottom: 2px;
}

.resource-link span {
  font-size: 13px;
  color: var(--accent);
}

/* --- CTA Section --- */
.cta-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.cta-tagline {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}

.cta-text h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 24px;
}

.cta-buttons {
  display: flex;
  gap: 12px;
}

.cta-illustration img {
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
}

/* --- Footer --- */
.footer {
  background: var(--bg-dark-deep);
  padding: 40px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr 0.8fr 0.8fr;
  gap: 32px;
  align-items: start;
}

.footer-logo {
  height: 18px;
  width: auto;
  margin-bottom: 12px;
  filter: brightness(0) invert(1);
  opacity: 0.6;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.footer-social a {
  color: rgba(255,255,255,0.35);
  transition: color 0.2s;
}

.footer-social a:hover { color: var(--accent); }

.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.25);
}

.footer-tagline {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
}

.footer-col h4 {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.4);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-col ul li {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  padding: 2px 0;
}

.footer-col a {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--accent); }

/* --- Signup Page --- */
.signup-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-alt);
  padding: 40px 24px;
}

.signup-content {
  max-width: 420px;
  width: 100%;
  background: var(--bg-primary);
  border-radius: var(--radius);
  padding: 44px 36px;
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.signup-logo img {
  height: 20px;
  width: auto;
  margin: 0 auto 24px;
}

.signup-content h1 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 6px;
}

.signup-subtitle {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.signup-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.signup-form input {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font);
  font-size: 15px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg-primary);
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.2s;
}

.signup-form input:focus { border-color: var(--accent); }
.signup-form input::placeholder { color: var(--text-muted); }
.signup-form .btn { margin-top: 6px; }

.signup-login {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 18px;
}

.signup-login a { color: var(--accent); font-weight: 500; }

.form-error { color: #e53e3e; font-size: 13px; margin-top: 8px; }
.form-success { color: #38a169; font-size: 13px; margin-top: 8px; }

/* --- 404 Page --- */
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--bg-alt);
}

.error-code {
  font-size: 100px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 12px;
}

.error-title { font-size: 28px; font-weight: 700; margin-bottom: 10px; }
.error-text { font-size: 15px; color: var(--text-muted); margin-bottom: 28px; }

/* --- Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Text Content --- */
.text-content {
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.8;
  color: var(--text-secondary);
  font-size: 14px;
}

/* --- Info Cards --- */
.info-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
  max-width: 760px;
  margin: 0 auto;
}

.info-card {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
}

.info-card-value {
  font-size: 24px;
  font-weight: 700;
  color: var(--accent);
  margin: 4px 0;
}

.info-card-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}

.info-card-note {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 2px;
}

/* --- Notice Block --- */
.notice-block {
  padding: 18px 22px;
  border-left: 3px solid;
  border-radius: var(--radius);
  margin: 0 auto;
  max-width: 760px;
}

.notice-warning {
  border-color: var(--accent);
  background: #fef8f5;
}

.notice-info {
  border-color: #3b82f6;
  background: #f0f6ff;
}

.notice-title {
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 6px;
}

.notice-text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 1024px) {
  .hero-split { grid-template-columns: 1fr; }
  .hero-illustration { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .markets-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-split { grid-template-columns: 1fr; }
  .cta-illustration { display: none; }
  .duty-tables { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }

  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg-dark);
    padding: 20px;
    gap: 14px;
    box-shadow: var(--shadow-lg);
  }
  .nav-links.open { display: flex; }

  .hero { padding: 100px 0 56px; }
  .hero-text h1 { font-size: 28px; }

  .section { padding: 52px 0; }
  .section-header h2 { font-size: 24px; }

  .why-grid { grid-template-columns: 1fr; }
  .markets-grid { grid-template-columns: 1fr; }
  .duty-tables { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }

  .market-hero { padding: 90px 0 40px; }
  .market-hero h1 { font-size: 28px; }
}
