/* ============================================
   Impact Marketing Network - Main Stylesheet
   ============================================ */

/* CSS Custom Properties */
:root {
  --blue-900: #0c1a3d;
  --blue-800: #0f2557;
  --blue-700: #14367a;
  --blue-600: #1a4d9e;
  --blue-500: #2563eb;
  --blue-400: #3b82f6;
  --blue-300: #60a5fa;
  --blue-200: #93c5fd;
  --blue-100: #dbeafe;
  --blue-50: #eff6ff;

  --navy: #0a1628;
  --dark: #1a1a2e;
  --gray-900: #111827;
  --gray-800: #1f2937;
  --gray-700: #374151;
  --gray-600: #4b5563;
  --gray-500: #6b7280;
  --gray-400: #9ca3af;
  --gray-300: #d1d5db;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --gray-50: #f9fafb;
  --white: #ffffff;

  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.1), 0 4px 6px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 25px rgba(0,0,0,0.1), 0 10px 10px rgba(0,0,0,0.04);

  --transition: all 0.3s ease;
}

/* Reset & Base */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  color: var(--gray-700);
  line-height: 1.7;
  background: var(--white);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
}

ul, ol {
  list-style: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--gray-900);
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.125rem, 2vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p {
  margin-bottom: 1rem;
  color: var(--gray-600);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.container-narrow {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-200);
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-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: 1.1rem;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.logo-icon {
  width: 38px;
  height: 38px;
  background: var(--blue-500);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 900;
  font-size: 1.1rem;
}

.logo span {
  color: var(--blue-500);
}

/* Desktop Navigation */
.main-nav {
  display: flex;
  align-items: center;
  gap: 0;
}

.main-nav a {
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-600);
  border-radius: 6px;
  transition: var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--blue-500);
  background: var(--blue-50);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown > a {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-dropdown > a::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid var(--gray-400);
  transition: var(--transition);
}

.nav-dropdown:hover > a::after {
  border-top-color: var(--blue-500);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--gray-200);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: var(--transition);
  z-index: 100;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 10px 14px;
  font-size: 0.875rem;
  border-radius: 8px;
  color: var(--gray-700);
}

.dropdown-menu a:hover {
  background: var(--blue-50);
  color: var(--blue-500);
}

.header-cta {
  background: var(--blue-500) !important;
  color: var(--white) !important;
  padding: 10px 22px !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  font-size: 0.9rem;
}

.header-cta:hover {
  background: var(--blue-600) !important;
  transform: translateY(-1px);
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: var(--transition);
}

.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO SECTIONS
   ============================================ */
.hero {
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
  min-height: 600px;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}

.hero-bg-gradient {
  background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-700) 50%, var(--blue-500) 100%);
  opacity: 1;
}

.hero-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(59,130,246,0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(96,165,250,0.1) 0%, transparent 50%),
    radial-gradient(circle at 60% 80%, rgba(37,99,235,0.1) 0%, transparent 50%);
}

/* Geometric shapes for hero */
.hero-shapes {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  z-index: 1;
}

.hero-shape {
  position: absolute;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 50%;
}

.hero-shape-1 {
  width: 500px;
  height: 500px;
  top: -150px;
  right: -100px;
  border-color: rgba(255,255,255,0.04);
}

.hero-shape-2 {
  width: 300px;
  height: 300px;
  bottom: -50px;
  left: -100px;
  border-color: rgba(255,255,255,0.05);
}

.hero-shape-3 {
  width: 150px;
  height: 150px;
  top: 30%;
  right: 20%;
  background: rgba(255,255,255,0.03);
  border: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.9);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.hero p {
  color: rgba(255,255,255,0.8);
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 560px;
}

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

/* Page Hero (inner pages) */
.page-hero {
  padding: 130px 0 60px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-700) 100%);
  min-height: 300px;
  display: flex;
  align-items: center;
}

.page-hero .hero-content {
  max-width: 700px;
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 12px;
}

.page-hero p {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  margin-bottom: 0;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

.breadcrumb a {
  color: rgba(255,255,255,0.6);
}

.breadcrumb a:hover {
  color: var(--white);
}

.breadcrumb .separator {
  font-size: 0.7rem;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-primary);
  text-align: center;
}

.btn-primary {
  background: var(--blue-500);
  color: var(--white);
  border-color: var(--blue-500);
}

.btn-primary:hover {
  background: var(--blue-600);
  border-color: var(--blue-600);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37,99,235,0.3);
}

.btn-white {
  background: var(--white);
  color: var(--blue-600);
  border-color: var(--white);
}

.btn-white:hover {
  background: var(--blue-50);
  border-color: var(--blue-50);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.3);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.5);
}

.btn-outline-dark {
  background: transparent;
  color: var(--blue-500);
  border-color: var(--blue-200);
}

.btn-outline-dark:hover {
  background: var(--blue-50);
  border-color: var(--blue-400);
}

.btn-arrow::after {
  content: '→';
  font-size: 1.1em;
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
  padding: 80px 0;
}

.section-gray {
  background: var(--gray-50);
}

.section-blue {
  background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-700) 100%);
  color: var(--white);
}

.section-blue h2,
.section-blue h3 {
  color: var(--white);
}

.section-blue p {
  color: rgba(255,255,255,0.8);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-header .overline {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-500);
  margin-bottom: 12px;
}

.section-header h2 {
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-header p {
  font-size: 1.05rem;
  line-height: 1.7;
}

.section-blue .section-header .overline {
  color: var(--blue-300);
}

/* ============================================
   CARDS
   ============================================ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.card-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  background: var(--white);
  border-radius: 16px;
  padding: 32px;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.card:hover {
  border-color: var(--blue-200);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.card-icon {
  width: 52px;
  height: 52px;
  background: var(--blue-50);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--blue-500);
  font-size: 1.3rem;
}

.card h3 {
  margin-bottom: 12px;
  font-size: 1.15rem;
}

.card p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--blue-500);
}

.card-link:hover {
  gap: 10px;
}

/* ============================================
   TWO COLUMN LAYOUT
   ============================================ */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.two-col-reverse {
  direction: rtl;
}

.two-col-reverse > * {
  direction: ltr;
}

/* ============================================
   IMAGE BLOCKS (CSS-generated abstract images)
   ============================================ */
.img-block {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
}

.img-block-blue {
  background: linear-gradient(135deg, var(--blue-600) 0%, var(--blue-400) 50%, var(--blue-300) 100%);
}

.img-block-navy {
  background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-700) 100%);
}

.img-block-light {
  background: linear-gradient(135deg, var(--blue-50) 0%, var(--blue-100) 100%);
}

.img-block-gradient {
  background: linear-gradient(135deg, #1e3a5f 0%, #2563eb 50%, #60a5fa 100%);
}

.img-block-pattern {
  background: var(--blue-50);
}

/* Abstract shapes inside image blocks */
.img-block::before,
.img-block::after {
  content: '';
  position: absolute;
  border-radius: 50%;
}

.img-block::before {
  width: 60%;
  height: 60%;
  top: 20%;
  left: 20%;
  border: 2px solid rgba(255,255,255,0.1);
}

.img-block::after {
  width: 40%;
  height: 40%;
  bottom: 10%;
  right: 10%;
  background: rgba(255,255,255,0.05);
  border: none;
}

.img-block .arrow-graphic {
  position: absolute;
  width: 60px;
  height: 60px;
  bottom: 20%;
  right: 20%;
}

.img-block .arrow-graphic svg {
  width: 100%;
  height: 100%;
}

/* Stats / counters */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stat-item h3 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--blue-500);
  margin-bottom: 4px;
  letter-spacing: -0.03em;
}

.section-blue .stat-item h3 {
  color: var(--white);
}

.stat-item p {
  font-size: 0.9rem;
  color: var(--gray-500);
  margin: 0;
}

.section-blue .stat-item p {
  color: rgba(255,255,255,0.7);
}

/* ============================================
   SERVICES LIST
   ============================================ */
.service-list {
  display: grid;
  gap: 0;
}

.service-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--gray-200);
  align-items: start;
}

.service-item:last-child {
  border-bottom: none;
}

.service-number {
  width: 44px;
  height: 44px;
  background: var(--blue-50);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--blue-500);
  font-size: 0.9rem;
  flex-shrink: 0;
}

.service-item h4 {
  margin-bottom: 4px;
}

.service-item p {
  margin: 0;
  font-size: 0.95rem;
}

/* ============================================
   FEATURES GRID
   ============================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.feature-item {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: var(--white);
  border-radius: 12px;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.feature-item:hover {
  border-color: var(--blue-200);
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 40px;
  height: 40px;
  background: var(--blue-50);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-500);
  flex-shrink: 0;
}

.feature-item h4 {
  margin-bottom: 4px;
}

.feature-item p {
  margin: 0;
  font-size: 0.9rem;
}

/* ============================================
   FORMS
   ============================================ */
.form-section {
  padding: 80px 0;
  background: var(--gray-50);
}

.form-wrapper {
  max-width: 700px;
  margin: 0 auto;
}

.contact-form {
  background: var(--white);
  border-radius: 20px;
  padding: 48px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
}

.form-header {
  text-align: center;
  margin-bottom: 36px;
}

.form-header h2 {
  margin-bottom: 8px;
}

.form-header p {
  margin: 0;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-300);
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: var(--font-primary);
  color: var(--gray-800);
  background: var(--white);
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue-400);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

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

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

.form-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.form-consent input[type="checkbox"] {
  width: auto;
  margin-top: 3px;
}

.form-consent label {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.5;
}

.form-consent a {
  color: var(--blue-500);
  text-decoration: underline;
}

.form-submit {
  width: 100%;
  padding: 14px 28px;
  background: var(--blue-500);
  color: var(--white);
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-primary);
  cursor: pointer;
  transition: var(--transition);
}

.form-submit:hover {
  background: var(--blue-600);
  transform: translateY(-1px);
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-700) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.cta-banner p {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 32px;
}

.cta-banner .btn-white {
  display: inline-flex;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-about .logo {
  color: var(--white);
  margin-bottom: 16px;
}

.footer-about p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 20px;
  font-weight: 600;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--blue-400);
}

.footer-contact p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 6px;
}

.footer-contact a {
  color: var(--blue-300);
}

.footer-contact a:hover {
  color: var(--blue-200);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

.footer-legal {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--blue-500);
  color: var(--white);
}

/* ============================================
   LIST STYLES
   ============================================ */
.check-list {
  display: grid;
  gap: 12px;
}

.check-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.95rem;
  color: var(--gray-600);
}

.check-list li::before {
  content: '✓';
  color: var(--blue-500);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.section-blue .check-list li::before {
  color: var(--blue-300);
}

.section-blue .check-list li {
  color: rgba(255,255,255,0.8);
}

/* Country grid */
.country-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.country-grid li {
  background: rgba(255,255,255,0.06);
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
  text-align: center;
}

.section-blue .country-grid li {
  background: rgba(255,255,255,0.06);
}

/* ============================================
   QUOTE / PRICING NOTE
   ============================================ */
.quote-note {
  display: inline-block;
  background: var(--blue-50);
  color: var(--blue-700);
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  margin-top: 16px;
}

.section-blue .quote-note {
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.9);
}

/* ============================================
   CONTACT INFO BLOCK
   ============================================ */
.contact-info-block {
  background: var(--blue-50);
  border-radius: 16px;
  padding: 32px;
  border: 1px solid var(--blue-100);
}

.contact-info-block h3 {
  margin-bottom: 16px;
  color: var(--blue-800);
}

.contact-info-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.contact-info-item:last-child {
  margin-bottom: 0;
}

.contact-info-icon {
  width: 36px;
  height: 36px;
  background: var(--white);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-500);
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.contact-info-text {
  font-size: 0.9rem;
}

.contact-info-text strong {
  display: block;
  color: var(--gray-800);
  font-weight: 600;
}

.contact-info-text span {
  color: var(--gray-500);
}

.contact-info-text a {
  color: var(--blue-500);
  font-weight: 500;
}

.contact-info-text a:hover {
  text-decoration: underline;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .card-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .two-col {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .two-col-reverse {
    direction: ltr;
  }

  .stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    gap: 0;
    overflow-y: auto;
    border-top: 1px solid var(--gray-200);
  }

  .main-nav.active {
    display: flex;
  }

  .main-nav a {
    width: 100%;
    padding: 14px 16px;
    font-size: 1rem;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 0 0 0 16px;
    display: none;
  }

  .dropdown-menu.active {
    display: block;
  }

  .nav-dropdown > a::after {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding: 120px 0 60px;
  }

  .page-hero {
    min-height: auto;
    padding: 120px 0 40px;
  }

  .card-grid-3,
  .card-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .country-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 32px 24px;
  }

  .stats-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 60px 0;
  }

  .stats-row {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .stat-item h3 {
    font-size: 2rem;
  }

  .country-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   INVESTOR CERTIFICATION PAGE
   ============================================ */
.eligibility-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.eligibility-card {
  background: var(--white);
  border-radius: 20px;
  border: 1px solid var(--gray-200);
  padding: 40px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.eligibility-card:hover {
  border-color: var(--blue-200);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.eligibility-badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--blue-50);
  color: var(--blue-600);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.eligibility-card h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.eligibility-card > p {
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.eligibility-card .check-list {
  margin-bottom: 24px;
}

.eligibility-card .check-list li {
  font-size: 0.9rem;
}

.eligibility-card .btn {
  margin-top: auto;
}

.eligibility-note {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin: 12px 0 28px;
}

.notice-box {
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  border-left: 4px solid var(--blue-500);
  border-radius: 12px;
  padding: 24px 28px;
}

.notice-box-gray {
  background: var(--gray-50);
  border-color: var(--gray-200);
  border-left-color: var(--gray-400);
}

.notice-box-yellow {
  background: #fef9ec;
  border-color: #f3e3b8;
  border-left-color: #eab308;
}

.notice-box h4 {
  margin-bottom: 8px;
}

.notice-box p:last-child {
  margin-bottom: 0;
}

/* ============================================
   MODAL
   ============================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 22, 40, 0.7);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: var(--white);
  border-radius: 20px;
  max-width: 620px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 44px;
  position: relative;
  transform: translateY(24px) scale(0.98);
  transition: var(--transition);
  box-shadow: var(--shadow-xl);
}

.modal-overlay.active .modal-box {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: var(--gray-100);
  color: var(--gray-600);
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.modal-close:hover {
  background: var(--gray-200);
  color: var(--gray-900);
}

.modal-header {
  text-align: center;
  margin-bottom: 28px;
}

.modal-header h3 {
  margin-bottom: 8px;
}

.modal-header p {
  margin: 0;
  font-size: 0.9rem;
}

.certify-options {
  display: grid;
  gap: 12px;
  margin-bottom: 20px;
}

.certify-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px;
  border: 1.5px solid var(--gray-300);
  border-radius: 12px;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1rem;
  font-weight: 400;
  margin: 0;
  color: var(--gray-600);
}

.certify-option > span {
  display: block;
}

.certify-option:hover {
  border-color: var(--blue-300);
}

.certify-option input[type="checkbox"] {
  width: auto;
  margin-top: 4px;
  accent-color: var(--blue-500);
}

.certify-option.active {
  border-color: var(--blue-500);
  background: var(--blue-50);
}

.certify-option strong {
  display: block;
  color: var(--gray-900);
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.certify-option span {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.5;
}

.certify-form-submit {
  width: 100%;
  margin-top: 4px;
}

.modal-success {
  display: none;
  text-align: center;
  padding: 24px 0;
}

.modal-success.active {
  display: block;
}

.modal-success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--blue-50);
  color: var(--blue-500);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.5rem;
}

.modal-success h4 {
  margin-bottom: 8px;
}

.modal-success p {
  margin: 0;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .eligibility-grid {
    grid-template-columns: 1fr;
  }

  .modal-box {
    padding: 32px 24px;
  }
}

/* ============================================
   POLICY / LEGAL PAGES
   ============================================ */
.policy-wrap {
  display: grid;
  grid-template-columns: minmax(210px, 0.3fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.policy-index {
  position: sticky;
  top: 96px;
  padding: 24px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 14px;
}

.policy-index p {
  margin-bottom: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-500);
}

.policy-index a {
  display: block;
  padding: 7px 0;
  font-size: 0.9rem;
  color: var(--gray-600);
  border-bottom: 1px dashed var(--gray-200);
}

.policy-index a:last-child {
  border-bottom: none;
}

.policy-index a:hover {
  color: var(--blue-500);
  padding-left: 4px;
}

.policy-content {
  max-width: 780px;
}

.policy-section {
  padding-bottom: 36px;
  margin-bottom: 36px;
  border-bottom: 1px solid var(--gray-200);
  scroll-margin-top: 96px;
}

.policy-section:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
}

.policy-section .overline {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-500);
  margin-bottom: 10px;
}

.policy-section h2 {
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.policy-section h3 {
  margin: 22px 0 8px;
  font-size: 1.05rem;
}

.policy-content p {
  margin-bottom: 14px;
}

.policy-content ul {
  list-style: disc;
  padding-left: 22px;
  margin-bottom: 14px;
}

.policy-content ul li {
  margin-bottom: 6px;
  color: var(--gray-600);
}

.policy-content a {
  color: var(--blue-600);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.policy-content a:hover {
  color: var(--blue-400);
}

.policy-contact-card {
  margin-top: 28px;
  padding: 28px 32px;
  background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-700) 100%);
  color: var(--white);
  border-radius: 14px;
}

.policy-contact-card p {
  color: rgba(255,255,255,0.85);
  margin-bottom: 10px;
}

.policy-contact-card p:last-child {
  margin-bottom: 0;
}

.policy-contact-card strong {
  color: var(--white);
}

.policy-contact-card a {
  color: var(--blue-200);
  text-decoration: none;
}

.policy-contact-card a:hover {
  color: var(--white);
}

@media (max-width: 900px) {
  .policy-wrap {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .policy-index {
    position: static;
  }

  .policy-index p {
    margin-bottom: 8px;
  }
}
