/* ==========================================================================
   ALPESOFT CRM AS A SERVICE — STATIC LANDING SITE STYLESHEET
   Based on www.alpesoft.it ("Alpesoft Master 2030 — Clean Slate Rebuild")
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --brand-blue:      #3d7abf;
    --brand-blue-hover:#2f65a3;
    --brand-cyan:      #38bdf8;
    --brand-green:     #3a9e5f;
    --brand-orange:    #e06b1f;
    --tech-dark:       #1a2030;
    --tech-navy:       #0f1420;
    --tech-gray:       #f5f7fa;
    --white:           #ffffff;
    --text-main:       #2d3748;
    --text-dim:        #718096;
    --border-light:    rgba(0, 0, 0, 0.08);
    --border-dark:     rgba(255, 255, 255, 0.08);
    --card-bg:         #ffffff;
    --top-bar-h:       44px;
    --ease:            cubic-bezier(.4, 0, .2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--white);
    color: var(--text-main);
    line-height: 1.6;
    padding-top: var(--top-bar-h);
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.25s var(--ease);
}

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

/* ══════════════════════════════════════════
   1. TOP BAR INSTITUTIONAL
   ══════════════════════════════════════════ */
.alpe-top-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--top-bar-h);
    background: var(--tech-navy);
    z-index: 9999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    color: var(--white);
    font-size: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.top-bar-contacts {
    display: flex;
    gap: 24px;
    align-items: center;
}

.top-bar-contacts a {
    color: rgba(255, 255, 255, 0.9);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.top-bar-contacts a:hover {
    color: var(--brand-cyan);
}

.top-bar-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    height: 100%;
    display: flex;
    align-items: center;
}

.top-bar-logo img {
    max-height: 24px;
    width: auto;
}

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

.nav-item {
    position: relative;
}

.nav-link {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    font-size: 13px;
    padding: 8px 12px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.nav-link:hover, .nav-item:hover .nav-link {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.nav-arrow {
    font-size: 9px;
    opacity: 0.7;
    transition: transform 0.2s ease;
}

.nav-item:hover .nav-arrow {
    transform: rotate(180deg);
}

/* Dropdown Menu styling */
.nav-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    min-width: 260px;
    background: #0f1420;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 10000;
}

.nav-dropdown.dropdown-wide {
    min-width: 300px;
}

.nav-item:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-link {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 6px;
    color: #ffffff;
    text-decoration: none;
    transition: background 0.15s ease;
}

.dropdown-link:hover {
    background: rgba(255, 255, 255, 0.06);
}

.dropdown-icon {
    font-size: 18px;
    line-height: 1;
    padding-top: 2px;
}

.dropdown-title {
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
    display: block;
}

.dropdown-desc {
    font-size: 11px;
    color: var(--alpe-text-dim);
    line-height: 1.35;
    margin-top: 2px;
    display: block;
}

.top-bar-cta {
    background: var(--brand-blue);
    color: #ffffff !important;
    padding: 7px 16px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.3px;
    margin-left: 8px;
    box-shadow: 0 2px 8px rgba(61, 122, 191, 0.35);
}

.top-bar-cta:hover {
    background: var(--brand-blue-hover);
    transform: translateY(-1px);
}

/* Language Switcher */
.lang-switcher {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 6px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-left: 8px;
}
.lang-switcher a.lang-btn {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    padding: 2px 5px;
    border-radius: 3px;
    transition: all 0.2s ease;
    line-height: 1.2;
}
.lang-switcher a.lang-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
}
.lang-switcher a.lang-btn.active {
    color: #ffffff;
    background: var(--brand-blue);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}
.lang-divider {
    color: rgba(255, 255, 255, 0.35);
    font-size: 10px;
    user-select: none;
}

/* ══════════════════════════════════════════
   2. HERO MASTER 2030 (PERSPECTIVE GRID)
   ══════════════════════════════════════════ */
.master-hero {
    position: relative;
    overflow: hidden;
    background-color: var(--tech-gray);
    min-height: calc(90vh - var(--top-bar-h));
    display: flex;
    align-items: center;
    padding: 60px 40px;
}

.master-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: 
        linear-gradient(rgba(61, 122, 191, 0.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(61, 122, 191, 0.12) 1px, transparent 1px);
    background-size: 60px 60px;
    background-position: center bottom;
    transform: perspective(800px) rotateX(75deg) scale(3) translateY(-10%);
    transform-origin: top center;
    opacity: 0.85;
    pointer-events: none;
    animation: alpeSlideLines 20s linear infinite;
}

@keyframes alpeSlideLines {
    from { background-position: center 0; }
    to { background-position: center 60px; }
}

.hero-inner {
    max-width: 1240px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-emblem-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.hero-emblem-img {
    width: 58px;
    height: 58px;
    animation: logoPulse 4s ease-in-out infinite;
}

@keyframes logoPulse {
    0%, 100% { filter: drop-shadow(0 0 6px rgba(61, 122, 191, 0.15)); }
    50% { filter: drop-shadow(0 0 24px rgba(61, 122, 191, 0.4)) drop-shadow(0 0 10px rgba(224, 107, 31, 0.25)); }
}

.hero-tag {
    background: var(--tech-navy);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    padding: 6px 14px;
    border-radius: 6px;
    border-left: 3px solid var(--brand-blue);
}

.hero-title {
    font-size: 46px;
    font-weight: 300;
    line-height: 1.15;
    color: var(--tech-dark);
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.hero-title strong {
    font-weight: 800;
    color: var(--brand-blue);
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-dim);
    line-height: 1.6;
    margin-bottom: 28px;
    max-width: 580px;
}

.hero-highlight-box {
    padding: 18px 24px;
    background: #ffffff;
    border-left: 5px solid var(--brand-blue);
    border-radius: 0 8px 8px 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--tech-dark);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    margin-bottom: 30px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 15px 32px;
    background: var(--brand-blue);
    color: #ffffff;
    font-weight: 700;
    font-size: 15px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(61, 122, 191, 0.35);
    transition: all 0.25s var(--ease);
}

.btn-primary:hover {
    background: var(--brand-blue-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(61, 122, 191, 0.45);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 15px 28px;
    background: #ffffff;
    color: var(--tech-dark);
    font-weight: 600;
    font-size: 15px;
    border-radius: 6px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.btn-secondary:hover {
    border-color: var(--brand-blue);
    color: var(--brand-blue);
}

/* Hero Screenshot Mockup Window */
.hero-visual-side {
    position: relative;
}

.hero-window-mockup {
    background: var(--tech-navy);
    border-radius: 12px;
    box-shadow: 0 25px 60px rgba(15, 20, 32, 0.35);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: perspective(1000px) rotateY(-4deg) rotateX(2deg);
    transition: transform 0.4s var(--ease);
}

.hero-window-mockup:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.window-header {
    background: #090d16;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.window-dots {
    display: flex;
    gap: 6px;
}

.window-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #22c55e; }

.window-address {
    background: rgba(255, 255, 255, 0.08);
    padding: 4px 14px;
    border-radius: 4px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    flex: 1;
    font-family: monospace;
}

.window-body img {
    width: 100%;
    display: block;
}

/* ══════════════════════════════════════════
   3. SECTIONS & LAYOUT COMMON
   ══════════════════════════════════════════ */
.section-pad {
    padding: 100px 40px;
}

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

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-eyebrow {
    color: var(--brand-blue);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 12px;
}

.section-title {
    font-size: 38px;
    font-weight: 700;
    color: var(--tech-dark);
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 17px;
    color: var(--text-dim);
    max-width: 680px;
    margin: 0 auto;
}

.bg-gray {
    background-color: var(--tech-gray);
}

.bg-navy {
    background-color: var(--tech-navy);
    color: var(--white);
}

.bg-navy .section-title {
    color: var(--white);
}

.bg-navy .section-subtitle {
    color: rgba(255, 255, 255, 0.75);
}

/* ══════════════════════════════════════════
   4. AS A SERVICE & SAAS VALUE PROP
   ══════════════════════════════════════════ */
.saas-pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.saas-pillar-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 40px 32px;
    border: 1px solid var(--border-light);
    border-top: 5px solid var(--brand-blue);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.saas-pillar-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(61, 122, 191, 0.12);
}

.pillar-icon-box {
    width: 54px;
    height: 54px;
    border-radius: 10px;
    background: rgba(61, 122, 191, 0.1);
    color: var(--brand-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 24px;
}

.pillar-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--tech-dark);
}

.pillar-desc {
    font-size: 15px;
    color: var(--text-dim);
    line-height: 1.65;
}

/* ══════════════════════════════════════════
   5. MODULES SHOWCASE (SCREENSHOT CARDS)
   ══════════════════════════════════════════ */
.module-showcase-row {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 90px;
}

.module-showcase-row.reverse {
    grid-template-columns: 1.1fr 1fr;
}

.module-showcase-row.reverse .module-content {
    order: 2;
}

.module-showcase-row.reverse .module-preview {
    order: 1;
}

.module-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--brand-blue);
    background: rgba(61, 122, 191, 0.1);
    margin-bottom: 14px;
}

.module-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--tech-dark);
    margin-bottom: 16px;
    line-height: 1.25;
}

.module-desc {
    font-size: 16px;
    color: var(--text-dim);
    line-height: 1.7;
    margin-bottom: 24px;
}

.module-features-list {
    list-style: none;
    margin-bottom: 28px;
}

.module-features-list li {
    font-size: 15px;
    font-weight: 500;
    color: var(--tech-dark);
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.check-bullet {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #dcfce7;
    color: #16a34a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    flex-shrink: 0;
}

.module-screenshot-wrap {
    background: #ffffff;
    border-radius: 12px;
    padding: 10px;
    border: 1px solid var(--border-light);
    box-shadow: 0 18px 45px rgba(15, 20, 32, 0.1);
    transition: transform 0.3s var(--ease);
}

.module-screenshot-wrap:hover {
    transform: scale(1.02);
}

.module-screenshot-wrap img {
    border-radius: 8px;
    width: 100%;
}

/* ══════════════════════════════════════════
   6. TERRITORIAL & GEO SEO AUTHORITY (BOLZANO, TRENTO, ALPI)
   ══════════════════════════════════════════ */
.geo-authority-section {
    position: relative;
    overflow: hidden;
}

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

.geo-badges-cluster {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.geo-badge {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

.geo-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 35px;
}

.geo-stat-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
}

.geo-stat-number {
    font-size: 32px;
    font-weight: 800;
    color: var(--brand-cyan);
    display: block;
    margin-bottom: 4px;
}

.geo-stat-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.7);
}

/* Cloud Status Box (from www.alpesoft.it) */
.srv-wrapper {
    background-color: #0b0f1a;
    padding: 24px;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    border: 1px solid #1e293b;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.srv-item {
    background: #161e2d;
    border: 1px solid #2d3748;
    border-radius: 8px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.srv-title {
    color: #e2e8f0;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.srv-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #4ade80;
    font-size: 13px;
    font-weight: 600;
}

.srv-pulse {
    width: 10px;
    height: 10px;
    background-color: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 10px #22c55e;
}

/* ══════════════════════════════════════════
   7. COMPARISON / AS A SERVICE VS TRADITIONAL
   ══════════════════════════════════════════ */
.responsibility-table {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    overflow: hidden;
    margin-top: 40px;
}

.resp-col {
    padding: 50px 40px;
    background: rgba(255, 255, 255, 0.03);
}

.resp-col.highlight {
    background: rgba(61, 122, 191, 0.1);
    border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.resp-col h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #ffffff;
}

.resp-list {
    list-style: none;
}

.resp-list li {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* ══════════════════════════════════════════
   8. PRICING & PACKAGES (PACCHETTI SAAS)
   ══════════════════════════════════════════ */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 50px;
}

.pricing-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 48px 36px;
    border: 1px solid var(--border-light);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
    position: relative;
    display: flex;
    flex-direction: column;
    transition: all 0.3s var(--ease);
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(15, 20, 32, 0.1);
}

.pricing-card.featured {
    border-top: 6px solid var(--brand-blue);
    box-shadow: 0 18px 45px rgba(61, 122, 191, 0.14);
}

.featured-ribbon {
    position: absolute;
    top: 18px;
    right: 20px;
    background: var(--brand-blue);
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 10px;
    border-radius: 20px;
}

.plan-name {
    font-size: 22px;
    font-weight: 700;
    color: var(--tech-dark);
    margin-bottom: 8px;
}

.plan-desc {
    font-size: 14px;
    color: var(--text-dim);
    margin-bottom: 24px;
}

.plan-price {
    font-size: 38px;
    font-weight: 800;
    color: var(--tech-dark);
    margin-bottom: 24px;
}

.plan-price span {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dim);
}

.plan-features {
    list-style: none;
    margin-bottom: 32px;
    flex: 1;
}

.plan-features li {
    font-size: 14px;
    color: var(--text-main);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ══════════════════════════════════════════
   9. FAQ & KNOWLEDGE
   ══════════════════════════════════════════ */
.faq-grid {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 24px 28px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.faq-question {
    font-size: 17px;
    font-weight: 700;
    color: var(--tech-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    margin-top: 14px;
    font-size: 15px;
    color: var(--text-dim);
    line-height: 1.65;
}

/* ══════════════════════════════════════════
   10. CONVERSION CTA & FOOTER
   ══════════════════════════════════════════ */
.cta-banner {
    background: linear-gradient(135deg, var(--tech-navy) 0%, #172338 100%);
    border-radius: 16px;
    padding: 60px 50px;
    text-align: center;
    color: #ffffff;
    box-shadow: 0 20px 50px rgba(15, 20, 32, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.cta-banner h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-banner p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto 30px;
}

.master-footer {
    background: var(--tech-navy);
    color: var(--white);
    padding: 80px 40px 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-col h4 {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 8px;
}

.footer-col p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
}

.footer-col a {
    color: var(--brand-cyan);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    font-size: 14px;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-col ul a:hover {
    color: #ffffff;
    padding-left: 4px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.45);
}

/* ══════════════════════════════════════════
   MOBILE NAVIGATION TOGGLE & DRAWER
   ══════════════════════════════════════════ */
.mobile-nav-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    width: 44px;
    height: 44px;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 5px;
    z-index: 100000;
}
.mobile-nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background-color: #ffffff;
    border-radius: 2px;
    transition: all 0.25s var(--ease);
}
.mobile-nav-toggle.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.mobile-nav-toggle.is-active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.mobile-nav-toggle.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-drawer-footer {
    display: none !important;
}

@media (max-width: 1200px) and (min-width: 993px) {
    .alpe-top-bar {
        padding: 0 20px;
    }
    .top-bar-contacts a:not(.portal-back-link) {
        display: none;
    }
    .top-bar-nav {
        gap: 4px;
    }
    .nav-link {
        padding: 6px 8px;
        font-size: 12px;
    }
}

/* ══════════════════════════════════════════
   RESPONSIVE DESIGN & MOBILE OPTIMIZATIONS
   ══════════════════════════════════════════ */
@media (max-width: 992px) {
    :root {
        --top-bar-h: 56px;
    }
    body {
        padding-top: var(--top-bar-h);
    }
    body.nav-is-open {
        overflow: hidden !important;
    }
    .alpe-top-bar {
        height: var(--top-bar-h);
        padding: 0 16px;
        position: fixed;
    }
    .top-bar-contacts {
        display: none !important;
    }
    .mobile-drawer-footer {
        display: flex !important;
        flex-direction: column !important;
        margin-top: 24px !important;
        padding-top: 16px !important;
        border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
        gap: 8px !important;
    }
    .top-bar-logo {
        position: static !important;
        transform: none !important;
        margin: 0 !important;
    }
    .top-bar-logo img {
        max-height: 28px !important;
    }
    .mobile-nav-toggle {
        display: flex !important;
    }

    /* Mobile Slide-Out / Overlay Drawer */
    .top-bar-nav {
        position: fixed !important;
        top: var(--top-bar-h) !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100vw !important;
        height: calc(100vh - var(--top-bar-h)) !important;
        background: rgba(11, 16, 28, 0.98) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        display: none !important;
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 20px 16px 80px 16px !important;
        overflow-y: auto !important;
        overscroll-behavior: contain !important;
        -webkit-overflow-scrolling: touch !important;
        gap: 6px !important;
        z-index: 99999 !important;
        box-shadow: 0 10px 40px rgba(0,0,0,0.5) !important;
    }
    .top-bar-nav.is-open {
        display: flex !important;
    }
    .top-bar-nav .lang-switcher {
        margin: 12px auto !important;
        padding: 6px 14px !important;
        font-size: 13px !important;
        align-self: center !important;
    }
    .top-bar-nav .lang-switcher a.lang-btn {
        padding: 4px 10px !important;
        font-size: 13px !important;
    }

    .nav-item {
        width: 100% !important;
    }
    .nav-link {
        width: 100% !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 13px 16px !important;
        font-size: 15px !important;
        font-weight: 600 !important;
        color: #ffffff !important;
        background: rgba(255, 255, 255, 0.04) !important;
        border-radius: 6px !important;
        border: 1px solid rgba(255, 255, 255, 0.06) !important;
    }
    .nav-link:active, .nav-link:hover {
        background: rgba(61, 122, 191, 0.2) !important;
        color: var(--brand-cyan) !important;
    }
    .nav-arrow {
        transition: transform 0.3s ease;
    }
    .nav-item.is-open .nav-arrow {
        transform: rotate(180deg);
    }

    /* Mobile Accordion Dropdowns */
    .nav-dropdown {
        position: static !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        box-shadow: none !important;
        border: 1px solid rgba(255, 255, 255, 0.08) !important;
        background: rgba(0, 0, 0, 0.35) !important;
        border-radius: 8px !important;
        margin: 6px 0 10px !important;
        padding: 8px !important;
        display: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }
    .nav-item.is-open .nav-dropdown {
        display: flex !important;
        flex-direction: column !important;
        gap: 6px !important;
    }
    .dropdown-link {
        padding: 10px 12px !important;
        border-radius: 6px !important;
        background: rgba(255, 255, 255, 0.03) !important;
    }
    .dropdown-link:hover, .dropdown-link:active {
        background: rgba(255, 255, 255, 0.08) !important;
    }
    .dropdown-title {
        font-size: 13.5px !important;
        color: #ffffff !important;
    }
    .dropdown-desc {
        font-size: 11px !important;
        color: rgba(255, 255, 255, 0.6) !important;
    }

    .top-bar-cta {
        width: 100% !important;
        text-align: center !important;
        display: block !important;
        padding: 14px 20px !important;
        font-size: 14px !important;
        border-radius: 6px !important;
        margin-top: 10px !important;
    }
    .mobile-drawer-footer {
        margin-top: 20px;
        padding-top: 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    .mobile-drawer-contact {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 13px;
        color: rgba(255, 255, 255, 0.8);
    }
    .mobile-drawer-contact a {
        color: var(--brand-cyan);
    }

    /* Grids & Layout on Tablets / Small Screens */
    .hero-inner,
    .geo-grid,
    .module-showcase-row,
    .module-showcase-row.reverse,
    .saas-pillars-grid,
    .pricing-grid,
    .responsibility-table,
    .footer-grid,
    .emotional-split {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
    }
    .module-showcase-row.reverse .module-content {
        order: 1 !important;
    }
    .module-showcase-row.reverse .module-preview {
        order: 2 !important;
    }
    .master-hero {
        padding: 40px 20px 60px !important;
        min-height: auto !important;
    }
    .hero-window-mockup {
        transform: none !important;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25) !important;
        margin: 20px auto 0 !important;
        width: 100% !important;
    }
    .hero-window-mockup:hover {
        transform: none !important;
    }
    .section-pad {
        padding: 50px 20px !important;
    }
    .footer-grid {
        gap: 40px !important;
    }
    .footer-bottom {
        flex-direction: column !important;
        gap: 12px !important;
        text-align: center !important;
    }
    .resp-col.highlight {
        border-left: none !important;
        border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 30px !important;
        line-height: 1.25 !important;
    }
    .hero-subtitle {
        font-size: 15px !important;
        line-height: 1.6 !important;
        margin-bottom: 22px !important;
    }
    .hero-highlight-box {
        font-size: 13px !important;
        padding: 16px 18px !important;
        line-height: 1.5 !important;
        margin-bottom: 24px !important;
    }
    .hero-actions {
        flex-direction: column !important;
        width: 100% !important;
        gap: 12px !important;
    }
    .hero-actions .btn-primary,
    .hero-actions .btn-secondary {
        width: 100% !important;
        text-align: center !important;
        justify-content: center !important;
        padding: 14px 20px !important;
    }
    .section-title {
        font-size: 26px !important;
        line-height: 1.25 !important;
        margin-bottom: 12px !important;
    }
    .section-subtitle {
        font-size: 14.5px !important;
        line-height: 1.6 !important;
    }
    .section-header {
        margin-bottom: 35px !important;
    }
    .module-title {
        font-size: 24px !important;
        line-height: 1.3 !important;
    }
    .module-desc {
        font-size: 14.5px !important;
    }
    .saas-pillar-card {
        padding: 28px 20px !important;
    }
    .pricing-card {
        padding: 32px 20px !important;
    }
    .plan-price {
        font-size: 32px !important;
    }
    .resp-col {
        padding: 32px 20px !important;
    }
    .resp-col h3 {
        font-size: 20px !important;
    }
    .geo-stats-row {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    .geo-stat-number {
        font-size: 26px !important;
    }
    .cta-banner {
        padding: 40px 20px !important;
        border-radius: 12px !important;
    }
    .cta-banner h2 {
        font-size: 26px !important;
        line-height: 1.25 !important;
    }
    .cta-banner p {
        font-size: 15px !important;
    }
    .emotional-hero-card img {
        height: 220px !important;
    }
    .emotional-overlay {
        padding: 20px !important;
    }
    .emotional-title {
        font-size: 20px !important;
    }
    .emotional-split-img img {
        height: 220px !important;
    }
    .faq-card {
        padding: 18px 20px !important;
    }
    .faq-question {
        font-size: 15px !important;
    }
    .master-footer {
        padding: 50px 20px 30px !important;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 26px !important;
    }
    .hero-emblem-badge {
        font-size: 11px !important;
        padding: 4px 10px !important;
    }
    .geo-stats-row {
        grid-template-columns: 1fr !important;
    }
    .srv-wrapper {
        padding: 16px !important;
    }
    .srv-item {
        padding: 10px 14px !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 6px !important;
    }
    .plan-features li {
        font-size: 13px !important;
    }
}

/* ══════════════════════════════════════════
   EMOTIONAL SECTIONS & BANNERS STYLING
   ══════════════════════════════════════════ */
.emotional-hero-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    margin: 40px 0;
    box-shadow: 0 20px 45px rgba(15, 20, 32, 0.12);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.emotional-hero-card img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
}

.emotional-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(15, 20, 32, 0.95) 0%, rgba(15, 20, 32, 0.6) 60%, transparent 100%);
    padding: 36px 36px 28px 36px;
    color: #ffffff;
}

.emotional-tag {
    display: inline-block;
    background: rgba(58, 158, 95, 0.25);
    color: #4ade80;
    border: 1px solid rgba(74, 222, 128, 0.4);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.emotional-title {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 8px;
    color: #ffffff;
    line-height: 1.25;
}

.emotional-text {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    max-width: 800px;
    line-height: 1.6;
}

.emotional-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin: 50px 0;
}

.emotional-split.reverse {
    direction: rtl;
}

.emotional-split.reverse > * {
    direction: ltr;
}

.emotional-split-img {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    position: relative;
}

.emotional-split-img img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.emotional-split-img:hover img {
    transform: scale(1.03);
}

.emotional-split-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(15, 20, 32, 0.85);
    backdrop-filter: blur(8px);
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.15);
}

@media (max-width: 900px) {
    .emotional-split {
        grid-template-columns: 1fr;
    }
    .emotional-hero-card img {
        height: 280px;
    }
}

/* ══════════════════════════════════════════
   PORTAL BACK LINK (ALPESOFT.IT INTEGRATION)
   ══════════════════════════════════════════ */
.portal-back-link {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff !important;
    padding: 4px 10px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 11px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.portal-back-link:hover {
    background: var(--brand-blue);
    border-color: var(--brand-blue);
    transform: translateX(-2px);
}
