/* ========== RESET & BASE ========== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #1a1a2e;
  background: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ========== COLORS ========== */
:root {
  --primary: #9CAF88;
  --primary-light: #B5C4A5;
  --primary-dark: #7A9166;
  --primary-darker: #6A8156;
  --accent: #9CAF88;
  --bg-dark: #121212;
  --bg-section: #f8faf6;
  --text-primary: #1a1a2e;
  --text-secondary: #555;
  --text-muted: #888;
  --border: #e5e7eb;
  --white: #ffffff;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
  --radius: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
}

/* ========== UTILITIES ========== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.section-alt { background: var(--bg-section); }
.section-dark { background: var(--bg-dark); color: var(--white); }
.text-center { text-align: center; }
.text-gradient {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ========== TYPOGRAPHY ========== */
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }
h3 { font-size: 1.25rem; font-weight: 600; line-height: 1.3; }
.subtitle { font-size: 1.15rem; color: var(--text-secondary); max-width: 640px; margin: 16px auto 0; line-height: 1.7; }

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: var(--radius-full);
  font-weight: 600; font-size: 1rem; cursor: pointer;
  transition: all 0.3s ease; border: none;
  text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  box-shadow: 0 4px 15px rgba(156, 175, 136, 0.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 25px rgba(156, 175, 136, 0.5); }
.btn-outline {
  background: transparent;
  color: var(--primary-dark);
  border: 2px solid var(--primary);
}
.btn-outline:hover { background: var(--primary); color: var(--white); }
.btn-white {
  background: var(--white);
  color: var(--primary-dark);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

/* ========== HEADER / NAV ========== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: all 0.3s ease;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px; max-width: 1200px; margin: 0 auto;
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.5rem; }
.logo-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 800; font-size: 1.2rem;
}
.nav { display: flex; align-items: center; gap: 32px; }
.nav a { font-weight: 600; font-size: 0.95rem; color: var(--text-secondary); transition: color 0.2s; }
.nav a:hover { color: var(--primary-dark); }
.nav-cta { padding: 10px 24px !important; font-size: 0.9rem !important; }
.mobile-menu-btn { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.mobile-menu-btn span { display: block; width: 24px; height: 2px; background: var(--text-primary); margin: 6px 0; transition: all 0.3s; }

/* ========== HERO ========== */
.hero {
  padding: 160px 0 100px;
  background: linear-gradient(180deg, #f8faf6 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: -200px; right: -200px;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(156,175,136,0.12) 0%, transparent 70%);
}
.hero::after {
  content: '';
  position: absolute; bottom: -150px; left: -150px;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(181,196,165,0.1) 0%, transparent 70%);
}
.hero-content { position: relative; z-index: 1; text-align: center; max-width: 800px; margin: 0 auto; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(156,175,136,0.1); border: 1px solid rgba(156,175,136,0.2);
  padding: 8px 20px; border-radius: var(--radius-full);
  font-size: 0.85rem; font-weight: 600; color: var(--primary-dark);
  margin-bottom: 24px;
}
.hero-badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.hero h1 { margin-bottom: 20px; }
.hero p { font-size: 1.2rem; color: var(--text-secondary); max-width: 600px; margin: 0 auto 36px; line-height: 1.7; }
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-platforms {
  margin-top: 48px; display: flex; align-items: center; justify-content: center; gap: 32px;
  color: var(--text-muted); font-size: 0.9rem;
}
.hero-platforms span { display: flex; align-items: center; gap: 6px; }

/* ========== PRODUCTS ========== */
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 60px; }
.product-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 40px 32px; border: 1px solid var(--border);
  transition: all 0.4s ease; position: relative; overflow: hidden;
}
.product-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--primary-light), var(--primary-dark));
  opacity: 0; transition: opacity 0.3s;
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); }
.product-card:hover::before { opacity: 1; }
.product-icon {
  width: 64px; height: 64px; border-radius: 16px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; margin-bottom: 24px;
}
.product-card h3 { font-size: 1.4rem; margin-bottom: 8px; }
.product-card .product-for { font-size: 0.85rem; color: var(--primary-dark); font-weight: 600; margin-bottom: 16px; }
.product-card p { color: var(--text-secondary); font-size: 0.95rem; margin-bottom: 24px; }
.product-features { display: flex; flex-direction: column; gap: 10px; }
.product-features li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.9rem; color: var(--text-secondary);
}
.product-features li::before {
  content: '\2713'; color: var(--primary-dark); font-weight: 700;
  flex-shrink: 0; margin-top: 1px;
}
.product-card .btn { margin-top: 28px; width: 100%; justify-content: center; }

/* ========== PROBLEMS ========== */
.problems-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 60px; }
.problem-card {
  display: flex; gap: 20px; padding: 28px;
  background: var(--white); border-radius: var(--radius);
  border: 1px solid var(--border); transition: all 0.3s;
}
.problem-card:hover { box-shadow: var(--shadow-md); }
.problem-icon {
  flex-shrink: 0; width: 48px; height: 48px; border-radius: 12px;
  background: rgba(156,175,136,0.1);
  display: flex; align-items: center; justify-content: center; font-size: 1.4rem;
}
.problem-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.problem-card p { font-size: 0.9rem; color: var(--text-secondary); }

/* ========== SECURITY ========== */
.security-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 60px;
}
.security-item {
  text-align: center; padding: 32px 24px;
  border-radius: var(--radius); background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
}
.security-icon { font-size: 2rem; margin-bottom: 16px; }
.security-item h3 { color: var(--white); margin-bottom: 8px; font-size: 1.05rem; }
.security-item p { color: rgba(255,255,255,0.65); font-size: 0.9rem; }

/* ========== HOW IT WORKS ========== */
.steps { display: flex; gap: 48px; margin-top: 60px; align-items: flex-start; }
.step {
  flex: 1; text-align: center; position: relative;
}
.step:not(:last-child)::after {
  content: ''; position: absolute; top: 32px; right: -24px;
  width: 48px; height: 2px;
  background: linear-gradient(90deg, var(--primary), transparent);
}
.step-num {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
  color: white; font-weight: 800; font-size: 1.5rem;
  display: flex; align-items: center; justify-content: center;
}
.step h3 { margin-bottom: 8px; }
.step p { font-size: 0.9rem; color: var(--text-secondary); }

/* ========== FAQ ========== */
.faq-list { max-width: 800px; margin: 60px auto 0; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  width: 100%; padding: 20px 0; background: none; border: none;
  text-align: left; cursor: pointer; display: flex; justify-content: space-between;
  align-items: center; font-size: 1.05rem; font-weight: 600;
  font-family: inherit; color: var(--text-primary);
  transition: color 0.2s;
}
.faq-question:hover { color: var(--primary-dark); }
.faq-arrow {
  flex-shrink: 0; width: 24px; height: 24px;
  transition: transform 0.3s;
}
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-answer {
  max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s;
}
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer p { padding: 0 0 20px; color: var(--text-secondary); font-size: 0.95rem; line-height: 1.7; }

/* ========== CONTACT ========== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-top: 60px; align-items: start; }
.contact-info h3 { font-size: 1.3rem; margin-bottom: 16px; }
.contact-info p { color: var(--text-secondary); margin-bottom: 32px; }
.contact-detail {
  display: flex; align-items: center; gap: 16px; margin-bottom: 20px;
  font-size: 0.95rem; color: var(--text-secondary);
}
.contact-detail-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(156,175,136,0.1);
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-form {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 40px; box-shadow: var(--shadow-lg); border: 1px solid var(--border);
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-size: 0.9rem; font-weight: 600;
  margin-bottom: 6px; color: var(--text-primary);
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 16px; border: 1px solid var(--border);
  border-radius: 8px; font-family: inherit; font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: var(--white);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(156,175,136,0.15);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ========== CTA BANNER ========== */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary), var(--primary-light));
  border-radius: var(--radius-lg); padding: 60px; text-align: center;
  color: var(--white); margin-top: 0;
}
.cta-banner h2 { color: var(--white); margin-bottom: 16px; }
.cta-banner p { opacity: 0.9; margin-bottom: 32px; font-size: 1.1rem; }

/* ========== FOOTER ========== */
.footer {
  background: var(--bg-dark); color: rgba(255,255,255,0.7);
  padding: 60px 0 30px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; }
.footer-brand p { margin-top: 16px; font-size: 0.9rem; line-height: 1.7; }
.footer h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 20px; }
.footer ul li { margin-bottom: 12px; }
.footer ul li a { font-size: 0.9rem; transition: color 0.2s; }
.footer ul li a:hover { color: var(--primary-light); }
.footer-bottom {
  margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.85rem;
}
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a:hover { color: var(--primary-light); }

/* ========== ABOUT GRID ========== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 60px;
  align-items: center;
}

/* ========== INLINE STYLE REPLACEMENTS ========== */
.honeypot-field { position: absolute; left: -9999px; }
.lang-switcher-btn {
  background: none; border: 1px solid var(--border); border-radius: 8px;
  padding: 6px 12px; cursor: pointer; font-family: inherit;
  font-size: 0.85rem; font-weight: 600; display: flex;
  align-items: center; gap: 6px; color: var(--text-secondary);
}
.lang-switcher-wrap { position: relative; display: inline-block; }
.lang-dropdown {
  display: none; position: absolute; top: 100%; right: 0;
  margin-top: 8px; background: white; border: 1px solid var(--border);
  border-radius: 12px; box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  padding: 8px; z-index: 200; width: 180px; max-height: 360px; overflow-y: auto;
}
.lang-option {
  display: block; width: 100%; padding: 8px 12px; border: none;
  background: none; text-align: left; cursor: pointer;
  border-radius: 6px; font-family: inherit; font-size: 0.9rem; color: #333;
}
.lang-option:hover { background: #f0f0f0; }
.contact-email-link { color: var(--primary-dark); }
.btn-full { width: 100%; justify-content: center; }
.form-response { text-align: center; margin-top: 12px; font-size: 0.8rem; color: var(--text-muted); }
.cta-section { padding: 0 0 60px; }

/* ========== RESPONSIVE ========== */
@media (max-width: 968px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; max-width: 500px; margin-left: auto; margin-right: auto; }
  .products-grid { grid-template-columns: 1fr; max-width: 500px; margin-left: auto; margin-right: auto; }
  .problems-grid { grid-template-columns: 1fr; }
  .security-grid { grid-template-columns: 1fr 1fr; }
  .steps { flex-direction: column; gap: 32px; max-width: 400px; margin-left: auto; margin-right: auto; }
  .step:not(:last-child)::after { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav { display: none; }
  .nav.open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: white; padding: 24px; box-shadow: var(--shadow-lg); gap: 16px; }
  .mobile-menu-btn { display: block; }
}
@media (max-width: 640px) {
  .section { padding: 60px 0; }
  .hero { padding: 120px 0 60px; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .hero-platforms { flex-direction: column; gap: 12px; }
  .security-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .cta-banner { padding: 40px 24px; }
}

/* ========== SECTION-SPECIFIC ========== */
.sec-title-highlight { color: var(--primary-light); }
.sec-subtitle { color: rgba(255,255,255,0.7); }
.about-card {
  background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
  border-radius: var(--radius-lg); padding: 48px; color: white; text-align: center;
}
.about-card-emoji { font-size: 4rem; margin-bottom: 16px; }
.about-card h3 { color: white; font-size: 1.5rem; margin-bottom: 8px; }
.about-card p { opacity: 0.85; font-size: 1rem; }
.about-story-title { font-size: 1.3rem; margin-bottom: 16px; }
.about-story-text { color: var(--text-secondary); margin-bottom: 16px; line-height: 1.8; }
.about-story-text-last { color: var(--text-secondary); margin-bottom: 24px; line-height: 1.8; }
.about-stats { display: flex; gap: 32px; flex-wrap: wrap; }
.stat-number { font-size: 2rem; font-weight: 800; color: var(--primary-dark); }
.stat-label { font-size: 0.85rem; color: var(--text-muted); }
.footer-logo { color: white; }

/* ========== ACCESSIBILITY ========== */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--primary-dark);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ========== ANIMATIONS ========== */
.fade-in { opacity: 0; transform: translateY(24px); transition: all 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
