/* ============================================
   Hostland - Professional IT & Hosting Website
   RTL | Hebrew | Modern Design | Mobile First
   Premium Tech Aesthetic - 2024
   ============================================ */

:root {
    --color-primary: #0891b2;
    --color-primary-dark: #0e7490;
    --color-primary-light: #22d3ee;
    --color-secondary: #0f172a;
    --color-accent: #06b6d4;
    --color-dark: #0f172a;
    --color-text: #1e293b;
    --color-text-muted: #64748b;
    --color-bg: #ffffff;
    --color-bg-alt: #f8fafc;
    --color-bg-dark: #020617;
    --color-border: #e2e8f0;
    --color-success: #059669;
    --color-danger: #dc2626;
    --font-hebrew: 'Heebo', 'Rubik', 'Segoe UI', sans-serif;
    --shadow-sm: 0 1px 2px rgba(15,23,42,0.05);
    --shadow: 0 4px 6px -1px rgba(15,23,42,0.08), 0 2px 4px -2px rgba(15,23,42,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(15,23,42,0.08), 0 4px 6px -4px rgba(15,23,42,0.06);
    --shadow-xl: 0 20px 25px -5px rgba(15,23,42,0.08), 0 8px 10px -6px rgba(15,23,42,0.06);
    --radius: 10px;
    --radius-lg: 14px;
    --radius-xl: 20px;
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --primary: var(--color-primary);
    --bg-card: var(--color-bg);
    --bg-dark: var(--color-bg-dark);
    --text-muted: var(--color-text-muted);
}

/* Dark mode */
[data-theme="dark"] {
    --color-text: #e2e8f0;
    --color-text-muted: #94a3b8;
    --color-bg: #0f172a;
    --color-bg-alt: #1e293b;
    --color-border: #334155;
    --color-dark: #f1f5f9;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.3);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.3);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.4);
}
[data-theme="dark"] .site-header { background: rgba(15,23,42,0.98); border-bottom-color: rgba(255,255,255,0.08); }
[data-theme="dark"] .service-card,
[data-theme="dark"] .plan-card,
[data-theme="dark"] .faq-item,
[data-theme="dark"] .info-card { background: #1e293b; border-color: #334155; }
[data-theme="dark"] .section-title, [data-theme="dark"] .page-title,
[data-theme="dark"] .service-title, [data-theme="dark"] .plan-name { color: #f1f5f9; }
[data-theme="dark"] .service-desc, [data-theme="dark"] .plan-features li,
[data-theme="dark"] .faq-answer span { color: #94a3b8; }
[data-theme="dark"] .main-nav > ul > li > a,
[data-theme="dark"] .has-dropdown .dropdown a { color: #e2e8f0; }
[data-theme="dark"] .menu-toggle span { background: #e2e8f0; }
[data-theme="dark"] .services-section { background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%); }
[data-theme="dark"] .plans-preview { background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%); }
[data-theme="dark"] .page-hero { background: linear-gradient(135deg, #1e293b 0%, #0f172a 50%, #334155 100%); }
[data-theme="dark"] .page-subtitle { color: #94a3b8; }
[data-theme="dark"] .contact-form input, [data-theme="dark"] .contact-form textarea {
    background: #1e293b; border-color: #334155; color: #e2e8f0;
}
[data-theme="dark"] .faq-question { color: #f1f5f9; }
[data-theme="dark"] .faq-question:hover { background: rgba(255,255,255,0.05); }

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-hebrew);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-bg);
    direction: rtl;
    text-align: right;
    overflow-x: hidden;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition);
}
a:hover { color: var(--color-primary-dark); }

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

/* ========== Layout ========== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
}
@media (min-width: 768px) { .container { padding: 0 2rem; } }

/* ========== Header ========== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    color: var(--color-dark);
    transition: opacity var(--transition);
}
.logo:hover { opacity: 0.9; }
.logo-img {
    height: 48px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    object-position: right center;
}
@media (min-width: 768px) {
    .logo-img { height: 56px; max-width: 280px; }
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 0.25rem;
    align-items: center;
}
.main-nav > ul > li > a {
    display: block;
    padding: 0.6rem 1rem;
    color: var(--color-text);
    font-weight: 500;
    border-radius: var(--radius);
    transition: all var(--transition);
}
.main-nav a:hover, .main-nav a.active {
    color: var(--color-primary);
    background: rgba(8, 145, 178, 0.1);
}

/* Dropdown */
.has-dropdown { position: relative; }
.has-dropdown .dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 220px;
    background: var(--color-bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition);
    list-style: none;
    border: 1px solid var(--color-border);
}
.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.has-dropdown .dropdown li { margin: 0; }
.has-dropdown .dropdown a {
    display: block;
    padding: 0.6rem 1.25rem;
    color: var(--color-text);
    font-size: 0.95rem;
}
.has-dropdown .dropdown a:hover {
    background: rgba(8, 145, 178, 0.1);
    color: var(--color-primary);
}

.header-cta { flex-shrink: 0; }
.header-cta .btn { padding: 0.6rem 1.5rem; }

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    border-radius: var(--radius);
    transition: background var(--transition);
}
.menu-toggle:hover { background: var(--color-bg-alt); }
.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-dark);
    border-radius: 1px;
    transition: transform var(--transition);
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 991px) {
    .menu-toggle { display: flex; }
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(320px, 85vw);
        height: 100vh;
        background: var(--color-bg);
        box-shadow: -4px 0 20px rgba(0,0,0,0.15);
        padding: 5rem 1.5rem 2rem;
        transition: right 0.3s ease;
        overflow-y: auto;
    }
    .main-nav.open { right: 0; }
    .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
    .main-nav > ul > li > a { padding: 1rem; font-size: 1.1rem; }
    .has-dropdown .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        padding-right: 1rem;
        margin-top: 0.5rem;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    .has-dropdown.open .dropdown { max-height: 300px; }
    .header-cta { width: 100%; }
    .header-cta .btn { width: 100%; justify-content: center; }
}

/* ========== Hero Slider ========== */
.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: 5rem 0;
    color: #fff;
    overflow: hidden;
}
.hero-slider {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-slides {
    position: absolute;
    inset: 0;
}
.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 1.4s ease-in-out, transform 8s ease-out;
    z-index: 0;
}
.hero-slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(15,23,42,0.9) 0%, rgba(2,6,23,0.82) 50%, rgba(8,145,178,0.2) 100%);
    z-index: 2;
    pointer-events: none;
}
.hero-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.5;
    pointer-events: none;
}
.hero .container {
    position: relative;
    z-index: 3;
}
.hero-title {
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.25rem;
    text-shadow: 0 2px 24px rgba(0,0,0,0.4);
    animation: heroFadeIn 0.8s ease-out;
}
.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    opacity: 0.95;
    max-width: 560px;
    margin-bottom: 2rem;
    line-height: 1.7;
    text-shadow: 0 1px 12px rgba(0,0,0,0.3);
    animation: heroFadeIn 0.8s ease-out 0.15s both;
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    animation: heroFadeIn 0.8s ease-out 0.3s both;
}
.hero-actions .btn { min-height: 48px; padding: 0.75rem 1.75rem; }
@keyframes heroFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Hero nav arrows */
.hero-nav {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 4;
    pointer-events: none;
}
.hero-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: auto;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.7);
    background: rgba(0,0,0,0.35);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.25s ease;
}
.hero-nav button:hover {
    background: rgba(8,145,178,0.9);
    border-color: #fff;
    transform: translateY(-50%) scale(1.08);
}
.hero-nav .hero-prev {
    right: 1.5rem;
}
.hero-nav .hero-next {
    left: 1.5rem;
}

/* Hero dots */
.hero-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    gap: 0.6rem;
}
.hero-dots button {
    position: relative;
    width: 32px;
    height: 10px;
    border-radius: 5px;
    border: none;
    background: rgba(255,255,255,0.25);
    cursor: pointer;
    padding: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}
.hero-dots button:hover {
    background: rgba(255,255,255,0.4);
}
.hero-dots button.active {
    background: rgba(255,255,255,0.3);
}
.hero-dot-progress {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 0%;
    background: var(--color-primary);
    border-radius: 5px;
    transition: width 5.5s linear;
}
.hero-dots button.active .hero-dot-progress { width: 100%; animation: dotProgress 5.5s linear forwards; }
.hero-dots button:not(.active) .hero-dot-progress { width: 0 !important; }
@keyframes dotProgress { from { width: 0; } to { width: 100%; } }

@media (max-width: 768px) {
    .hero-nav { display: none; }
    .hero-dots { bottom: 1.5rem; }
}
@media (max-width: 576px) {
    .hero { min-height: 70vh; padding: 3rem 0; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; }
    .hero-dots button { width: 24px; height: 8px; }
}

/* Mobile: touch targets & safe areas */
@media (max-width: 767px) {
    .container { padding: 0 1rem; }
    .services-section, .plans-preview, .cta-section { padding: 3rem 0; }
    .service-card, .plan-card { padding: 1.5rem; }
    .footer-grid { gap: 1.5rem; }
}
@supports (padding: max(0px)) {
    body { padding-left: max(0px, env(safe-area-inset-left)); padding-right: max(0px, env(safe-area-inset-right)); }
}

/* ========== Buttons ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    font-family: inherit;
    min-height: 44px;
}
.btn-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(8, 145, 178, 0.4);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(8, 145, 178, 0.5);
}
.btn-primary:active {
    transform: translateY(0) scale(0.98);
}
.btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.8);
}
.btn-outline:hover {
    background: rgba(255,255,255,0.15);
    border-color: #fff;
}
.btn-lg { padding: 1rem 2rem; font-size: 1.1rem; min-height: 52px; }
.btn-block { width: 100%; }

/* Light outline for light backgrounds */
.plans-preview .btn-outline,
.services-section .btn-outline {
    color: var(--color-primary);
    border-color: var(--color-primary);
}
.plans-preview .btn-outline:hover,
.services-section .btn-outline:hover {
    background: var(--color-primary);
    color: #fff;
}

/* ========== Section Titles ========== */
.section-title {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--color-dark);
}
.section-subtitle {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
}

/* ========== Services Section ========== */
.services-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: 1.5rem;
}
@media (min-width: 768px) {
    .services-grid { gap: 2rem; grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .services-grid { grid-template-columns: repeat(3, 1fr); }
}

.service-card {
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: all var(--transition);
    border: 1px solid rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
}
.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: var(--color-primary-light);
}
.service-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #fff;
    box-shadow: 0 8px 20px rgba(8, 145, 178, 0.35);
}
.service-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--color-dark);
    font-weight: 600;
}
.service-desc {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.65;
    flex-grow: 1;
}
.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.25rem;
    font-weight: 600;
    color: var(--color-primary);
}

/* ========== Plans Section ========== */
.plans-preview {
    padding: 5rem 0;
    background: linear-gradient(180deg, #f0fdfa 0%, #f8fafc 100%);
    background-image: linear-gradient(180deg, #f0fdfa 0%, #f8fafc 100%), repeating-linear-gradient(45deg, transparent, transparent 24px, rgba(8, 145, 178, 0.03) 24px, rgba(8, 145, 178, 0.03) 48px);
}
.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 1.5rem;
    align-items: stretch;
}
@media (min-width: 768px) { .plans-grid { gap: 2rem; } }
.plans-grid.plans-full { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }

.plan-card {
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 2px solid var(--color-border);
    transition: all var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow);
}
.plan-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary-light);
}
.plan-card.plan-featured {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(8, 145, 178, 0.15);
}
.plan-card.plan-featured::before {
    content: 'מומלץ';
    position: absolute;
    top: -12px;
    right: 1.5rem;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: #fff;
    padding: 0.35rem 1rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
}
.plan-name {
    font-size: 1.35rem;
    margin-bottom: 1rem;
    color: var(--color-dark);
    font-weight: 700;
}
.plan-price {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.25rem;
}
.plan-price .period { font-size: 1rem; font-weight: 400; color: var(--color-text-muted); }
.plan-yearly {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}
.plan-features {
    list-style: none;
    margin: 1.5rem 0;
    flex-grow: 1;
}
.plan-features li {
    padding: 0.5rem 0;
    padding-right: 1.75rem;
    position: relative;
    font-size: 0.95rem;
}
.plan-features li::before {
    content: '✓';
    position: absolute;
    right: 0;
    color: var(--color-success);
    font-weight: bold;
    font-size: 1.1rem;
}
.plan-card .btn { margin-top: auto; }
.plans-note {
    text-align: center;
    margin-top: 2rem;
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

/* Plans section (full page) */
.plans-section {
    padding: 4rem 0;
    background: linear-gradient(180deg, #f0fdfa 0%, #f8fafc 100%);
    background-image: linear-gradient(180deg, #f0fdfa 0%, #f8fafc 100%), repeating-linear-gradient(45deg, transparent, transparent 24px, rgba(8, 145, 178, 0.03) 24px, rgba(8, 145, 178, 0.03) 48px);
}

/* ========== Stats Section ========== */
.stats-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #0f172a 0%, #020617 100%);
    color: #fff;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(3, 1fr); gap: 3rem; } }
.stat-item {
    text-align: center;
}
.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    display: inline;
    color: var(--color-primary-light);
}
.stat-suffix { font-size: 1.5rem; font-weight: 600; color: var(--color-primary-light); }
.stat-label {
    display: block;
    font-size: 0.95rem;
    margin-top: 0.35rem;
    opacity: 0.9;
}

/* ========== FAQ Section ========== */
.faq-section { padding: 4rem 0; background: var(--color-bg-alt); }
.faq-list { max-width: 700px; margin: 0 auto; }
.faq-item {
    background: #fff;
    border-radius: var(--radius);
    margin-bottom: 0.75rem;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
}
.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    background: none;
    border: none;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-dark);
    cursor: pointer;
    font-family: inherit;
    text-align: right;
    transition: background 0.2s;
}
.faq-question:hover { background: #f8fafc; }
.faq-question i {
    margin-left: 0.75rem;
    color: var(--color-primary);
    transition: transform 0.3s;
}
.faq-item.open .faq-question i { transform: rotate(180deg); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}
.faq-answer {
    padding: 0 1.25rem;
    color: var(--color-text-muted);
    line-height: 1.7;
}
.faq-item.open .faq-answer { max-height: 400px; padding-bottom: 1rem; }

/* ========== Breadcrumbs ========== */
.breadcrumbs { margin-bottom: 1rem; }
.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    list-style: none;
    font-size: 0.9rem;
}
.breadcrumb-item a { color: var(--color-primary); }
.breadcrumb-item.current span { color: var(--color-text-muted); }
.breadcrumb-sep { color: var(--color-text-muted); }

/* ========== Scroll Reveal ========== */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========== Accessibility - Focus ========== */
.btn:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* ========== CTA Section ========== */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-dark) 100%);
    color: #fff;
    text-align: center;
}
.cta-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 0.75rem;
}
.cta-text {
    font-size: 1.15rem;
    opacity: 0.95;
    margin-bottom: 2rem;
}
.cta-section .btn-primary {
    background: #fff;
    color: var(--color-primary);
}
.cta-section .btn-primary:hover {
    background: var(--color-bg-alt);
    color: var(--color-primary-dark);
}

/* ========== Page Hero (inner pages) ========== */
.page-hero {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f0fdfa 0%, #e0f2fe 50%, #f8fafc 100%);
    border-bottom: 1px solid var(--color-border);
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(8, 145, 178, 0.06) 0%, transparent 70%);
    pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 0.5rem;
}
.page-subtitle {
    color: var(--color-text-muted);
    font-size: 1.1rem;
}

/* ========== Contact ========== */
.contact-section { padding: 4rem 0; }
.contact-grid {
    display: grid;
    gap: 2rem;
}
@media (min-width: 768px) {
    .contact-grid { grid-template-columns: 1fr 1fr; }
}
.contact-form-wrap { max-width: 600px; }
.contact-form .form-group { margin-bottom: 1.25rem; }
.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--color-dark);
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    font-family: inherit;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    transition: border-color var(--transition);
}
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.15);
}
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form .btn { margin-top: 0.5rem; }
.info-card {
    background: linear-gradient(135deg, #fff 0%, #f0fdfa 100%);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow);
}
.info-card h3 { margin-bottom: 1.25rem; font-size: 1.25rem; color: var(--color-dark); }
.info-card p {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-direction: row-reverse;
}
.info-card p i { flex-shrink: 0; }
.info-card a { color: var(--color-primary); font-weight: 500; }
.contact-info-item,
.info-card .info-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    flex-direction: row-reverse;
}
.contact-info-item i,
.info-card .info-row i {
    flex-shrink: 0;
    width: 1.25em;
    text-align: center;
    color: var(--color-primary);
}
.contact-info-item .fa-whatsapp,
.info-card .info-row .fa-whatsapp { color: #25D366; }
.info-card h3 i { margin-left: 0.5rem; color: var(--color-primary); }

/* ========== Services Detail Page ========== */
.services-detail { padding: 4rem 0; }
.services-list { display: flex; flex-direction: column; gap: 1.5rem; }
.service-detail-card {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid rgba(0,0,0,0.06);
    align-items: flex-start;
}
.service-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
    opacity: 0.5;
    flex-shrink: 0;
}
.service-detail-card .service-content { flex-grow: 1; }
.service-detail-card .service-title { margin-bottom: 0.5rem; }
.service-detail-card .service-desc { margin-bottom: 1rem; }

/* ========== Footer ========== */
.site-footer {
    background: linear-gradient(180deg, #0d1117 0%, #161b22 100%);
    color: #e6edf3;
    padding: 4rem 0 2rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}
@media (min-width: 768px) {
    .footer-grid { grid-template-columns: repeat(4, 1fr); }
}
.footer-col h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: #fff;
    font-weight: 600;
}
.footer-col ul { list-style: none; }
.footer-col a {
    color: #8b949e;
    display: block;
    padding: 0.35rem 0;
    transition: color var(--transition);
}
.footer-col a:hover { color: #fff; }
.footer-col p { color: #8b949e; font-size: 0.95rem; }
.footer-logo {
    display: inline-block;
    margin-bottom: 1rem;
}
.footer-logo:hover { opacity: 0.9; }
.footer-logo-img {
    height: 40px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    object-position: right center;
}
.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    color: #8b949e;
    font-size: 0.9rem;
}

/* ========== Alerts ========== */
.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    margin-bottom: 1rem;
}
.alert-success { background: #d1e7dd; color: #0f5132; border: 1px solid #badbcc; }
.alert-error { background: #f8d7da; color: #842029; border: 1px solid #f5c2c7; }

/* ========== 404 ========== */
.error-404 {
    padding: 5rem 0;
    text-align: center;
}
.error-404 h1 {
    font-size: clamp(4rem, 15vw, 8rem);
    color: var(--color-primary);
    margin-bottom: 1rem;
}
.error-404 p { font-size: 1.25rem; margin-bottom: 2rem; }

/* ========== Progress Bar (NProgress-style) ========== */
#nprogress { pointer-events: none; }
#nprogress .bar {
    background: var(--color-primary);
    position: fixed; z-index: 9999; top: 0; right: 0; width: 100%;
    height: 3px; transform-origin: right center; transform: scaleX(0);
}

/* ========== Toast ========== */
.toast-container {
    position: fixed; bottom: 1.5rem; left: 1.5rem; right: 1.5rem; z-index: 9998;
    display: flex; flex-direction: column; gap: 0.5rem; align-items: stretch;
}
@media (min-width: 480px) { .toast-container { left: auto; max-width: 360px; } }
.toast {
    padding: 1rem 1.25rem; border-radius: var(--radius);
    box-shadow: var(--shadow-lg); animation: toastIn 0.3s ease;
}
.toast-success { background: #059669; color: #fff; }
.toast-error { background: #dc2626; color: #fff; }
@keyframes toastIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* ========== WhatsApp Float ========== */
.whatsapp-float {
    position: fixed; bottom: 1.25rem; left: 1.25rem; z-index: 999;
    width: 56px; height: 56px; border-radius: 50%;
    background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center;
    font-size: 1.75rem; box-shadow: 0 4px 15px rgba(37,211,102,0.5);
    transition: transform var(--transition); text-decoration: none;
}
.whatsapp-float:hover { transform: scale(1.1); color: #fff; }

/* ========== Back to Top ========== */
.back-to-top {
    position: fixed; bottom: 1.25rem; right: 1.25rem; z-index: 998;
    width: 48px; height: 48px; border-radius: 50%;
    background: var(--color-primary); color: #fff; border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: all var(--transition);
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--color-primary-dark); transform: translateY(-2px); }
@media (max-width: 576px) {
    .whatsapp-float { bottom: 5rem; }
    .back-to-top.visible { bottom: 1.25rem; }
}

/* ========== Sitemap HTML ========== */
.sitemap-grid { display: grid; gap: 2rem; }
@media (min-width: 768px) { .sitemap-grid { grid-template-columns: repeat(3, 1fr); } }
.sitemap-block h2 { font-size: 1.15rem; margin-bottom: 1rem; color: var(--color-dark); }
.sitemap-block ul { list-style: none; }
.sitemap-block li { margin-bottom: 0.5rem; }

/* ========== Newsletter Popup ========== */
.newsletter-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 9999;
    display: flex; align-items: center; justify-content: center; padding: 1rem;
    opacity: 0; visibility: hidden; transition: all 0.3s ease;
}
.newsletter-overlay.open { opacity: 1; visibility: visible; }
.newsletter-box {
    position: relative;
    background: var(--color-bg); border-radius: var(--radius-lg); padding: 2rem;
    max-width: 420px; width: 100%; box-shadow: var(--shadow-xl);
}
.newsletter-box h3 { margin-bottom: 0.5rem; }
.newsletter-box p { color: var(--color-text-muted); margin-bottom: 1.25rem; font-size: 0.95rem; }
.newsletter-box form { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.newsletter-box input { flex: 1; min-width: 200px; padding: 0.75rem 1rem; border: 1px solid var(--color-border); border-radius: var(--radius); }
.newsletter-box button { flex-shrink: 0; }
.newsletter-close {
    position: absolute; top: 0.75rem; left: 0.75rem; background: none; border: none;
    cursor: pointer; font-size: 1.25rem; color: var(--color-text-muted); padding: 0.25rem;
}

/* ========== Dark Mode Toggle ========== */
[data-theme="dark"] .theme-icon-dark { display: none !important; }
[data-theme="dark"] .theme-icon-light { display: inline-block !important; }
.theme-icon-light { display: none !important; }
.theme-toggle {
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--color-bg-alt); border: 1px solid var(--color-border);
    color: var(--color-text); cursor: pointer; display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; transition: all var(--transition);
}
.theme-toggle:hover { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }

/* ========== Utilities ========== */
.text-center { text-align: center; }
.btn-block { width: 100%; }

/* ========== Mobile Overlay ========== */
@media (max-width: 991px) {
    body.nav-open { overflow: hidden; }
    body.nav-open::after {
        content: '';
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.4);
        z-index: 999;
    }
}

/* ========== Mobile Enhancements ========== */
@media (max-width: 576px) {
    .container { padding: 0 1rem; }
    .services-section, .plans-preview, .cta-section { padding: 3rem 0; }
    .service-card, .plan-card { padding: 1.5rem; }
    .footer-grid { gap: 1.5rem; margin-bottom: 2rem; }
    .site-footer { padding: 3rem 0 1.5rem; }
}
@media (max-width: 480px) {
    .logo-text { font-size: 1.25rem; }
    .logo-tagline { font-size: 0.7rem; }
    .hero-title { font-size: 1.75rem; }
}

/* ========== Articles / Blog ========== */
.articles-section { padding: 3rem 0 4rem; }
.articles-breadcrumb {
    margin-bottom: 2rem;
    font-size: 0.95rem;
    color: var(--text-muted);
}
.articles-breadcrumb a { color: var(--color-primary); }
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
    gap: 2rem;
}
.article-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0,0,0,0.06);
    transition: transform var(--transition), box-shadow var(--transition);
}
.article-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.article-card-img {
    display: block;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: #f1f5f9;
}
.article-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}
.article-card:hover .article-card-img img { transform: scale(1.05); }
.article-card-body { padding: 1.5rem; }
.article-category {
    display: inline-block;
    font-size: 0.8rem;
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.article-card-title {
    font-size: 1.2rem;
    margin: 0 0 0.75rem 0;
    line-height: 1.4;
}
.article-card-title a {
    color: var(--color-dark);
    transition: color var(--transition);
}
.article-card-title a:hover { color: var(--color-primary); }
.article-card-excerpt {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.6;
}
.article-card-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}
.article-card-meta span:first-child::after { content: ' • '; }
.article-read-more {
    font-weight: 600;
    color: var(--color-primary);
    font-size: 0.95rem;
}
.article-read-more:hover { text-decoration: underline; }
.no-articles { text-align: center; padding: 3rem; color: var(--text-muted); }

/* Single article */
.article-single { padding: 3rem 0 4rem; }
.article-single-header { margin-bottom: 2rem; }
.article-single .article-category { margin-bottom: 0.75rem; }
.article-single h1 {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    margin: 0 0 1rem 0;
    color: var(--color-dark);
    line-height: 1.3;
}
.article-single-meta {
    font-size: 0.95rem;
    color: var(--text-muted);
}
.article-single-meta span:first-child::after { content: ' • '; }
.article-single-featured {
    margin-bottom: 2rem;
    border-radius: var(--radius);
    overflow: hidden;
}
.article-single-content {
    font-size: 1.05rem;
    line-height: 1.8;
}
.article-single-content h2 { font-size: 1.4em; margin: 1.5em 0 0.5em; color: var(--color-secondary); }
.article-single-content h3 { font-size: 1.2em; margin: 1.25em 0 0.5em; }
.article-single-content ul, .article-single-content ol { padding-right: 1.5em; margin: 0.75em 0; }
.article-single-content img { max-width: 100%; height: auto; border-radius: 8px; margin: 1em 0; }
.article-single-content a { text-decoration: underline; }
.article-back {
    display: inline-block;
    margin-bottom: 1.5rem;
    color: var(--color-primary);
    font-weight: 500;
}
.article-back:hover { text-decoration: underline; }
