/* ═══════════════════════════════════════
   ADFC — AD Financial Consultant
   Main Stylesheet
   ═══════════════════════════════════════ */

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

:root {
  --bg-page:    #eaf4fb;
  --bg-white:   #ffffff;
  --bg-card:    #f4f9fd;
  --bg-dark:    #06101e;
  --sky:        #1565C0;
  --sky-bright: #2196F3;
  --sky-glow:   #5fc8f5;
  --gold:       #c9a227;
  --gold-light: #f0d060;
  --text-head:  #0b1e30;
  --text-body:  #1e3a52;
  --text-muted: #4a7090;
  --text-dark:  #d4eaf5;
  --muted-dark: #8ab0c8;
  --border:     rgba(21,101,192,0.15);
  --border-dk:  rgba(95,200,245,0.12);
  --up:         #1a8a5a;
  --down:       #c03030;
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body {
  background: var(--bg-page);
  color: var(--text-body);
  font-family: 'Cormorant Garamond', serif;
  overflow-x: hidden;
  font-size: 18px;
}
::-webkit-scrollbar { width:4px; }
::-webkit-scrollbar-track { background: var(--bg-page); }
::-webkit-scrollbar-thumb { background: var(--sky); border-radius:2px; }
a { text-decoration: none; }
img { display: block; }

/* ── NAV ── */
nav {
  position: sticky; top:0; z-index:100;
  height: 84px; padding: 0 48px;
  display: flex; align-items: center; justify-content: space-between;
  background: var(--bg-dark);
  border-bottom: 1px solid var(--border-dk);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.nav-logo img { height:64px; width:auto; object-fit:contain; }
.nav-links { display:flex; align-items:center; gap:4px; list-style:none; }
.nav-links a {
  font-family: 'Cinzel', serif; font-size:12px; font-weight:600;
  letter-spacing:2px; text-transform:uppercase;
  color: var(--text-dark); padding:10px 14px; border-radius:2px;
  transition: all .25s; white-space:nowrap;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--sky-glow); background: rgba(95,200,245,0.08);
}
.nav-links a.nav-cta {
  color: var(--sky-glow); border:1px solid rgba(95,200,245,0.4); margin-left:8px;
}
.nav-links a.nav-cta:hover {
  background: rgba(95,200,245,0.12); border-color: var(--sky-glow);
}

/* ── HERO ── */
.hero {
  background: var(--bg-dark); padding: 80px 48px 90px;
  display: flex; align-items:center; justify-content:center;
  position:relative; overflow:hidden;
  border-bottom: 3px solid var(--sky-bright);
}
.hero::before {
  content:''; position:absolute; inset:0;
  background-image:
    linear-gradient(rgba(95,200,245,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(95,200,245,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
}
.hero-glow {
  position:absolute; top:50%; left:50%;
  transform: translate(-50%,-50%);
  width:700px; height:700px;
  background: radial-gradient(ellipse, rgba(11,61,145,0.28) 0%, transparent 70%);
  pointer-events:none;
}
.hero-inner {
  position:relative; z-index:2;
  display:flex; flex-direction:column; align-items:center; text-align:center;
}
.hero-logo { width:260px; margin-bottom:32px; filter:drop-shadow(0 0 44px rgba(95,200,245,0.22)); }
.hero-est {
  font-family:'Rajdhani',sans-serif; font-size:13px;
  letter-spacing:7px; text-transform:uppercase;
  color: var(--sky-glow); margin-bottom:20px; font-weight:600;
}
.hero-headline {
  font-family:'Cinzel',serif; font-size:clamp(26px,3.2vw,50px);
  font-weight:700; letter-spacing:2px; line-height:1.3;
  color:#fff; margin-bottom:8px;
}
.hero-headline em {
  font-style:italic; font-family:'Cormorant Garamond',serif;
  font-size:clamp(28px,3.8vw,54px); font-weight:400;
  background: linear-gradient(135deg,var(--sky-bright),var(--sky-glow));
  -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text;
  display:block; margin-top:8px;
}
.hero-line {
  width:60px; height:1px;
  background: linear-gradient(to right,transparent,var(--sky-glow),transparent);
  margin:26px auto;
}
.hero-sub {
  font-size:clamp(17px,1.6vw,22px); font-weight:400; font-style:italic;
  color:#b8d4e8; max-width:540px; line-height:1.9; margin-bottom:44px;
}
.hero-btns { display:flex; gap:16px; flex-wrap:wrap; justify-content:center; }

/* ── PAGE HEADER (inner pages) ── */
.page-header {
  background: var(--bg-dark); padding: 60px 48px;
  position:relative; overflow:hidden;
  border-bottom: 3px solid var(--sky-bright);
}
.page-header::before {
  content:''; position:absolute; inset:0;
  background-image:
    linear-gradient(rgba(95,200,245,0.025) 1px,transparent 1px),
    linear-gradient(90deg,rgba(95,200,245,0.025) 1px,transparent 1px);
  background-size:64px 64px;
}
.page-header-inner { position:relative; z-index:2; max-width:1100px; margin:0 auto; }
.page-header .s-label { color:var(--sky-glow); }
.page-header .s-label::before { background:var(--sky-glow); }
.page-header h1 {
  font-family:'Cinzel',serif; font-size:clamp(28px,3.5vw,48px);
  font-weight:700; letter-spacing:2px; color:#fff;
  margin-bottom:12px; line-height:1.2;
}
.page-header p {
  font-size:19px; color:#b8d4e8; font-style:italic;
  max-width:560px; line-height:1.8;
}

/* ── BUTTONS ── */
.btn-p {
  font-family:'Cinzel',serif; font-size:12px; letter-spacing:3px;
  text-transform:uppercase; font-weight:700;
  color:var(--bg-dark); background:linear-gradient(135deg,var(--sky-bright),var(--sky-glow));
  padding:16px 40px; border-radius:2px; transition:all .3s;
  display:inline-block; border:none; cursor:pointer;
}
.btn-p:hover { transform:translateY(-2px); box-shadow:0 12px 32px rgba(95,200,245,0.3); }
.btn-s {
  font-family:'Cinzel',serif; font-size:12px; letter-spacing:3px;
  text-transform:uppercase; color:var(--sky-glow);
  padding:15px 40px; border:1px solid rgba(95,200,245,0.4);
  border-radius:2px; transition:all .3s; display:inline-block;
}
.btn-s:hover { background:rgba(95,200,245,0.08); border-color:var(--sky-glow); transform:translateY(-2px); }

/* ── PAGE BODY ── */
.page-body { background:var(--bg-page); padding:64px 48px 80px; }
.inner { max-width:1100px; margin:0 auto; }

.s-label {
  font-family:'Rajdhani',sans-serif; font-size:13px; letter-spacing:6px;
  text-transform:uppercase; color:var(--sky); margin-bottom:12px;
  display:flex; align-items:center; gap:14px; font-weight:700;
}
.s-label::before { content:''; display:block; width:28px; height:1px; background:var(--sky); }
.s-title {
  font-family:'Cinzel',serif; font-size:clamp(24px,2.6vw,38px);
  font-weight:700; letter-spacing:1.5px; color:var(--text-head);
  margin-bottom:14px; line-height:1.3;
}
.s-body {
  font-size:19px; font-weight:400; color:var(--text-body);
  line-height:1.9; max-width:620px;
}

/* ── CARDS ── */
.card {
  background:var(--bg-white); padding:36px 32px;
  border:1px solid var(--border); border-radius:4px;
  box-shadow:0 2px 12px rgba(21,101,192,0.06);
}
.card-grid-3 { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; margin-top:48px; }
.card-grid-2 { display:grid; grid-template-columns:repeat(2,1fr); gap:20px; margin-top:48px; }

/* ── DIVIDER ── */
.divider { border:none; border-top:1px solid var(--border); margin:56px 0; }

/* ── TERMINAL STRIP (dark) ── */
.dark-strip {
  background: var(--bg-dark); padding:80px 48px;
  border-top:3px solid var(--sky-bright);
}
.dark-strip .s-label { color:var(--sky-glow); }
.dark-strip .s-label::before { background:var(--sky-glow); }
.dark-strip .s-title { color:#fff; }
.dark-strip .s-body { color:var(--text-dark); }

/* ── FOOTER ── */
footer {
  background:#030810; border-top:1px solid rgba(95,200,245,0.1);
  padding:60px 48px 32px;
}
.foot-grid {
  display:grid; grid-template-columns:2fr 1fr 1fr 1fr;
  gap:48px; margin-bottom:48px;
}
.foot-logo { width:180px; margin-bottom:18px; }
.foot-desc { font-size:15px; color:#7aaabb; line-height:1.85; max-width:260px; }
.foot-col-title {
  font-family:'Cinzel',serif; font-size:12px; letter-spacing:3px;
  text-transform:uppercase; color:var(--sky-glow);
  margin-bottom:20px; padding-bottom:10px;
  border-bottom:1px solid rgba(95,200,245,0.1); font-weight:700;
}
.foot-links { list-style:none; display:flex; flex-direction:column; gap:12px; }
.foot-links a {
  font-family:'Rajdhani',sans-serif; font-size:15px; letter-spacing:1px;
  color:#8ab0c8; transition:color .3s; font-weight:600;
}
.foot-links a:hover { color:var(--sky-glow); }
.foot-bottom {
  border-top:1px solid rgba(95,200,245,0.08); padding-top:24px;
  display:flex; justify-content:space-between; align-items:center;
}
.foot-copy {
  font-family:'Rajdhani',sans-serif; font-size:13px;
  letter-spacing:1.5px; color:#4a6a7a; font-weight:600;
}
.foot-legal { display:flex; gap:22px; }
.foot-legal a {
  font-family:'Rajdhani',sans-serif; font-size:13px; letter-spacing:1px;
  color:#4a6a7a; transition:color .3s; font-weight:600;
}
.foot-legal a:hover { color:var(--sky-glow); }
.risk-box { margin-top:18px; padding:14px 16px; border:1px solid rgba(95,200,245,0.07); }
.risk-box p {
  font-family:'Rajdhani',sans-serif; font-size:11px; letter-spacing:1px;
  color:#3a5a6a; line-height:1.7; font-weight:600;
}

/* ── FORMS ── */
.form-group { margin-bottom:24px; }
.form-group label {
  display:block; font-family:'Rajdhani',sans-serif; font-size:13px;
  letter-spacing:2px; text-transform:uppercase; color:var(--sky);
  font-weight:700; margin-bottom:8px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width:100%; padding:14px 18px;
  background:var(--bg-white); border:1px solid var(--border);
  border-radius:3px; font-family:'Cormorant Garamond',serif;
  font-size:17px; color:var(--text-body);
  transition:border-color .3s; outline:none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color:var(--sky-bright); box-shadow:0 0 0 3px rgba(33,150,243,0.1);
}
.form-group textarea { resize:vertical; min-height:140px; }

/* ── RESPONSIVE ── */
@media(max-width:1024px) {
  nav, .page-body, .dark-strip, footer { padding-left:28px; padding-right:28px; }
  .hero, .page-header { padding:60px 28px 70px; }
  .card-grid-3 { grid-template-columns:1fr 1fr; }
  .foot-grid { grid-template-columns:1fr 1fr; gap:32px; }
}
@media(max-width:640px) {
  nav { padding:0 16px; height:70px; }
  .nav-links { display:none; }
  .hero, .page-header { padding:50px 16px 60px; }
  .card-grid-3, .card-grid-2 { grid-template-columns:1fr; }
  .page-body, .dark-strip, footer { padding-left:16px; padding-right:16px; }
  .foot-grid { grid-template-columns:1fr; }
  .foot-bottom { flex-direction:column; gap:12px; text-align:center; }
}
