/* ============================================================
   Chriswin · app.css
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:wght@700;800&display=swap');

:root {
  --teal:    #1a7f74;
  --teal-d:  #145f57;
  --teal-l:  #e8f5f4;
  --gold:    #e8a020;
  --gold-l:  #fdf3e0;
  --charcoal:#1e2a2a;
  --mid:     #4a5e5c;
  --light:   #f7faf9;
  --white:   #ffffff;
  --border:  #d4e6e3;
  --radius:  14px;
  --shadow:  0 4px 24px rgba(26,127,116,.10);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Inter', system-ui, sans-serif; color: var(--charcoal); background: var(--white); line-height: 1.65; }
img { max-width: 100%; display: block; }
a { color: inherit; }

/* ── TYPOGRAPHY ── */
h1,h2,h3,h4 { font-family: 'Playfair Display', serif; line-height: 1.2; }
.section-label {
  display: inline-block; font-family: 'Inter', sans-serif;
  font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--teal); background: var(--teal-l); border-radius: 20px;
  padding: 5px 14px; margin-bottom: 14px;
}
.section-title { font-size: clamp(1.8rem, 3vw, 2.5rem); color: var(--charcoal); margin-bottom: 16px; }
.section-sub   { font-size: 1.02rem; color: var(--mid); max-width: 580px; }

/* ── BUTTONS ── */
.btn { display: inline-block; border-radius: 10px; padding: 13px 26px; font-size: .92rem; font-weight: 600; text-decoration: none; cursor: pointer; border: none; transition: all .15s; }
.btn-primary { background: var(--gold); color: var(--charcoal); }
.btn-primary:hover { background: #d4901c; transform: translateY(-1px); }
.btn-teal  { background: var(--teal); color: #fff; }
.btn-teal:hover { background: var(--teal-d); transform: translateY(-1px); }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.35); }
.btn-outline:hover { border-color: rgba(255,255,255,.75); }
.btn-outline-dark { background: transparent; color: var(--teal); border: 2px solid var(--teal); }
.btn-outline-dark:hover { background: var(--teal); color: #fff; }

/* ── NAV ── */
.nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 60px; height: 68px;
  background: rgba(255,255,255,.96); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo-mark {
  width: 38px; height: 38px; background: var(--teal); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; font-weight: 800; color: #fff; font-family: 'Inter', sans-serif;
}
.nav-logo-text { font-size: 1.1rem; font-weight: 700; color: var(--charcoal); font-family: 'Inter', sans-serif; }
.nav-logo-text span { color: var(--teal); }
.nav-links { display: flex; align-items: center; gap: 0; list-style: none; }
.nav-links a { text-decoration: none; color: var(--mid); font-size: .875rem; font-weight: 500; padding: 8px 16px; border-radius: 8px; transition: all .15s; }
.nav-links a:hover, .nav-links a.active { color: var(--teal); background: var(--teal-l); }
.nav-links .has-dropdown { position: relative; }
.nav-links .has-dropdown > a::after { content: ' ⌄'; font-size: .7rem; }
.dropdown {
  display: none; position: absolute; top: calc(100% + 8px); left: 0;
  background: var(--white); border: 1px solid var(--border); border-radius: 12px;
  box-shadow: var(--shadow); min-width: 200px; padding: 8px 0; z-index: 200;
}
.nav-links .has-dropdown:hover .dropdown { display: block; }
.dropdown a { display: block; padding: 10px 18px; font-size: .85rem; color: var(--mid); text-decoration: none; }
.dropdown a:hover { background: var(--teal-l); color: var(--teal); border-radius: 0; }
.nav-cta { margin-left: 16px; }
.nav-burger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-burger span { display: block; width: 22px; height: 2px; background: var(--charcoal); margin: 5px 0; border-radius: 2px; transition: all .2s; }
.nav-mobile { display: none; }

/* ── HERO ── */
.hero {
  min-height: 88vh; display: flex; align-items: center;
  background: linear-gradient(135deg, var(--charcoal) 0%, #2a4040 55%, var(--teal-d) 100%);
  padding: 80px 60px; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(26,127,116,.12) 1px, transparent 1px);
  background-size: 40px 40px;
}
.hero-content { max-width: 640px; position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(232,160,32,.15); border: 1px solid rgba(232,160,32,.3);
  color: var(--gold); border-radius: 20px; padding: 6px 16px;
  font-size: .75rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 28px;
}
.hero h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); color: #fff; margin-bottom: 24px; }
.hero h1 em { color: var(--gold); font-style: normal; }
.hero-sub { font-size: 1.08rem; color: rgba(255,255,255,.72); max-width: 520px; margin-bottom: 40px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats { position: absolute; bottom: 52px; right: 60px; z-index: 1; display: flex; gap: 44px; }
.hero-stat-n { font-size: 2rem; font-weight: 800; color: var(--gold); line-height: 1; }
.hero-stat-l { font-size: .72rem; color: rgba(255,255,255,.5); margin-top: 4px; text-transform: uppercase; letter-spacing: .06em; }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: linear-gradient(135deg, var(--charcoal) 0%, #2a4040 100%);
  padding: 72px 60px 64px; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(26,127,116,.1) 1px, transparent 1px);
  background-size: 40px 40px;
}
.page-hero-inner { position: relative; z-index: 1; max-width: 680px; }
.page-hero .section-label { background: rgba(232,160,32,.15); color: var(--gold); }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); color: #fff; margin-bottom: 16px; }
.page-hero p  { font-size: 1.05rem; color: rgba(255,255,255,.72); }

/* ── SECTIONS ── */
.section       { padding: 96px 60px; }
.section-light { background: var(--light); }
.section-teal  { background: var(--teal-l); }
.section-dark  { background: var(--charcoal); }
.container     { max-width: 1100px; margin: 0 auto; }

/* ── CARDS ── */
.card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: 0 12px 40px rgba(26,127,116,.12); transform: translateY(-3px); }
.card-pad { padding: 32px; }

/* ── PRODUCT GRID (home) ── */
.products-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 28px; }
.product-card { border: 1px solid var(--border); border-radius: 18px; overflow: hidden; transition: box-shadow .2s, transform .2s; }
.product-card:hover { box-shadow: 0 12px 40px rgba(26,127,116,.12); transform: translateY(-3px); }
.product-card-visual { padding: 36px; min-height: 200px; display: flex; flex-direction: column; justify-content: flex-end; }
.product-card-icon { font-size: 2.2rem; margin-bottom: 14px; }
.product-card-tag { display: inline-block; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; border-radius: 20px; padding: 3px 10px; background: rgba(255,255,255,.15); color: #fff; margin-bottom: 10px; }
.product-card-name { font-family: 'Playfair Display', serif; font-size: 1.3rem; color: #fff; margin-bottom: 6px; }
.product-card-desc { font-size: .84rem; color: rgba(255,255,255,.78); line-height: 1.5; }
.product-card-body { padding: 28px 32px; }
.product-card-features { list-style: none; display: flex; flex-direction: column; gap: 9px; margin-bottom: 24px; }
.product-card-features li { font-size: .84rem; color: var(--mid); display: flex; gap: 8px; }
.product-card-features li::before { content: '✓'; color: var(--teal); font-weight: 700; flex-shrink: 0; }
.product-card-link { font-size: .85rem; font-weight: 600; color: var(--teal); text-decoration: none; display: inline-flex; align-items: center; gap: 4px; }
.product-card-link:hover { color: var(--teal-d); }
.theme-ship    { background: linear-gradient(135deg, #1a4a7f, #0d3460); }
.theme-rewards { background: linear-gradient(135deg, var(--teal), var(--teal-d)); }
.theme-hotel   { background: linear-gradient(135deg, #7f4a1a, #5c3210); }
.theme-dev     { background: linear-gradient(135deg, #2a2a4a, #1a1a32); }

/* ── ABOUT GRID ── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.pillars     { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.pillar { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.pillar-icon  { font-size: 1.4rem; margin-bottom: 8px; }
.pillar-title { font-size: .875rem; font-weight: 700; margin-bottom: 4px; }
.pillar-desc  { font-size: .78rem; color: var(--mid); }
.timeline-card { background: linear-gradient(135deg, var(--teal), var(--teal-d)); border-radius: 20px; padding: 44px 40px; color: #fff; }
.timeline-card h3 { font-size: 1.4rem; margin-bottom: 8px; }
.timeline-card p  { font-size: .88rem; opacity: .75; margin-bottom: 28px; }
.timeline { display: flex; flex-direction: column; gap: 20px; }
.tl-item  { display: flex; gap: 14px; align-items: flex-start; }
.tl-dot   { width: 10px; height: 10px; background: var(--gold); border-radius: 50%; flex-shrink: 0; margin-top: 5px; }
.tl-text strong { font-size: .875rem; display: block; }
.tl-text span   { font-size: .78rem; opacity: .7; }

/* ── VERTICALS ── */
.verticals-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px,1fr)); gap: 14px; margin-top: 44px; }
.vertical-chip { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 18px 16px; display: flex; align-items: center; gap: 12px; font-size: .875rem; font-weight: 600; }
.vertical-chip-icon { font-size: 1.3rem; }

/* ── PRODUCT DETAIL PAGE ── */
.product-detail { display: grid; grid-template-columns: 2fr 1fr; gap: 60px; align-items: start; }
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 14px; margin: 32px 0; }
.feature-list li { display: flex; gap: 14px; align-items: flex-start; padding: 16px; background: var(--light); border-radius: 10px; }
.feature-list li .fi { font-size: 1.2rem; flex-shrink: 0; }
.feature-list li .ft { font-size: .88rem; }
.feature-list li .ft strong { display: block; margin-bottom: 2px; }
.feature-list li .ft span { color: var(--mid); }
.sidebar-card { background: var(--teal); color: #fff; border-radius: 16px; padding: 32px; }
.sidebar-card h3 { font-size: 1.1rem; margin-bottom: 12px; }
.sidebar-card p  { font-size: .85rem; opacity: .82; line-height: 1.6; margin-bottom: 20px; }
.sidebar-card .btn { display: block; text-align: center; }
.network-callout { background: var(--teal-l); border: 1px solid var(--border); border-radius: 12px; padding: 20px 22px; margin: 28px 0; font-size: .85rem; color: var(--mid); line-height: 1.6; }
.network-callout strong { color: var(--teal); display: block; margin-bottom: 6px; }

/* ── CONTACT FORM ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.form-group { margin-bottom: 22px; }
.form-group label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 7px; color: var(--charcoal); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 12px 16px; border: 1px solid var(--border); border-radius: 10px;
  font-size: .9rem; font-family: inherit; color: var(--charcoal); background: var(--white);
  transition: border-color .15s, box-shadow .15s; outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(26,127,116,.12); }
.form-group textarea { resize: vertical; min-height: 130px; }
.form-error { font-size: .78rem; color: #dc2626; margin-top: 5px; }
.alert { border-radius: 10px; padding: 14px 18px; font-size: .88rem; margin-bottom: 24px; }
.alert-success { background: #ecfdf5; border: 1px solid #6ee7b7; color: #065f46; }
.alert-error   { background: #fef2f2; border: 1px solid #fca5a5; color: #991b1b; }
.contact-info-item { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 24px; }
.ci-icon { width: 42px; height: 42px; background: var(--teal-l); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.ci-label { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--mid); font-weight: 600; margin-bottom: 3px; }
.ci-value { font-size: .92rem; font-weight: 500; }

/* ── CTA BAND ── */
.cta-band { background: linear-gradient(135deg, var(--charcoal) 0%, #2a4040 100%); text-align: center; padding: 96px 60px; }
.cta-band .section-label { background: rgba(232,160,32,.15); color: var(--gold); }
.cta-band .section-title { color: #fff; }
.cta-band .section-sub   { color: rgba(255,255,255,.65); margin: 0 auto 40px; }

/* ── FOOTER ── */
.footer { background: var(--charcoal); color: rgba(255,255,255,.45); padding: 56px 60px 36px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand p   { font-size: .82rem; margin-top: 14px; line-height: 1.7; color: rgba(255,255,255,.45); }
.footer-col h4    { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 16px; font-family: 'Inter', sans-serif; }
.footer-col ul    { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a  { font-size: .84rem; color: rgba(255,255,255,.45); text-decoration: none; transition: color .15s; }
.footer-col ul a:hover { color: rgba(255,255,255,.85); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 28px; display: flex; justify-content: space-between; align-items: center; font-size: .78rem; flex-wrap: wrap; gap: 12px; }
.footer-bottom a { color: rgba(255,255,255,.35); text-decoration: none; margin-left: 20px; }
.footer-bottom a:hover { color: rgba(255,255,255,.7); }
.footer-logo-text { font-family: 'Inter', sans-serif; font-size: 1.1rem; font-weight: 700; color: rgba(255,255,255,.85); }
.footer-logo-text span { color: var(--teal); }

/* ── RESPONSIVE ── */
@media(max-width: 1024px) {
  .nav { padding: 0 32px; }
  .section { padding: 72px 32px; }
  .hero { padding: 72px 32px; }
  .page-hero { padding: 56px 32px; }
  .footer { padding: 48px 32px 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .about-grid, .contact-grid, .product-detail { grid-template-columns: 1fr; gap: 40px; }
}
@media(max-width: 768px) {
  .nav { padding: 0 20px; }
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: block; }
  .nav-mobile { display: none; flex-direction: column; background: var(--white); border-top: 1px solid var(--border); padding: 16px 20px; }
  .nav-mobile.open { display: flex; }
  .nav-mobile a { padding: 12px 0; font-size: .95rem; color: var(--mid); text-decoration: none; border-bottom: 1px solid var(--border); }
  .hero { min-height: auto; padding: 56px 24px 48px; }
  .hero-stats { position: static; margin-top: 48px; }
  .section { padding: 56px 24px; }
  .page-hero { padding: 48px 24px; }
  .footer { padding: 40px 24px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .pillars { grid-template-columns: 1fr; }
  .cta-band { padding: 72px 24px; }
}
