/* ═══════════════════════════════════════════════════
   Strategic Investing Club — Global Stylesheet
   A2P 10DLC Compliant Site
════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --purple:       #7c3aed;
  --purple-dark:  #5b21b6;
  --purple-light: #ede9fe;
  --blue:         #2563eb;
  --blue-dark:    #1d4ed8;
  --green:        #16a34a;
  --red:          #dc2626;
  --gray-50:      #f9fafb;
  --gray-100:     #f3f4f6;
  --gray-200:     #e5e7eb;
  --gray-300:     #d1d5db;
  --gray-500:     #6b7280;
  --gray-600:     #4b5563;
  --gray-700:     #374151;
  --gray-900:     #111827;
  --white:        #ffffff;
  --black:        #000000;
  --transition:   0.3s ease;
  --radius:       10px;
  --radius-lg:    16px;
  --shadow-sm:    0 2px 8px rgba(0,0,0,0.06);
  --shadow-md:    0 4px 24px rgba(0,0,0,0.10);
  --shadow-lg:    0 12px 40px rgba(0,0,0,0.15);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
}

/* ─── TYPOGRAPHY ─── */
h1,h2,h3 { font-family: 'DM Serif Display', serif; font-weight: 400; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1.15; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.8rem); line-height: 1.2; }
h3 { font-size: 1.25rem; line-height: 1.3; }
p  { color: var(--gray-700); }

a { color: var(--purple); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ─── LAYOUT ─── */
.container { max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; }
section    { padding: 5.5rem 1.5rem; }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header h2 { color: var(--gray-900); margin-bottom: 0.9rem; }
.section-header p  { font-size: 1.05rem; color: var(--gray-600); max-width: 560px; margin: 0 auto; }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 13px 30px; border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif; font-size: 15px; font-weight: 500;
  border: none; cursor: pointer; text-decoration: none;
  transition: opacity var(--transition), transform var(--transition);
}
.btn:hover { opacity: 0.88; transform: translateY(-2px); text-decoration: none; }
.btn-primary { background: linear-gradient(135deg, var(--purple), var(--blue)); color: white; }
.btn-white   { background: white; color: var(--gray-900); }
.btn-outline { background: transparent; border: 1.5px solid var(--gray-300); color: var(--gray-700); }
.btn-outline:hover { border-color: var(--purple); color: var(--purple); }
.btn-lg { padding: 16px 40px; font-size: 1.05rem; }

/* ─── HEADER / NAV ─── */
header.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: rgba(255,255,255,0.93);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--gray-200);
}
nav.main-nav {
  max-width: 1180px; margin: 0 auto; padding: 0 1.5rem;
  height: 68px; display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-icon {
  width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--purple), var(--blue));
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 700; font-size: 16px; letter-spacing: -0.5px;
}
.nav-logo span { font-size: 17px; font-weight: 600; color: var(--gray-900); }
.nav-links { display: flex; align-items: center; gap: 1.8rem; list-style: none; }
.nav-links a {
  text-decoration: none; color: var(--gray-700);
  font-weight: 500; font-size: 14.5px;
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--purple); }
.hamburger {
  display: none; background: none; border: none; cursor: pointer;
  padding: 6px; flex-direction: column; gap: 5px;
}
.hamburger span { display:block; width:24px; height:2px; background:var(--gray-700); border-radius:2px; transition: all 0.3s; }
.mobile-nav {
  display: none; position: absolute; top: 68px; left: 0; right: 0;
  background: white; border-bottom: 1px solid var(--gray-200);
  padding: 1.25rem 1.5rem; flex-direction: column; gap: 0.75rem;
  box-shadow: var(--shadow-md);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  text-decoration: none; color: var(--gray-700); font-weight: 500;
  padding: 9px 0; border-bottom: 1px solid var(--gray-100);
  transition: color var(--transition);
}
.mobile-nav a:hover { color: var(--purple); }
.mobile-nav .btn { justify-content: center; margin-top: 6px; }

/* ─── FOOTER ─── */
footer.site-footer { background: var(--black); color: white; padding: 3.5rem 1.5rem 2rem; }
.footer-grid {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 2.5rem;
  padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .nav-logo span { color: white; }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,0.55); margin-top: 0.75rem; line-height: 1.7; }
.footer-col h4 { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,0.4); margin-bottom: 1rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; }
.footer-col ul a { font-size: 14px; color: rgba(255,255,255,0.7); text-decoration: none; transition: color var(--transition); }
.footer-col ul a:hover { color: #a78bfa; }
.footer-bottom {
  max-width: 1180px; margin: 0 auto; padding-top: 1.75rem;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.35); }
.footer-social { display: flex; gap: 1rem; }
.footer-social a { color: rgba(255,255,255,0.5); transition: color var(--transition); }
.footer-social a:hover { color: #a78bfa; }
/* sms-footer-note removed — disclosure moved inline to forms */

/* ─── FORMS ─── */
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 14px; font-weight: 500; color: var(--gray-700); }
.form-group label .req { color: var(--red); margin-left: 2px; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: 11px 14px; border: 1.5px solid var(--gray-300);
  border-radius: var(--radius); font-family: 'DM Sans', sans-serif;
  font-size: 15px; color: var(--gray-900); background: white;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none; border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(124,58,237,0.12);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* Checkbox consent */
.consent-group { display: flex; flex-direction: column; gap: 10px; }
.consent-item { display: flex; align-items: flex-start; gap: 10px; }
.consent-item input[type="checkbox"] {
  width: 17px; height: 17px; flex-shrink: 0; margin-top: 2px;
  accent-color: var(--purple); cursor: pointer; border-radius: 4px;
}
.consent-item label { font-size: 13px; color: var(--gray-600); line-height: 1.55; cursor: pointer; }
.consent-item label a { color: var(--purple); text-decoration: underline; }
.form-disclaimer {
  font-size: 12px; color: var(--gray-500); line-height: 1.65;
  background: var(--gray-50); border: 1px solid var(--gray-200);
  border-radius: 8px; padding: 12px 14px; margin-top: 4px;
}
.form-disclaimer a { color: var(--purple); text-decoration: underline; }
.form-success {
  background: #d1fae5; color: #065f46; border: 1px solid #6ee7b7;
  border-radius: var(--radius); padding: 14px 16px; font-size: 14px;
  display: none; margin-top: 1rem;
}
.form-error {
  background: #fee2e2; color: #7f1d1d; border: 1px solid #fca5a5;
  border-radius: var(--radius); padding: 14px 16px; font-size: 14px;
  display: none; margin-top: 1rem;
}

/* ─── CARDS ─── */
.card {
  background: white; border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200); box-shadow: var(--shadow-sm);
  padding: 1.75rem; transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

/* ─── POLICY PAGES ─── */
.policy-page { padding-top: 100px; padding-bottom: 5rem; }
.policy-page .container { max-width: 820px; }
.policy-page h1 { margin-bottom: 0.5rem; }
.policy-meta { font-size: 13px; color: var(--gray-500); margin-bottom: 2.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--gray-200); }
.policy-body { display: flex; flex-direction: column; gap: 2rem; }
.policy-section h2 { font-family: 'DM Sans', sans-serif; font-size: 1.05rem; font-weight: 700; color: var(--gray-900); margin-bottom: 0.6rem; text-transform: uppercase; letter-spacing: 0.5px; font-size: 13px; }
.policy-section p,
.policy-section li { font-size: 15px; color: var(--gray-700); line-height: 1.75; }
.policy-section ul { padding-left: 1.4rem; display: flex; flex-direction: column; gap: 6px; }
.policy-section .highlight-box {
  background: #ede9fe; border-left: 4px solid var(--purple);
  border-radius: 0 8px 8px 0; padding: 14px 16px; margin: 1rem 0;
  font-size: 14px; color: var(--purple-dark); font-weight: 500;
}

/* ─── REVEAL ANIMATIONS ─── */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links, nav .btn { display: none; }
  .hamburger { display: flex; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  section { padding: 4rem 1.25rem; }
}
