/* ===== CSS Variables ===== */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --primary-glow: rgba(37, 99, 235, 0.3);
    --accent: #06b6d4;
    --accent-dark: #0891b2;
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    --gradient-text: linear-gradient(135deg, var(--primary-light) 0%, var(--accent) 100%);

    --bg-dark: #0a0f1c;
    --bg-card: #111827;
    --bg-card-hover: #1a2332;
    --bg-elevated: #1e293b;
    --bg-nav: rgba(10, 15, 28, 0.85);

    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    --border: rgba(148, 163, 184, 0.1);
    --border-hover: rgba(148, 163, 184, 0.2);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px var(--primary-glow);

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    --font-family: 'Heebo', sans-serif;
    --font-scale: 1;
}

/* ===== Light Theme ===== */
body.light-theme {
    --bg-dark: #f8fafc;
    --bg-card: #ffffff;
    --bg-card-hover: #f1f5f9;
    --bg-elevated: #e9ecf0;
    --bg-nav: rgba(255, 255, 255, 0.92);

    --text-primary: #0f172a;
    --text-secondary: #334155;
    --text-muted: #64748b;

    --border: rgba(15, 23, 42, 0.12);
    --border-hover: rgba(15, 23, 42, 0.22);

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.1);

    --primary-glow: rgba(37, 99, 235, 0.15);
}

/* Hero */
body.light-theme .hero {
    background: linear-gradient(180deg, #eef2ff 0%, var(--bg-dark) 100%);
}

body.light-theme .hero::before {
    opacity: 0.06;
}

body.light-theme .hero::after {
    opacity: 0.04;
}

body.light-theme .hero-particles div {
    background: rgba(37, 99, 235, 0.08) !important;
}

body.light-theme .hero-badge {
    background: rgba(37, 99, 235, 0.08);
    border-color: rgba(37, 99, 235, 0.18);
    color: var(--primary-dark);
}

body.light-theme .hero-subtitle {
    color: var(--text-secondary);
}

body.light-theme .stat-number {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--accent-dark) 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

/* Navbar */
body.light-theme .navbar {
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(20px);
}

body.light-theme .navbar.scrolled {
    background: rgba(255, 255, 255, 0.96);
    border-bottom-color: var(--border-hover);
}

body.light-theme .nav-links a:hover,
body.light-theme .nav-links a.active {
    color: var(--primary-dark);
    background: rgba(37, 99, 235, 0.06);
}

body.light-theme .gradient-text {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--accent-dark) 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

/* Buttons */
body.light-theme .btn-outline {
    border-color: var(--primary);
    color: var(--primary);
}

body.light-theme .btn-outline:hover {
    background: var(--primary);
    color: white;
}

/* Section Tags */
body.light-theme .section-tag {
    background: rgba(37, 99, 235, 0.07);
    border-color: rgba(37, 99, 235, 0.15);
    color: var(--primary-dark);
}

/* Service Cards */
body.light-theme .service-card {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

body.light-theme .service-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

body.light-theme .service-card.featured {
    border-color: rgba(37, 99, 235, 0.2);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.04), rgba(6, 182, 212, 0.03));
}

body.light-theme .service-icon {
    background: rgba(37, 99, 235, 0.08);
    color: var(--primary);
}

body.light-theme .service-features span {
    background: rgba(37, 99, 235, 0.04);
    border-color: rgba(37, 99, 235, 0.1);
    color: var(--text-secondary);
}

/* About */
body.light-theme .about-content h3 {
    color: var(--primary);
}

body.light-theme .about-feature i {
    background: rgba(37, 99, 235, 0.07);
    color: var(--primary);
}

body.light-theme .floating-card {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

body.light-theme .floating-card i {
    color: var(--primary);
}

/* Why Us */
body.light-theme .why-card {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

body.light-theme .why-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

body.light-theme .why-number {
    -webkit-text-fill-color: rgba(37, 99, 235, 0.12);
}

/* Reviews */
body.light-theme .reviews-platform-card {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

body.light-theme .reviews-avg-number {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--accent-dark) 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

body.light-theme .review-card {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

body.light-theme .review-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

body.light-theme .review-avatar {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

body.light-theme .carousel-btn {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

body.light-theme .reviews-tab:hover {
    background: rgba(0, 0, 0, 0.04);
}

body.light-theme .about-tab:hover {
    background: rgba(0, 0, 0, 0.04);
}

/* Contact */
body.light-theme .contact-method-icon {
    background: rgba(37, 99, 235, 0.07);
    color: var(--primary);
}

body.light-theme .contact-method-icon.whatsapp {
    background: rgba(37, 211, 102, 0.08);
    color: #1da851;
}

body.light-theme .contact-form-wrapper {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

body.light-theme .form-group input,
body.light-theme .form-group select,
body.light-theme .form-group textarea {
    background: #f1f5f9;
    border-color: rgba(15, 23, 42, 0.12);
    color: var(--text-primary);
}

body.light-theme .form-group input:focus,
body.light-theme .form-group select:focus,
body.light-theme .form-group textarea:focus {
    background: #fff;
    border-color: var(--primary);
}

body.light-theme .form-group select option {
    background: #fff;
    color: var(--text-primary);
}

/* Social & Footer */
body.light-theme .social-link {
    background: rgba(0, 0, 0, 0.04);
}

body.light-theme .footer {
    background: #f1f5f9;
}

body.light-theme .footer-links ul li a:hover {
    color: var(--primary);
}

body.light-theme .footer-a11y-link:hover {
    color: var(--primary);
}

body.light-theme .footer-contact p i {
    color: var(--primary);
}

/* WhatsApp Float */
body.light-theme .whatsapp-float {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
}

body.light-theme .phone-float {
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3);
}

body.light-theme .contact-method-icon.email {
    background: rgba(37, 99, 235, 0.07);
    color: var(--primary);
}

/* YouTube Section */
body.light-theme .youtube-channel-bar {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

/* Accessibility Widget */
body.light-theme .a11y-toggle {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

body.light-theme .a11y-panel {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* Midrag */
body.light-theme .midrag-score-bar {
    background: #e2e8f0;
}

/* Theme Switch (On/Off Slider) */
.theme-switch {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    flex-shrink: 0;
    user-select: none;
    -webkit-user-select: none;
    padding: 4px 8px;
    border-radius: 20px;
    transition: var(--transition);
}

.theme-switch:hover {
    background: rgba(255, 255, 255, 0.06);
}

.theme-switch:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.theme-switch i {
    font-size: 0.85rem;
    transition: var(--transition);
}

.theme-switch .fa-moon {
    color: #94a3b8;
}

.theme-switch .fa-sun {
    color: #fbbf24;
}

.theme-switch-track {
    width: 44px;
    height: 24px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid var(--border);
    border-radius: 12px;
    position: relative;
    transition: var(--transition);
}

.theme-switch-thumb {
    width: 18px;
    height: 18px;
    background: #94a3b8;
    border-radius: 50%;
    position: absolute;
    top: 2px;
    right: 2px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Light theme - slider moves to the left (sun side) */
body.light-theme .theme-switch-thumb {
    right: calc(100% - 20px);
    background: #fbbf24;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

body.light-theme .theme-switch-track {
    background: rgba(251, 191, 36, 0.2);
    border-color: rgba(251, 191, 36, 0.3);
}

body.light-theme .theme-switch .fa-sun {
    color: #f59e0b;
}

body.light-theme .theme-switch .fa-moon {
    color: #cbd5e1;
}

body.light-theme .theme-switch:hover {
    background: rgba(0, 0, 0, 0.04);
}

/* Language Switch (Slider — matches theme switch) */
.lang-switch {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    flex-shrink: 0;
    user-select: none;
    -webkit-user-select: none;
    padding: 4px 8px;
    border-radius: 20px;
    transition: var(--transition);
}

.lang-switch:hover {
    background: rgba(255, 255, 255, 0.06);
}

.lang-switch:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.lang-switch-label {
    font-size: 1.2rem;
    font-weight: 700;
    transition: var(--transition);
    line-height: 1;
}

.lang-switch-label[data-lang="he"] {
    color: var(--primary-light);
}

.lang-switch-label[data-lang="en"] {
    color: var(--text-muted);
}

.lang-switch-track {
    width: 44px;
    height: 24px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid var(--border);
    border-radius: 12px;
    position: relative;
    transition: var(--transition);
}

.lang-switch-thumb {
    width: 18px;
    height: 18px;
    background: var(--primary-light);
    border-radius: 50%;
    position: absolute;
    top: 2px;
    right: 2px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* English active — thumb stays at right:2px; flex direction change handles visual swap */
html[lang="en"] .lang-switch-thumb {
    background: var(--accent);
}

html[lang="en"] .lang-switch-track {
    background: rgba(6, 182, 212, 0.2);
    border-color: rgba(6, 182, 212, 0.3);
}

html[lang="en"] .lang-switch-label[data-lang="en"] {
    color: var(--accent);
}

html[lang="en"] .lang-switch-label[data-lang="he"] {
    color: var(--text-muted);
}

body.light-theme .lang-switch:hover {
    background: rgba(0, 0, 0, 0.04);
}

body.light-theme .lang-switch-track {
    background: rgba(0, 0, 0, 0.06);
}

body.light-theme .lang-switch-thumb {
    background: var(--primary);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

body.light-theme .lang-switch-label[data-lang="he"] {
    color: var(--primary);
}

html[lang="en"] body.light-theme .lang-switch-thumb {
    background: var(--accent-dark);
}

html[lang="en"] body.light-theme .lang-switch-track {
    background: rgba(6, 182, 212, 0.15);
    border-color: rgba(6, 182, 212, 0.25);
}

html[lang="en"] body.light-theme .lang-switch-label[data-lang="en"] {
    color: var(--accent-dark);
}

/* ===== Skip Navigation Link (Accessibility) ===== */
.skip-link {
    position: absolute;
    top: -100%;
    right: 0;
    background: var(--primary);
    color: #fff;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 700;
    z-index: 10000;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    transition: top 0.3s;
    text-decoration: none;
}

.skip-link:focus {
    top: 0;
    outline: 3px solid #fff;
    outline-offset: 2px;
}

/* ===== Focus Indicators (WCAG 2.1 AA) ===== */
*:focus-visible {
    outline: 3px solid var(--primary-light);
    outline-offset: 3px;
    border-radius: 4px;
}

/* Remove default outline for mouse users */
*:focus:not(:focus-visible) {
    outline: none;
}

/* ===== Accessibility Widget ===== */
.a11y-widget {
    position: fixed;
    top: 50%;
    left: 8px;
    transform: translateY(-50%);
    z-index: 9999;
}

.a11y-toggle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    border: 2px solid #fff;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.a11y-toggle:hover,
.a11y-toggle:focus-visible {
    background: var(--primary-dark);
    transform: scale(1.1);
}

.a11y-panel {
    position: absolute;
    bottom: -10px;
    left: 60px;
    background: var(--bg-card);
    border: 1px solid var(--border-hover);
    border-radius: var(--radius-lg);
    padding: 20px;
    width: 260px;
    box-shadow: var(--shadow-lg);
}

.a11y-panel[hidden] {
    display: none;
}

.a11y-panel h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 16px;
    text-align: center;
    color: var(--text-primary);
}

.a11y-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.a11y-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-family);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    min-height: 44px;
}

.a11y-option:hover,
.a11y-option:focus-visible {
    background: var(--bg-card-hover);
    border-color: var(--primary);
}

.a11y-option.active {
    background: rgba(37, 99, 235, 0.15);
    border-color: var(--primary-light);
    color: var(--primary-light);
}

.a11y-option i {
    width: 18px;
    text-align: center;
    flex-shrink: 0;
}

.a11y-option i + i {
    margin-right: -6px;
    font-size: 0.65rem;
}

.a11y-reset {
    margin-top: 4px;
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.a11y-reset:hover {
    background: rgba(239, 68, 68, 0.2) !important;
    border-color: #ef4444 !important;
}

.a11y-statement-link {
    display: block;
    text-align: center;
    margin-top: 12px;
    font-size: 0.8rem;
    color: var(--primary-light);
    text-decoration: underline;
    padding: 6px;
}

.a11y-statement-link:hover {
    color: var(--accent);
}

/* ===== High Contrast Mode ===== */
body.high-contrast {
    --bg-dark: #000;
    --bg-card: #111;
    --bg-card-hover: #222;
    --bg-elevated: #1a1a1a;
    --bg-nav: rgba(0, 0, 0, 0.95);
    --text-primary: #fff;
    --text-secondary: #ddd;
    --text-muted: #bbb;
    --border: rgba(255, 255, 255, 0.3);
    --border-hover: rgba(255, 255, 255, 0.5);
}

body.high-contrast .service-card,
body.high-contrast .why-card,
body.high-contrast .review-card,
body.high-contrast .contact-method,
body.high-contrast .about-feature {
    border-width: 2px;
}

/* ===== Link Highlight Mode ===== */
body.link-highlight a {
    text-decoration: underline !important;
    text-underline-offset: 3px;
    color: var(--accent) !important;
}

body.link-highlight a:hover {
    color: #fff !important;
    background: var(--primary) !important;
    padding: 2px 4px;
    border-radius: 4px;
}

/* ===== Readable Font Mode ===== */
body.readable-font,
body.readable-font * {
    font-family: Arial, Helvetica, sans-serif !important;
    letter-spacing: 0.03em;
    word-spacing: 0.1em;
}

/* ===== Font Scaling ===== */
body.font-scaled {
    font-size: calc(1rem * var(--font-scale));
}

/* ===== Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

body.no-animations *,
body.no-animations *::before,
body.no-animations *::after {
    animation: none !important;
    transition: none !important;
}

body.no-animations .fade-in {
    opacity: 1 !important;
    transform: none !important;
}

/* ===== Accessibility Statement ===== */
.accessibility-statement {
    padding: 80px 0;
    position: relative;
}

.accessibility-statement::before,
.services::before,
.about::before,
.reviews::before,
section.youtube::before,
.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.a11y-statement-content {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.a11y-statement-content p {
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 16px;
}

.a11y-statement-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 24px 0 12px;
    color: var(--text-primary);
}

.a11y-statement-content ul {
    list-style: none;
    padding: 0;
    margin-bottom: 16px;
}

.a11y-statement-content ul li {
    position: relative;
    padding-right: 24px;
    margin-bottom: 8px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.a11y-statement-content ul li::before {
    content: '✓';
    position: absolute;
    right: 0;
    color: var(--accent);
    font-weight: 700;
}

.a11y-statement-content a {
    color: var(--primary-light);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.a11y-statement-content a:hover {
    color: var(--accent);
}

.a11y-date {
    font-size: 0.85rem;
    color: var(--text-muted) !important;
    margin-top: 24px;
    font-style: italic;
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-family);
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: var(--radius-full);
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--primary-glow);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-hover);
}

.btn-outline:hover {
    border-color: var(--primary-light);
    color: var(--primary-light);
    background: rgba(37, 99, 235, 0.08);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ===== Navbar ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--bg-nav);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(10, 15, 28, 0.95);
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
}

.logo i {
    font-size: 1.6rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links a {
    padding: 8px 18px;
    border-radius: var(--radius-full);
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: var(--gradient);
    color: white;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    box-shadow: 0 2px 12px var(--primary-glow);
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px var(--primary-glow);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0 80px;
    overflow: hidden;
    background: var(--bg-dark);
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    opacity: 0.4;
    animation: pulseGlow 8s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -20%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.2) 0%, transparent 70%);
    opacity: 0.3;
    animation: pulseGlow 10s ease-in-out infinite reverse;
}

@keyframes pulseGlow {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.1); opacity: 0.5; }
}

.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: var(--radius-full);
    color: var(--primary-light);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 32px;
    animation: fadeInDown 0.8s ease;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-line {
    display: block;
}

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 60px;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    animation: fadeInUp 0.8s ease 0.8s both;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 800;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.8rem;
    animation: bounce 2s infinite;
    z-index: 2;
    transition: opacity 0.6s ease;
}

.hero-scroll-indicator.hidden {
    opacity: 0;
    pointer-events: none;
}

.mouse {
    width: 24px;
    height: 38px;
    border: 2px solid var(--text-muted);
    border-radius: 12px;
    position: relative;
}

.wheel {
    width: 3px;
    height: 8px;
    background: var(--text-muted);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(12px); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-8px); }
    60% { transform: translateX(-50%) translateY(-4px); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== Section Header ===== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.15);
    border-radius: var(--radius-full);
    color: var(--primary-light);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
}

/* ===== Services Section ===== */
.services {
    padding: 100px 0;
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 0 0 28px 0;
    transition: var(--transition);
    overflow: hidden;
}

.service-img {
    width: 100%;
    height: 160px;
    overflow: hidden;
    margin-bottom: 20px;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-img img {
    transform: scale(1.05);
}

.service-card h3,
.service-card p,
.service-card .service-features,
.service-card .service-icon {
    padding-left: 28px;
    padding-right: 28px;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient);
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card.featured {
    border-color: rgba(37, 99, 235, 0.3);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(6, 182, 212, 0.05));
}

.service-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 4px 14px;
    background: var(--gradient);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
}

.service-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(37, 99, 235, 0.1);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: var(--primary-light);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--gradient);
    color: white;
    transform: scale(1.05);
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.7;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.service-features span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.service-features span i {
    color: var(--accent);
    font-size: 0.7rem;
}

/* ===== About Section ===== */
.about {
    padding: 100px 0;
    position: relative;
}

/* About Tabs (same style as reviews tabs) */
.about-tabs,
.reviews-tabs {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-bottom: 28px;
    background: var(--bg-elevated);
    border-radius: var(--radius-full);
    padding: 4px;
    border: 1px solid var(--border);
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.about-tab,
.reviews-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    border: none;
    border-radius: var(--radius-full);
    background: transparent;
    color: var(--text-secondary);
    font-family: var(--font-family);
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.about-tab:hover,
.reviews-tab:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.about-tab.active,
.reviews-tab.active {
    background: var(--primary);
    color: white;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

.about-tab.active[data-tab="why-us"] {
    background: linear-gradient(135deg, #22c55e, #059669);
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.3);
}

.reviews-tab.active[data-tab="midrag"] {
    background: linear-gradient(135deg, #ff8c00, #ffa500);
    box-shadow: 0 2px 8px rgba(255, 140, 0, 0.3);
}

.about-tab i,
.reviews-tab i {
    font-size: 0.85rem;
}

.about-tab-panel,
.reviews-tab-panel {
    display: none;
}

.about-tab-panel.active,
.reviews-tab-panel.active {
    display: block;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-icon-display,
.about-photo {
    width: 250px;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.15), rgba(6, 182, 212, 0.1));
    border: 2px solid rgba(37, 99, 235, 0.2);
    border-radius: 50%;
    font-size: 6rem;
    color: var(--primary-light);
    position: relative;
    overflow: hidden;
}

.about-photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.about-icon-display::before,
.about-photo::before {
    content: '';
    position: absolute;
    inset: -15px;
    border: 1px dashed rgba(37, 99, 235, 0.2);
    border-radius: 50%;
    animation: spin 30s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    font-size: 0.85rem;
    font-weight: 600;
    animation: float 4s ease-in-out infinite;
}

.floating-card i {
    color: var(--primary-light);
    font-size: 1.1rem;
}

.card-1 {
    top: 10%;
    right: 0;
    animation-delay: 0s;
}

.card-2 {
    bottom: 15%;
    left: 0;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.about-content .section-tag {
    display: inline-flex;
    margin-bottom: 16px;
}

.about-content h3 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.about-content h4 {
    font-size: 1.2rem;
    color: var(--primary-light);
    font-weight: 500;
    margin-bottom: 24px;
}

.about-content p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.8;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 32px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.about-feature:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
}

.about-feature i {
    font-size: 1.3rem;
    color: var(--primary-light);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(37, 99, 235, 0.1);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.about-feature strong {
    display: block;
    font-weight: 600;
    margin-bottom: 2px;
}

.about-feature span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ===== Why Us (inside About section) ===== */
.why-us-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.why-card {
    padding: 36px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
}

.why-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    box-shadow: var(--shadow-lg);
}

.why-number {
    font-size: 3rem;
    font-weight: 900;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
    opacity: 0.6;
}

.why-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.why-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ===== Google Reviews Section ===== */
.reviews {
    padding: 100px 0;
    position: relative;
}

/* Review Platforms */
.reviews-platforms {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 28px;
}

.reviews-platform-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px 20px;
    text-align: center;
    transition: var(--transition);
}

.reviews-platform-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
}

.reviews-platform-card.midrag-platform {
    border-color: rgba(255, 140, 0, 0.15);
}

.reviews-platform-card.midrag-platform:hover {
    border-color: rgba(255, 140, 0, 0.35);
}

.platform-rating {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.btn-sm {
    padding: 8px 18px !important;
    font-size: 0.82rem !important;
}

/* Review Tabs */
.reviews-avg {
    display: flex;
    align-items: center;
    gap: 16px;
}

.reviews-google-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.reviews-google-badge:hover {
    opacity: 0.8;
}

.google-logo-img {
    height: 22px;
    width: auto;
}

.reviews-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.reviews-avg-number {
    font-size: 2.5rem;
    font-weight: 900;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.reviews-avg-stars {
    display: flex;
    gap: 3px;
    color: #fbbf24;
    font-size: 1.1rem;
}

.reviews-count {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.reviews-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-google {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: white;
    color: #333;
    border-radius: var(--radius-full);
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    white-space: nowrap;
    border: 1px solid #dadce0;
}

.btn-google i {
    background: linear-gradient(135deg, #4285F4, #34A853, #FBBC05, #EA4335);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.1rem;
}

.btn-google:hover {
    background: #f8f9fa;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

/* Reviews Carousel */
.reviews-carousel-wrapper {
    position: relative;
    padding: 0 50px;
}

.reviews-carousel {
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.reviews-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 24px;
}

.reviews-track .review-card {
    flex-shrink: 0;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--text-secondary);
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    z-index: 5;
}

.carousel-btn:hover {
    background: var(--bg-card-hover);
    border-color: var(--primary);
    color: var(--primary-light);
    box-shadow: var(--shadow-md);
}

.carousel-btn-prev {
    right: 0;
}

.carousel-btn-next {
    left: 0;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.carousel-dot.active {
    background: var(--primary-light);
    width: 28px;
    border-radius: 5px;
}

.review-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: var(--transition);
}

.review-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    position: relative;
}

.review-avatar {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient);
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.85rem;
    color: white;
    flex-shrink: 0;
}

.review-header strong {
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
}

.review-google-icon {
    margin-right: auto;
    margin-left: 0;
    color: #4285F4;
    font-size: 1.2rem;
    opacity: 0.7;
}

.review-stars {
    display: flex;
    gap: 3px;
    margin-bottom: 12px;
    color: #fbbf24;
    font-size: 0.85rem;
}

.review-stars .empty {
    color: var(--text-muted);
    opacity: 0.3;
}

.review-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 0.95rem;
}

/* ===== Midrag Reviews Section ===== */
/* ===== Midrag Reviews Styles ===== */

.midrag-summary {
    border-color: rgba(255, 140, 0, 0.2);
}

.midrag-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.midrag-badge:hover {
    opacity: 0.8;
}

.midrag-logo-img {
    height: 26px;
    width: auto;
}

.midrag-logo-text {
    font-size: 1.3rem;
    font-weight: 800;
    color: #ff8c00;
}

.midrag-avg-number {
    background: linear-gradient(135deg, #ff8c00 0%, #ffa500 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

.midrag-score-bar {
    width: 100px;
    height: 8px;
    background: var(--bg-elevated);
    border-radius: 4px;
    overflow: hidden;
}

.midrag-score-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff8c00, #ffa500);
    border-radius: 4px;
    transition: width 1s ease;
}

.btn-midrag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: linear-gradient(135deg, #ff8c00, #ffa500);
    color: white;
    border-radius: var(--radius-full);
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    white-space: nowrap;
    border: none;
}

.btn-midrag:hover {
    background: linear-gradient(135deg, #e07b00, #ff8c00);
    box-shadow: 0 4px 20px rgba(255, 140, 0, 0.3);
    transform: translateY(-1px);
}

/* Midrag Rating Breakdown */
.midrag-breakdown {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.midrag-stat {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}

.midrag-stat-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    min-width: 42px;
}

.midrag-stat-bar {
    flex: 1;
    height: 6px;
    background: var(--bg-elevated);
    border-radius: 3px;
    overflow: hidden;
}

.midrag-stat-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff8c00, #ffa500);
    border-radius: 3px;
}

.midrag-stat-val {
    font-size: 1rem;
    font-weight: 800;
    color: #ffa500;
    min-width: 20px;
    text-align: left;
}

/* Midrag review card source icon */
.review-midrag-icon {
    margin-right: auto;
    margin-left: 0;
    color: #ff8c00;
    font-size: 1rem;
    opacity: 0.8;
    font-weight: 800;
}

.review-service {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    padding: 4px 10px;
    background: rgba(255, 140, 0, 0.08);
    border-radius: var(--radius-full);
    display: inline-block;
}

.review-rating-10 {
    display: flex;
    gap: 3px;
    margin-bottom: 12px;
    font-size: 0.85rem;
    color: #ffa500;
    font-weight: 700;
}

/* ===== YouTube Section ===== */
section.youtube {
    padding: 40px 0;
    position: relative;
}

.youtube-channel-bar {
    margin-bottom: 32px;
}

.youtube-channel-link {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px 28px;
    transition: var(--transition);
}

.youtube-channel-link:hover {
    border-color: rgba(255, 0, 0, 0.3);
    background: var(--bg-card-hover);
}

.youtube-channel-avatar {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 0, 0, 0.1);
    border-radius: 50%;
    color: #ff0000;
    font-size: 1.6rem;
    flex-shrink: 0;
}

.youtube-channel-info {
    flex: 1;
}

.youtube-channel-info strong {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
}

.youtube-channel-info span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.btn-youtube {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: #ff0000;
    color: white;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-youtube:hover {
    background: #cc0000;
    transform: translateY(-1px);
}

/* Footer Social Links */
.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--text-secondary);
    font-size: 1.1rem;
    transition: var(--transition);
}

.social-link.youtube:hover {
    background: rgba(255, 0, 0, 0.1);
    border-color: rgba(255, 0, 0, 0.3);
    color: #ff0000;
}

.social-link.youtube i {
    font-size: 0.95rem;
}

.social-link.whatsapp:hover {
    background: rgba(37, 211, 102, 0.1);
    border-color: rgba(37, 211, 102, 0.3);
    color: #25d366;
}

/* ===== Contact Section ===== */
.contact {
    padding: 100px 0;
    position: relative;
}

.contact .section-tag {
    font-size: 1.1rem;
    padding: 8px 22px;
    font-weight: 600;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

a.contact-method:hover {
    border-color: var(--primary);
    background: rgba(37, 99, 235, 0.05);
    transform: translateX(4px);
}

.contact-method-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(37, 99, 235, 0.1);
    border-radius: var(--radius-sm);
    color: var(--primary-light);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-method-icon.whatsapp {
    background: rgba(37, 211, 102, 0.1);
    color: #25d366;
}

.contact-method-icon.email {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-light);
}

.contact-method strong {
    display: block;
    font-weight: 600;
    margin-bottom: 2px;
}

.contact-method span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.contact-form-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
}

.contact-form h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 24px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 6px;
    color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: var(--font-family);
    font-size: 0.95rem;
    transition: var(--transition);
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2394a3b8' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 16px center;
    padding-left: 40px;
}

.form-group select option {
    background: var(--bg-card);
    color: var(--text-primary);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* ===== WhatsApp Float ===== */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    left: 28px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25d366;
    color: white;
    font-size: 1.8rem;
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
    animation: whatsappPulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

@keyframes whatsappPulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6); }
}

/* ===== Phone Float ===== */
.phone-float {
    position: fixed;
    bottom: 100px;
    left: 28px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: white;
    font-size: 1.6rem;
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.4);
    z-index: 999;
    transition: var(--transition);
    animation: phonePulse 2s infinite;
}

.phone-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 99, 235, 0.5);
    color: white;
}

@keyframes phonePulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(37, 99, 235, 0.4); }
    50% { box-shadow: 0 4px 30px rgba(37, 99, 235, 0.6); }
}

/* ===== Language Transition ===== */
.lang-transitioning {
    opacity: 0;
    transition: opacity 0.25s ease;
}

main,
.nav-links,
.footer {
    transition: opacity 0.25s ease;
}

/* ===== Footer ===== */
.footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    padding: 60px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-links ul li {
    margin-bottom: 8px;
}

.footer-links ul li a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--primary-light);
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.footer-contact p i {
    color: var(--primary-light);
    width: 16px;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 20px 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-a11y-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    color: var(--text-muted);
    transition: var(--transition);
}

.footer-a11y-link:hover {
    color: var(--primary-light);
}

.footer-a11y-link i {
    font-size: 0.9rem;
}

/* ===== Animations on Scroll ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Form Success Message ===== */
.form-success {
    text-align: center;
    padding: 40px 20px;
}

.form-success i {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 16px;
}

.form-success h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.form-success p {
    color: var(--text-secondary);
}

.form-success-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 20px;
    flex-wrap: wrap;
}

.form-success-buttons .btn-whatsapp {
    background: #25d366;
    border-color: #25d366;
}

.form-success-buttons .btn-whatsapp:hover {
    background: #1da851;
    border-color: #1da851;
}

.form-success-buttons .btn-sms {
    background: var(--primary);
    border-color: var(--primary);
}

.form-success-buttons .btn-sms:hover {
    background: var(--primary-dark, #1d4ed8);
}

.form-success-note {
    margin-top: 16px;
    font-size: 0.85rem;
    color: var(--text-muted, var(--text-secondary));
    opacity: 0.8;
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-us-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .midrag-breakdown {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .a11y-panel {
        left: 55px;
        width: 240px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--bg-card);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        padding: 16px;
        gap: 4px;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        padding: 14px 20px;
        width: 100%;
        text-align: center;
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav-cta {
        display: none;
    }

    .theme-switch {
        padding: 2px 4px;
        gap: 4px;
    }

    .theme-switch i {
        font-size: 0.75rem;
    }

    .theme-switch-track {
        width: 36px;
        height: 20px;
    }

    .theme-switch-thumb {
        width: 14px;
        height: 14px;
        top: 2px;
        right: 2px;
    }

    body.light-theme .theme-switch-thumb {
        right: calc(100% - 16px);
    }

    .hamburger {
        display: flex;
        min-width: 44px;
        min-height: 44px;
        align-items: center;
        justify-content: center;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        padding: 0 8px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
        min-height: 52px;
    }

    .hero-stats {
        gap: 20px;
    }

    .stat-number {
        font-size: 1.6rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 28px 20px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image-wrapper {
        max-width: 300px;
        margin: 0 auto;
    }

    .about-content h3 {
        font-size: 2rem;
    }

    .why-us-grid {
        grid-template-columns: 1fr;
    }

    .reviews-carousel-wrapper {
        padding: 0 40px;
    }

    .carousel-btn {
        width: 36px;
        height: 36px;
    }

    .reviews-platforms {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .reviews-platform-card {
        padding: 20px 16px;
    }

    .reviews-tabs,
    .about-tabs {
        width: 100%;
    }

    .reviews-tab,
    .about-tab {
        flex: 1;
        justify-content: center;
        padding: 10px 16px;
        font-size: 0.85rem;
    }

    .reviews-avg {
        flex-direction: column;
        gap: 8px;
    }

    .reviews-actions {
        flex-direction: column;
        width: 100%;
    }

    .reviews-actions .btn,
    .reviews-actions .btn-google {
        width: 100%;
        justify-content: center;
        min-height: 48px;
    }

    .midrag-breakdown {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .midrag-stat {
        padding: 12px 14px;
    }

    .youtube-channel-link {
        flex-wrap: wrap;
        gap: 12px;
        padding: 16px 20px;
    }

    .btn-youtube {
        width: 100%;
        justify-content: center;
        min-height: 48px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-method {
        padding: 14px 16px;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    /* Accessibility widget on mobile */
    .a11y-widget {
        top: auto;
        bottom: 100px;
        left: 8px;
        transform: none;
    }

    .a11y-toggle {
        width: 44px;
        height: 44px;
        font-size: 1.3rem;
    }

    .a11y-panel {
        left: 0;
        bottom: 55px;
        width: calc(100vw - 32px);
        max-width: 300px;
    }

    /* Accessibility statement */
    .a11y-statement-content {
        padding: 24px 20px;
    }

    /* Better touch targets for links */
    .contact-method-icon {
        min-width: 44px;
        min-height: 44px;
    }

    .social-link {
        min-width: 44px;
        min-height: 44px;
    }

    .footer-links ul li a {
        display: inline-block;
        padding: 6px 0;
        min-height: 44px;
        line-height: 32px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero h1 {
        font-size: 1.7rem;
    }

    .hero-badge {
        font-size: 0.8rem;
        padding: 6px 14px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

    .contact-form-wrapper {
        padding: 20px 16px;
    }

    .about-icon-display {
        width: 180px;
        height: 180px;
        font-size: 4rem;
    }

    .reviews-carousel-wrapper {
        padding: 0 30px;
    }

    .review-card {
        padding: 20px 16px;
    }

    .midrag-breakdown {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .midrag-stat {
        padding: 10px 12px;
    }

    .section-header h2 {
        font-size: 1.7rem;
    }

    .section-header p {
        font-size: 0.95rem;
    }

    .why-card {
        padding: 28px 20px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 14px 16px;
        font-size: 1rem;
        min-height: 48px;
    }

    .btn {
        padding: 14px 24px;
        font-size: 1rem;
        min-height: 48px;
    }

    .btn-lg {
        padding: 16px 28px;
    }

    /* Move accessibility widget for small screens */
    .a11y-widget {
        bottom: 96px;
    }

    .a11y-toggle {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .lang-switch {
        padding: 2px 6px;
        gap: 4px;
    }

    .lang-switch-label {
        font-size: 1rem;
    }

    .lang-switch-track {
        width: 36px;
        height: 20px;
    }

    .lang-switch-thumb {
        width: 14px;
        height: 14px;
    }
}

/* ===== LTR (English) Layout Adjustments ===== */
html[dir="ltr"] .carousel-btn-prev i {
    transform: rotate(180deg);
}

html[dir="ltr"] .carousel-btn-next i {
    transform: rotate(180deg);
}

html[dir="ltr"] .hero-scroll-indicator {
    direction: ltr;
}

html[dir="ltr"] .reviews-track {
    direction: ltr;
}

/* Navbar in LTR */
html[dir="ltr"] .nav-links a {
    padding: 8px 14px;
    font-size: 0.9rem;
}

html[dir="ltr"] .nav-cta {
    padding: 8px 18px;
    font-size: 0.85rem;
}

html[dir="ltr"] .logo {
    font-size: 1.1rem;
}

/* Section headers in LTR */
html[dir="ltr"] .section-header {
    text-align: center;
}

html[dir="ltr"] .section-header h2 {
    font-size: 2.2rem;
}

/* Hero in LTR */
html[dir="ltr"] .hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
}

html[dir="ltr"] .hero-subtitle {
    font-size: 1.1rem;
}

/* About in LTR */
html[dir="ltr"] .about-content {
    text-align: left;
}

html[dir="ltr"] .about-content .section-tag {
    justify-content: flex-start;
}

html[dir="ltr"] .about-content h3 {
    font-size: 2.2rem;
}

/* Why Us in LTR */
html[dir="ltr"] .why-card {
    text-align: left;
}

html[dir="ltr"] .why-number {
    text-align: left;
}

/* Contact in LTR */
html[dir="ltr"] .contact-info {
    text-align: left;
}

html[dir="ltr"] .contact-methods {
    text-align: left;
}

html[dir="ltr"] a.contact-method:hover {
    transform: translateX(-4px);
}

html[dir="ltr"] .form-group select {
    background-position: right 16px center;
    padding-right: 40px;
    padding-left: 18px;
}

html[dir="ltr"] .form-group label {
    text-align: left;
}

html[dir="ltr"] .contact-form h3 {
    text-align: center;
}

/* Footer in LTR */
html[dir="ltr"] .footer-content {
    text-align: left;
}

html[dir="ltr"] .footer-bottom {
    text-align: center;
}

/* Service card features in LTR */
html[dir="ltr"] .service-card {
    text-align: left;
}

/* Reviews in LTR */
html[dir="ltr"] .review-card {
    text-align: left;
}

/* Floating cards LTR fix */
html[dir="ltr"] .card-1 {
    right: auto;
    left: 0;
}

html[dir="ltr"] .card-2 {
    left: auto;
    right: 0;
}

/* Font adjustment for English — keep same font, only adjust spacing */
body.lang-en .gradient-text {
    letter-spacing: -0.5px;
}

body.lang-en h1,
body.lang-en h2,
body.lang-en h3 {
    letter-spacing: -0.3px;
}
