/* ============================================================
   GRAHAM INDUSTRIES — MAIN STYLESHEET
   style.css — shared across all pages
   ============================================================ */

/* ── RESET & BASE ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black:       #0a0a0a;
  --black-soft:  #111114;
  --black-card:  #141418;
  --black-border:#1e1e24;
  --blue:        #1a6ef5;
  --blue-bright: #3b8bff;
  --blue-glow:   rgba(26,110,245,0.18);
  --blue-subtle: rgba(26,110,245,0.08);
  --grey:        #9b9ea4;
  --grey-light:  #c8cad0;
  --white:       #ffffff;
  --font-display:'Bebas Neue', sans-serif;
  --font-body:   'DM Sans', sans-serif;
  --max-w:       1200px;
  --radius:      12px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--grey-light);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ── NOISE TEXTURE OVERLAY ────────────────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.4;
}

/* ── TYPOGRAPHY ───────────────────────────────────────────── */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.0; letter-spacing: 0.02em; color: var(--white); }
p { font-family: var(--font-body); }
a { text-decoration: none; color: inherit; }

.label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
}

/* ── LAYOUT ───────────────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section { padding: 120px 0; }

/* ── NAVIGATION ───────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.3s ease;
}

nav.scrolled {
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--black-border);
  padding: 14px 0;
}

.nav-inner { display: flex; align-items: center; justify-content: space-between; }

.nav-logo { font-family: var(--font-display); font-size: 22px; letter-spacing: 0.1em; color: var(--white); }
.nav-logo span { color: var(--blue); }

.nav-links { display: flex; align-items: center; gap: 36px; list-style: none; }
.nav-links a { font-size: 13px; font-weight: 500; letter-spacing: 0.06em; color: var(--grey); transition: color 0.2s; }
.nav-links a:hover { color: var(--white); }

.nav-cta { display: flex; align-items: center; gap: 16px; }

.btn-login {
  font-size: 13px; font-weight: 500; color: var(--grey);
  letter-spacing: 0.04em; padding: 8px 16px;
  border: 1px solid var(--black-border); border-radius: 8px; transition: all 0.2s;
}
.btn-login:hover { color: var(--white); border-color: var(--grey); }

.btn-primary {
  font-size: 13px; font-weight: 600; color: var(--white);
  letter-spacing: 0.04em; padding: 10px 22px;
  background: var(--blue); border-radius: 8px; transition: all 0.2s;
}
.btn-primary:hover { background: var(--blue-bright); transform: translateY(-1px); box-shadow: 0 8px 24px var(--blue-glow); }

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

/* ── MOBILE MENU ──────────────────────────────────────────── */
.mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 999;
  background: rgba(10,10,10,0.98); backdrop-filter: blur(20px);
  flex-direction: column; align-items: center; justify-content: center; gap: 32px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { font-family: var(--font-display); font-size: 42px; color: var(--white); letter-spacing: 0.06em; transition: color 0.2s; }
.mobile-menu a:hover { color: var(--blue); }
.mobile-close {
  position: absolute; top: 24px; right: 24px;
  background: none; border: 1px solid var(--black-border); border-radius: 50%;
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--grey-light); font-size: 20px;
}

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  position: relative; padding: 120px 0 80px; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 60% 40%, rgba(26,110,245,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(26,110,245,0.06) 0%, transparent 60%);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(26,110,245,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(26,110,245,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 820px; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 32px;
  padding: 8px 16px; background: var(--blue-subtle);
  border: 1px solid rgba(26,110,245,0.2); border-radius: 100px;
}
.hero-eyebrow-dot { width: 6px; height: 6px; background: var(--blue); border-radius: 50%; animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(0.8); } }
.hero-eyebrow-text { font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue-bright); }

.hero h1 { font-size: clamp(52px, 8vw, 96px); line-height: 0.95; margin-bottom: 28px; color: var(--white); }
.hero h1 em { font-style: normal; color: var(--blue); }
.hero-sub { font-size: clamp(16px, 2vw, 19px); font-weight: 300; color: var(--grey); max-width: 560px; margin-bottom: 48px; line-height: 1.7; }

.hero-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.btn-hero {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 15px; font-weight: 600; color: var(--white);
  padding: 16px 32px; background: var(--blue); border-radius: 10px;
  letter-spacing: 0.02em; transition: all 0.25s;
}
.btn-hero:hover { background: var(--blue-bright); transform: translateY(-2px); box-shadow: 0 16px 40px var(--blue-glow); }
.btn-hero svg { transition: transform 0.2s; }
.btn-hero:hover svg { transform: translateX(4px); }
.hero-link { font-size: 14px; font-weight: 500; color: var(--grey); letter-spacing: 0.03em; transition: color 0.2s; }
.hero-link:hover { color: var(--white); }

.hero-stats { display: flex; gap: 48px; margin-top: 72px; padding-top: 48px; border-top: 1px solid var(--black-border); flex-wrap: wrap; }
.hero-stat-num { font-family: var(--font-display); font-size: 42px; color: var(--white); line-height: 1; margin-bottom: 4px; }
.hero-stat-num span { color: var(--blue); }
.hero-stat-label { font-size: 13px; color: var(--grey); font-weight: 400; }

/* ── PAIN SECTION ─────────────────────────────────────────── */
.pain { background: var(--black-soft); border-top: 1px solid var(--black-border); border-bottom: 1px solid var(--black-border); }
.pain-header { text-align: center; max-width: 680px; margin: 0 auto 72px; }
.pain-header h2 { font-size: clamp(36px, 5vw, 64px); margin: 16px 0; }
.pain-header p { font-size: 17px; color: var(--grey); font-weight: 300; }

.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--black-border); border-radius: var(--radius); overflow: hidden; }
.pain-card { background: var(--black-card); padding: 40px 36px; position: relative; transition: background 0.3s; }
.pain-card:hover { background: #18181e; }
.pain-icon { width: 48px; height: 48px; background: var(--blue-subtle); border: 1px solid rgba(26,110,245,0.2); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 24px; font-size: 22px; }
.pain-card h3 { font-size: 22px; margin-bottom: 12px; color: var(--white); }
.pain-card p { font-size: 14px; color: var(--grey); line-height: 1.7; }
.pain-stat { display: inline-block; margin-top: 20px; padding: 6px 12px; background: rgba(26,110,245,0.08); border: 1px solid rgba(26,110,245,0.15); border-radius: 6px; font-size: 12px; font-weight: 600; color: var(--blue-bright); letter-spacing: 0.04em; }

/* ── SOLUTION / HOW IT WORKS ──────────────────────────────── */
.solution-header { text-align: center; max-width: 700px; margin: 0 auto 80px; }
.solution-header h2 { font-size: clamp(36px, 5vw, 64px); margin: 16px 0; }
.solution-header p { font-size: 17px; color: var(--grey); font-weight: 300; }

.solution-flow { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.flow-steps { display: flex; flex-direction: column; gap: 4px; }
.flow-step { display: flex; gap: 20px; padding: 24px; border-radius: var(--radius); cursor: pointer; transition: all 0.25s; border: 1px solid transparent; }
.flow-step:hover, .flow-step.active { background: var(--black-card); border-color: var(--black-border); }
.flow-step.active { border-color: rgba(26,110,245,0.3); }
.flow-num { flex-shrink: 0; width: 36px; height: 36px; background: var(--black-border); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 16px; color: var(--grey); transition: all 0.25s; }
.flow-step.active .flow-num { background: var(--blue); color: var(--white); }
.flow-step-text h4 { font-size: 17px; color: var(--white); margin-bottom: 6px; }
.flow-step-text p { font-size: 13px; color: var(--grey); line-height: 1.6; }
.flow-visual { position: sticky; top: 100px; background: var(--black-card); border: 1px solid var(--black-border); border-radius: 16px; padding: 32px; min-height: 400px; }
.flow-visual-label { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue); margin-bottom: 24px; }

/* Email mockup */
.email-mockup { background: #0d0d10; border: 1px solid var(--black-border); border-radius: 10px; overflow: hidden; }
.email-header { padding: 12px 16px; background: #151519; border-bottom: 1px solid var(--black-border); display: flex; align-items: center; gap: 8px; }
.email-dot { width: 10px; height: 10px; border-radius: 50%; }
.email-body { padding: 20px; }
.email-field { display: flex; gap: 10px; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
.email-field-label { font-size: 11px; color: var(--grey); width: 40px; flex-shrink: 0; padding-top: 2px; }
.email-field-val { font-size: 12px; color: var(--grey-light); }
.email-content { padding: 16px 0; font-size: 13px; color: var(--grey); line-height: 1.7; }
.email-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; background: rgba(26,110,245,0.12); border: 1px solid rgba(26,110,245,0.2); border-radius: 100px; font-size: 11px; color: var(--blue-bright); margin-top: 12px; }

/* ── SERVICES ─────────────────────────────────────────────── */
.services { background: var(--black-soft); border-top: 1px solid var(--black-border); }
.services-header { text-align: center; max-width: 680px; margin: 0 auto 72px; }
.services-header h2 { font-size: clamp(36px, 5vw, 64px); margin: 16px 0; }
.services-header p { font-size: 17px; color: var(--grey); font-weight: 300; }

.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card { background: var(--black-card); border: 1px solid var(--black-border); border-radius: 16px; padding: 32px; transition: all 0.3s; position: relative; overflow: hidden; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--blue), transparent); opacity: 0; transition: opacity 0.3s; }
.service-card:hover { transform: translateY(-4px); border-color: rgba(26,110,245,0.3); }
.service-card:hover::before { opacity: 1; }
.service-icon { font-size: 28px; margin-bottom: 20px; }
.service-card h3 { font-size: 20px; margin-bottom: 12px; color: var(--white); }
.service-card p { font-size: 14px; color: var(--grey); line-height: 1.7; }
.service-features { margin-top: 20px; display: flex; flex-direction: column; gap: 8px; }
.service-feature { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--grey-light); }
.service-feature::before { content: ''; width: 5px; height: 5px; background: var(--blue); border-radius: 50%; flex-shrink: 0; }

/* ── PRICING ──────────────────────────────────────────────── */
.pricing-header { text-align: center; max-width: 680px; margin: 0 auto 72px; }
.pricing-header h2 { font-size: clamp(36px, 5vw, 64px); margin: 16px 0; }
.pricing-header p { font-size: 17px; color: var(--grey); font-weight: 300; }

.pricing-card { max-width: 620px; margin: 0 auto; background: var(--black-card); border: 1px solid rgba(26,110,245,0.3); border-radius: 20px; overflow: hidden; position: relative; }
.pricing-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--blue), var(--blue-bright)); }
.pricing-top { padding: 48px 48px 40px; border-bottom: 1px solid var(--black-border); }
.pricing-badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; background: var(--blue-subtle); border: 1px solid rgba(26,110,245,0.2); border-radius: 100px; font-size: 12px; font-weight: 600; color: var(--blue-bright); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 24px; }
.pricing-amount { display: flex; align-items: baseline; gap: 8px; margin-bottom: 12px; }
.pricing-currency { font-family: var(--font-display); font-size: 32px; color: var(--grey); }
.pricing-num { font-family: var(--font-display); font-size: 80px; color: var(--white); line-height: 1; }
.pricing-period { font-size: 16px; color: var(--grey); font-weight: 300; }
.pricing-tagline { font-size: 15px; color: var(--grey); font-weight: 300; }
.pricing-bottom { padding: 40px 48px 48px; }
.pricing-includes { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey); margin-bottom: 24px; }
.pricing-features { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 40px; }
.pricing-feature { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--grey-light); }
.pricing-feature-check { flex-shrink: 0; width: 18px; height: 18px; background: var(--blue-subtle); border: 1px solid rgba(26,110,245,0.25); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-top: 2px; }
.pricing-feature-check svg { color: var(--blue); }
.pricing-cta { display: block; text-align: center; padding: 16px; background: var(--blue); border-radius: 10px; font-size: 15px; font-weight: 600; color: var(--white); letter-spacing: 0.03em; transition: all 0.25s; margin-bottom: 16px; }
.pricing-cta:hover { background: var(--blue-bright); transform: translateY(-2px); box-shadow: 0 12px 32px var(--blue-glow); }
.pricing-disclaimer { font-size: 12px; color: var(--grey); text-align: center; line-height: 1.6; }
.pricing-disclaimer a { color: var(--blue-bright); }

/* ── FAQ ──────────────────────────────────────────────────── */
.faq { background: var(--black-soft); border-top: 1px solid var(--black-border); }
.faq-header { text-align: center; max-width: 600px; margin: 0 auto 72px; }
.faq-header h2 { font-size: clamp(36px, 5vw, 60px); margin: 16px 0; }
.faq-header p { font-size: 17px; color: var(--grey); font-weight: 300; }
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--black-border); }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; cursor: pointer; user-select: none; }
.faq-q-text { font-size: 16px; font-weight: 500; color: var(--white); transition: color 0.2s; }
.faq-q:hover .faq-q-text { color: var(--blue-bright); }
.faq-icon { flex-shrink: 0; width: 28px; height: 28px; border: 1px solid var(--black-border); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: all 0.25s; color: var(--grey); }
.faq-item.open .faq-icon { background: var(--blue); border-color: var(--blue); color: var(--white); transform: rotate(45deg); }
.faq-a { font-size: 15px; color: var(--grey); line-height: 1.7; max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.35s ease; }
.faq-item.open .faq-a { max-height: 400px; padding-bottom: 24px; }

/* ── CONTACT ──────────────────────────────────────────────── */
.contact { position: relative; overflow: hidden; }
.contact-bg { position: absolute; inset: 0; background: radial-gradient(ellipse 70% 70% at 50% 100%, rgba(26,110,245,0.1) 0%, transparent 70%); pointer-events: none; }
.contact-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.contact-left h2 { font-size: clamp(36px, 4vw, 56px); margin: 16px 0 24px; }
.contact-left p { font-size: 16px; color: var(--grey); line-height: 1.7; margin-bottom: 40px; font-weight: 300; }
.contact-detail { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; font-size: 14px; color: var(--grey-light); }
.contact-detail-icon { width: 36px; height: 36px; background: var(--blue-subtle); border: 1px solid rgba(26,110,245,0.2); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 16px; }
.contact-scarcity { margin-top: 40px; padding: 20px 24px; background: var(--black-card); border: 1px solid var(--black-border); border-left: 3px solid var(--blue); border-radius: 10px; }
.contact-scarcity p { font-size: 14px; color: var(--grey-light); margin-bottom: 0; }
.contact-scarcity strong { color: var(--white); }
.contact-form { background: var(--black-card); border: 1px solid var(--black-border); border-radius: 20px; padding: 40px; }
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey); margin-bottom: 8px; }
.form-input, .form-select, .form-textarea { width: 100%; background: var(--black-soft); border: 1px solid var(--black-border); border-radius: 8px; padding: 12px 16px; font-family: var(--font-body); font-size: 14px; color: var(--white); outline: none; transition: border-color 0.2s; appearance: none; }
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(26,110,245,0.1); }
.form-input::placeholder, .form-textarea::placeholder { color: var(--grey); }
.form-select { cursor: pointer; }
.form-textarea { min-height: 100px; resize: vertical; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-submit { width: 100%; padding: 16px; background: var(--blue); border: none; border-radius: 10px; font-family: var(--font-body); font-size: 15px; font-weight: 600; color: var(--white); cursor: pointer; letter-spacing: 0.03em; transition: all 0.25s; margin-top: 8px; }
.form-submit:hover { background: var(--blue-bright); transform: translateY(-2px); box-shadow: 0 12px 32px var(--blue-glow); }

/* ── FOOTER ───────────────────────────────────────────────── */
footer { background: var(--black-soft); border-top: 1px solid var(--black-border); padding: 60px 0 40px; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; margin-bottom: 48px; flex-wrap: wrap; }
.footer-brand .nav-logo { font-size: 20px; margin-bottom: 12px; }
.footer-tagline { font-size: 13px; color: var(--grey); max-width: 240px; line-height: 1.6; }
.footer-links { display: flex; gap: 60px; flex-wrap: wrap; }
.footer-col h5 { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey); margin-bottom: 16px; }
.footer-col a { display: block; font-size: 14px; color: var(--grey); margin-bottom: 10px; transition: color 0.2s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 32px; border-top: 1px solid var(--black-border); flex-wrap: wrap; gap: 16px; }
.footer-copy { font-size: 13px; color: var(--grey); }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { font-size: 13px; color: var(--grey); transition: color 0.2s; }
.footer-legal a:hover { color: var(--white); }

/* ── ANIMATIONS ───────────────────────────────────────────── */
.fade-up { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .pain-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .solution-flow { grid-template-columns: 1fr; }
  .flow-visual { display: none; }
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }
  .pricing-features { grid-template-columns: 1fr; }
  .pricing-top, .pricing-bottom { padding: 32px; }
}

@media (max-width: 640px) {
  .section { padding: 80px 0; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 32px; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-links { flex-direction: column; gap: 32px; }
}
