/* === FONT & THEME VARIABLES === */
:root {
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --hue-primary: 240; /* Indigo */
    --hue-secondary: 280; /* Magenta/Purple */
    --transition: 0.3s ease;

    /* Light Mode */
    --bg-main: #f8f9fc;
    --bg-glass: rgba(255, 255, 255, 0.5);
    --bg-card: #ffffff;
    --bg-subtle: #f1f3f8;
    --border: rgba(0, 0, 0, 0.08);
    --text-primary: #1a202c;
    --text-secondary: #5a677d;
    --shadow-color: 220, 40%, 50%;
    --primary: hsl(var(--hue-primary), 90%, 65%);
    --primary-dark: hsl(var(--hue-primary), 90%, 55%);
    --grad-1: hsl(var(--hue-primary), 100%, 85%);
    --grad-2: hsl(var(--hue-secondary), 100%, 90%);
    --success: #16a34a;
    --danger: #dc2626;
}

.dark-mode {
    /* Dark Mode */
    --bg-main: #131824;
    --bg-glass: rgba(28, 35, 51, 0.5);
    --bg-card: #1c2333;
    --bg-subtle: #2a3346;
    --border: rgba(255, 255, 255, 0.1);
    --text-primary: #f0f4f9;
    --text-secondary: #a0aec0;
    --shadow-color: 220, 40%, 0%;
    --primary: hsl(var(--hue-primary), 80%, 70%);
    --primary-dark: hsl(var(--hue-primary), 80%, 80%);
    --grad-1: hsl(var(--hue-primary), 80%, 20%);
    --grad-2: hsl(var(--hue-secondary), 80%, 25%);
    --success: #22c55e;
    --danger: #f87171;
}

/* === BASE & LAYOUT === */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-family);
    background-color: var(--bg-main);
    color: var(--text-primary);
    transition: background-color var(--transition), color var(--transition);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Aurora Gradient Background */
body::before, body::after {
    content: ''; position: fixed; z-index: -1;
    border-radius: 50%; filter: blur(150px);
    transition: background-color 0.5s;
}
body::before {
    width: 500px; height: 500px; background: var(--grad-1);
    top: -20%; left: -10%; animation: pulse 15s infinite alternate;
}
body::after {
    width: 600px; height: 600px; background: var(--grad-2);
    bottom: -25%; right: -15%; animation: pulse 20s infinite alternate-reverse;
}
@keyframes pulse { from { transform: scale(0.8); } to { transform: scale(1.2); } }

/* Container */
.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}
main { padding-top: 75px; } /* Offset for fixed header */

/* === TYPOGRAPHY & BUTTONS === */
h1, h2, h3 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 1rem;
}
h2.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 4rem;
}
p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}
a {
    text-decoration: none;
    color: var(--primary);
    transition: color var(--transition);
}
a:hover { color: var(--primary-dark); }

.btn-primary {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    background-color: var(--primary);
    color: white !important;
    border: none;
    box-shadow: 0 4px 15px rgba(var(--shadow-color), 0.2);
    transition: all var(--transition);
    text-align: center;
    cursor: pointer;
}
.btn-primary:hover {
    transform: translateY(-3px);
    background-color: var(--primary-dark);
    box-shadow: 0 6px 20px rgba(var(--shadow-color), 0.3);
}

.btn-secondary {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    transition: all var(--transition);
    cursor: pointer;
}
.btn-secondary:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.btn-full { width: 100%; }

.pill {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.pill-success {
    background: rgba(22, 163, 74, 0.1);
    color: var(--success);
}
.pill-info {
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary);
}

/* === HEADER === */
.header {
    background-color: var(--bg-glass);
    backdrop-filter: blur(20px) saturate(180%);
    position: fixed; top: 0; left: 0; width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
    padding: 10px 0;
    transition: padding var(--transition), background-color var(--transition), box-shadow var(--transition);
}
.header.scrolled {
    box-shadow: 0 2px 10px rgba(var(--shadow-color), 0.05);
}
.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}
.logo-img { height: 40px; }
.logo-text h1 {
    font-size: 1.3rem;
    margin-bottom: 0;
    color: var(--text-primary);
}
.logo-text p {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1;
}
.navbar ul {
    display: flex;
    list-style: none;
    gap: 25px;
    align-items: center;
}
.navbar ul li a {
    color: var(--text-primary);
    font-weight: 500;
}
.nav-link-btn {
    border: none;
    background: transparent;
    font: inherit;
    color: var(--text-primary);
    cursor: pointer;
}
.nav-link-btn-primary {
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid var(--primary);
    color: var(--primary);
}
.nav-link-btn-primary:hover {
    background: var(--primary);
    color: #fff;
}
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Theme Switcher */
.theme-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
}
.switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: var(--bg-subtle);
    transition: var(--transition);
    border-radius: 24px;
    border: 1px solid var(--border);
}
.slider:before {
    position: absolute;
    content: "";
    height: 18px; width: 18px;
    left: 2px; bottom: 2px;
    background-color: white;
    transition: var(--transition);
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.dark-mode .slider:before { background-color: var(--bg-main); }
input:checked + .slider { background-color: var(--primary); }
input:checked + .slider:before { transform: translateX(20px); }

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-primary);
}

/* === AUTH MODAL (compact, scrollable, responsive) === */
body.no-scroll { overflow: hidden; }

.auth-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(18px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 16px;
}
.auth-modal-overlay.show { display: flex; }

.auth-modal {
    background: var(--bg-card);
    border-radius: 16px;
    max-width: 480px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.5);
    position: relative;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}
.auth-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    border: none;
    background: rgba(15, 23, 42, 0.06);
    width: 30px;
    height: 30px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    cursor: pointer;
    z-index: 2;
}
.auth-modal-inner {
    padding: 14px 18px 16px;
    overflow-y: auto;
}
.auth-modal-header {
    padding-top: 8px;
    padding-bottom: 8px;
}
.auth-modal-subtitle {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 4px;
}
.auth-modal-body {
    margin-top: 12px;
}

.auth-modal-tabs {
    display: inline-flex;
    gap: 4px;
    background: var(--bg-subtle);
    padding: 3px;
    border-radius: 999px;
}
.auth-tab {
    border-radius: 999px;
    border: none;
    background: transparent;
    font-size: 0.85rem;
    padding: 6px 14px;
    cursor: pointer;
    font-weight: 500;
    color: var(--text-secondary);
}
.auth-tab.active {
    background: var(--bg-card);
    color: var(--primary);
    box-shadow: 0 2px 6px rgba(var(--shadow-color), 0.18);
}

.auth-form {
    margin-top: 8px;
}
.auth-form .form-group {
    margin-bottom: 0.9rem;
}
.auth-form .form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.3rem;
}
.auth-form .form-group input,
.auth-form .form-group select {
    width: 100%;
    padding: 9px 11px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background-color: var(--bg-subtle);
    color: var(--text-primary);
    font-size: 0.9rem;
}
.auth-form .form-group input:focus,
.auth-form .form-group select:focus {
    outline: none;
    border-color: var(--primary);
}
.auth-form-hint {
    display: block;
    margin-top: 4px;
    font-size: 0.75rem;
    color: var(--text-secondary);
}
.auth-form-meta {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 0.6rem;
}
.auth-form-meta.small {
    font-size: 0.75rem;
}

/* === GENERIC PAGE STYLES === */
.page-hero {
    padding: 60px 0;
    text-align: center;
    background-color: var(--bg-subtle);
}
.page-hero h1 { font-size: 2.8rem; }
.page-hero p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}
.blog-page-section,
.contact-section,
.blog-post-section {
    padding: 80px 0;
}

/* === HOMEPAGE HERO === */
.hero {
    padding: 80px 0 40px;
}
.hero .container {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 40px;
    align-items: center;
}
.hero-content h2 {
    font-size: 3.25rem;
    max-width: 720px;
    margin: 0 0 1.25rem;
}
.hero-content p {
    font-size: 1.15rem;
    max-width: 520px;
}
.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 1.25rem;
}
.hero-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 1.5rem;
    align-items: center;
}
.hero-cta-note {
    font-size: 0.9rem;
    color: var(--text-secondary);
}
.hero-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 1.75rem;
    font-size: 0.85rem;
}
.hero-meta-row span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.hero-meta-row i {
    color: var(--success);
}
.hero-image {
    margin-top: 0;
    position: relative;
    width: 100%;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    aspect-ratio: 4 / 3;
    border-radius: 18px;
    box-shadow: 0 16px 45px rgba(var(--shadow-color), 0.18);
    overflow: hidden;
    background-color: var(--bg-subtle);
}
.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-floating-card {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: rgba(15, 23, 42, 0.9);
    color: #fff;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 0.8rem;
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
}
.hero-floating-card span {
    color: #e5e7eb;
}

/* === TRUST / SOCIAL PROOF SECTION === */
.trust-section {
    padding: 20px 0 40px;
}
.trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: center;
    justify-content: space-between;
}
.trust-row-left {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}
.trust-row-left i {
    color: #fbbf24;
}
.trust-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-secondary);
}
.trust-logos span {
    opacity: 0.8;
}

/* === TOOLS SECTION === */
.tools-section {
    padding: 60px 0 30px;
}
.tools-header {
    text-align: center;
    margin-bottom: 2.5rem;
}
.tools-header p {
    max-width: 540px;
    margin: 0.75rem auto 0;
}
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.tool-card {
    display: block;
    background-color: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 4px 12px rgba(var(--shadow-color), 0.05);
    transition: all var(--transition);
}
.tool-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(var(--shadow-color), 0.1);
    border-color: var(--primary);
}
.tool-image {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background-color: var(--bg-subtle);
}
.tool-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.tool-info {
    padding: 22px;
}
.tool-info h3 {
    margin-bottom: 0.4rem;
    color: var(--text-primary);
}
.tool-info p {
    font-size: 0.95rem;
    margin-bottom: 1rem;
}
.tool-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 0.75rem;
}
.tool-badge {
    font-size: 0.7rem;
    padding: 3px 8px;
    border-radius: 999px;
    background-color: var(--bg-subtle);
    color: var(--text-secondary);
}
.tool-link {
    font-weight: 600;
    color: var(--primary);
}
.tool-link i {
    margin-left: 6px;
}

/* === VIDEO SECTION === */
.video-section {
    padding: 60px 0;
    background-color: var(--bg-subtle);
}
.video-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(var(--shadow-color), 0.1);
    aspect-ratio: 16 / 9;
}
.video-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
}
.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background-color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2rem;
    transition: transform var(--transition);
}
.video-thumbnail:hover .play-button {
    transform: translate(-50%, -50%) scale(1.1);
}
.video-iframe-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.video-iframe-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}
.video-fallback {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}
.video-fallback a { font-weight: 600; }

/* === FEATURES SECTION === */
.features-section {
    padding: 70px 0 40px;
}
.features-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 40px;
    align-items: flex-start;
}
.features-copy h2.section-title {
    text-align: left;
    margin-bottom: 1.5rem;
}
.features-copy p.lead {
    font-size: 1.05rem;
    max-width: 520px;
}
.features-list {
    margin-top: 1.5rem;
    display: grid;
    gap: 16px;
}
.features-list-item {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 12px;
}
.features-list-item-icon {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: rgba(129, 140, 248, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}
.features-list-item h3 {
    font-size: 1rem;
    margin-bottom: 0.15rem;
}
.features-aside {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 20px 22px;
    border: 1px solid var(--border);
    box-shadow: 0 10px 30px rgba(var(--shadow-color), 0.1);
}
.features-aside h3 {
    font-size: 1.05rem;
    margin-bottom: 0.75rem;
}
.features-aside ul {
    list-style: none;
    font-size: 0.9rem;
}
.features-aside li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 0.5rem;
}
.features-aside li i {
    margin-top: 3px;
    color: var(--success);
}

/* === PRICING SECTION === */
.pricing-section {
    padding: 80px 0 60px;
    background: radial-gradient(circle at top, rgba(129, 140, 248, 0.18), transparent 55%);
}
.pricing-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 2.5rem;
}
.pricing-header .pill {
    margin-bottom: 0.75rem;
}
.pricing-header h2 {
    font-size: 2.4rem;
}
.pricing-toggle-row {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px;
    border-radius: 999px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    margin-top: 1rem;
}
.pricing-toggle-option {
    border-radius: 999px;
    padding: 5px 12px;
    font-size: 0.85rem;
    cursor: pointer;
    border: none;
    background: transparent;
    color: var(--text-secondary);
}
.pricing-toggle-option.active {
    background: var(--primary);
    color: #fff;
}
.pricing-discount-pill {
    font-size: 0.8rem;
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 22px;
    margin-top: 1.5rem;
}
.pricing-card {
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid var(--border);
    padding: 22px 20px 24px;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    box-shadow: 0 6px 24px rgba(var(--shadow-color), 0.08);
}
.pricing-card.highlight {
    border-color: var(--primary);
    box-shadow: 0 12px 35px rgba(var(--shadow-color), 0.18);
    position: relative;
}
.pricing-card.highlight::before {
    content: 'Most popular';
    position: absolute;
    top: 12px;
    right: 16px;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 600;
    background: rgba(129, 140, 248, 0.15);
    color: var(--primary);
}
.pricing-card h3 {
    margin-bottom: 0.25rem;
    font-size: 1.15rem;
}
.pricing-subtitle {
    font-size: 0.85rem;
    color: var(--text-secondary);
}
.pricing-price-row {
    margin: 1.25rem 0 0.75rem;
}
.pricing-price {
    font-size: 1.75rem;
    font-weight: 700;
}
.pricing-price span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}
.pricing-credits {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}
.pricing-savings {
    font-size: 0.8rem;
    color: var(--success);
    font-weight: 500;
}
.pricing-features {
    list-style: none;
    margin: 1.25rem 0 1.5rem;
    font-size: 0.9rem;
}
.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 0.45rem;
}
.pricing-features li i {
    margin-top: 3px;
    color: var(--success);
}
.pricing-footer-text {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 1rem;
}

/* === FAQ SECTION === */
.faq-section {
    padding: 60px 0 70px;
}
.faq-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 40px;
}
.faq-intro h2 {
    font-size: 2rem;
}
.faq-intro p {
    max-width: 420px;
}
.faq-list {
    margin-top: 1.25rem;
}
.faq-item {
    border-bottom: 1px solid var(--border);
    padding: 10px 0 10px;
}
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}
.faq-question h3 {
    font-size: 0.98rem;
    margin-bottom: 0;
}
.faq-toggle {
    font-size: 1.1rem;
    color: var(--text-secondary);
}
.faq-answer {
    font-size: 0.9rem;
    color: var(--text-secondary);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
}
.faq-item.open .faq-answer {
    max-height: 180px;
    margin-top: 4px;
}
.faq-cta-card {
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid var(--border);
    padding: 22px 22px;
    box-shadow: 0 10px 25px rgba(var(--shadow-color), 0.1);
}
.faq-cta-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}
.faq-cta-card p {
    font-size: 0.9rem;
}

/* === BLOG SECTION === */
.blog-section {
    padding: 60px 0 60px;
}
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}
.blog-card {
    display: block;
    background-color: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 4px 12px rgba(var(--shadow-color), 0.05);
    transition: all var(--transition);
}
.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(var(--shadow-color), 0.1);
    border-color: var(--primary);
}
.blog-image {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background-color: var(--bg-subtle);
}
.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.blog-content {
    padding: 22px;
}
.blog-content h3 {
    margin-bottom: 0.4rem;
    color: var(--text-primary);
}
.blog-content p {
    font-size: 0.95rem;
    margin-bottom: 0;
}
.blog-category {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    display: block;
}
.section-cta {
    text-align: center;
    margin-top: 3rem;
}

/* === SUBSCRIPTION CTA SECTION === */
.donation-section {
    padding: 80px 0;
    background-color: var(--bg-subtle);
    text-align: center;
}
.donation-content h2 { font-size: 2.2rem; }
.donation-content p {
    max-width: 600px;
    margin: 0 auto 1.5rem;
    font-size: 1.1rem;
}
.donate-btn-large {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    font-size: 1.1rem;
}

/* === CONTACT FORM & LEGAL SECTIONS === */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--bg-card);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid var(--border);
}
.form-group { margin-bottom: 1.5rem; }
.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background-color: var(--bg-subtle);
    color: var(--text-primary);
    font-family: var(--font-family);
    font-size: 1rem;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

/* Contact email block */
.contact-info-email {
    text-align: center;
    margin-top: 2.5rem;
    padding: 20px;
    background-color: var(--bg-subtle);
    border-radius: 12px;
}
.contact-info-email p {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}
.contact-info-email a {
    font-weight: 500;
    margin: 0 10px;
}

/* === BLOG PAGE LAYOUT & SIDEBAR (if you use blog.php) === */
.blog-layout-container {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    align-items: flex-start;
}
.blog-sidebar {
    position: sticky;
    top: 95px;
    height: fit-content;
}
.sidebar-cta {
    background-color: var(--bg-subtle);
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
    text-align: center;
}
.sidebar-cta h4 {
    color: var(--text-primary);
    margin-bottom: 10px;
}
.sidebar-cta p {
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--text-secondary);
}
.sidebar-cta-link {
    background: var(--primary);
    color: white !important;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 14px;
    display: inline-block;
}

/* === FOOTER === */
.footer {
    background-color: var(--bg-card);
    color: var(--text-primary);
    padding: 60px 0 0;
    border-top: 1px solid var(--border);
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}
.footer-col h3 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: var(--text-secondary); }

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 1.5rem;
}
.social-links a {
    width: 40px;
    height: 40px;
    background: var(--bg-subtle);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
}
.social-links a:hover {
    background-color: var(--primary);
    color: #fff;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* === RESPONSIVE STYLES === */
@media (max-width: 992px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-content h2 {
        font-size: 2.6rem;
        margin-left: auto;
        margin-right: auto;
    }
    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-cta-row {
        justify-content: center;
    }
    .features-layout {
        grid-template-columns: 1fr;
    }
    .faq-layout {
        grid-template-columns: 1fr;
    }
    .blog-layout-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }
    .blog-sidebar {
        position: static;
        max-width: 500px;
        width: 100%;
    }
}

@media (max-width: 768px) {
    main { padding-top: 65px; }

    .logo-img { height: 36px; }
    .logo-text h1 { font-size: 1.1rem; }
    .logo-text p { font-size: 0.7rem; }
    .header-actions { gap: 15px; }
    .mobile-menu-btn { font-size: 1.4rem; }

    .navbar {
        position: fixed;
        top: 65px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 65px);
        background-color: var(--bg-main);
        transition: left var(--transition);
        padding: 30px;
    }
    .navbar.active { left: 0; }
    .navbar ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    .mobile-menu-btn { display: block; }

    .hero {
        padding: 60px 0 30px;
    }
    .hero-content h2 { font-size: 2.2rem; }
    .section-title { font-size: 2rem; }

    .btn-primary { padding: 12px 24px; font-size: 0.95rem; }
    .btn-secondary { padding: 10px 20px; font-size: 0.9rem; }
    .donate-btn-large { padding: 12px 24px; font-size: 1rem; }

    .tools-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .auth-modal {
        max-width: 100%;
        border-radius: 0;
        max-height: 100vh;
    }
}

@media (max-width: 576px) {
    .hero { padding: 50px 0 20px; }
    .hero-content h2 { font-size: 2.0rem; }
    .hero-content p { font-size: 1.05rem; }

    .footer-grid { grid-template-columns: 1fr; }
}

/* Status message styles */
.form-status {
    margin-top: 1rem;
    font-weight: 500;
}
.form-status.success { color: #28a745; }
.form-status.error { color: #dc3545; }