/**
 * CaReMe Landing Page Styles
 * Clean, minimal, no external dependencies
 */

:root {
    --primary: #2f5c55;
    --primary-dark: #244a44;
    --primary-light: #f0fdfa;
    --accent: #c5a686;
    --gradient: linear-gradient(135deg, #2f5c55 0%, #c5a686 100%);
    --text-dark: #1a1a1a;
    --text-main: #2d3436;
    --text-muted: #636e72;
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-dark: #111111;
    --border: #eef0f2;
    --success: #22c55e;
    --font-main: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-serif: Georgia, 'Times New Roman', serif;
    --container-max: 1200px;
    --container-sm: 700px;
    --section-padding: 5rem;
    --transition: all 0.3s ease;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 30px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 50px rgba(0,0,0,0.12);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-main); font-size: 16px; line-height: 1.6; color: var(--text-main); background: var(--bg-white); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--font-serif); font-weight: 400; line-height: 1.2; color: var(--text-dark); }
h4, h5, h6 { font-family: var(--font-main); font-weight: 600; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { max-width: var(--container-max); margin: 0 auto; padding: 0 1.5rem; }
.container-sm { max-width: var(--container-sm); }
.text-gradient { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; font-style: italic; }
.section { padding: var(--section-padding) 0; }
.section-light { background: var(--bg-light); }
.section-dark { background: var(--bg-dark); color: #fff; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: rgba(255,255,255,0.6); }
.section-header { text-align: center; max-width: 600px; margin: 0 auto 3rem; }
.section-header h2 { font-size: 2.5rem; margin-bottom: 1rem; }
.section-header p { color: var(--text-muted); font-size: 1.1rem; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.75rem 1.5rem; font-size: 0.9rem; font-weight: 600; border-radius: 6px; border: none; cursor: pointer; transition: var(--transition); }
.btn-sm { padding: 0.5rem 1.25rem; font-size: 0.85rem; }
.btn-lg { padding: 1rem 2rem; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn-gradient { background: var(--gradient); color: #fff; box-shadow: 0 4px 15px rgba(47, 92, 85, 0.25); position: relative; overflow: hidden; }
.btn-gradient::before { content: ''; position: absolute; inset: 0; background: var(--primary); opacity: 0; transition: opacity 0.3s; }
.btn-gradient:hover::before { opacity: 1; }
.btn-gradient:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(47, 92, 85, 0.35); }
.btn-gradient > * { position: relative; z-index: 1; }

.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 1.25rem 0; transition: var(--transition); }
.navbar.scrolled { background: rgba(255,255,255,0.98); backdrop-filter: blur(12px); padding: 0.75rem 0; box-shadow: var(--shadow-sm); }
.navbar.navbar-hero { background: transparent; }
.navbar.navbar-hero .logo-icon { background: rgba(255,255,255,0.2); }
.navbar.navbar-hero .logo-text { color: #fff; }
.navbar.navbar-hero .nav-link { color: rgba(255,255,255,0.85); }
.navbar.navbar-hero .nav-link:hover { color: #fff; }
.navbar.navbar-hero .nav-link-muted { color: rgba(255,255,255,0.8); }
.navbar.navbar-hero .lang-switch { color: rgba(255,255,255,0.8); border-color: rgba(255,255,255,0.3); }
.navbar.navbar-hero .btn-primary { background: #fff; color: var(--primary); }
.navbar.navbar-hero .btn-primary:hover { background: var(--bg-light); }
.navbar-container { display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 0.5rem; }
.logo-icon { width: 32px; height: 32px; background: var(--primary); color: #fff; border-radius: 4px; display: flex; align-items: center; justify-content: center; }
.logo-text { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 600; color: var(--primary); }
.nav-menu { display: flex; align-items: center; gap: 2rem; }
.nav-links { display: flex; align-items: center; gap: 0.25rem; }
.nav-item { position: relative; }
.nav-link { display: flex; align-items: center; gap: 4px; padding: 0.5rem 1rem; font-size: 0.9rem; font-weight: 500; color: var(--text-main); transition: color 0.2s; }
.nav-link:hover { color: var(--primary); }
.nav-link-muted { font-size: 0.85rem; color: var(--text-muted); font-weight: 500; }
.nav-link-muted:hover { color: var(--text-dark); }
.nav-actions { display: flex; align-items: center; gap: 1.5rem; }
.lang-switch { display: flex; align-items: center; gap: 0.25rem; font-size: 0.8rem; font-weight: 600; color: var(--text-muted); }
.lang-switch:hover { color: var(--primary); }

/* MEGA MENU - Full Width */
.nav-item.has-mega { position: static; }
.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: #fff;
    border-top: 1px solid var(--border);
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease;
    z-index: 1100;
}
.nav-item.has-mega:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.mega-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 2.5rem;
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 3rem;
}
.mega-section-title {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    padding-left: 0.5rem;
}
.mega-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}
.mega-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    border-radius: 12px;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}
.mega-item:hover {
    background: var(--bg-light);
    border-color: var(--border);
}
.mega-icon {
    width: 44px;
    height: 44px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s;
}
.mega-item:hover .mega-icon {
    background: var(--primary);
    color: #fff;
}
.mega-icon.blue { background: #e0f2fe; color: #0ea5e9; }
.mega-icon.green { background: #d1fae5; color: #10b981; }
.mega-icon.orange { background: #ffedd5; color: #f97316; }
.mega-icon.purple { background: #ede9fe; color: #8b5cf6; }
.mega-item:hover .mega-icon.blue { background: #0ea5e9; color: #fff; }
.mega-item:hover .mega-icon.green { background: #10b981; color: #fff; }
.mega-item:hover .mega-icon.orange { background: #f97316; color: #fff; }
.mega-item:hover .mega-icon.purple { background: #8b5cf6; color: #fff; }
.mega-content { flex: 1; }
.mega-title {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}
.mega-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Mega Menu Case Study */
.mega-case {
    background: linear-gradient(135deg, var(--primary-light) 0%, #e8f5f3 100%);
    border-radius: 16px;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
}
.mega-case.solutions {
    background: linear-gradient(135deg, #e0f2fe 0%, #dbeafe 100%);
}
.mega-case-label {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary);
    margin-bottom: 1rem;
}
.mega-case.solutions .mega-case-label {
    color: #0ea5e9;
}
.mega-case-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.mega-case-image {
    height: 100px;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
}
.mega-case-image.blue {
    background: linear-gradient(135deg, #0ea5e9 0%, #3b82f6 100%);
}
.mega-case-icon {
    width: 56px;
    height: 56px;
    background: rgba(255,255,255,0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}
.mega-case-content {
    padding: 1.25rem;
}
.mega-case-title {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}
.mega-case-stat {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 1rem;
}
.mega-case-stat .stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}
.mega-case.solutions .mega-case-stat .stat-value {
    color: #0ea5e9;
}
.mega-case-stat .stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}
.mega-case-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    transition: gap 0.2s;
}
.mega-case.solutions .mega-case-link {
    color: #0ea5e9;
}
.mega-case-link:hover {
    gap: 0.75rem;
}

/* Mobile Toggle */
.mobile-toggle { display: none; flex-direction: column; gap: 5px; padding: 0.5rem; background: none; border: none; cursor: pointer; }
.mobile-toggle span { width: 22px; height: 2px; background: var(--text-dark); transition: var(--transition); }

.hero { min-height: 90vh; display: flex; align-items: center; padding-top: 6rem; padding-bottom: 3rem; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.hero-label { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.label-line { width: 50px; height: 4px; background: var(--gradient); border-radius: 2px; }
.hero-label span { font-size: 0.75rem; font-weight: 700; letter-spacing: 2px; color: var(--text-muted); }
.hero-title { font-size: 3.5rem; margin-bottom: 1.5rem; }
.hero-desc { font-size: 1.15rem; color: var(--text-muted); font-weight: 300; max-width: 480px; margin-bottom: 2.5rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 2rem; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.badge-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; color: var(--text-muted); }
.badge-item svg { color: var(--primary); }
.hero-visual { position: relative; padding-left: 2rem; }
.dashboard-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 1.5rem; box-shadow: var(--shadow-md); transform: rotate(-1deg); }
.dashboard-header { display: flex; justify-content: space-between; align-items: center; padding-bottom: 1rem; border-bottom: 1px solid var(--border); margin-bottom: 1.5rem; }
.dashboard-status { display: flex; align-items: center; gap: 0.75rem; }
.status-icon { width: 40px; height: 40px; background: var(--text-dark); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.status-title { font-size: 0.85rem; font-weight: 600; }
.status-online { font-size: 0.7rem; color: var(--success); }
.dashboard-visits { text-align: right; }
.visits-label { font-size: 0.75rem; color: var(--text-muted); }
.visits-count { font-size: 1.1rem; font-weight: 700; }
.chart-bars { display: flex; align-items: flex-end; gap: 6px; height: 120px; margin-bottom: 1.5rem; }
.bar { flex: 1; background: #f0f0f0; border-radius: 4px 4px 0 0; transition: var(--transition); }
.bar.accent { background: var(--gradient); }
.bar-h30 { height: 30%; }
.bar-h40 { height: 40%; }
.bar-h50 { height: 50%; }
.bar-h60 { height: 60%; }
.bar-h70 { height: 70%; }
.bar-h80 { height: 80%; }
.bar-h90 { height: 90%; }
.bar-h100 { height: 100%; }
.dashboard-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.stat-box { border: 1px solid var(--border); border-radius: 8px; padding: 0.75rem; }
.stat-box .stat-label { font-size: 0.65rem; text-transform: uppercase; color: var(--text-muted); letter-spacing: 0.5px; }
.stat-box .stat-value { font-size: 1.1rem; font-weight: 700; }
.floating-card { position: absolute; top: -20px; right: -20px; background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 1rem; display: flex; align-items: center; gap: 0.75rem; box-shadow: var(--shadow-sm); z-index: 10; }
.floating-icon { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.floating-icon.success { background: rgba(34, 197, 94, 0.1); color: var(--success); }
.floating-label { font-size: 0.75rem; color: var(--text-muted); font-weight: 600; }
.floating-amount { font-weight: 700; }

.trust-section { background: var(--bg-dark); color: #fff; padding: 3rem 0; }
.trust-grid { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.trust-text h3 { font-size: 1.25rem; color: #fff; margin-bottom: 0.25rem; }
.trust-text p { font-size: 0.9rem; color: rgba(255,255,255,0.5); }
.trust-logos { display: flex; gap: 3rem; opacity: 0.5; }
.trust-logo { font-family: var(--font-serif); font-size: 1.25rem; font-weight: 600; }
.trust-logo span { font-weight: 300; }

.bento-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, minmax(200px, auto)); gap: 1.5rem; }
.bento-item { background: #fcfcfc; border: 1px solid var(--border); border-radius: 20px; padding: 2rem; display: flex; flex-direction: column; justify-content: space-between; transition: var(--transition); position: relative; overflow: hidden; }
.bento-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--primary); }
.bento-large { grid-column: span 2; background: var(--primary); color: #fff; border: none; }
.bento-large h3 { color: #fff; font-size: 1.75rem; }
.bento-large p { color: rgba(255,255,255,0.7); }
.bento-icon { width: 48px; height: 48px; background: rgba(0,0,0,0.05); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; color: var(--primary); }
.bento-large .bento-icon { background: rgba(255,255,255,0.2); color: #fff; }
.bento-item h3 { margin-bottom: 0.5rem; }
.bento-item h4 { font-size: 1rem; margin-bottom: 0.5rem; }
.bento-item p { font-size: 0.85rem; color: var(--text-muted); }
.bento-arrow { text-align: right; margin-top: 1rem; opacity: 0.5; }

.pricing-card { max-width: 500px; margin: 0 auto; background: #fff; border-radius: 16px; border: 1px solid var(--border); box-shadow: var(--shadow-lg); overflow: hidden; position: relative; }
.pricing-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 6px; background: var(--gradient); }
.pricing-header { padding: 2.5rem 2.5rem 1.5rem; display: flex; justify-content: space-between; align-items: flex-start; }
.pricing-header h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.pricing-badge { display: inline-flex; align-items: center; gap: 4px; background: #e0f2fe; color: #0ea5e9; font-size: 0.65rem; font-weight: 700; padding: 4px 10px; border-radius: 20px; }
.pricing-amount { text-align: right; }
.price { font-family: var(--font-serif); font-size: 3.5rem; font-weight: 400; line-height: 1; color: var(--text-dark); }
.period { font-size: 0.9rem; color: var(--text-muted); }
.pricing-limit { margin: 0 2.5rem 1.5rem; padding: 1rem; background: var(--primary-light); border-radius: 12px; text-align: center; }
.limit-icon { width: 24px; height: 24px; background: var(--primary); color: #fff; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; margin-right: 0.5rem; vertical-align: middle; }
.limit-title { font-weight: 700; color: var(--text-dark); }
.limit-desc { display: block; margin-top: 0.5rem; font-size: 0.85rem; font-weight: 600; color: var(--primary); }
.pricing-features { padding: 0 2.5rem 1.5rem; }
.pricing-features li { display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem 0; border-bottom: 1px solid var(--border); font-size: 0.95rem; }
.pricing-features li:last-child { border-bottom: none; }
.pricing-features svg { color: var(--primary); flex-shrink: 0; }
.pricing-cta { padding: 1.5rem 2.5rem 2.5rem; text-align: center; }
.pricing-footer { margin-top: 1rem; font-size: 0.8rem; color: var(--text-muted); }

.case-section { padding: 4rem 0; }
.case-card { background: var(--bg-dark); color: #fff; border-radius: 24px; padding: 4rem; display: grid; grid-template-columns: 1.5fr 1fr; gap: 4rem; position: relative; overflow: hidden; }
.case-badge { display: inline-block; background: #fff; color: var(--text-dark); font-size: 0.65rem; font-weight: 700; padding: 6px 14px; border-radius: 20px; margin-bottom: 1.5rem; }
.case-content h3 { color: #fff; font-size: 2rem; margin-bottom: 1.5rem; }
.case-content blockquote { font-size: 1.15rem; font-style: italic; opacity: 0.9; line-height: 1.7; margin-bottom: 2rem; }
.case-author { display: flex; align-items: center; gap: 1rem; }
.author-avatar { width: 48px; height: 48px; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); border-radius: 50%; }
.author-name { font-weight: 600; }
.author-company { font-size: 0.85rem; opacity: 0.6; }
.case-stats { display: flex; flex-direction: column; justify-content: center; gap: 3rem; border-left: 1px solid rgba(255,255,255,0.2); padding-left: 4rem; }
.case-stat { text-align: center; }
.stat-number { font-size: 4rem; font-weight: 700; color: var(--success); line-height: 1; }
.case-stat .stat-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; opacity: 0.6; margin-top: 0.5rem; color: #fff; }

/* KNOWLEDGE BASE */
.knowledge-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.knowledge-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.knowledge-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}
.knowledge-icon {
    width: 56px;
    height: 56px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    transition: var(--transition);
}
.knowledge-card:hover .knowledge-icon {
    background: var(--primary);
    color: #fff;
}
.knowledge-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}
.knowledge-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    flex: 1;
    margin-bottom: 1rem;
}
.knowledge-cta {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    transition: gap 0.2s;
}
.knowledge-card:hover .knowledge-cta {
    color: var(--primary-dark);
}
.knowledge-all {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}
.knowledge-all h4,
.knowledge-all p {
    color: #fff;
}
.knowledge-all p {
    opacity: 0.8;
}
.knowledge-all .knowledge-icon {
    background: rgba(255,255,255,0.2);
    color: #fff;
}
.knowledge-all:hover .knowledge-icon {
    background: rgba(255,255,255,0.3);
}
.knowledge-all .knowledge-cta {
    color: rgba(255,255,255,0.9);
}
.knowledge-all:hover .knowledge-cta {
    color: #fff;
}

.faq-list { max-width: 700px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 1.5rem 0; background: none; border: none; cursor: pointer; text-align: left; font-size: 1rem; font-weight: 600; color: var(--text-dark); }
.faq-question svg { flex-shrink: 0; transition: transform 0.3s; color: var(--text-muted); }
.faq-question[aria-expanded="true"] svg { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; }
.faq-answer.open { max-height: 200px; padding-bottom: 1.5rem; }
.faq-answer p { color: var(--text-muted); line-height: 1.7; }

.contact-form { max-width: 500px; margin: 0 auto; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1rem; }
.form-input { width: 100%; padding: 1rem 0.5rem; background: transparent; border: none; border-bottom: 1px solid rgba(255,255,255,0.2); color: #fff; font-size: 1rem; transition: border-color 0.3s; }
.form-input::placeholder { color: rgba(255,255,255,0.4); }
.form-input:focus { outline: none; border-bottom-color: var(--primary); }
.form-actions { text-align: center; margin-top: 2rem; }

.footer { background: #fff; border-top: 1px solid var(--border); padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 3rem; }
.footer-brand p { font-size: 0.9rem; color: var(--text-muted); margin-top: 1rem; padding-right: 2rem; }
.footer-links h6 { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-dark); margin-bottom: 1rem; }
.footer-links ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a { font-size: 0.9rem; color: var(--text-muted); transition: color 0.2s; }
.footer-links a:hover { color: var(--text-dark); }
.compliance-badge { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 1.25rem; text-align: center; }
.compliance-badge svg { color: var(--text-muted); margin-bottom: 0.5rem; }
.compliance-badge div { font-size: 0.65rem; font-weight: 700; color: var(--text-muted); line-height: 1.4; }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 1.5rem; text-align: center; }
.footer-bottom p { font-size: 0.85rem; color: var(--text-muted); }
.footer-legal-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 0.8rem;
    font-size: 0.85rem;
}
.footer-legal-title { color: var(--text-muted); }
.footer-legal-links a { color: var(--text-muted); }
.footer-legal-links a:hover { color: var(--text-dark); }

/* REVEAL ANIMATIONS */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* CONTACT FORM BUTTON STATES */
.btn.is-loading {
    opacity: 0.7;
    pointer-events: none;
}
.btn.is-success {
    background: var(--success);
}
.btn.is-error {
    background: #e74c3c;
}

@media (max-width: 991px) {
    .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
    .hero-visual { order: -1; padding: 0; }
    .hero-title { font-size: 2.5rem; }
    .bento-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
    .bento-large { grid-column: span 1; }
    .case-card { grid-template-columns: 1fr; gap: 2rem; padding: 2.5rem; }
    .case-stats { flex-direction: row; justify-content: center; border-left: none; border-top: 1px solid rgba(255,255,255,0.2); padding-left: 0; padding-top: 2rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .trust-grid { flex-direction: column; text-align: center; }
    .trust-logos { flex-wrap: wrap; justify-content: center; gap: 2rem; }
    .knowledge-grid { grid-template-columns: 1fr 1fr; }
    .mega-container { grid-template-columns: 1fr; gap: 2rem; padding: 2rem; }
    .mega-grid { grid-template-columns: 1fr 1fr; }
    .mega-case { display: none; }
}

@media (max-width: 768px) {
    .mobile-toggle { display: flex; }
    .nav-menu { position: fixed; top: 70px; left: 0; right: 0; background: #fff; padding: 2rem; flex-direction: column; align-items: stretch; box-shadow: var(--shadow-lg); transform: translateY(-120%); opacity: 0; transition: var(--transition); max-height: calc(100vh - 70px); overflow-y: auto; }
    .nav-menu.open { transform: translateY(0); opacity: 1; }
    .nav-links { flex-direction: column; align-items: stretch; }
    .nav-link { padding: 1rem 0; border-bottom: 1px solid var(--border); }
    .mega-menu {
        position: static;
        transform: none;
        box-shadow: none;
        border: none;
        border-top: none;
        display: none;
        opacity: 1;
        visibility: visible;
    }
    .nav-item.has-mega:hover .mega-menu { display: none; }
    .mega-menu.open { display: block; }
    .mega-container { padding: 1rem 0; }
    .mega-grid { grid-template-columns: 1fr; gap: 0.5rem; }
    .mega-item { padding: 0.75rem; }
    .mega-icon { width: 36px; height: 36px; }
    .mega-section-title { margin-bottom: 0.75rem; }
    .nav-actions { flex-direction: column; gap: 1rem; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
    .section-header h2 { font-size: 2rem; }
    .hero-actions { flex-direction: column; align-items: flex-start; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .pricing-header { flex-direction: column; gap: 1rem; }
    .pricing-amount { text-align: left; }
    .knowledge-grid { grid-template-columns: 1fr; }
}
