﻿* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; background: #f8fafc; color: #1e293b; line-height: 1.7; }
a { color: #3b82f6; text-decoration: none; } a:hover { text-decoration: underline; }

/* Header */
header { background: linear-gradient(135deg, #1e3a5f 0%, #2563eb 100%); color: white; padding: 0; position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 12px rgba(0,0,0,0.15); }
.topbar { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 0 24px; height: 64px; }
.logo { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.5px; display: flex; align-items: center; gap: 10px; }
.logo-icon { width: 36px; height: 36px; background: rgba(255,255,255,0.2); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
nav { display: flex; gap: 6px; }
nav a { color: rgba(255,255,255,0.85); padding: 8px 14px; border-radius: 6px; font-size: 0.9rem; font-weight: 500; transition: all 0.2s; }
nav a:hover, nav a.active { color: white; background: rgba(255,255,255,0.15); text-decoration: none; }
.nav-legal { margin-left: 12px; padding-left: 12px; border-left: 1px solid rgba(255,255,255,0.2); }
.nav-legal a { font-size: 0.82rem; padding: 6px 10px; color: rgba(255,255,255,0.7); }

/* Hero */
.hero { background: linear-gradient(135deg, #1e3a5f 0%, #2563eb 50%, #7c3aed 100%); color: white; padding: 80px 24px; text-align: center; }
.hero h1 { font-size: 2.8rem; font-weight: 800; margin-bottom: 16px; letter-spacing: -1px; }
.hero p { font-size: 1.2rem; opacity: 0.9; max-width: 640px; margin: 0 auto 32px; }
.hero-btn { display: inline-block; background: white; color: #2563eb; padding: 14px 36px; border-radius: 10px; font-size: 1.05rem; font-weight: 600; transition: all 0.2s; box-shadow: 0 4px 16px rgba(0,0,0,0.2); }
.hero-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(0,0,0,0.3); text-decoration: none; }

/* Section */
section { max-width: 1200px; margin: 0 auto; padding: 64px 24px; }
.section-title { font-size: 1.8rem; font-weight: 700; text-align: center; margin-bottom: 12px; letter-spacing: -0.5px; }
.section-subtitle { text-align: center; color: #64748b; margin-bottom: 48px; font-size: 1.05rem; }

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.card { background: white; border-radius: 14px; padding: 32px; box-shadow: 0 1px 3px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.04); border: 1px solid #e2e8f0; transition: all 0.2s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 4px 20px rgba(0,0,0,0.1); }
.card-icon { font-size: 2rem; margin-bottom: 16px; }
.card h3 { font-size: 1.2rem; margin-bottom: 8px; color: #1e293b; }
.card p { color: #64748b; font-size: 0.95rem; }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.pricing-card { background: white; border-radius: 14px; padding: 32px; text-align: center; border: 2px solid #e2e8f0; transition: all 0.2s; position: relative; }
.pricing-card.popular { border-color: #2563eb; }
.pricing-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: #2563eb; color: white; padding: 4px 16px; border-radius: 20px; font-size: 0.8rem; font-weight: 600; }
.price { font-size: 2.4rem; font-weight: 800; color: #1e293b; margin: 16px 0 4px; }
.price-period { color: #64748b; font-size: 0.9rem; margin-bottom: 24px; }
.pricing-card ul { list-style: none; text-align: left; margin-bottom: 24px; }
.pricing-card li { padding: 8px 0; color: #475569; font-size: 0.92rem; border-bottom: 1px solid #f1f5f9; }
.pricing-card li::before { content: "? "; color: #22c55e; font-weight: 700; }
.btn-primary { display: inline-block; background: #2563eb; color: white; padding: 12px 28px; border-radius: 8px; font-weight: 600; transition: all 0.2s; }
.btn-primary:hover { background: #1d4ed8; text-decoration: none; }

/* Features */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-bottom: 48px; }
.feature-row:nth-child(even) { direction: rtl; }
.feature-row:nth-child(even) > * { direction: ltr; }
.feature-text h3 { font-size: 1.4rem; margin-bottom: 12px; }
.feature-text p { color: #64748b; }
.feature-visual { background: linear-gradient(135deg, #e0e7ff, #fce7f3); border-radius: 16px; height: 200px; display: flex; align-items: center; justify-content: center; font-size: 4rem; }

/* Footer */
footer { background: #0f172a; color: #94a3b8; padding: 48px 24px 24px; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 32px; }
.footer-col h4 { color: white; margin-bottom: 16px; font-size: 0.95rem; }
.footer-col a { display: block; color: #94a3b8; padding: 4px 0; font-size: 0.88rem; }
.footer-col a:hover { color: white; text-decoration: none; }
.footer-bottom { max-width: 1200px; margin: 0 auto; padding-top: 24px; border-top: 1px solid #1e293b; text-align: center; font-size: 0.85rem; }

/* Legal pages */
.legal-page { max-width: 800px; margin: 0 auto; padding: 48px 24px; }
.legal-page h1 { font-size: 2rem; margin-bottom: 8px; }
.legal-page .updated { color: #64748b; margin-bottom: 32px; font-size: 0.9rem; }
.legal-page h2 { font-size: 1.3rem; margin: 32px 0 12px; color: #1e293b; }
.legal-page h3 { font-size: 1.1rem; margin: 20px 0 8px; color: #334155; }
.legal-page p { margin-bottom: 12px; color: #475569; }
.legal-page ul { margin: 8px 0 16px 24px; color: #475569; }
.legal-page li { margin-bottom: 6px; }

@media (max-width: 768px) {
  .hero h1 { font-size: 2rem; }
  .feature-row { grid-template-columns: 1fr !important; gap: 24px; }
  .feature-row:nth-child(even) { direction: ltr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .topbar { flex-direction: column; gap: 12px; height: auto; padding: 16px; }
}
