/* ============================================
   Gxcpine — Marketing Website Styles
   ============================================ */

:root {
  --brand: #6366f1;
  --brand-dark: #4f46e5;
  --brand-light: #818cf8;
  --accent: #f59e0b;
  --accent-2: #10b981;
  --ink: #0f172a;
  --ink-soft: #475569;
  --muted: #94a3b8;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --bg-dark: #0f172a;
  --border: #e2e8f0;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 3px rgba(0,0,0,.06), 0 10px 30px rgba(0,0,0,.06);
  --shadow-lg: 0 20px 60px rgba(0,0,0,.12);
  --maxw: 1200px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: 15px; border: none; cursor: pointer;
  border-radius: var(--radius-sm); padding: 14px 28px; transition: all .25s ease;
  font-family: var(--font); text-decoration: none;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(99,102,241,.35); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--border); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-outline { background: transparent; color: var(--brand); border: 1.5px solid var(--brand); }
.btn-outline:hover { background: var(--brand); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-lg { padding: 18px 40px; font-size: 17px; }
.btn-block { width: 100%; }

/* ===== Navbar ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,.85); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; transition: all .3s ease;
}
.navbar.scrolled { border-bottom-color: var(--border); box-shadow: 0 1px 20px rgba(0,0,0,.04); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 22px; }
.logo-mark {
  width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 900;
}
.logo-text { letter-spacing: -.5px; }
.nav-links { display: flex; gap: 32px; }
.nav-links a { font-weight: 500; font-size: 15px; color: var(--ink-soft); transition: color .2s; position: relative; }
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px;
  background: var(--brand); transition: width .25s ease;
}
.nav-links a:hover { color: var(--brand); }
.nav-links a:hover::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 16px; }
.menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.menu-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s; }
.menu-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ===== Hero ===== */
.hero { position: relative; padding: 140px 0 100px; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(99,102,241,.12), transparent),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(245,158,11,.08), transparent);
}
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.badge {
  display: inline-block; padding: 8px 18px; border-radius: 100px;
  background: rgba(99,102,241,.1); color: var(--brand); font-size: 13px; font-weight: 600;
  margin-bottom: 24px;
}
.hero-content h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; line-height: 1.1; letter-spacing: -1.5px; margin-bottom: 20px; }
.gradient-text {
  background: linear-gradient(135deg, var(--brand), var(--accent));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-sub { font-size: 18px; color: var(--ink-soft); max-width: 520px; margin-bottom: 32px; }
.hero-cta { display: flex; gap: 16px; margin-bottom: 48px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 40px; }
.stat strong { display: block; font-size: 28px; font-weight: 800; color: var(--ink); }
.stat span { font-size: 14px; color: var(--muted); }

/* Hero Visual */
.hero-visual { position: relative; height: 440px; }
.hero-orb {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 280px; height: 280px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  opacity: .15; filter: blur(40px);
}
.float-card {
  position: absolute; background: #fff; border-radius: var(--radius);
  padding: 18px 22px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 14px;
  font-size: 14px; animation: float 4s ease-in-out infinite;
}
.float-card strong { font-size: 15px; }
.float-card span { color: var(--muted); font-size: 13px; }
.fc-icon { font-size: 28px; }
.card-1 { top: 30px; left: 0; animation-delay: 0s; }
.card-2 { top: 50%; right: 0; transform: translateY(-50%); animation-delay: 1s; }
.card-3 { bottom: 20px; left: 15%; animation-delay: 2s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.card-2 { animation-name: float2; }
@keyframes float2 { 0%,100% { transform: translateY(-50%); } 50% { transform: translateY(calc(-50% - 14px)); } }

/* ===== Trust Bar ===== */
.trust-bar { padding: 40px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-alt); }
.trust-label { text-align: center; font-size: 13px; color: var(--muted); font-weight: 600; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 20px; }
.trust-logos { display: flex; justify-content: center; align-items: center; gap: 48px; flex-wrap: wrap; }
.trust-logos span { font-size: 20px; font-weight: 700; color: var(--muted); opacity: .6; transition: opacity .3s; }
.trust-logos span:hover { opacity: 1; }

/* ===== Sections ===== */
.section { padding: 100px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 60px; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--brand); margin-bottom: 12px; }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; letter-spacing: -1px; margin-bottom: 16px; }
.section-head p { font-size: 17px; color: var(--ink-soft); }

/* ===== Grids ===== */
.grid { display: grid; gap: 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ===== Service Cards ===== */
.service-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 36px 30px; transition: all .3s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.svc-icon { font-size: 40px; margin-bottom: 20px; }
.service-card h3 { font-size: 22px; font-weight: 700; margin-bottom: 12px; }
.service-card > p { color: var(--ink-soft); margin-bottom: 20px; }
.svc-list li { padding: 6px 0; color: var(--ink-soft); font-size: 15px; }
.svc-list li::before { content: '→ '; color: var(--brand); font-weight: 700; }

/* ===== Product Cards ===== */
.product-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: all .3s ease;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.product-img { height: 180px; display: flex; align-items: center; justify-content: center; font-size: 56px; }
.product-body { padding: 28px; }
.tag {
  display: inline-block; padding: 4px 12px; border-radius: 100px; font-size: 12px; font-weight: 700;
  background: rgba(99,102,241,.12); color: var(--brand); margin-bottom: 14px;
}
.tag-green { background: rgba(16,185,129,.12); color: var(--accent-2); }
.tag-blue { background: rgba(14,165,233,.12); color: #0ea5e9; }
.product-body h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.product-body p { color: var(--ink-soft); margin-bottom: 24px; font-size: 15px; }
.product-foot { display: flex; align-items: center; justify-content: space-between; }
.price { font-size: 28px; font-weight: 800; color: var(--ink); }
.per { font-size: 15px; font-weight: 500; color: var(--muted); }

/* ===== Features ===== */
.feature { text-align: center; padding: 32px 20px; }
.feat-icon {
  width: 64px; height: 64px; border-radius: 16px; margin: 0 auto 18px;
  background: var(--bg-alt); display: flex; align-items: center; justify-content: center; font-size: 28px;
  transition: transform .3s ease;
}
.feature:hover .feat-icon { transform: scale(1.1) rotate(-5deg); }
.feature h4 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.feature p { color: var(--ink-soft); font-size: 15px; }

/* ===== Pricing ===== */
.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; align-items: stretch; }
.price-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 40px 32px; display: flex; flex-direction: column; transition: all .3s ease; position: relative;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.price-popular { border: 2px solid var(--brand); box-shadow: 0 20px 50px rgba(99,102,241,.15); }
.popular-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--brand); color: #fff; padding: 6px 20px; border-radius: 100px;
  font-size: 12px; font-weight: 700; white-space: nowrap;
}
.price-card h3 { font-size: 22px; font-weight: 800; margin-bottom: 6px; }
.price-desc { color: var(--muted); font-size: 14px; margin-bottom: 24px; }
.price-amount { font-size: 48px; font-weight: 900; margin-bottom: 28px; letter-spacing: -2px; }
.currency { font-size: 24px; font-weight: 700; vertical-align: top; }
.period { font-size: 18px; font-weight: 500; color: var(--muted); }
.price-features { margin-bottom: 28px; flex-grow: 1; }
.price-features li { padding: 8px 0; font-size: 15px; color: var(--ink-soft); }
.price-features li.muted { color: var(--muted); opacity: .6; }

/* ===== Testimonials ===== */
.testimonial {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px; transition: all .3s ease;
}
.testimonial:hover { box-shadow: var(--shadow-lg); border-color: transparent; }
.stars { color: var(--accent); font-size: 18px; margin-bottom: 16px; letter-spacing: 2px; }
.testimonial blockquote { font-size: 16px; color: var(--ink-soft); line-height: 1.7; margin-bottom: 24px; font-style: italic; }
.t-author { display: flex; align-items: center; gap: 14px; }
.avatar {
  width: 48px; height: 48px; border-radius: 50%; color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px;
}
.t-author strong { font-size: 15px; }
.t-author span { font-size: 13px; color: var(--muted); }

/* ===== CTA ===== */
.cta-section { padding: 80px 0; }
.cta-box {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  border-radius: 24px; padding: 64px 48px; text-align: center; color: #fff;
  position: relative; overflow: hidden;
}
.cta-box::before {
  content: ''; position: absolute; top: -50%; right: -10%; width: 400px; height: 400px;
  border-radius: 50%; background: rgba(255,255,255,.08);
}
.cta-box::after {
  content: ''; position: absolute; bottom: -40%; left: -5%; width: 300px; height: 300px;
  border-radius: 50%; background: rgba(245,158,11,.15);
}
.cta-box h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 800; margin-bottom: 16px; position: relative; }
.cta-box p { font-size: 18px; opacity: .9; margin-bottom: 32px; max-width: 560px; margin-left: auto; margin-right: auto; position: relative; }

/* ===== Contact ===== */
.contact-wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; max-width: 1000px; margin: 0 auto; }
.contact-info { display: flex; flex-direction: column; gap: 28px; }
.ci-item { display: flex; align-items: flex-start; gap: 16px; }
.ci-icon {
  width: 48px; height: 48px; border-radius: 12px; background: var(--bg-alt);
  display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0;
}
.ci-item strong { font-size: 15px; }
.ci-item span { font-size: 14px; color: var(--ink-soft); }
.contact-form {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 36px; box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 16px; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-family: var(--font); font-size: 15px; color: var(--ink); background: var(--bg-alt); transition: border-color .2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--brand); background: #fff;
}
.form-note { text-align: center; margin-top: 16px; font-size: 14px; color: var(--accent-2); font-weight: 600; min-height: 20px; }

/* ===== Footer ===== */
.footer { background: var(--bg-dark); color: #fff; padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand .logo { margin-bottom: 16px; color: #fff; }
.footer-brand p { color: #94a3b8; font-size: 15px; max-width: 320px; margin-bottom: 20px; }
.socials { display: flex; gap: 12px; }
.socials a {
  width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px;
  transition: all .25s ease;
}
.socials a:hover { background: var(--brand); transform: translateY(-3px); }
.footer-col h5 { font-size: 15px; font-weight: 700; margin-bottom: 18px; }
.footer-col a { display: block; padding: 6px 0; color: #94a3b8; font-size: 14px; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: #94a3b8;
}

/* ===== Reveal Animation ===== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== Responsive ===== */
@media (max-width: 968px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { height: 320px; order: -1; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .contact-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  .nav-links {
    position: fixed; top: 72px; left: 0; right: 0; background: #fff; flex-direction: column;
    padding: 24px; gap: 20px; border-bottom: 1px solid var(--border);
    transform: translateY(-150%); transition: transform .3s ease; box-shadow: var(--shadow-lg);
  }
  .nav-links.open { transform: translateY(0); }
  .menu-toggle { display: flex; }
  .nav-actions .btn { display: none; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; gap: 24px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .cta-box { padding: 40px 24px; }
  .section { padding: 70px 0; }
  .trust-logos { gap: 24px; }
  .trust-logos span { font-size: 16px; }
}
