/* ============================================================
   ATORA Website — Global Stylesheet
   Brand CI: Cyan #3ABFC0 | Gold #C8921A | Dark #3D4147
   ============================================================ */

/* --- CSS Variables --- */
:root {
  --cyan: #3ABFC0;
  --cyan-dark: #2A9FA0;
  --gold: #C8921A;
  --dark: #3D4147;
  --dark-alt: #2C2F33;
  --white: #FFFFFF;
  --light: #F7F8F9;
  --light-alt: #ECEEF0;
  --text: #2C2F33;
  --text-muted: #6B7280;
  --border: #DDE1E6;
  --radius: 8px;
  --radius-lg: 16px;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
  --transition: 0.25s ease;
  --max-width: 1200px;
  --font: 'Inter', 'Segoe UI', Arial, sans-serif;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font); color: var(--text); background: var(--white); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* --- Container --- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--dark);
  box-shadow: 0 2px 16px rgba(0,0,0,0.2);
  height: 120px;
}
.navbar .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%;
}
.navbar__logo { display: flex; align-items: center; gap: 12px; }
.navbar__logo-text {
  display: flex; flex-direction: column;
}
.navbar__logo-name {
  font-size: 22px; font-weight: 700; color: var(--cyan); letter-spacing: 1px; line-height: 1;
}
.navbar__logo-tagline {
  font-size: 10px; color: var(--gold); letter-spacing: 0.5px; margin-top: 2px;
}
.navbar__logo-img {
  height: 80px; width: auto; display: block;
  }

.navbar__menu { display: flex; align-items: center; gap: 4px; }
.navbar__link {
  padding: 8px 14px; color: rgba(255,255,255,0.85); font-size: 14px; font-weight: 500;
  border-radius: var(--radius); transition: var(--transition);
  white-space: nowrap;
}
.navbar__link:hover, .navbar__link.active { color: var(--cyan); background: rgba(58,191,192,0.08); }

.navbar__cta {
  padding: 9px 20px; background: var(--cyan); color: var(--white); font-size: 14px;
  font-weight: 600; border-radius: var(--radius); margin-left: 8px; transition: var(--transition);
}
.navbar__cta:hover { background: var(--cyan-dark); transform: translateY(-1px); }

/* Language Switcher */
.lang-switcher {
  display: flex; align-items: center; gap: 4px; margin-left: 16px;
  border-left: 1px solid rgba(255,255,255,0.15); padding-left: 16px;
}
.lang-btn {
  background: transparent; border: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.7); font-size: 11px; font-weight: 700;
  letter-spacing: 0.5px; padding: 4px 8px; border-radius: 4px;
  cursor: pointer; font-family: var(--font); transition: var(--transition);
  line-height: 1;
}
.lang-btn:hover { background: rgba(58,191,192,0.2); color: var(--white); border-color: var(--cyan); }
.lang-btn--active { background: var(--cyan); color: var(--white); border-color: var(--cyan); }

.navbar__toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.navbar__toggle span { display: block; width: 22px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--transition); }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  background: var(--dark);
  overflow: hidden; padding-top: 120px;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--dark) 50%, rgba(58,191,192,0.12) 100%);
}
.hero__grid-bg {
  position: absolute; inset: 0; opacity: 0.04;
  background-image: linear-gradient(var(--cyan) 1px, transparent 1px),
    linear-gradient(90deg, var(--cyan) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero__accent {
  position: absolute; right: -100px; top: 50%; transform: translateY(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(58,191,192,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; padding-top: 80px; padding-bottom: 80px; }
.hero__content { max-width: 640px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(58,191,192,0.12); border: 1px solid rgba(58,191,192,0.3);
  color: var(--cyan); padding: 6px 16px; border-radius: 100px;
  font-size: 13px; font-weight: 500; margin-bottom: 28px;
}
.hero__badge::before { content: ''; width: 6px; height: 6px; background: var(--cyan); border-radius: 50%; }
.hero__title {
  font-size: clamp(36px, 5vw, 60px); font-weight: 700; color: var(--white);
  line-height: 1.15; margin-bottom: 24px; letter-spacing: -0.5px;
}
.hero__title span { color: var(--cyan); }
.hero__subtitle {
  font-size: clamp(16px, 2vw, 19px); color: rgba(255,255,255,0.72);
  line-height: 1.7; margin-bottom: 40px;
}
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__markets {
  margin-top: 64px; padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; gap: 40px; flex-wrap: wrap;
}
.hero__market { color: rgba(255,255,255,0.55); font-size: 13px; }
.hero__market strong { display: block; color: var(--white); font-size: 20px; font-weight: 700; margin-bottom: 2px; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: var(--radius); font-size: 15px;
  font-weight: 600; transition: var(--transition); white-space: nowrap;
}
.btn-primary { background: var(--cyan); color: var(--white); }
.btn-primary:hover { background: var(--cyan-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(58,191,192,0.3); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.3); }
.btn-outline:hover { border-color: var(--cyan); color: var(--cyan); transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover { background: #A37515; transform: translateY(-2px); }
.btn-dark { background: var(--dark); color: var(--white); }
.btn-dark:hover { background: var(--dark-alt); transform: translateY(-2px); }
.btn-sm { padding: 9px 20px; font-size: 14px; }
.btn-lg { padding: 16px 36px; font-size: 16px; }

/* ============================================================
   SECTION COMMONS
   ============================================================ */
.section { padding: 96px 0; }
.section--light { background: var(--light); }
.section--dark { background: var(--dark); }
.section--alt { background: var(--light-alt); }

.section__label {
  display: inline-block; color: var(--cyan); font-size: 12px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase; margin-bottom: 12px;
}
.section__title {
  font-size: clamp(26px, 3.5vw, 40px); font-weight: 700; color: var(--dark-alt);
  line-height: 1.25; margin-bottom: 16px; letter-spacing: -0.3px;
}
.section--dark .section__title { color: var(--white); }
.section__subtitle {
  font-size: 17px; color: var(--text-muted); line-height: 1.7; max-width: 620px;
}
.section--dark .section__subtitle { color: rgba(255,255,255,0.65); }
.section__header { margin-bottom: 56px; }
.section__header--center { text-align: center; }
.section__header--center .section__subtitle { margin: 0 auto; }

/* ============================================================
   PRODUCT CARDS
   ============================================================ */
.products-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px;
}
.product-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: var(--transition); position: relative;
  display: flex; flex-direction: column;
}
.product-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--cyan);
}
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.product-card__body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.product-card__icon {
  width: 48px; height: 48px; background: rgba(58,191,192,0.1);
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 16px;
}
.product-card__name { font-size: 15px; font-weight: 700; color: var(--dark-alt); margin-bottom: 6px; }
.product-card__desc { font-size: 13px; color: var(--text-muted); line-height: 1.5; margin-bottom: 12px; flex: 1; }
.product-card__tags { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 12px; }
.product-card__tag {
  padding: 3px 10px; background: var(--light); color: var(--text-muted);
  border-radius: 100px; font-size: 12px; font-weight: 500;
}
.product-card__link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--cyan); font-size: 14px; font-weight: 600; transition: var(--transition);
}
.product-card__link:hover { gap: 10px; }

/* ============================================================
   WHY CHOOSE SECTION
   ============================================================ */
.features-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 32px; }
.feature {
  display: flex; gap: 16px;
}
.feature__icon {
  flex-shrink: 0; width: 48px; height: 48px;
  background: rgba(58,191,192,0.12); border-radius: 12px;
  display: flex; align-items: center; justify-content: center; font-size: 22px;
}
.feature__title { font-size: 16px; font-weight: 700; color: var(--dark-alt); margin-bottom: 6px; }
.feature__desc { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.section--dark .feature__title { color: var(--white); }
.section--dark .feature__desc { color: rgba(255,255,255,0.6); }
.section--dark .feature__icon { background: rgba(58,191,192,0.15); }

/* ============================================================
   MARKETS STRIP
   ============================================================ */
.markets-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }
.market-card {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg); padding: 32px 28px; transition: var(--transition);
}
.market-card:hover { background: rgba(58,191,192,0.1); border-color: rgba(58,191,192,0.3); }
.market-card__icon { font-size: 32px; margin-bottom: 16px; }
.market-card__title { font-size: 17px; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.market-card__desc { font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.6; }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--cyan) 0%, var(--cyan-dark) 100%);
  padding: 72px 0; text-align: center;
}
.cta-banner__title { font-size: clamp(28px, 4vw, 40px); font-weight: 700; color: var(--white); margin-bottom: 12px; }
.cta-banner__subtitle { font-size: 17px; color: rgba(255,255,255,0.85); margin-bottom: 36px; }
.cta-banner .btn-outline { border-color: rgba(255,255,255,0.5); }
.cta-banner .btn-outline:hover { border-color: var(--white); color: var(--white); background: rgba(255,255,255,0.1); }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   CONTACT FORM
   ============================================================ */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group--full { grid-column: 1 / -1; }
.form-label { font-size: 13px; font-weight: 600; color: var(--dark-alt); }
.form-input, .form-select, .form-textarea {
  padding: 12px 16px; border: 1.5px solid var(--border);
  border-radius: var(--radius); font-size: 15px; font-family: var(--font);
  color: var(--text); background: var(--white); transition: var(--transition);
  width: 100%;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(58,191,192,0.12);
}
.form-textarea { min-height: 120px; resize: vertical; }
.form-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236B7280'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; padding-right: 40px; }
.form-submit { margin-top: 8px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--dark-alt); padding: 64px 0 0; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer__brand-name { font-size: 22px; font-weight: 700; color: var(--cyan); letter-spacing: 1px; }
.footer__tagline { color: var(--gold); font-size: 11px; margin-bottom: 16px; }
.footer__desc { font-size: 14px; color: rgba(255,255,255,0.55); line-height: 1.7; }
.footer__heading { font-size: 13px; font-weight: 700; color: var(--white); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 16px; }
.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__link { color: rgba(255,255,255,0.55); font-size: 14px; transition: var(--transition); }
.footer__link:hover { color: var(--cyan); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08); padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer__copy { font-size: 13px; color: rgba(255,255,255,0.4); }

/* ============================================================
   PAGE HEADER (inner pages)
   ============================================================ */
.page-header {
  background: var(--dark); padding: 120px 0 64px; text-align: center;
}
.page-header__title { font-size: clamp(32px, 5vw, 52px); font-weight: 700; color: var(--white); margin-bottom: 12px; }
.page-header__sub { font-size: 18px; color: rgba(255,255,255,0.65); max-width: 560px; margin: 0 auto; }
.page-header__breadcrumb {
  display: flex; justify-content: center; gap: 8px; align-items: center;
  font-size: 13px; color: rgba(255,255,255,0.45); margin-bottom: 20px;
}
.page-header__breadcrumb a { color: var(--cyan); }

/* ============================================================
   PRODUCT DETAIL PAGE
   ============================================================ */
.product-detail { padding: 80px 0; }
.product-detail__grid { display: grid; grid-template-columns: 2fr 1fr; gap: 60px; align-items: start; }
.product-detail__badge {
  display: inline-block; background: rgba(58,191,192,0.1); color: var(--cyan);
  padding: 4px 14px; border-radius: 100px; font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px;
}
.product-detail__title { font-size: clamp(28px, 4vw, 42px); font-weight: 700; color: var(--dark-alt); margin-bottom: 16px; }
.product-detail__desc { font-size: 17px; color: var(--text-muted); line-height: 1.75; margin-bottom: 32px; }
.product-detail__section { margin-bottom: 36px; }
.product-detail__section h3 { font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--dark-alt); margin-bottom: 12px; }
.product-detail__list { display: flex; flex-direction: column; gap: 8px; }
.product-detail__list li { display: flex; gap: 10px; font-size: 15px; color: var(--text); }
.product-detail__list li::before { content: '→'; color: var(--cyan); flex-shrink: 0; font-weight: 700; }
.product-detail__sidebar { position: sticky; top: 96px; }
.product-detail__card {
  background: var(--light); border-radius: var(--radius-lg); padding: 32px;
  border: 1px solid var(--border);
}
.product-detail__card h3 { font-size: 16px; font-weight: 700; margin-bottom: 20px; }
.product-detail__actions { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.product-detail__actions .btn { justify-content: center; }
.product-detail__docs { border-top: 1px solid var(--border); padding-top: 24px; }
.product-detail__docs h4 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); margin-bottom: 12px; }
.doc-link {
  display: flex; align-items: center; gap: 10px; padding: 10px 0;
  border-bottom: 1px solid var(--border); font-size: 14px; color: var(--text);
  transition: var(--transition);
}
.doc-link:last-child { border-bottom: none; }
.doc-link:hover { color: var(--cyan); }
.doc-link__icon { color: var(--gold); font-size: 16px; }

/* ============================================================
   INFO CARDS / ICONS
   ============================================================ */
.info-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px; }
.info-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 28px 24px; text-align: center; transition: var(--transition);
}
.info-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.info-card__icon { font-size: 36px; margin-bottom: 12px; }
.info-card__title { font-size: 16px; font-weight: 700; color: var(--dark-alt); margin-bottom: 6px; }
.info-card__desc { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .navbar__menu { display: none; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: var(--dark); padding: 16px; gap: 4px; }
  .navbar__menu.is-open { display: flex; }
  .navbar__toggle { display: flex; }
  .hero { min-height: auto; padding: 120px 0 64px; }
  .section { padding: 64px 0; }
  .form-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .product-detail__grid { grid-template-columns: 1fr; }
  .product-detail__sidebar { position: static; }
  .hero__markets { gap: 24px; }
}

@media (max-width: 480px) {
  .footer__grid { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; }
  .cta-actions { flex-direction: column; align-items: center; }
}
