/* ========================================
   WINYOURRFP.COM — SHARED STYLES
   ======================================== */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --black: #0A0A0A;
  --white: #FFFFFF;
  --blue: #0071E3;
  --blue-hover: #0077ED;
  --green: #30D158;
  --gray-50: #F5F5F7;
  --gray-100: #E8E8ED;
  --gray-200: #D2D2D7;
  --gray-400: #86868B;
  --gray-600: #6E6E73;
  --gray-800: #1D1D1F;
  --radius: 16px;
  --radius-sm: 10px;
  --max-w: 1120px;
  --transition: 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.5;
  font-size: 17px;
  font-weight: 400;
}

/* ========== UTILITIES ========== */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }

/* ========== NAV ========== */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--gray-100);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--black);
}
.nav-logo svg { height: 28px; width: auto; }
.nav-logo span { font-size: 18px; font-weight: 700; letter-spacing: -0.03em; }

.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  font-size: 14px;
  color: var(--gray-800);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--blue); }

.nav-cta {
  background: var(--blue) !important;
  color: var(--white) !important;
  padding: 8px 18px !important;
  border-radius: 980px !important;
  font-size: 14px !important;
}

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-btn { cursor: pointer; display: flex; align-items: center; gap: 4px; }
.nav-dropdown-btn::after { content: ""; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid var(--gray-400); margin-top: 1px; }

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 12px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  min-width: 220px;
  padding: 8px 0;
  z-index: 200;
}

.nav-dropdown:hover .nav-dropdown-menu { display: block; }

.nav-dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  color: var(--gray-800);
  text-decoration: none;
  transition: background var(--transition);
}
.nav-dropdown-menu a:hover { background: var(--gray-50); color: var(--blue); }

.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger svg { width: 24px; height: 24px; }

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: 980px;
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  font-family: inherit;
}
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-hover); transform: scale(1.02); }
.btn-secondary { background: transparent; color: var(--blue); padding: 16px 20px; }
.btn-secondary:hover { text-decoration: underline; }
.btn-dark { background: var(--black); color: var(--white); }
.btn-dark:hover { background: #333; transform: scale(1.02); }
.btn-sm { padding: 12px 24px; font-size: 15px; }
.btn-white { background: var(--white); color: var(--black); }
.btn-white:hover { background: var(--gray-50); transform: scale(1.02); }

/* ========== SEGMENT HERO ========== */
.segment-hero {
  padding: 160px 24px 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
  /* Background image set inline per page */
  background-size: cover;
  background-position: center;
}

.segment-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.75) 0%, rgba(10,10,10,0.9) 100%);
  z-index: 1;
}

.segment-hero .container { position: relative; z-index: 2; }

.segment-hero .hero-overline {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.segment-hero h1 {
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 20px;
}

.segment-hero p {
  font-size: clamp(17px, 2vw, 20px);
  color: rgba(255,255,255,0.7);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.5;
}

.hero-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ========== SEGMENT STATS ========== */
.segment-stats {
  padding: 64px 24px;
  background: var(--black);
  border-bottom: 1px solid #222;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stats-grid .stat-number {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}

.stats-grid .stat-label {
  font-size: 14px;
  color: var(--gray-400);
  font-weight: 500;
}

/* ========== CONTENT SECTIONS ========== */
.section-light {
  padding: 100px 24px;
  background: var(--white);
}

.section-gray {
  padding: 100px 24px;
  background: var(--gray-50);
}

.section-headline {
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.section-sub {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto 0;
  line-height: 1.5;
}

/* ========== INSIGHT CARDS ========== */
.insight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.insight-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 36px;
  transition: all var(--transition);
}

.insight-card:hover { border-color: var(--gray-200); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,0,0,0.06); }

.insight-card .icon { font-size: 28px; margin-bottom: 16px; }
.insight-card h3 { font-size: 19px; margin-bottom: 10px; font-weight: 600; }
.insight-card p { font-size: 15px; color: var(--gray-600); line-height: 1.6; }

/* ========== SAMPLE TABLE ========== */
.sample-table-wrap {
  margin-top: 48px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--gray-200);
}

.sample-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.sample-table th {
  background: var(--black);
  color: var(--white);
  font-weight: 600;
  text-align: left;
  padding: 14px 20px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.sample-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--gray-100);
  color: var(--gray-800);
}

.sample-table tr:nth-child(even) td { background: var(--gray-50); }
.sample-table tr.winner td { background: #E8F5E9; font-weight: 600; }

/* ========== CTA BANNER ========== */
.cta-banner {
  padding: 100px 24px;
  background: var(--black);
  text-align: center;
}

.cta-banner h2 {
  font-size: clamp(32px, 4vw, 52px);
  color: var(--white);
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.cta-banner p {
  color: var(--gray-400);
  font-size: 19px;
  margin-bottom: 36px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* ========== CONTACT FORM ========== */
.contact-section {
  padding: 160px 24px 100px;
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-top: 48px;
}

.contact-info h3 {
  font-size: 22px;
  margin-bottom: 16px;
}

.contact-info p {
  font-size: 16px;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 32px;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: 16px;
}

.contact-detail .label {
  font-weight: 600;
  min-width: 80px;
  color: var(--black);
}

.contact-form { display: flex; flex-direction: column; gap: 20px; }

.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-800);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 14px 16px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-family: inherit;
  background: var(--gray-50);
  transition: border-color var(--transition);
  color: var(--gray-800);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: var(--white);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ========== FOOTER ========== */
footer {
  padding: 48px 24px;
  background: var(--black);
  border-top: 1px solid #222;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

footer p { font-size: 13px; color: var(--gray-600); }

.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 13px; color: var(--gray-600); text-decoration: none; }
.footer-links a:hover { color: var(--gray-400); }

/* ========== HOMEPAGE HERO ========== */
.hero {
  padding: 160px 24px 100px;
  text-align: center;
  overflow: hidden;
  position: relative;
  background-image: url('images/hero-home.jpg');
  background-size: cover;
  background-position: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.7) 0%, rgba(10,10,10,0.85) 100%);
  z-index: 1;
}

.hero .container { position: relative; z-index: 2; }

.hero-overline {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.hero-headline {
  font-size: clamp(44px, 6.5vw, 80px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 24px;
  color: var(--white);
}

.hero-headline .gradient {
  background: linear-gradient(135deg, var(--blue) 0%, #00C2FF 50%, var(--green) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(18px, 2.2vw, 22px);
  color: rgba(255,255,255,0.7);
  max-width: 580px;
  margin: 0 auto 40px;
  line-height: 1.5;
  font-weight: 400;
}

.hero-proof {
  margin-top: 56px;
  font-size: 14px;
  color: rgba(255,255,255,0.4);
}
.hero-proof strong { color: rgba(255,255,255,0.6); font-weight: 600; }

/* ========== LOGO BAR ========== */
.logo-bar {
  padding: 48px 24px;
  text-align: center;
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
  background: var(--gray-50);
}

.logo-bar p {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-400);
  font-weight: 600;
  margin-bottom: 24px;
}

.logo-bar-items {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
  opacity: 0.4;
}

.logo-bar-items a {
  font-size: 20px;
  font-weight: 700;
  color: var(--black);
  letter-spacing: -0.02em;
  text-decoration: none;
  transition: color var(--transition);
}

.logo-bar-items a:hover { color: var(--blue); opacity: 1; }

/* ========== HOW IT WORKS ========== */
.how-it-works {
  padding: 120px 24px;
  background: var(--white);
  position: relative;
}

.how-it-works::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--green));
  border-radius: 2px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: 64px;
}

.step { text-align: center; padding: 0 16px; }

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), #00A0FF);
  border: none;
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 24px;
  box-shadow: 0 4px 16px rgba(0, 113, 227, 0.25);
}

.step h3 { font-size: 22px; margin-bottom: 12px; }
.step p { font-size: 16px; color: var(--gray-600); line-height: 1.6; }

/* ========== WHAT YOU GET ========== */
.what-you-get {
  padding: 120px 24px;
  background: var(--black);
  color: var(--white);
}

.what-you-get .section-headline { color: var(--white); }
.what-you-get .section-sub { color: var(--gray-400); }

.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 64px;
}

.feature-card {
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 40px;
  border: 1px solid rgba(255,255,255,0.1);
  transition: all var(--transition);
}

.feature-card:hover { border-color: rgba(255,255,255,0.2); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,0,0,0.2); }

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--blue), #00A0FF);
  box-shadow: 0 4px 12px rgba(0, 113, 227, 0.3);
}

.feature-icon svg { width: 24px; height: 24px; stroke: white; stroke-width: 2; fill: none; }
.feature-card h3 { font-size: 20px; margin-bottom: 10px; color: var(--white); }
.feature-card p { font-size: 16px; color: var(--gray-400); line-height: 1.6; }

/* ========== PRICING ========== */
.pricing { padding: 120px 24px; background: var(--white); }

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 64px;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.price-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 32px;
  border: 1px solid var(--gray-200);
  text-align: center;
  position: relative;
  transition: all var(--transition);
}

.price-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.08); }

.price-card.featured { border: 2px solid var(--blue); }

.price-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 980px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.price-card h3 { font-size: 18px; margin-bottom: 8px; }

.price-card .price {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--black);
  margin: 16px 0 4px;
}

.price-card .price-sub { font-size: 14px; color: var(--gray-400); margin-bottom: 24px; }

.price-card .price-features { list-style: none; text-align: left; margin-bottom: 32px; }

.price-card .price-features li {
  font-size: 15px;
  padding: 8px 0;
  border-bottom: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  gap: 10px;
}

.price-card .price-features li::before {
  content: "";
  width: 18px;
  height: 18px;
  background: var(--green);
  border-radius: 50%;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px;
}

/* ========== ABOUT ========== */
.about { padding: 120px 24px; background: var(--gray-50); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-top: 64px;
}

.about-text h3 { font-size: 28px; margin-bottom: 20px; }
.about-text p { font-size: 17px; color: var(--gray-600); line-height: 1.7; margin-bottom: 16px; }

.about-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }

.stat {
  text-align: center;
  padding: 32px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-100);
}

.stat-number {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--blue), var(--green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label { font-size: 14px; color: var(--gray-400); font-weight: 500; }

/* ========== FAQ ========== */
.faq { padding: 120px 24px; background: var(--gray-50); }

.faq-list { max-width: 720px; margin: 64px auto 0; }

.faq-item { border-bottom: 1px solid var(--gray-100); }

.faq-q {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 24px 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--black);
  cursor: pointer;
  font-family: inherit;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-q::after {
  content: "+";
  font-size: 24px;
  font-weight: 300;
  color: var(--gray-400);
  transition: transform var(--transition);
  flex-shrink: 0;
}

.faq-item.open .faq-q::after { transform: rotate(45deg); }

.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s ease; }
.faq-item.open .faq-a { max-height: 300px; }
.faq-a p { padding-bottom: 24px; font-size: 16px; color: var(--gray-600); line-height: 1.7; }

/* ========== TESTIMONIALS ========== */
.testimonials {
  padding: 120px 24px;
  background: var(--white);
}

.testimonials .section-headline { margin-bottom: 16px; }

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 64px;
}

.testimonial-card {
  background: var(--gray-50);
  border-radius: var(--radius);
  padding: 36px;
  border: 1px solid var(--gray-100);
  transition: all var(--transition);
  position: relative;
}

.testimonial-card:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,0,0,0.06); }

.testimonial-card .stars {
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 16px;
  color: #F5A623;
}

.testimonial-card blockquote {
  font-size: 16px;
  color: var(--gray-800);
  line-height: 1.7;
  font-style: normal;
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), #00A0FF);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
}

.testimonial-meta .name {
  font-size: 15px;
  font-weight: 600;
  color: var(--black);
}

.testimonial-meta .role {
  font-size: 13px;
  color: var(--gray-400);
}

.testimonial-result {
  display: inline-block;
  margin-top: 16px;
  padding: 6px 14px;
  background: #E8F5E9;
  color: #2E7D32;
  font-size: 13px;
  font-weight: 600;
  border-radius: 980px;
}

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

/* ========== RESPONSIVE ========== */
/* ========== MOBILE NAV OVERLAY ========== */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 52px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    z-index: 99;
    padding: 40px 24px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 20px; }
  .nav-links .nav-cta { font-size: 17px !important; padding: 14px 28px !important; }

  .nav-dropdown-menu {
    position: static !important;
    transform: none !important;
    margin-top: 8px !important;
    box-shadow: none !important;
    border: none !important;
    background: var(--gray-50) !important;
    text-align: center;
  }

  .hamburger { display: block; }
  .hero { padding: 120px 24px 80px; }
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .features { grid-template-columns: 1fr; }
  .pricing-cards { grid-template-columns: 1fr; max-width: 400px; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .insight-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
}
