/* GEO Marketing Website - Main Stylesheet */
:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #dbeafe;
  --accent: #7c3aed;
  --accent-light: #ede9fe;
  --dark: #0f172a;
  --gray-800: #1e293b;
  --gray-600: #475569;
  --gray-400: #94a3b8;
  --gray-200: #e2e8f0;
  --gray-100: #f1f5f9;
  --white: #ffffff;
  --success: #10b981;
  --warning: #f59e0b;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-width: 1200px;
  --header-height: 70px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--dark);
  line-height: 1.6;
  background: var(--white);
}

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* Header */
.header {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--header-height);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-200);
  z-index: 1000;
  display: flex; align-items: center;
}

.header .container {
  display: flex; align-items: center;
  justify-content: space-between;
  width: 100%;
}

.logo {
  font-size: 1.5rem; font-weight: 800;
  color: var(--primary);
  text-decoration: none;
  display: flex; align-items: center; gap: 8px;
}

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

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

.nav a {
  color: var(--gray-600);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav a:hover { color: var(--primary); }

.lang-switch {
  display: flex; gap: 4px;
  background: var(--gray-100);
  padding: 3px;
  border-radius: 8px;
}

.lang-switch a {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 500;
}

.lang-switch a.active { background: var(--white); color: var(--primary); box-shadow: 0 1px 3px rgba(0,0,0,0.1); }

.hamburger { display: none; flex-direction: column; cursor: pointer; gap: 5px; padding: 5px; }
.hamburger span { width: 24px; height: 2px; background: var(--dark); border-radius: 2px; }

/* Hero */
.hero {
  padding: 140px 0 80px;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent-light) 100%);
  text-align: center;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero h1 span { color: var(--primary); }

.hero p {
  font-size: 1.15rem;
  color: var(--gray-600);
  max-width: 700px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer; border: none;
}

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

.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(37,99,235,0.3); }

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover { background: var(--primary); color: var(--white); }

.btn-lg { padding: 16px 40px; font-size: 1.1rem; }

/* Stats */
.stats {
  padding: 60px 0;
  background: var(--white);
}

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

.stat-value { font-size: 2.5rem; font-weight: 800; color: var(--primary); }
.stat-label { font-size: 0.95rem; color: var(--gray-600); margin-top: 4px; }

/* Sections */
.section { padding: 80px 0; }
.section-gray { background: var(--gray-100); }

.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.section-subtitle {
  text-align: center;
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto 48px;
  font-size: 1.05rem;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

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

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
  border-color: var(--primary);
}

.service-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.service-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.service-card p { color: var(--gray-600); font-size: 0.95rem; line-height: 1.6; }

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

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

.pricing-card.featured {
  border-color: var(--primary);
  box-shadow: 0 8px 32px rgba(37,99,235,0.12);
  transform: scale(1.03);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--white);
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.pricing-card h3 { font-size: 1.3rem; margin-bottom: 8px; }
.pricing-card .price { font-size: 2.5rem; font-weight: 800; color: var(--primary); margin-bottom: 4px; }
.pricing-card .price-sub { color: var(--gray-400); font-size: 0.95rem; margin-bottom: 24px; }

.pricing-features { list-style: none; margin-bottom: 28px; text-align: left; }
.pricing-features li { padding: 8px 0; color: var(--gray-600); font-size: 0.95rem; display: flex; align-items: center; gap: 8px; }
.pricing-features li::before { content: "✓"; color: var(--success); font-weight: 700; }

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; }

.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-question {
  padding: 20px 24px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  background: var(--white);
}

.faq-question:hover { background: var(--gray-100); }

.faq-arrow { transition: transform 0.3s; font-size: 0.85rem; color: var(--gray-400); }
.faq-item.open .faq-arrow { transform: rotate(180deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s;
  padding: 0 24px;
  color: var(--gray-600);
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  max-height: 500px;
  padding: 0 24px 20px;
}

/* Contact / Lead Form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-info h3 { font-size: 1.3rem; margin-bottom: 16px; }
.contact-info p { color: var(--gray-600); margin-bottom: 24px; }
.contact-detail { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; color: var(--gray-600); }
.contact-detail .icon { font-size: 1.2rem; }

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

.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 0.95rem;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: border-color 0.2s;
  background: var(--white);
}

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

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

.form-success {
  display: none;
  padding: 20px;
  background: #ecfdf5;
  border: 1px solid var(--success);
  border-radius: 12px;
  text-align: center;
  color: #065f46;
  font-weight: 500;
}

.form-success.show { display: block; }
.form-error { color: #dc2626; font-size: 0.9rem; margin-top: 4px; }

/* Footer */
.footer {
  background: var(--dark);
  color: var(--gray-400);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer h4 { color: var(--white); margin-bottom: 16px; font-size: 1rem; }
.footer p, .footer a { font-size: 0.9rem; line-height: 1.8; }
.footer a { color: var(--gray-400); text-decoration: none; display: block; }
.footer a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid var(--gray-800);
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
}

/* Blog */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s;
}

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

.blog-card-img {
  height: 200px;
  background: linear-gradient(135deg, var(--primary-light), var(--accent-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}

.blog-card-body { padding: 24px; }
.blog-card-tag { display: inline-block; padding: 2px 10px; background: var(--primary-light); color: var(--primary); border-radius: 20px; font-size: 0.8rem; font-weight: 600; margin-bottom: 8px; }
.blog-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.blog-card p { color: var(--gray-600); font-size: 0.9rem; }
.blog-card .read-more { color: var(--primary); font-weight: 600; font-size: 0.9rem; display: inline-block; margin-top: 12px; text-decoration: none; }

/* Process / How It Works */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.process-step {
  text-align: center;
  position: relative;
}

.process-step .step-num {
  width: 48px; height: 48px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  margin: 0 auto 16px;
}

.process-step h3 { font-size: 1rem; margin-bottom: 8px; }
.process-step p { color: var(--gray-600); font-size: 0.9rem; line-height: 1.5; }

/* Responsive */
@media (max-width: 1024px) {
  .services-grid, .pricing-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav { display: none; }
  .nav.mobile-open {
    display: flex; flex-direction: column;
    position: absolute; top: var(--header-height); left: 0; right: 0;
    background: var(--white);
    padding: 20px; gap: 16px;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
  }
  .hamburger { display: flex; }

  .hero { padding: 120px 0 60px; }
  .services-grid, .pricing-grid, .blog-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .pricing-card.featured { transform: none; }
}
