/* WeCazza — shared stylesheet for the PT/ES answer-first pages (GEO batch 1).
   Scoped to the pages under /pt/ and /es/ created in 2026-08; the older pages
   keep their inline styles so nothing existing can regress. */

:root {
    --primary: #0066FF; --primary-dark: #0052CC; --accent: #FF6B00; --accent-dark: #E65C00;
    --dark: #1a2332; --dark-deeper: #0f1419; --secondary: #00C853; --light-gray: #f3f4f6;
    --text-dark: #1a1a2e; --gray: #64748b; --white: #FFFFFF;
    --glass-bg: rgba(26, 35, 50, 0.85); --glass-border: rgba(255, 255, 255, 0.1);
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-primary); color: var(--text-dark); line-height: 1.6; background: var(--white); }
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 820px; margin: 0 auto; padding: 0 24px; }

/* nav */
nav { position: fixed; top: 0; left: 0; right: 0; background: var(--glass-bg); backdrop-filter: blur(24px); z-index: 1000; padding: 16px 0; border-bottom: 1px solid var(--glass-border); }
nav .container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 26px; font-weight: 900; text-decoration: none; letter-spacing: -0.03em; }
.logo .we { color: var(--primary); } .logo .cazza { color: var(--accent); }
.nav-links { display: flex; gap: 36px; align-items: center; }
.nav-links a { text-decoration: none; color: rgba(255,255,255,0.7); font-weight: 500; font-size: 14px; transition: color 0.2s; }
.nav-links a:hover { color: var(--white); }
.lang-selector { display: flex; gap: 2px; align-items: center; padding: 4px; border-radius: 20px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.1); }
.lang-flag { font-size: 12px; font-weight: 600; text-decoration: none; color: rgba(255,255,255,0.5); padding: 10px 12px; min-width: 44px; min-height: 44px; border-radius: 16px; transition: all 0.2s; cursor: pointer; line-height: 1; display: inline-flex; align-items: center; justify-content: center; }
.lang-flag:hover { color: rgba(255,255,255,0.9); background: rgba(255,255,255,0.1); }
.lang-flag.active { color: #fff; background: rgba(255,255,255,0.2); }
.lang-flag img { width: 16px; height: 12px; display: block; border-radius: 2px; }
.mobile-menu-btn { display: none; background: none; border: none; font-size: 28px; cursor: pointer; color: var(--white); }
.mobile-nav { display: none; position: fixed; top: 60px; left: 0; right: 0; background: var(--glass-bg); backdrop-filter: blur(24px); padding: 20px 24px; border-bottom: 1px solid var(--glass-border); z-index: 999; flex-direction: column; gap: 12px; }
.mobile-nav.open { display: flex; }
.mobile-nav a { text-decoration: none; color: rgba(255,255,255,0.9); font-weight: 500; font-size: 16px; padding: 12px 0; border-bottom: 1px solid var(--glass-border); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 28px; border-radius: 10px; font-weight: 600; font-size: 15px; text-decoration: none; transition: all 0.3s; cursor: pointer; border: none; }
.btn-primary { background: var(--accent); color: var(--white); box-shadow: 0 4px 20px rgba(255,107,0,0.3); }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); }
.btn-secondary { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.3); }
.btn-secondary:hover { border-color: var(--white); background: rgba(255,255,255,0.1); transform: translateY(-2px); }
.btn-nav { padding: 10px 20px; font-size: 14px; }

/* hero */
.hero { padding: 140px 0 90px; background: var(--dark); position: relative; overflow: hidden; text-align: center; }
.hero::before { content: ''; position: absolute; top: -200px; right: -100px; width: 500px; height: 500px; background: radial-gradient(circle, var(--primary) 0%, transparent 70%); filter: blur(80px); opacity: 0.5; }
.hero::after { content: ''; position: absolute; bottom: -150px; left: -100px; width: 400px; height: 400px; background: radial-gradient(circle, var(--accent) 0%, transparent 70%); filter: blur(80px); opacity: 0.4; }
.hero .container, .hero .container-narrow { position: relative; z-index: 10; }
.hero-badge { display: inline-block; background: rgba(255,107,0,0.15); border: 1px solid rgba(255,107,0,0.3); color: var(--accent); padding: 8px 20px; border-radius: 100px; font-size: 13px; font-weight: 600; margin-bottom: 24px; letter-spacing: 0.02em; }
.hero h1 { font-size: 52px; font-weight: 900; letter-spacing: -0.045em; color: var(--white); margin-bottom: 20px; line-height: 1.1; }
.hero h1 span { background: linear-gradient(135deg, var(--primary), var(--accent)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero p { font-size: 19px; color: rgba(255,255,255,0.75); max-width: 700px; margin: 0 auto 36px; font-family: var(--font-serif); }
.hero-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-note { font-size: 13px; color: rgba(255,255,255,0.45); margin-top: 20px; }

/* answer-first summary block — the passage AI engines lift verbatim */
.answer-box { background: linear-gradient(135deg, rgba(0,102,255,0.06), rgba(255,107,0,0.06)); border: 1px solid rgba(0,102,255,0.18); border-left: 4px solid var(--primary); border-radius: 14px; padding: 28px 32px; margin: 0 auto 48px; max-width: 860px; }
.answer-box h2 { font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--primary); margin-bottom: 14px; }
.answer-box p { font-size: 17px; color: var(--text-dark); font-family: var(--font-serif); line-height: 1.7; }
.answer-box p + p { margin-top: 12px; }
.answer-box ul { margin: 14px 0 0 20px; }
.answer-box li { font-size: 16px; color: var(--text-dark); font-family: var(--font-serif); line-height: 1.7; margin-bottom: 6px; }

/* sections */
.section { padding: 72px 0; }
.section:nth-of-type(even) { background: var(--light-gray); }
.section-header { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.section-header h2 { font-size: 36px; font-weight: 900; letter-spacing: -0.03em; margin-bottom: 16px; background: linear-gradient(135deg, #0066FF, #FF6B00); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.section-header p { font-size: 18px; color: var(--gray); font-family: var(--font-serif); }
.prose h2 { font-size: 30px; font-weight: 800; letter-spacing: -0.03em; margin: 44px 0 16px; color: var(--text-dark); }
.prose h3 { font-size: 22px; font-weight: 700; margin: 32px 0 12px; color: var(--text-dark); }
.prose p { font-size: 17px; color: #374151; line-height: 1.8; margin-bottom: 16px; font-family: var(--font-serif); }
.prose ul, .prose ol { margin: 0 0 20px 22px; }
.prose li { font-size: 17px; color: #374151; line-height: 1.8; margin-bottom: 8px; font-family: var(--font-serif); }
.prose strong { color: var(--text-dark); font-weight: 700; }
.prose a { color: var(--primary); text-decoration: none; font-weight: 600; }
.prose a:hover { text-decoration: underline; }

/* feature grid */
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.feature-grid.reverse { direction: rtl; }
.feature-grid.reverse > * { direction: ltr; }
.feature-content h2 { font-size: 30px; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 16px; background: linear-gradient(135deg, #0066FF, #FF6B00); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.feature-content p { font-size: 16px; color: var(--gray); line-height: 1.75; margin-bottom: 20px; font-family: var(--font-serif); }
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.feature-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; color: var(--text-dark); font-family: var(--font-serif); }
.feature-list li::before { content: '✓'; color: var(--secondary); font-weight: 700; font-size: 16px; flex-shrink: 0; font-family: var(--font-primary); margin-top: 2px; }
.feature-visual { background: linear-gradient(135deg, rgba(0,102,255,0.08), rgba(255,107,0,0.08)); border: 1px solid rgba(0,102,255,0.12); border-radius: 24px; padding: 48px 36px; text-align: center; }
.feature-visual .feature-icon { font-size: 72px; margin-bottom: 16px; display: block; }
.feature-visual h3 { font-size: 20px; font-weight: 700; color: var(--text-dark); margin-bottom: 8px; }
.feature-visual p { font-size: 14px; color: var(--gray); font-family: var(--font-serif); }

/* comparison table — structured so an LLM can lift rows cleanly */
.table-wrap { overflow-x: auto; margin: 28px 0 12px; -webkit-overflow-scrolling: touch; }
table.cmp { width: 100%; border-collapse: collapse; min-width: 640px; background: var(--white); border-radius: 12px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,0.08); }
table.cmp th, table.cmp td { padding: 14px 16px; text-align: left; border-bottom: 1px solid #e5e7eb; font-size: 15px; font-family: var(--font-serif); }
table.cmp thead th { background: var(--dark); color: var(--white); font-family: var(--font-primary); font-weight: 700; font-size: 14px; letter-spacing: 0.01em; }
table.cmp thead th.us { background: var(--primary); }
table.cmp tbody th { font-family: var(--font-primary); font-weight: 600; color: var(--text-dark); background: #fafbfc; }
table.cmp td.yes { color: #047857; font-weight: 600; }
table.cmp td.no { color: #b91c1c; font-weight: 600; }
table.cmp tr:last-child th, table.cmp tr:last-child td { border-bottom: none; }
.table-note { font-size: 13px; color: var(--gray); font-family: var(--font-serif); font-style: italic; }

/* listicle entries */
.pick { background: var(--white); border: 1px solid #e5e7eb; border-radius: 16px; padding: 28px 32px; margin-bottom: 24px; }
.pick.highlight { border-color: var(--accent); box-shadow: 0 4px 24px rgba(255,107,0,0.10); }
.pick-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 6px; }
.pick h3 { font-size: 23px; font-weight: 800; letter-spacing: -0.02em; margin: 0; color: var(--text-dark); }
.pick .rank { font-size: 12px; font-weight: 700; color: var(--white); background: var(--primary); padding: 4px 10px; border-radius: 100px; letter-spacing: 0.04em; }
.pick .best-for { font-size: 14px; color: var(--accent); font-weight: 600; margin-bottom: 14px; }
.pick p { font-size: 16px; color: #374151; line-height: 1.75; margin-bottom: 14px; font-family: var(--font-serif); }
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 16px; }
.pros-cons h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 8px; }
.pros-cons .p h4 { color: #047857; } .pros-cons .c h4 { color: #b91c1c; }
.pros-cons ul { list-style: none; margin: 0; }
.pros-cons li { font-size: 14px; color: #374151; font-family: var(--font-serif); line-height: 1.6; margin-bottom: 6px; padding-left: 18px; position: relative; }
.pros-cons .p li::before { content: '+'; position: absolute; left: 0; color: #047857; font-weight: 700; font-family: var(--font-primary); }
.pros-cons .c li::before { content: '–'; position: absolute; left: 0; color: #b91c1c; font-weight: 700; font-family: var(--font-primary); }
.price-tag { font-size: 14px; color: var(--gray); font-family: var(--font-primary); font-weight: 600; }

/* pricing */
.pricing-callout { padding: 72px 0; background: var(--dark); }
.pricing-callout .container { text-align: center; }
.pricing-callout h2 { font-size: 36px; font-weight: 900; letter-spacing: -0.03em; color: var(--white); margin-bottom: 16px; }
.pricing-callout > .container > p { font-size: 18px; color: rgba(255,255,255,0.75); max-width: 620px; margin: 0 auto 32px; font-family: var(--font-serif); }
.pricing-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 900px; margin: 0 auto 40px; }
.pricing-card { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: 16px; padding: 32px 24px; text-align: center; }
.pricing-card.featured { background: rgba(255,107,0,0.15); border-color: var(--accent); }
.pricing-card .plan-name { font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.6); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 8px; }
.pricing-card .price { font-size: 36px; font-weight: 900; color: var(--white); letter-spacing: -0.03em; }
.pricing-card .price-note { font-size: 13px; color: rgba(255,255,255,0.5); margin-top: 4px; }

/* faq */
.faq-section { padding: 72px 0; background: var(--white); }
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.faq-item { border: 1px solid #e5e7eb; border-radius: 12px; overflow: hidden; }
.faq-question { padding: 20px 24px; font-size: 16px; font-weight: 600; color: var(--text-dark); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-answer { padding: 0 24px 20px; font-size: 15px; color: var(--gray); line-height: 1.75; font-family: var(--font-serif); }

/* cta */
.cta-section { padding: 84px 0; background: linear-gradient(135deg, var(--dark) 0%, #0f2040 100%); position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; top: -50%; left: -25%; width: 50%; height: 200%; background: linear-gradient(135deg, var(--primary) 0%, transparent 70%); opacity: 0.2; }
.cta-content { text-align: center; position: relative; z-index: 10; max-width: 640px; margin: 0 auto; color: var(--white); }
.cta-content h2 { font-size: 38px; font-weight: 900; letter-spacing: -0.03em; margin-bottom: 16px; }
.cta-content p { font-size: 18px; opacity: 0.8; margin-bottom: 32px; font-family: var(--font-serif); }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta-note { font-size: 13px; color: rgba(255,255,255,0.45); margin-top: 16px; }

/* related links — internal linking helps both crawlers and AI fan-out queries */
.related { padding: 56px 0; background: var(--light-gray); }
.related h2 { font-size: 22px; font-weight: 800; margin-bottom: 20px; text-align: center; color: var(--text-dark); }
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; max-width: 900px; margin: 0 auto; }
.related-grid a { display: block; background: var(--white); border: 1px solid #e5e7eb; border-radius: 12px; padding: 18px 20px; text-decoration: none; transition: all 0.2s; }
.related-grid a:hover { border-color: var(--primary); transform: translateY(-2px); }
.related-grid strong { display: block; color: var(--text-dark); font-size: 15px; margin-bottom: 4px; }
.related-grid span { color: var(--gray); font-size: 13px; font-family: var(--font-serif); }

/* footer */
footer { background: var(--dark-deeper); color: var(--white); padding: 60px 0 40px; }
.footer-content { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; }
.footer-links { display: flex; gap: 32px; flex-wrap: wrap; }
.footer-links a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 14px; transition: color 0.2s; }
.footer-links a:hover { color: var(--white); }
.footer-bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.08); text-align: center; color: rgba(255,255,255,0.5); font-size: 13px; }

.byline { font-size: 14px; color: var(--gray); font-family: var(--font-serif); margin-bottom: 8px; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-primary); }

@media (max-width: 1024px) { .pricing-cards { grid-template-columns: 1fr; max-width: 360px; } }
@media (max-width: 768px) {
    .nav-links { display: none; } .mobile-menu-btn { display: block; }
    .hero { padding: 120px 0 64px; }
    .hero h1 { font-size: 34px; } .hero p { font-size: 16px; }
    .feature-grid { grid-template-columns: 1fr; gap: 36px; } .feature-grid.reverse { direction: ltr; }
    .section-header h2 { font-size: 27px; } .feature-content h2 { font-size: 25px; }
    .prose h2 { font-size: 25px; } .cta-content h2 { font-size: 29px; }
    .answer-box { padding: 22px 22px; } .answer-box p { font-size: 16px; }
    .pros-cons { grid-template-columns: 1fr; gap: 14px; }
    .pick { padding: 22px 20px; }
    .footer-content { flex-direction: column; text-align: center; } .footer-links { justify-content: center; }
}
