/* ============================================
   AISEO.com.my — Main Stylesheet
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  --navy:        #0B1120;
  --navy-mid:    #111827;
  --navy-light:  #1A2540;
  --gold:        #C8971A;
  --gold-light:  #E8B030;
  --gold-pale:   #FDF3DC;
  --white:       #FFFFFF;
  --off-white:   #F8F7F4;
  --light-gray:  #F1F0ED;
  --text:        #1C1C2E;
  --text-mid:    #374151;
  --text-muted:  #6B7280;
  --border:      #E2E8F0;
  --teal:        #1E6B8A;
  --font-display:'Cormorant Garamond', Georgia, serif;
  --font-body:   'Outfit', system-ui, sans-serif;
  --radius:      8px;
  --shadow:      0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg:   0 12px 48px rgba(0,0,0,0.14);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold-light); }

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ——— TYPOGRAPHY ——— */
h1,h2,h3,h4,h5 {
  font-family: var(--font-display);
  line-height: 1.25;
  color: var(--navy);
}
h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 600; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); font-weight: 600; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); font-weight: 500; }
h4 { font-size: 1.15rem; font-weight: 600; font-family: var(--font-body); }
p  { font-size: 1rem; color: var(--text-mid); line-height: 1.8; }

.lead {
  font-size: 1.15rem;
  color: var(--text-mid);
  line-height: 1.8;
  max-width: 720px;
}

.gold-text { color: var(--gold); }
.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.underline-gold {
  position: relative;
  display: inline-block;
}
.underline-gold::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 60px; height: 3px;
  background: var(--gold);
  border-radius: 2px;
}

/* ——— BUTTONS ——— */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .02em;
  cursor: pointer;
  transition: all .22s ease;
  text-decoration: none;
}
.btn-gold {
  background: var(--gold);
  color: var(--navy);
  border: 2px solid var(--gold);
}
.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200,151,26,.35);
}
.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-2px);
}
.btn-white {
  background: var(--white);
  color: var(--navy);
  border: 2px solid var(--white);
}
.btn-white:hover {
  background: transparent;
  color: var(--white);
  transform: translateY(-2px);
}

/* ——— NAVIGATION ——— */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(11,17,32,.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(200,151,26,.15);
  transition: all .3s;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-logo-mark {
  width: 38px; height: 38px;
  background: var(--gold);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--navy);
  flex-shrink: 0;
}
.nav-logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--white);
  letter-spacing: .02em;
}
.nav-logo-text span { color: var(--gold); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}
.nav-links li { position: relative; }
.nav-links a {
  color: rgba(255,255,255,.85);
  font-size: .875rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 6px;
  transition: all .2s;
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a:hover { color: var(--gold); background: rgba(200,151,26,.1); }
.nav-links .active > a { color: var(--gold); }

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy-mid);
  border: 1px solid rgba(200,151,26,.2);
  border-radius: var(--radius);
  min-width: 220px;
  box-shadow: var(--shadow-lg);
  padding: 8px 0;
  z-index: 100;
}
.has-dropdown:hover .dropdown { display: block; }
.dropdown a {
  display: block;
  padding: 10px 20px;
  color: rgba(255,255,255,.8);
  font-size: .85rem;
  border-radius: 0;
  white-space: nowrap;
}
.dropdown a:hover { color: var(--gold); background: rgba(200,151,26,.08); }

.nav-cta { margin-left: 16px; }
.nav-cta .btn { padding: 10px 22px; font-size: .875rem; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all .3s;
}

/* ——— HERO ——— */
.page-hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  padding: 130px 0 80px;
  overflow: hidden;
}
.page-hero .hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.page-hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(11,17,32,.88) 0%,
    rgba(11,17,32,.72) 50%,
    rgba(11,17,32,.55) 100%
  );
}
.page-hero .container { position: relative; z-index: 2; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.breadcrumb li {
  font-size: .8rem;
  color: rgba(255,255,255,.55);
  display: flex;
  align-items: center;
  gap: 8px;
}
.breadcrumb li::after {
  content: '›';
  color: rgba(255,255,255,.3);
}
.breadcrumb li:last-child::after { display: none; }
.breadcrumb a { color: rgba(255,255,255,.65); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb li:last-child { color: var(--gold); }

.hero-content h1 {
  color: var(--white);
  margin-bottom: 20px;
  text-shadow: 0 2px 12px rgba(0,0,0,.3);
}
.hero-content .lead {
  color: rgba(255,255,255,.82);
  margin-bottom: 32px;
  font-size: 1.1rem;
}
.hero-content .hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ——— SECTIONS ——— */
.section { padding: 80px 0; }
.section-sm { padding: 56px 0; }
.section-lg { padding: 100px 0; }
.bg-white { background: var(--white); }
.bg-light { background: var(--off-white); }
.bg-navy { background: var(--navy); }
.bg-navy-light { background: var(--navy-light); }

.section-header { margin-bottom: 56px; }
.section-header.center { text-align: center; }
.section-header.center .underline-gold::after {
  left: 50%;
  transform: translateX(-50%);
}
.section-header h2 { margin-bottom: 16px; }
.section-header p { color: var(--text-muted); max-width: 600px; }
.section-header.center p { margin: 0 auto; }

/* ——— GRID ——— */
.grid { display: grid; gap: 32px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2-1 { grid-template-columns: 2fr 1fr; }
.grid-1-2 { grid-template-columns: 1fr 2fr; }

/* ——— CARDS ——— */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  transition: all .25s;
}
.card:hover {
  border-color: rgba(200,151,26,.3);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}
.card-icon {
  width: 52px; height: 52px;
  background: var(--gold-pale);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
}
.card h3 { margin-bottom: 10px; font-size: 1.2rem; }
.card p { font-size: .9rem; color: var(--text-muted); margin: 0; }

.card-dark {
  background: var(--navy-light);
  border-color: rgba(200,151,26,.15);
  color: var(--white);
}
.card-dark h3 { color: var(--white); }
.card-dark p { color: rgba(255,255,255,.65); }
.card-dark .card-icon { background: rgba(200,151,26,.15); }

/* ——— TWO-COLUMN SPLIT ——— */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split.reverse .split-img { order: -1; }
.split-img { border-radius: 12px; overflow: hidden; }
.split-img img { width: 100%; height: 400px; object-fit: cover; }
.split-content .section-label { margin-bottom: 12px; }
.split-content h2 { margin-bottom: 20px; }
.split-content p { margin-bottom: 16px; }
.split-content .btn { margin-top: 12px; }

/* ——— FEATURE LIST ——— */
.feature-list { list-style: none; }
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: .95rem;
  color: var(--text-mid);
}
.feature-list li:last-child { border: none; }
.feature-list .check {
  width: 22px; height: 22px;
  background: var(--gold-pale);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  font-size: .75rem;
  color: var(--gold);
}

/* ——— STATS ——— */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.stat-item {
  background: var(--white);
  padding: 32px 24px;
  text-align: center;
}
.stat-number {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: .85rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ——— PROCESS STEPS ——— */
.steps { counter-reset: step; }
.step {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.step:last-child { border: none; }
.step-num {
  width: 48px; height: 48px;
  background: var(--navy);
  color: var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.step-content h4 { margin-bottom: 6px; font-size: 1.05rem; }
.step-content p { font-size: .9rem; color: var(--text-muted); margin: 0; }

/* ——— FAQ ——— */
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 22px 0;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-question:hover { color: var(--gold); }
.faq-icon {
  width: 28px; height: 28px;
  background: var(--light-gray);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
  color: var(--gold);
  transition: transform .3s;
}
.faq-answer {
  display: none;
  padding: 0 0 22px;
  font-size: .95rem;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 780px;
}
.faq-item.open .faq-answer { display: block; }
.faq-item.open .faq-icon { transform: rotate(45deg); }

/* ——— CTA BANNER ——— */
.cta-banner {
  background: var(--navy);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%; left: -20%;
  width: 60%; height: 200%;
  background: radial-gradient(ellipse, rgba(200,151,26,.08) 0%, transparent 70%);
  pointer-events: none;
}
.cta-banner h2 { color: var(--white); margin-bottom: 16px; }
.cta-banner p { color: rgba(255,255,255,.65); margin-bottom: 36px; font-size: 1.05rem; }
.cta-banner .btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ——— TESTIMONIALS / QUOTE ——— */
.quote-block {
  background: var(--navy-light);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 28px 32px;
  margin: 32px 0;
}
.quote-block blockquote {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--white);
  line-height: 1.6;
  margin-bottom: 14px;
}
.quote-block cite {
  font-size: .85rem;
  color: var(--gold);
  font-style: normal;
  font-weight: 600;
}

/* ——— PRICING ——— */
.pricing-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 14px;
  padding: 36px 30px;
  transition: all .25s;
}
.pricing-card.featured {
  border-color: var(--gold);
  background: var(--navy);
  position: relative;
}
.pricing-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--navy);
  font-size: .75rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 20px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.pricing-card h3 { margin-bottom: 12px; }
.pricing-card.featured h3 { color: var(--white); }
.pricing-price {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 4px;
  line-height: 1;
}
.pricing-period {
  font-size: .8rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.pricing-card.featured .pricing-period { color: rgba(255,255,255,.5); }
.pricing-features {
  list-style: none;
  margin-bottom: 28px;
}
.pricing-features li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: .9rem;
  color: var(--text-mid);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.pricing-card.featured .pricing-features li {
  color: rgba(255,255,255,.75);
  border-color: rgba(255,255,255,.08);
}
.pricing-features li::before { content: '✓'; color: var(--gold); font-weight: 700; flex-shrink: 0; }

/* ——— INTERNAL LINKS / SERVICE GRID ——— */
.service-link-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
  transition: all .22s;
}
.service-link-card:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 20px rgba(200,151,26,.12);
  transform: translateY(-3px);
  color: var(--text);
}
.service-link-card .icon { font-size: 1.6rem; }
.service-link-card h4 { font-size: .95rem; color: var(--navy); margin: 0; }
.service-link-card p { font-size: .82rem; color: var(--text-muted); margin: 0; }
.service-link-card .arrow {
  margin-top: auto;
  font-size: .8rem;
  color: var(--gold);
  font-weight: 600;
}

/* ——— TAGS ——— */
.tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--gold-pale);
  color: var(--gold);
  border-radius: 20px;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .04em;
}
.tag-navy {
  background: var(--navy-light);
  color: rgba(255,255,255,.7);
}

/* ——— FOOTER ——— */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.7);
  padding: 72px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand .nav-logo { margin-bottom: 20px; }
.footer-brand p {
  font-size: .88rem;
  color: rgba(255,255,255,.5);
  margin-bottom: 24px;
  line-height: 1.7;
}
.footer-col h5 {
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--gold);
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a {
  font-size: .875rem;
  color: rgba(255,255,255,.55);
  transition: color .2s;
}
.footer-col ul a:hover { color: var(--gold); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: .8rem;
  color: rgba(255,255,255,.3);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom a { color: rgba(255,255,255,.4); }
.footer-bottom a:hover { color: var(--gold); }

/* ——— MOBILE MENU ——— */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--navy);
  z-index: 999;
  padding: 100px 24px 40px;
  overflow-y: auto;
}
.mobile-menu.open { display: block; }
.mobile-menu-links { list-style: none; }
.mobile-menu-links li { border-bottom: 1px solid rgba(255,255,255,.07); }
.mobile-menu-links a {
  display: block;
  padding: 18px 0;
  font-size: 1.1rem;
  color: rgba(255,255,255,.8);
  font-weight: 500;
}
.mobile-menu-links a:hover { color: var(--gold); }
.mobile-menu .btn { width: 100%; justify-content: center; margin-top: 32px; }
.mobile-close {
  position: absolute;
  top: 24px; right: 24px;
  background: none; border: none;
  color: var(--white); font-size: 1.8rem; cursor: pointer;
}

/* ——— RESPONSIVE ——— */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .grid-2, .grid-3, .grid-2-1, .grid-1-2 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse .split-img { order: 0; }
  .split-img img { height: 260px; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cta-banner .btns { flex-direction: column; align-items: center; }
  .hero-content .hero-btns { flex-direction: column; }
  .page-hero { min-height: 440px; padding: 110px 0 60px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
}

@media (max-width: 480px) {
  .stats-row { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
}

/* ——— UTILITIES ——— */
.text-center { text-align: center; }
.text-white { color: var(--white) !important; }
.text-white p { color: rgba(255,255,255,.7); }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-16 { gap: 16px; }
.gap-32 { gap: 32px; }
.items-center { align-items: center; }
