/* styles.css */
/* Save as public_html/styles.css */

:root {
  --bg: #1E1E1E;          /* page background */
  --card: #272727;        /* header/footer/cards */
  --stroke: #3C3C3C;      /* subtle stroke */
  --accent: #34B56D;      /* primary CTA */
  --muted: #C4C4C4;       /* muted text */
  --max: 1200px;
  --radius: 16px;
  --shadow: 0 8px 30px rgba(0,0,0,0.6);
  --font-sans: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  height: 100%;
  font-family: var(--font-sans);
  background: var(--bg);
  color: #fff;
  line-height: 1.6;
}
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ================= HEADER ================= */
.site-header {
  background: var(--card);
  border-bottom: 1px solid var(--stroke);
  position: relative;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}
.logo { height: 48px; }
.logo-sm { height: 40px; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
.nav-link {
  color: var(--muted);
  text-decoration: none;
  padding: 10px;
  border-radius: 10px;
  transition: color .2s;
}
.nav-link.active { color: #fff; font-weight: 700; }
.btn-cta {
  background: var(--accent);
  color: #fff;
  padding: 10px 14px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
}

/* Hamburger (mobile) */
.hamburger {
  display: none;
  background: transparent;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  height: 3px;
  width: 22px;
  background: #cfcfcf;
  margin: 4px 0;
  border-radius: 3px;
}

/* Mobile drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  display: none;
  z-index: 150;
}
.mobile-drawer.open { display: block; }
.drawer-inner {
  width: 280px;
  background: var(--card);
  height: 100%;
  padding: 18px;
  box-shadow: var(--shadow);
}
.drawer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.drawer-close {
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}
.drawer-nav {
  display: flex;
  flex-direction: column;
  margin-top: 24px;
  gap: 12px;
}
.drawer-nav a {
  color: var(--muted);
  text-decoration: none;
  padding: 12px;
  border-radius: 8px;
}
.drawer-cta {
  background: var(--accent);
  color: #042A1F;
  padding: 12px;
  border-radius: 8px;
  font-weight: 700;
}

/* ================= HERO ================= */
.hero {
  padding: 84px 0 40px;
  text-align: center;
}
.hero h1 {
  font-size: 56px;
  margin: 0;
  font-weight: 800;
}
.hero-sub {
  color: var(--muted);
  margin-top: 12px;
  font-size: 18px;
}
.actions { margin-top: 30px; }
.cta-btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 12px;
  margin: 0 12px;
  text-decoration: none;
  font-weight: 700;
}
.cta-primary { background: var(--accent); color: #042A1F; }
.cta-white { background: #fff; color: #111; }

/* ================= HOW IT WORKS CARDS ================= */
.how { padding: 40px 0 80px; }
.how-title {
  text-align: center;
  font-size: 28px;
  margin-bottom: 26px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
}
.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 22px;
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.7);
}
.card-head {
  display: flex;
  align-items: center;
  gap: 14px;
}
.icon-wrap {
  height: 56px;
  width: 56px;
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.05);
}
.card h3 { margin: 8px 0 6px; }
.card p { color: var(--muted); font-size: 14px; }

/* CONTACT PAGE */
.contact-page { padding: 50px 0; text-align:center; }
.page-title { font-size:28px; font-weight:700; margin-bottom:6px; }
.page-sub { font-size:16px; color:var(--muted); margin-bottom:28px; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 24px;
}
.contact-card {
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 14px;
  padding: 28px;
  text-align: center;
  box-shadow: 0 8px 26px rgba(0,0,0,0.5);
}
.contact-card h3 { margin: 12px 0; font-size:20px; }
.contact-card .muted { color: var(--muted); margin-bottom:12px; }
.support-email { color:#fff; font-size:15px; }

/* icon box */
.icon-box {
  width:54px; height:54px;
  border-radius:12px;
  background:rgba(255,255,255,0.03);
  border:1px solid rgba(255,255,255,0.05);
  display:grid; place-items:center;
  margin:0 auto 10px;
}
.icon-box img { width:22px; height:22px; }

/* form card */
.form-card h3 { font-size:18px; margin-bottom:16px; }

/* inputs */
.input { margin-bottom:16px; text-align:left; }
.input label { display:block; margin-bottom:6px; font-size:14px; }
.input input, .input select, .input textarea {
  width:100%; padding:14px 16px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,0.06);
  background:rgba(0,0,0,0.25);
  color:#fff; font-size:15px;
}
.input input::placeholder,
.input textarea::placeholder { color:rgba(255,255,255,0.35); }

/* textarea */
.input textarea { min-height:160px; resize:vertical; }

/* button */
.form-submit {
  width:100%;
  background:#34B56D;
  border:none;
  padding:16px;
  font-size:18px;
  font-weight:600;
  color:#000;
  border-radius:12px;
  cursor:pointer;
  transition: background .2s ease;
}
.form-submit:hover { background:#2da75f; }

/* messages */
.msg { margin-bottom:12px; padding:10px; border-radius:8px; }
.msg.success { background:rgba(0,128,0,0.08); color:#6cff9c; }
.msg.error { background:rgba(128,0,0,0.08); color:#ffb3b3; }

/* responsive */
@media (max-width:760px){
  .contact-grid { grid-template-columns: 1fr; }
}

/* ================= FOOTER (fixed sizes & colors) ================= */

.site-footer {
  background: var(--card);
  margin-top: 40px;
  border-top: 1px solid var(--stroke);
  color: #fff;
  padding: 44px 0 18px;
}

/* Top area: brand + contact (two columns on desktop, stacked on mobile) */
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.03);
}

/* brand block (logo + text) */
.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}
.logo-sm {
  height: 110px;      /* larger on desktop for prominence */
  width: auto;
  display: block;
}
.brand-text { line-height: 1; }
.footer-title { font-weight: 800; font-size: 20px; }
.footer-sub { color: var(--muted); margin-top: 6px; font-size: 16px; }

/* contact button */
.footer-contact { display:flex; align-items:center; }
.support.large-support {
  display:inline-flex;
  align-items:center;
  gap:12px;
  padding:14px 22px;
  border-radius:12px;
  background:rgba(0,0,0,0.20);
  border:1px solid rgba(255,255,255,0.03);
  color:#fff;
  text-decoration:none;
  font-weight:700;
  transition:transform .12s ease, background .12s ease;
}
.support.large-support:hover{
  transform:translateY(-3px);
  background:rgba(0,0,0,0.26);
}
.support .support-icon{
  display:inline-grid;
  place-items:center;
  width:38px;
  height:38px;
  border-radius:8px;
  background:rgba(255,255,255,0.03);
  font-weight:700;
}
.support .support-text{font-size:16px;}

/* social icons centered row */
.footer-social-row { padding:18px 0; display:flex; justify-content:center; align-items:center; }
.social-wrap { display:flex; gap:12px; align-items:center; }

/* social button look (smaller and consistent) */
.social-btn {
  width:40px;
  height:40px;
  border-radius:10px;
  background:rgba(255,255,255,0.03);
  display:grid;
  place-items:center;
  text-decoration:none;
  border:1px solid rgba(255,255,255,0.02);
}
.social-btn img {
  width:18px;      /* smaller icon */
  height:18px;
  display:block;
  filter: none;    /* remove any browser-applied color filters */
}

/* bottom row - copyright and links */
.footer-bottom {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  color:var(--muted);
  padding-top:16px;
  margin-top:14px;
  border-top:1px solid rgba(255,255,255,0.02);
  font-size:14px;
}

/* force footer links color (normal & visited) and remove glow */
.footer-links a,
.footer-links a:visited,
.footer-links a:link {
  color: var(--muted) !important;
  text-decoration: none;
  transition: color .12s ease;
  text-shadow: none !important;
  filter: none !important;
}
.footer-links a:hover,
.footer-links a:focus {
  color: #fff !important;
  text-decoration: underline;
}

/* small separator */
.footer-links .sep { color: rgba(255,255,255,0.06); margin:0 6px; }

/* ================= RESPONSIVE: footer adjustments ================= */
@media (max-width: 1024px) {
  .logo-sm { height: 86px; }
  .support .support-text { font-size: 15px; }
}
@media (max-width:760px) {
  .footer-top { flex-direction:column; align-items:center; text-align:center; gap:12px; padding-bottom:10px; }
  .footer-brand { flex-direction:column; gap:8px; }
  .logo-sm { height: 84px; } /* scaled for mobile */
  .footer-contact { order:2; width:100%; justify-content:center; }
  .support.large-support { width:100%; justify-content:center; padding:14px; }
  .footer-social-row { padding:12px 0; }
  .social-btn { width:44px; height:44px; } /* slightly larger on mobile touch targets */
  .social-btn img { width:20px; height:20px; }
  .footer-bottom { flex-direction:column; gap:10px; align-items:center; text-align:center; padding-top:18px; }
  .footer-links { font-size:14px; }
}



/* ================= RESPONSIVE ================= */
@media (max-width: 1024px) {
  .cards { grid-template-columns: repeat(2,1fr); }
  .hero h1 { font-size: 44px; }
}
@media (max-width: 760px) {
  .main-nav { display: none; }
  .hamburger { display: block; }
  .contact-wrap { grid-template-columns: 1fr; padding: 28px 0; }
  .cta-btn { padding: 12px 20px; }
  .hero { padding: 40px 0; }
  .hero h1 { font-size: 32px; }
  .cards { grid-template-columns: 1fr; }
}
