/* Revenue Guard - Standalone CSS for Hostinger (all relative paths) */
:root {
  --foreground: #0f172a;
  --background: #fafbfd;
  --primary-50: #eef4fb;
  --primary-100: #d9e6f5;
  --primary-200: #b3cceb;
  --primary-300: #7aa8db;
  --primary-400: #4a8bc9;
  --primary-500: #2d6fab;
  --primary-600: #1e5a8e;
  --primary-700: #184a75;
  --primary-800: #173d61;
  --primary-900: #163351;
  --accent-cyan: #0d9488;
  --accent-teal: #0f766e;
  --accent-orange: #c2410c;
  --muted: #475569;
  --border: #e2e8f0;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--foreground);
  background: var(--background);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* Layout */
.page-wrap { min-height: 100vh; overflow-x: hidden; padding-bottom: 7rem; }
.container { width: 100%; max-width: 72rem; margin-left: auto; margin-right: auto; padding-left: 1rem; padding-right: 1rem; }
@media (min-width: 768px) { .container { padding-left: 1.5rem; padding-right: 1.5rem; } }

/* Nav */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; background: rgba(255,255,255,0.9); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 4rem; }
.nav-logo { display: flex; align-items: center; gap: 0.625rem; color: var(--foreground); text-decoration: none; font-weight: 700; font-size: 1.25rem; letter-spacing: -0.025em; }
.nav-logo img { height: 2.5rem; width: auto; flex-shrink: 0; }
.nav-links { display: none; gap: 2rem; font-size: 0.875rem; font-weight: 500; color: var(--muted); }
@media (min-width: 768px) { .nav-links { display: flex; } }
.nav-links a { color: inherit; text-decoration: none; }
.nav-links a:hover { color: var(--primary-600); }
.nav-cta { display: none; padding: 0.5rem 1.25rem; border-radius: 0.75rem; font-size: 0.875rem; font-weight: 600; color: white; background: var(--primary-600); border: none; cursor: pointer; box-shadow: 0 4px 14px rgba(30,90,142,0.2); transition: all 0.3s; }
@media (min-width: 640px) { .nav-cta { display: inline-flex; } }
.nav-cta:hover { background: var(--primary-700); transform: translateY(-2px); }
.nav-menu-btn { display: flex; padding: 0.5rem; border-radius: 0.5rem; color: var(--muted); background: none; border: none; cursor: pointer; }
@media (min-width: 768px) { .nav-menu-btn { display: none; } }
.nav-menu-btn:hover { color: var(--foreground); background: var(--primary-50); }
.nav-dropdown { display: none; border-top: 1px solid var(--border); background: rgba(255,255,255,0.95); }
.nav-dropdown.open { display: block; }
.nav-dropdown .container { padding-top: 1rem; padding-bottom: 1rem; display: flex; flex-direction: column; gap: 0.5rem; }
.nav-dropdown a, .nav-dropdown button { padding: 0.75rem 1rem; border-radius: 0.5rem; font-weight: 500; color: var(--foreground); text-decoration: none; text-align: left; background: none; border: none; cursor: pointer; font-size: 1rem; }
.nav-dropdown a:hover, .nav-dropdown button:hover { background: var(--primary-50); color: var(--primary-600); }
.nav-dropdown .cta { margin-top: 0.5rem; border-radius: 0.75rem; background: var(--primary-600); color: white; text-align: center; }

/* Sections */
section { padding: 5rem 1rem; }
@media (min-width: 768px) { section { padding: 6rem 1rem; } }
.section-hero { padding-top: 8rem; padding-bottom: 5rem; position: relative; overflow: hidden; background-image: radial-gradient(ellipse 80% 50% at 40% 20%, rgba(30,90,142,0.06), transparent), radial-gradient(ellipse 80% 50% at 80% 0%, rgba(13,148,136,0.05), transparent); }
@media (min-width: 768px) { .section-hero { padding-top: 10rem; padding-bottom: 8rem; } }
.section-hero .container { max-width: 64rem; position: relative; z-index: 1; }
.hero-content { max-width: 56rem; margin-left: auto; margin-right: auto; text-align: center; }
.hero-title { font-size: 2.25rem; font-weight: 700; color: var(--foreground); line-height: 1.1; margin: 0; }
@media (min-width: 768px) { .hero-title { font-size: 3rem; } }
@media (min-width: 1024px) { .hero-title { font-size: 3.75rem; } }
.hero-sub { margin-top: 1.5rem; font-size: 1.25rem; color: var(--muted); line-height: 1.6; max-width: 42rem; margin-left: auto; margin-right: auto; }
@media (min-width: 768px) { .hero-sub { font-size: 1.5rem; } }
.hero-btns { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.btn-primary { display: inline-flex; align-items: center; justify-content: center; height: 3.5rem; padding: 0 2rem; font-size: 1.125rem; font-weight: 600; border-radius: 0.75rem; color: white; background: var(--primary-600); border: none; cursor: pointer; text-decoration: none; box-shadow: 0 20px 25px -5px rgba(30,90,142,0.2); transition: all 0.3s; }
.btn-primary:hover { background: var(--primary-700); transform: translateY(-2px); }
.btn-secondary { display: inline-flex; align-items: center; justify-content: center; height: 3.5rem; padding: 0 2rem; font-size: 1.125rem; font-weight: 500; border-radius: 0.75rem; color: var(--foreground); background: white; border: 2px solid var(--border); cursor: pointer; text-decoration: none; transition: all 0.3s; }
.btn-secondary:hover { background: var(--primary-50); border-color: var(--primary-200); }

.bg-white { background: white; }
.bg-primary-50 { background: var(--primary-50); }
.bg-primary-800 { background: var(--primary-800); color: white; position: relative; overflow: hidden; }
.bg-primary-800::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(ellipse 80% 50% at 40% 20%, rgba(30,90,142,0.06), transparent), radial-gradient(ellipse 80% 50% at 80% 0%, rgba(13,148,136,0.05), transparent); opacity: 0.2; pointer-events: none; }
.section-title { font-size: 1.5rem; font-weight: 700; color: var(--foreground); margin-bottom: 1rem; text-align: center; }
@media (min-width: 768px) { .section-title { font-size: 1.875rem; } }
.section-sub { font-size: 1.125rem; color: var(--muted); text-align: center; max-width: 42rem; margin-left: auto; margin-right: auto; }
.max-w-4xl { max-width: 56rem; margin-left: auto; margin-right: auto; }
.max-w-5xl { max-width: 64rem; margin-left: auto; margin-right: auto; }
.max-w-6xl { max-width: 72rem; margin-left: auto; margin-right: auto; }
.text-muted { color: var(--muted); }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }

/* Cards */
.theme-card { border-radius: 1rem; border: 1px solid #e2e8f0; background: white; box-shadow: 0 1px 3px rgba(0,0,0,0.05); padding: 1.5rem; transition: all 0.3s; }
.theme-card:hover { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.08); border-color: var(--primary-200); transform: translateY(-2px); }
.card-grid-3 { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .card-grid-3 { grid-template-columns: repeat(3, 1fr); } }
.card-grid-4 { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .card-grid-4 { grid-template-columns: repeat(4, 1fr); gap: 2rem; } }
.card-title { font-size: 1rem; font-weight: 600; color: var(--foreground); margin-bottom: 0.5rem; }
.card-desc { font-size: 0.875rem; color: var(--muted); margin: 0; }
.step-label { font-size: 0.875rem; font-weight: 700; color: var(--primary-600); text-transform: uppercase; letter-spacing: 0.05em; }
.step-title { font-size: 1.25rem; font-weight: 700; color: var(--foreground); margin: 0.5rem 0 0.25rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.check-list { display: flex; align-items: center; gap: 0.75rem; }
.check-icon { width: 1.5rem; height: 1.5rem; flex-shrink: 0; color: var(--accent-teal); }
.check-wrap { width: 1.5rem; height: 1.5rem; border-radius: 50%; background: rgba(13,148,136,0.2); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.features-grid { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
.list-2col { display: grid; gap: 0.75rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .list-2col { grid-template-columns: repeat(4, 1fr); } }
.list-2col span { display: flex; align-items: center; justify-content: center; gap: 0.5rem; font-size: 0.875rem; font-weight: 500; color: var(--muted); }
.orange-dot { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--accent-orange); }

/* Pricing */
.pricing-grid { display: grid; gap: 2rem; }
@media (min-width: 768px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); } }
.pricing-card { border-radius: 1rem; border: 1px solid var(--border); background: white; padding: 2rem; display: flex; flex-direction: column; transition: all 0.3s; }
.pricing-card:hover { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.08); transform: translateY(-2px); }
.pricing-card.popular { border: 2px solid var(--primary-600); box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); }
.popular-badge { font-size: 0.75rem; font-weight: 700; color: var(--primary-600); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.5rem; }
.pricing-name { font-size: 1.25rem; font-weight: 700; color: var(--foreground); margin: 0; }
.pricing-price { font-size: 2.25rem; font-weight: 700; color: var(--foreground); margin-top: 1rem; }
.pricing-period { color: var(--muted); font-size: 1rem; }
.pricing-for { font-size: 0.875rem; color: var(--muted); margin-top: 0.25rem; }
.pricing-desc { font-size: 0.875rem; color: var(--muted); margin-top: 0.25rem; margin-bottom: 0.5rem; }
.pricing-includes { font-size: 0.8125rem; font-weight: 600; color: var(--foreground); margin-top: 0.75rem; margin-bottom: 0.25rem; }
.pricing-extra { font-size: 0.8125rem; font-weight: 600; color: var(--primary-600); margin-top: 0.75rem; margin-bottom: 0.25rem; }
.pricing-ideal { font-size: 0.75rem; color: var(--muted); margin-top: 0.5rem; margin-bottom: 0; line-height: 1.4; }
.pricing-features { margin-top: 0.5rem; list-style: none; padding: 0; margin-bottom: 0; flex: 1; }
.pricing-features li { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--foreground); margin-bottom: 0.75rem; }
.pricing-features li::before { content: ''; width: 1rem; height: 1rem; flex-shrink: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%231e5a8e'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 13l4 4L19 7'/%3E%3C/svg%3E") no-repeat center; }
.pricing-btn { margin-top: 1.5rem; width: 100%; padding: 0.875rem 1rem; border-radius: 0.75rem; font-weight: 600; background: var(--primary-600); color: white; border: none; cursor: pointer; transition: all 0.3s; }
.pricing-btn:hover { background: var(--primary-700); transform: translateY(-2px); }

/* CTA section */
.cta-section .container { max-width: 48rem; margin-left: auto; margin-right: auto; text-align: center; position: relative; z-index: 1; }
.cta-title { font-size: 1.875rem; font-weight: 700; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .cta-title { font-size: 2.25rem; } }
.cta-sub { font-size: 1.125rem; opacity: 0.8; margin-bottom: 2rem; }
.cta-btn { height: 3.5rem; padding: 0 2.5rem; font-size: 1.125rem; font-weight: 600; border-radius: 0.75rem; background: white; color: var(--primary-600); border: none; cursor: pointer; box-shadow: 0 20px 25px -5px rgba(0,0,0,0.15); transition: all 0.3s; }
.cta-btn:hover { background: var(--primary-50); transform: translateY(-2px); }

/* Footer */
.footer { padding: 3rem 1rem 4rem; background: white; border-top: 1px solid var(--border); }
@media (min-width: 768px) { .footer { padding: 4rem 1rem; } }
.footer-top { display: flex; flex-direction: column; gap: 2rem; }
@media (min-width: 768px) { .footer-top { flex-direction: row; align-items: center; justify-content: space-between; } }
.footer-brand { display: flex; align-items: center; gap: 0.625rem; font-weight: 700; font-size: 1.25rem; color: var(--foreground); }
.footer-brand img { height: 2.5rem; width: auto; }
.footer-tagline { font-size: 0.875rem; color: var(--muted); max-width: 28rem; }
.footer-links { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: 1.5rem; font-size: 0.875rem; }
@media (min-width: 640px) { .footer-links { flex-direction: row; align-items: center; justify-content: space-between; } }
.footer-links a, .footer-links button.link-btn { color: var(--muted); text-decoration: none; background: none; border: none; cursor: pointer; font-size: inherit; padding: 0; }
.footer-links a:hover, .footer-links button.link-btn:hover { color: var(--primary-600); }
.footer-legal { margin-top: 2rem; font-size: 0.875rem; color: var(--muted); }
.footer-disclaimer { margin-top: 0.5rem; font-size: 0.75rem; color: var(--muted); max-width: 36rem; }
.gdpr-block { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--border); max-width: 42rem; }
.gdpr-block h3 { font-size: 0.875rem; font-weight: 600; color: var(--foreground); margin-bottom: 0.75rem; }
.gdpr-block p { font-size: 0.75rem; color: var(--muted); line-height: 1.6; margin-bottom: 0.75rem; }
.gdpr-block a, .gdpr-block button.link-btn { color: var(--primary-600); font-weight: 500; background: none; border: none; cursor: pointer; padding: 0; font-size: inherit; text-decoration: underline; }

/* Overlay / Modal */
.overlay { position: fixed; inset: 0; z-index: 90; background: rgba(0,0,0,0.4); backdrop-filter: blur(4px); display: none; }
.overlay.open { display: block; }
.modal { display: none; position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 95; width: 90%; max-width: 28rem; max-height: 90vh; overflow-y: auto; background: white; border-radius: 1rem; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); border: 1px solid var(--border); }
.modal-header { display: flex; align-items: flex-start; justify-content: space-between; padding: 1.5rem 1.5rem 0; }
.modal-title { font-size: 1.25rem; font-weight: 600; color: var(--foreground); margin: 0; }
.modal-close { padding: 0.5rem; border-radius: 0.5rem; color: var(--muted); background: none; border: none; cursor: pointer; }
.modal-close:hover { color: var(--foreground); background: #f1f5f9; }
.modal-body { padding: 1rem 1.5rem 1.5rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.875rem; font-weight: 500; color: #334155; margin-bottom: 0.375rem; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 0.75rem 1rem; border-radius: 0.75rem; border: 1px solid #cbd5e1; font-size: 1rem; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--primary-500); box-shadow: 0 0 0 2px rgba(30,90,142,0.2); }
.form-group textarea { min-height: 100px; resize: vertical; }
.btn-submit { width: 100%; height: 3rem; font-weight: 600; border-radius: 0.5rem; background: var(--primary-600); color: white; border: none; cursor: pointer; }
.btn-submit:hover:not(:disabled) { background: var(--primary-700); }
.btn-submit:disabled { opacity: 0.7; cursor: not-allowed; }

/* Thank you popup - uses same .modal styles */
.thankyou-modal .modal-body { text-align: center; }

/* Cookie bar */
.cookie-bar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 80; background: white; border-top: 1px solid var(--border); padding: 1rem; box-shadow: 0 -4px 6px -1px rgba(0,0,0,0.05); }
.cookie-bar .container { max-width: 56rem; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; }
@media (min-width: 640px) { .cookie-bar .container { flex-direction: row; align-items: center; justify-content: space-between; } }
.cookie-text { font-size: 0.875rem; color: var(--muted); }
.cookie-text a, .cookie-text button.link-btn { color: var(--primary-600); font-weight: 500; background: none; border: none; cursor: pointer; padding: 0; text-decoration: underline; }
.cookie-btns { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-btns button { padding: 0.5rem 1rem; border-radius: 0.75rem; font-size: 0.875rem; font-weight: 600; cursor: pointer; border: none; }
.cookie-accept { background: var(--primary-600); color: white; }
.cookie-reject { background: white; color: var(--foreground); border: 1px solid var(--border); }
.cookie-manage { background: none; color: var(--primary-600); }

/* Legal popout */
.legal-overlay { position: fixed; inset: 0; z-index: 90; background: rgba(0,0,0,0.4); display: none; }
.legal-overlay.open { display: block; }
.legal-panel { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 95; max-height: 85vh; overflow-y: auto; background: white; border-top: 2px solid var(--primary-200); border-radius: 1rem 1rem 0 0; box-shadow: 0 -25px 50px -12px rgba(0,0,0,0.25); }
.legal-header { position: sticky; top: 0; background: white; padding: 1rem 1.5rem; border-bottom: 1px solid var(--border); display: flex; align-items: flex-start; justify-content: space-between; }
.legal-title { font-size: 1.125rem; font-weight: 700; color: var(--foreground); margin: 0; }
.legal-updated { font-size: 0.75rem; color: var(--muted); margin-top: 0.25rem; }
.legal-body { padding: 1.5rem; max-width: 42rem; margin: 0 auto; }
.legal-body h3 { font-size: 1rem; font-weight: 600; color: var(--foreground); margin-bottom: 0.5rem; }
.legal-body p { font-size: 0.875rem; color: var(--muted); line-height: 1.6; margin-bottom: 1.5rem; }
.legal-footer { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--border); font-size: 0.875rem; color: var(--muted); font-style: italic; }
