/* public/pages.css — shared styling for pricing, legal and contact pages */

@font-face {
    font-family: 'Eurostile';
    src: url('/fonts/Eurostile.ttf') format('truetype');
}
@font-face {
    font-family: 'Eurostile Bold';
    src: url('/fonts/Eurostile-Bold Regular.ttf') format('truetype');
}

:root {
    --whatsapp-green: #25D366;
    --whatsapp-dark: #128C7E;
    --accent-gradient: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    --dark-bg: #0a0a0a;
    --card-bg: rgba(31, 31, 31, 0.8);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --border-soft: rgba(255, 255, 255, 0.08);
}

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

body {
    font-family: 'Eurostile', -apple-system, BlinkMacSystemFont, sans-serif;
    background:
        radial-gradient(ellipse at 20% 0%, rgba(37, 211, 102, 0.12) 0%, transparent 55%),
        radial-gradient(ellipse at 80% 100%, rgba(18, 140, 126, 0.1) 0%, transparent 55%),
        var(--dark-bg);
    background-attachment: fixed;
    color: var(--text-primary);
    line-height: 1.7;
    -webkit-text-size-adjust: 100%;
}

/* ---------- Header / nav ---------- */

.page-header {
    background: rgba(31, 31, 31, 0.85);
    backdrop-filter: blur(20px);
    padding: 15px 30px;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-soft);
}

.page-header nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.page-header .logo img {
    width: 46px;
    height: 46px;
    display: block;
}

.page-header ul {
    list-style: none;
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.page-header ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.98em;
    transition: color 0.3s ease;
}

.page-header ul li a:hover,
.page-header ul li a[aria-current="page"] {
    color: var(--whatsapp-green);
}

/* ---------- Layout ---------- */

.page-main {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 20px 80px;
}

.page-main.wide {
    max-width: 1200px;
}

.page-title {
    font-family: 'Eurostile Bold', sans-serif;
    font-size: clamp(2em, 4.5vw, 3em);
    margin-bottom: 12px;
    background: linear-gradient(135deg, #fff 0%, #25D366 60%, #128C7E 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-lead {
    font-size: 1.12em;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.page-meta {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.92em;
    margin-bottom: 44px;
}

.legal-body section {
    margin-bottom: 34px;
}

.legal-body h2 {
    font-family: 'Eurostile Bold', sans-serif;
    font-size: 1.35em;
    color: var(--text-primary);
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-soft);
}

.legal-body h3 {
    font-family: 'Eurostile Bold', sans-serif;
    font-size: 1.08em;
    color: var(--whatsapp-green);
    margin: 22px 0 10px;
}

.legal-body p,
.legal-body li {
    color: var(--text-secondary);
}

.legal-body p {
    margin-bottom: 14px;
}

.legal-body ul,
.legal-body ol {
    margin: 0 0 18px 22px;
}

.legal-body li {
    margin-bottom: 8px;
}

.legal-body strong {
    color: var(--text-primary);
}

.legal-body a {
    color: var(--whatsapp-green);
    text-decoration: none;
}

.legal-body a:hover {
    text-decoration: underline;
}

.callout {
    background: var(--glass-bg);
    border: 1px solid rgba(37, 211, 102, 0.25);
    border-left: 3px solid var(--whatsapp-green);
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 30px;
}

.callout p:last-child {
    margin-bottom: 0;
}

/* ---------- Data table ---------- */

.data-table-wrap {
    overflow-x: auto;
    margin-bottom: 26px;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--card-bg);
    border: 1px solid var(--border-soft);
    border-radius: 14px;
    overflow: hidden;
    min-width: 520px;
}

.data-table th,
.data-table td {
    padding: 14px 18px;
    text-align: left;
    border-bottom: 1px solid var(--border-soft);
    color: var(--text-secondary);
    font-size: 0.96em;
}

.data-table th {
    background: rgba(37, 211, 102, 0.08);
    color: var(--text-primary);
    font-family: 'Eurostile Bold', sans-serif;
    white-space: nowrap;
}

.data-table tr:last-child td {
    border-bottom: none;
}

.data-table td strong {
    color: var(--text-primary);
}

.price-cell {
    color: var(--whatsapp-green);
    font-family: 'Eurostile Bold', sans-serif;
    font-size: 1.1em;
    white-space: nowrap;
}

/* ---------- Pricing cards ---------- */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 22px;
    margin-bottom: 50px;
}

.price-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-soft);
    border-radius: 20px;
    padding: 30px 26px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.price-card:hover {
    transform: translateY(-5px);
    border-color: rgba(37, 211, 102, 0.35);
}

.price-card.featured {
    border-color: rgba(37, 211, 102, 0.45);
}

.price-badge {
    align-self: flex-start;
    background: var(--glass-bg);
    border: 1px solid rgba(37, 211, 102, 0.25);
    color: var(--whatsapp-green);
    border-radius: 50px;
    padding: 5px 14px;
    font-size: 0.8em;
    margin-bottom: 16px;
}

.price-card h3 {
    font-family: 'Eurostile Bold', sans-serif;
    font-size: 1.3em;
    margin-bottom: 10px;
}

.price-amount {
    font-family: 'Eurostile Bold', sans-serif;
    font-size: 2.5em;
    line-height: 1.1;
    color: var(--whatsapp-green);
}

.price-unit {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9em;
    margin-bottom: 18px;
}

.price-card ul {
    list-style: none;
    margin: 0;
}

.price-card ul li {
    color: var(--text-secondary);
    font-size: 0.95em;
    padding-left: 22px;
    position: relative;
    margin-bottom: 9px;
}

.price-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--whatsapp-green);
    font-weight: bold;
}

/* ---------- Contact cards ---------- */

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
    margin-bottom: 44px;
}

.contact-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-soft);
    border-radius: 20px;
    padding: 30px 26px;
    transition: border-color 0.3s ease;
}

.contact-card:hover {
    border-color: rgba(37, 211, 102, 0.3);
}

.contact-card .contact-icon {
    font-size: 2em;
    margin-bottom: 14px;
}

.contact-card h3 {
    font-family: 'Eurostile Bold', sans-serif;
    font-size: 1.15em;
    margin-bottom: 10px;
}

.contact-card p {
    color: var(--text-secondary);
    font-size: 0.96em;
    margin-bottom: 10px;
}

.contact-card a {
    color: var(--whatsapp-green);
    text-decoration: none;
    word-break: break-word;
}

.contact-card a:hover {
    text-decoration: underline;
}

.contact-value {
    font-size: 1.05em;
}

/* ---------- Buttons ---------- */

.btn-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.btn-green {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: var(--accent-gradient);
    color: #fff;
    text-decoration: none;
    border-radius: 12px;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.28);
}

.btn-green:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: var(--glass-bg);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    text-decoration: none;
    border-radius: 12px;
    font-weight: bold;
    transition: background 0.3s ease, transform 0.3s ease;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

/* ---------- Footer ---------- */

.page-footer {
    background: var(--card-bg);
    border-top: 1px solid var(--border-soft);
    padding: 55px 20px 28px;
}

.page-footer .footer-content {
    max-width: 1200px;
    margin: 0 auto 36px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.page-footer h3 {
    font-family: 'Eurostile Bold', sans-serif;
    font-size: 1.4em;
    color: var(--whatsapp-green);
    margin-bottom: 10px;
}

.page-footer h4 {
    font-family: 'Eurostile Bold', sans-serif;
    color: var(--text-primary);
    margin-bottom: 18px;
}

.page-footer p {
    color: var(--text-secondary);
}

.page-footer .footer-links a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.page-footer .footer-links a:hover {
    color: var(--whatsapp-green);
}

.page-footer .footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding-top: 26px;
    border-top: 1px solid var(--border-soft);
    color: var(--text-secondary);
    font-size: 0.92em;
}

.page-footer .footer-bottom p {
    margin-bottom: 6px;
}

@media (max-width: 640px) {
    .page-header {
        padding: 12px 16px;
    }

    .page-header ul {
        gap: 14px;
        font-size: 0.9em;
    }

    .page-main {
        padding: 40px 18px 60px;
    }
}
