/* ============================================
   GULFFOREXPRO.COM — LUXURY GULF / NAVY + GOLD
   ============================================ */

/* --- CSS VARIABLES --- */
:root {
  --gulf-bg: #0b1623;
  --gulf-surface: #111e30;
  --gulf-card: #162540;
  --gulf-border: #1e3a5f;
  --gulf-primary: #c4a265;
  --gulf-primary-dark: #a88a50;
  --gulf-primary-glow: rgba(196, 162, 101, 0.12);
  --gulf-secondary: #ffffff;
  --gulf-accent: #d4b878;
  --gulf-accent-dark: #8b6914;
  --text: #e8e4dc;
  --text-muted: #9ca7b8;
  --text-dim: #64748b;
  --white: #f8f6f0;
  --danger: #ef4444;
  --success: #22c55e;
  --radius: 8px;
  --transition: 0.3s ease;
  --font-heading: 'Archivo', sans-serif;
  --font-body: 'Lato', sans-serif;
  --max-width: 1200px;
  --article-width: 820px;
}

/* --- RESET --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.72;
  color: var(--text);
  background-color: var(--gulf-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--gulf-primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--gulf-accent);
}

ul, ol {
  padding-left: 1.5rem;
}

/* --- GEOMETRIC PATTERN BACKGROUND (Gulf inspired) --- */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(ellipse at 20% 50%, rgba(196, 162, 101, 0.04) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(30, 58, 95, 0.08) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; }

/* --- UTILITY --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

/* --- HEADER --- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 22, 35, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gulf-border);
  padding: 0.75rem 0;
  transition: box-shadow var(--transition);
}

.header__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  text-decoration: none;
}

.header__logo span {
  color: var(--gulf-primary);
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--gulf-primary), var(--gulf-accent-dark));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 900;
  color: var(--gulf-bg);
}

/* --- NAVIGATION --- */
.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav__link {
  padding: 0.5rem 0.9rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.nav__link:hover,
.nav__link--active {
  color: var(--gulf-primary);
  background: var(--gulf-primary-glow);
}

.nav__cta {
  padding: 0.55rem 1.2rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gulf-bg) !important;
  background: linear-gradient(135deg, var(--gulf-primary), var(--gulf-accent));
  border-radius: var(--radius);
  margin-left: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all var(--transition);
}

.nav__cta:hover {
  filter: brightness(1.15);
  transform: translateY(-1px);
}

/* --- MOBILE NAV TOGGLE --- */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all var(--transition);
  border-radius: 2px;
}

/* --- HERO SECTION --- */
.hero {
  padding: 6rem 0 4rem;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--gulf-border);
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(196, 162, 101, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero__content {
  max-width: 750px;
}

.hero__badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gulf-primary);
  background: var(--gulf-primary-glow);
  border: 1px solid rgba(196, 162, 101, 0.25);
  border-radius: 50px;
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hero__title {
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1.08;
  margin-bottom: 1.25rem;
  letter-spacing: -0.5px;
}

.hero__title span {
  background: linear-gradient(135deg, var(--gulf-primary), var(--gulf-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 620px;
  line-height: 1.75;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.5rem;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn--primary {
  background: var(--gulf-card);
  color: var(--gulf-primary);
  border: 1px solid var(--gulf-border);
}

.btn--primary:hover {
  background: var(--gulf-border);
  color: var(--gulf-accent);
}

.btn--accent {
  background: linear-gradient(135deg, var(--gulf-primary), var(--gulf-accent-dark));
  color: var(--gulf-bg);
}

.btn--accent:hover {
  filter: brightness(1.15);
  transform: translateY(-2px);
  color: var(--gulf-bg);
}

.btn--large {
  padding: 0.85rem 2rem;
  font-size: 1rem;
}

/* --- SECTIONS --- */
.section {
  padding: 4rem 0;
  position: relative;
  z-index: 1;
}

.section--alt {
  background: var(--gulf-surface);
}

.section--bordered {
  border-top: 1px solid var(--gulf-border);
  border-bottom: 1px solid var(--gulf-border);
}

.section__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.section__label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gulf-primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
}

.section__title {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.section__desc {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* --- STATS BAR --- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding: 2.5rem 0;
}

.stat {
  text-align: center;
}

.stat__number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--gulf-primary);
}

.stat__label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* --- FEATURE GRID --- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature {
  background: var(--gulf-card);
  border: 1px solid var(--gulf-border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all var(--transition);
}

.feature:hover {
  border-color: var(--gulf-primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(196, 162, 101, 0.08);
}

.feature__icon {
  font-size: 1.8rem;
  color: var(--gulf-primary);
  margin-bottom: 1rem;
}

.feature__title {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.feature__desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* --- CARD GRID --- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--gulf-card);
  border: 1px solid var(--gulf-border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: all var(--transition);
}

.card:hover {
  border-color: rgba(196, 162, 101, 0.4);
  transform: translateY(-2px);
}

.card__rank {
  margin-bottom: 0.75rem;
}

.rank-badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.rank-badge--gold {
  background: rgba(196, 162, 101, 0.15);
  color: var(--gulf-primary);
  border: 1px solid rgba(196, 162, 101, 0.3);
}

.rank-badge--silver {
  background: rgba(148, 163, 184, 0.1);
  color: var(--text-muted);
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.rank-badge--blue {
  background: rgba(30, 58, 95, 0.3);
  color: #6b9fd4;
  border: 1px solid rgba(30, 58, 95, 0.5);
}

.card__title {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.card__title a {
  color: var(--white);
}

.card__title a:hover {
  color: var(--gulf-primary);
}

.card__excerpt {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1rem;
}

.card__meta {
  display: flex;
  gap: 1rem;
  font-size: 0.78rem;
  color: var(--text-dim);
  align-items: center;
}

/* --- CTA BOX --- */
.cta-box {
  background: var(--gulf-card);
  border: 1px solid var(--gulf-border);
  border-left: 4px solid var(--gulf-primary);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all var(--transition);
}

.cta-box:hover {
  box-shadow: 0 4px 20px rgba(196, 162, 101, 0.1);
}

.cta-box__title {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.cta-box__desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

/* --- FOOTER --- */
.footer {
  background: var(--gulf-surface);
  border-top: 1px solid var(--gulf-border);
  padding: 3.5rem 0 1.5rem;
  position: relative;
  z-index: 1;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer__brand-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.footer__brand-name span {
  color: var(--gulf-primary);
}

.footer__brand-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.footer__heading {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gulf-primary);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1rem;
}

.footer__links {
  list-style: none;
  padding: 0;
}

.footer__links li {
  margin-bottom: 0.5rem;
}

.footer__links a {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer__links a:hover {
  color: var(--gulf-primary);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gulf-border);
  margin-bottom: 1.5rem;
}

.footer__copy {
  font-size: 0.82rem;
  color: var(--text-dim);
}

.footer__legal {
  display: flex;
  gap: 1.25rem;
}

.footer__legal a {
  font-size: 0.82rem;
  color: var(--text-dim);
}

.footer__legal a:hover {
  color: var(--gulf-primary);
}

.footer__disclaimer {
  font-size: 0.78rem;
  color: var(--text-dim);
  line-height: 1.65;
  padding: 1.25rem;
  background: rgba(30, 58, 95, 0.15);
  border: 1px solid var(--gulf-border);
  border-radius: var(--radius);
}

/* --- BACK TO TOP --- */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background: var(--gulf-primary);
  color: var(--gulf-bg);
  border: none;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--gulf-accent);
  transform: translateY(-2px);
}

/* --- ARTICLE PAGE STYLES --- */
.article-header {
  padding: 4rem 0 2rem;
  border-bottom: 1px solid var(--gulf-border);
}

.article-header__breadcrumb {
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-bottom: 1.5rem;
}

.article-header__breadcrumb a {
  color: var(--text-dim);
}

.article-header__breadcrumb a:hover {
  color: var(--gulf-primary);
}

.article-header h1 {
  font-size: 2.4rem;
  max-width: var(--article-width);
  margin-bottom: 1rem;
}

.article-header__meta {
  display: flex;
  gap: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-dim);
}

.article-body {
  max-width: var(--article-width);
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.article-body h2 {
  font-size: 1.75rem;
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--gulf-border);
}

.article-body h3 {
  font-size: 1.3rem;
  margin: 2rem 0 0.75rem;
}

.article-body p {
  margin-bottom: 1.25rem;
}

.article-body ul, .article-body ol {
  margin-bottom: 1.25rem;
}

.article-body li {
  margin-bottom: 0.4rem;
}

.article-body blockquote {
  border-left: 4px solid var(--gulf-primary);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: var(--gulf-card);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--text-muted);
  font-style: italic;
}

.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}

.article-body th,
.article-body td {
  padding: 0.75rem 1rem;
  border: 1px solid var(--gulf-border);
  text-align: left;
  font-size: 0.92rem;
}

.article-body th {
  background: var(--gulf-card);
  color: var(--gulf-primary);
  font-weight: 700;
}

/* --- INLINE CTA --- */
.inline-cta {
  background: var(--gulf-card);
  border: 1px solid var(--gulf-primary);
  border-radius: var(--radius);
  padding: 1.75rem;
  margin: 2rem 0;
  text-align: center;
}

.inline-cta h4 {
  margin-bottom: 0.75rem;
  color: var(--gulf-primary);
}

.inline-cta p {
  margin-bottom: 1rem;
  color: var(--text-muted);
}

/* --- FAQ --- */
.gulf-qa {
  border: 1px solid var(--gulf-border);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.gulf-q {
  padding: 1rem 1.25rem;
  background: var(--gulf-card);
  cursor: pointer;
  font-weight: 600;
  color: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background var(--transition);
}

.gulf-q:hover {
  background: var(--gulf-border);
}

.gulf-q::after {
  content: '+';
  font-size: 1.25rem;
  color: var(--gulf-primary);
  transition: transform var(--transition);
}

.gulf-qa.active .gulf-q::after {
  content: '-';
}

.gulf-a {
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.gulf-qa.active .gulf-a {
  padding: 1rem 1.25rem;
  max-height: 500px;
}

/* --- RESPONSIVE --- */
@media (max-width: 968px) {
  .nav-toggle {
    display: flex;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--gulf-surface);
    border-bottom: 1px solid var(--gulf-border);
    flex-direction: column;
    padding: 1rem;
    gap: 0;
  }

  .nav.active {
    display: flex;
  }

  .nav__link {
    padding: 0.75rem 1rem;
    width: 100%;
  }

  .nav__cta {
    margin: 0.5rem 0 0;
    text-align: center;
  }

  .hero__title {
    font-size: 2.2rem;
  }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 3.5rem 0 2.5rem;
  }

  .hero__title {
    font-size: 1.8rem;
  }

  .hero__actions {
    flex-direction: column;
  }

  .btn--large {
    width: 100%;
    justify-content: center;
  }

  .section {
    padding: 2.5rem 0;
  }

  .article-header h1 {
    font-size: 1.7rem;
  }
}