/* ============================================
   ALOCLY - PREMIUM SAAS WEBSITE
   Modern, Clean, Professional Design
   ============================================ */

/* ============================================
   1. ROOT & VARIABLES
   ============================================ */

:root {
    /* Color Palette */
    --primary: #03c167;
    --primary-dark: #02a052;
    --primary-light: #3ad981;
    --secondary: #083968;
    --dark: #083968;
    --dark-rgb: 8, 57, 104;
    --light-gray: #e5edf1;
    --medium-gray: #d0e1eb;
    --text-dark: #1a2332;
    --text-light: #6b7a8f;
    --white: #ffffff;
    --success: #03c167;
    --error: #ff4d4f;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #03c167 0%, #083968 100%);
    --gradient-dark: linear-gradient(135deg, #083968 0%, #0a5a3d 100%);
    --gradient-subtle: linear-gradient(135deg, #ffffff 0%, #e5edf1 100%);

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 30px rgba(0, 102, 255, 0.2);

    /* Border Radius */
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    --radius-xl: 2rem;

    /* Transitions */
    --transition-fast: 150ms ease-in-out;
    --transition-base: 300ms ease-in-out;
    --transition-slow: 500ms ease-in-out;

    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ============================================
   2. RESET & TYPOGRAPHY
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.5rem, 8vw, 4rem);
}

h2 {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
}

p {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: var(--spacing-md);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition-base);
}

a:hover {
    color: var(--primary-dark);
}

button {
    cursor: pointer;
    border: none;
    font-family: var(--font-sans);
}

/* ============================================
   3. BUTTONS & CTAs
   ============================================ */

.cta-button {
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition-base);
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.cta-button.primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(3, 193, 103, 0.3);
}

.cta-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(3, 193, 103, 0.4);
}

.cta-button.primary:active {
    transform: translateY(0);
}

.cta-button.secondary {
    background: rgba(3, 193, 103, 0.1);
    color: #03c167;
    border: 2px solid #03c167;
}

.cta-button.secondary:hover {
    background: rgba(3, 193, 103, 0.2);
    transform: translateY(-2px);
}

.cta-button.large {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

.cta-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ============================================
   4. NAVBAR
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(3, 193, 103, 0.1);
    z-index: 1000;
    transition: all var(--transition-base);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-md);
}

.navbar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-weight: 700;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark);
    transition: transform var(--transition-base);
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.logo-text {
    font-family: var(--font-display);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-xl);
    flex: 1;
    margin-left: var(--spacing-2xl);
}

.nav-link {
    color: var(--text-dark);
    font-weight: 500;
    position: relative;
    transition: color var(--transition-base);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition-base);
}

.nav-link:hover {
    color: #03c167;
}

.nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.navbar-cta {
    padding: 0.625rem 1.5rem;
    font-size: 0.9rem;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    width: 30px;
    height: 20px;
    background: none;
    border: none;
    margin-right: var(--spacing-md);
}

.menu-toggle span {
    width: 100%;
    height: 2px;
    background: #03c167;
    border-radius: 2px;
    transition: all var(--transition-base);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translateY(11px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-11px);
}

/* ============================================
   5. SECTIONS & LAYOUT
   ============================================ */

section {
    padding: var(--spacing-3xl) var(--spacing-lg);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
    animation: fadeInUp 0.8s ease-out;
}

.section-header h2 {
    color: var(--dark);
    margin-bottom: var(--spacing-md);
}

.section-header p {
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   6. HERO SECTION
   ============================================ */

.hero {
    padding-top: 140px;
    padding-bottom: var(--spacing-3xl);
    background: linear-gradient(135deg, rgba(3, 193, 103, 0.05) 0%, rgba(8, 57, 104, 0.05) 100%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
}

.hero-text {
    animation: fadeInLeft 0.8s ease-out;
}

.hero-title {
    color: #083968;
    margin-bottom: var(--spacing-md);
    font-weight: 800;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: var(--spacing-xl);
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
    flex-wrap: wrap;
}

.trust-badges {
    display: flex;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--medium-gray);
}

.badge {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
}

.badge svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
}

.hero-visual {
    animation: fadeInRight 0.8s ease-out;
}

.mockup-dashboard {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(3, 193, 103, 0.2);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(3, 193, 103, 0.15);
    transform: perspective(1000px) rotateX(5deg) rotateY(-5deg);
    transition: transform var(--transition-slow);
}

.mockup-dashboard:hover {
    transform: perspective(1000px) rotateX(2deg) rotateY(-2deg);
}

.mockup-header {
    display: flex;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
    background: #e5edf1;
    border-bottom: 1px solid #d0e1eb;
}

.mockup-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--medium-gray);
}

.dashboard-content {
    padding: var(--spacing-lg);
    display: grid;
    gap: var(--spacing-md);
}

.stat-card {
    background: rgba(3, 193, 103, 0.05);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    border: 1px solid rgba(3, 193, 103, 0.1);
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: var(--spacing-xs);
}

.stat-chart {
    height: 24px;
    background: linear-gradient(90deg, rgba(3, 193, 103, 0.1) 0%, rgba(8, 57, 104, 0.1) 100%);
    border-radius: 4px;
    position: relative;
}

.stat-chart.up::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--success);
    font-size: 0.75rem;
}

.reservations-list {
    display: grid;
    gap: var(--spacing-sm);
}

.reservation-item {
    display: grid;
    grid-template-columns: 20px 1fr auto;
    gap: var(--spacing-md);
    align-items: center;
    padding: var(--spacing-sm);
    background: rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
}

.reservation-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(3, 193, 103, 0.3);
    animation: pulse 2s infinite;
}

.reservation-indicator.active {
    background: var(--success);
}

.reservation-date {
    color: var(--text-light);
    font-size: 0.85rem;
}

.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(3, 193, 103, 0.1) 0%, transparent 70%);
}

.shape-1 {
    width: 400px;
    height: 400px;
    top: -100px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.shape-2 {
    width: 300px;
    height: 300px;
    bottom: -50px;
    left: 10%;
    animation: float 10s ease-in-out infinite 1s;
}

.shape-3 {
    width: 200px;
    height: 200px;
    top: 50%;
    right: 5%;
    animation: float 12s ease-in-out infinite 2s;
}

/* ============================================
   7. PROBLEMS SECTION
   ============================================ */

.problems {
    background: var(--white);
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-lg);
    max-width: 1400px;
    margin: 0 auto;
}

.problem-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.5), rgba(229, 237, 241, 0.8));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(3, 193, 103, 0.1);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    animation: fadeInUp 0.8s ease-out;
    animation-fill-mode: both;
}

.problem-card:nth-child(1) { animation-delay: 0.1s; }
.problem-card:nth-child(2) { animation-delay: 0.2s; }
.problem-card:nth-child(3) { animation-delay: 0.3s; }
.problem-card:nth-child(4) { animation-delay: 0.4s; }
.problem-card:nth-child(5) { animation-delay: 0.5s; }
.problem-card:nth-child(6) { animation-delay: 0.6s; }

.problem-card:hover {
    background: linear-gradient(135deg, rgba(3, 193, 103, 0.05), rgba(8, 57, 104, 0.05));
    border-color: rgba(3, 193, 103, 0.3);
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(3, 193, 103, 0.15);
}

.problem-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(255, 8, 8, 0.1), rgba(8, 57, 104, 0.1));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    color: #03c167;
}

.problem-icon svg {
    width: 24px;
    height: 24px;
}

.problem-card h3 {
    margin-bottom: var(--spacing-sm);
    color: var(--dark);
}

.problem-card p {
    font-size: 0.95rem;
}

/* ============================================
   8. HOW IT WORKS SECTION
   ============================================ */

.how-it-works {
    background: linear-gradient(135deg, rgba(3, 193, 103, 0.03) 0%, rgba(8, 57, 104, 0.03) 100%);
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    max-width: 1400px;
    margin: 0 auto;
    align-items: center;
}

.step-divider {
    display: none;
}

@media (min-width: 992px) {
    .steps-container {
        grid-template-columns: 1fr auto 1fr auto 1fr;
    }

    .step-divider {
        display: block;
        width: 2px;
        height: 200px;
        background: linear-gradient(180deg, transparent, #03c167, transparent);
        justify-self: center;
    }
}

.step-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.7), rgba(229, 237, 241, 0.9));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(3, 193, 103, 0.2);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all var(--transition-base);
    animation: fadeInUp 0.8s ease-out;
}

.step-card:hover {
    border-color: #03c167;
    box-shadow: 0 10px 30px rgba(3, 193, 103, 0.2);
    transform: translateY(-4px);
}

.step-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-md);
}

.step-icon {
    width: 60px;
    height: 60px;
    background: rgba(3, 193, 103, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
    color: #03c167;
}

.step-icon svg {
    width: 32px;
    height: 32px;
}

.step-card h3 {
    margin-bottom: var(--spacing-md);
}

.step-card p {
    margin-bottom: var(--spacing-lg);
}

.step-highlight {
    display: inline-block;
    background: rgba(3, 193, 103, 0.1);
    color: #03c167;
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    font-weight: 600;
}

/* ============================================
   9. FEATURES SECTION
   ============================================ */

.features {
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: var(--spacing-lg);
    max-width: 1400px;
    margin: 0 auto;
}

.feature-card {
    background: linear-gradient(135deg, rgba(229, 237, 241, 0.5), rgba(255, 255, 255, 0.8));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(3, 193, 103, 0.15);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    animation: fadeInUp 0.8s ease-out;
    animation-fill-mode: both;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(3, 193, 103, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
.feature-card:nth-child(5) { animation-delay: 0.5s; }
.feature-card:nth-child(6) { animation-delay: 0.6s; }

.feature-card:hover {
    border-color: #03c167;
    box-shadow: 0 15px 40px rgba(3, 193, 103, 0.2);
    transform: translateY(-8px);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-md);
    font-weight: 600;
    color: var(--white);
    position: relative;
    z-index: 1;
}

.feature-icon.messaging {
    background: linear-gradient(135deg, #03c167, #02a052);
}

.feature-icon.checkin {
    background: linear-gradient(135deg, #083968, #0a5a3d);
}

.feature-icon.payments {
    background: linear-gradient(135deg, #02a052, #016d3d);
}

.feature-icon.dashboard {
    background: linear-gradient(135deg, #03c167, #083968);
}

.feature-icon.team {
    background: linear-gradient(135deg, #0a5a3d, #02a052);
}

.feature-icon.cloud {
    background: linear-gradient(135deg, #083968, #03c167);
}

.feature-icon svg {
    width: 24px;
    height: 24px;
}

.feature-card h3 {
    margin-bottom: var(--spacing-md);
    color: var(--dark);
    position: relative;
    z-index: 1;
}

.feature-card p {
    margin-bottom: var(--spacing-lg);
    position: relative;
    z-index: 1;
}

.feature-list {
    list-style: none;
    display: grid;
    gap: var(--spacing-sm);
    position: relative;
    z-index: 1;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 0.9rem;
    color: var(--text-light);
}

.feature-list li::before {
    content: '✓';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: rgba(3, 193, 103, 0.2);
    color: #03c167;
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
}

/* ============================================
   10. BENEFITS SECTION
   ============================================ */

.benefits {
    background: linear-gradient(135deg, rgba(3, 193, 103, 0.05) 0%, rgba(8, 57, 104, 0.05) 100%);
}

.benefits-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
}

.benefits-text h2 {
    margin-bottom: var(--spacing-md);
    color: var(--dark);
}

.benefits-intro {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-xl);
}

.benefits-list {
    display: grid;
    gap: var(--spacing-lg);
}

.benefit-item {
    display: flex;
    gap: var(--spacing-lg);
}

.benefit-number {
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    min-width: 80px;
}

.benefit-description {
    color: var(--text-light);
    font-size: 0.95rem;
    padding-top: var(--spacing-xs);
}

.benefits-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 300px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.5), rgba(229, 237, 241, 0.7));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(3, 193, 103, 0.2);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
}

.benefits-image {
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: contain;
    border-radius: var(--radius-lg);
    animation: fadeInUp 0.8s ease-out;
}

.chart-container {
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    width: 100%;
    height: 100%;
    gap: var(--spacing-md);
}

.chart-bar {
    flex: 1;
    height: calc(var(--height) * 200px);
    background: linear-gradient(180deg, var(--gradient-primary));
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: var(--spacing-sm);
    font-size: 0.75rem;
    color: var(--white);
    font-weight: 600;
    transition: all var(--transition-base);
    box-shadow: 0 4px 12px rgba(3, 193, 103, 0.15);
}

.chart-bar:hover {
    filter: brightness(1.1);
    transform: scaleY(1.05);
}

/* ============================================
   11. SYSTEM SHOWCASE SECTION
   ============================================ */

.system-showcase {
    background: var(--white);
}

.showcase-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

.showcase-image {
    width: 100%;
    max-width: 900px;
}

.dashboard-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px rgba(3, 193, 103, 0.15);
    border: 1px solid rgba(3, 193, 103, 0.2);
    animation: fadeInUp 0.8s ease-out;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.dashboard-image:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 50px rgba(3, 193, 103, 0.25);
}

.dashboard-showcase {
    background: linear-gradient(135deg, rgba(3, 193, 103, 0.08) 0%, rgba(8, 57, 104, 0.08) 100%);
    border: 1px solid rgba(3, 193, 103, 0.2);
    border-radius: var(--radius-lg);
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out;
}

.dashboard-top {
    height: 40px;
    background: linear-gradient(90deg, rgba(3, 193, 103, 0.1), rgba(8, 57, 104, 0.1));
    border-bottom: 1px solid rgba(3, 193, 103, 0.1);
}

.top-bar {
    height: 100%;
    background: linear-gradient(90deg, rgba(3, 193, 103, 0.3) 0%, transparent 100%);
}

.dashboard-grid {
    padding: var(--spacing-lg);
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--spacing-lg);
}

.showcase-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(3, 193, 103, 0.15);
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
}

.showcase-card.large {
    grid-column: 1;
    grid-row: 1 / 3;
    display: flex;
    flex-direction: column;
}

.card-header {
    font-size: 0.85rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
}

.card-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
}

.circular-chart {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: conic-gradient(#03c167 0deg 313.2deg, rgba(3, 193, 103, 0.1) 313.2deg 360deg);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: inset 0 0 30px rgba(3, 193, 103, 0.2);
}

.circle-percent {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    color: #03c167;
}

.card-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: var(--spacing-xs);
}

.card-trend {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* ============================================
   12. DIFFERENTIALS SECTION
   ============================================ */

.differentials {
    background: linear-gradient(135deg, rgba(3, 193, 103, 0.03) 0%, rgba(8, 57, 104, 0.03) 100%);
}

.differentials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    max-width: 1400px;
    margin: 0 auto;
}

.differential-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.6), rgba(229, 237, 241, 0.8));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(3, 193, 103, 0.15);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all var(--transition-base);
    animation: fadeInUp 0.8s ease-out;
    animation-fill-mode: both;
}

.differential-card:nth-child(1) { animation-delay: 0.1s; }
.differential-card:nth-child(2) { animation-delay: 0.2s; }
.differential-card:nth-child(3) { animation-delay: 0.3s; }
.differential-card:nth-child(4) { animation-delay: 0.4s; }
.differential-card:nth-child(5) { animation-delay: 0.5s; }
.differential-card:nth-child(6) { animation-delay: 0.6s; }

.differential-card:hover {
    border-color: #03c167;
    box-shadow: 0 15px 40px rgba(3, 193, 103, 0.2);
    transform: translateY(-8px);
}

.differential-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(3, 193, 103, 0.2), rgba(8, 57, 104, 0.2));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
    color: #03c167;
}

.differential-icon svg {
    width: 32px;
    height: 32px;
}

.differential-card h3 {
    margin-bottom: var(--spacing-md);
    color: var(--dark);
}

.differential-card p {
    font-size: 0.95rem;
}

/* ============================================
   13. IMPLEMENTATION SECTION
   ============================================ */

.implementation {
    background: var(--white);
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding: var(--spacing-lg) 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, transparent, #03c167, transparent);
    transform: translateX(-50%);
}

.timeline-item {
    margin-bottom: var(--spacing-2xl);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
    animation: fadeInUp 0.8s ease-out;
}

.timeline-item:nth-child(odd) .timeline-content {
    text-align: right;
    grid-column: 1;
}

.timeline-item:nth-child(even) .timeline-content {
    grid-column: 2;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.timeline-dot {
    width: 20px;
    height: 20px;
    background: var(--white);
    border: 4px solid #03c167;
    border-radius: 50%;
    box-shadow: 0 0 0 8px rgba(3, 193, 103, 0.1);
    animation: pulse 2s infinite;
}

.timeline-content h4 {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-sm);
    color: var(--dark);
}

.timeline-content p {
    font-size: 0.95rem;
    margin: 0;
}

@media (max-width: 768px) {
    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        grid-template-columns: 1fr;
        padding-left: 60px;
    }

    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        text-align: left;
        grid-column: 1;
    }

    .timeline-marker {
        left: 20px;
    }
}

/* ============================================
   14. FAQ SECTION
   ============================================ */

.faq {
    background: linear-gradient(135deg, rgba(3, 193, 103, 0.05) 0%, rgba(8, 57, 104, 0.05) 100%);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.7), rgba(229, 237, 241, 0.9));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(3, 193, 103, 0.15);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-md);
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out;
    animation-fill-mode: both;
}

.faq-item:nth-child(1) { animation-delay: 0.1s; }
.faq-item:nth-child(2) { animation-delay: 0.2s; }
.faq-item:nth-child(3) { animation-delay: 0.3s; }
.faq-item:nth-child(4) { animation-delay: 0.4s; }
.faq-item:nth-child(5) { animation-delay: 0.5s; }
.faq-item:nth-child(6) { animation-delay: 0.6s; }

.faq-question {
    width: 100%;
    padding: var(--spacing-lg);
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
    transition: all var(--transition-base);
    text-align: left;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    transition: transform var(--transition-base);
    margin-left: var(--spacing-md);
}

.faq-item[data-faq].open .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base);
}

.faq-item[data-faq].open .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 var(--spacing-lg) var(--spacing-lg);
    margin: 0;
}

/* ============================================
   15. FINAL CTA SECTION
   ============================================ */

.final-cta {
    background: linear-gradient(135deg, #083968, #02a052);
    text-align: center;
    padding: var(--spacing-3xl) var(--spacing-lg);
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out;
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: var(--spacing-md);
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    margin-bottom: var(--spacing-lg);
}

.final-cta .cta-button {
    background: var(--white);
    color: #03c167;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.final-cta .cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.cta-subtext {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin: var(--spacing-md) 0 0 0;
}

/* ============================================
   16. FOOTER
   ============================================ */

.footer {
    background: #e5edf1;
    color: #083968;
    padding: 2rem var(--spacing-lg);
    border-top: 1px solid rgba(3, 193, 103, 0.2);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-lg);
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-brand h3 {
    color: #083968;
    margin: 0;
    font-size: 1.25rem;
}

.footer-logo {
    width: 1.25rem;
    height: 1.25rem;
    object-fit: contain;
}

.footer-links {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.footer-links a {
    color: #083968;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color var(--transition-base);
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-social {
    display: flex;
    gap: var(--spacing-md);
}

.social-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(8, 57, 104, 0.1);
    border-radius: 50%;
    border: 1px solid rgba(8, 57, 104, 0.3);
    transition: all var(--transition-base);
    color: #083968;
}

.social-icon:hover {
    background: #083968;
    border-color: #083968;
    color: #e5edf1;
    transform: translateY(-2px);
}

.social-icon svg {
    width: 16px;
    height: 16px;
}

.footer-bottom {
    border-top: 1px solid rgba(8, 57, 104, 0.2);
    padding-top: 1rem;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.85rem;
    color: #083968;
}

/* ============================================
   17. MODAL
   ============================================ */

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease-out;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-2xl);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.3s ease-out;
}

.modal-close {
    position: absolute;
    top: var(--spacing-lg);
    right: var(--spacing-lg);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-gray);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--text-dark);
    transition: all var(--transition-base);
}

.modal-close:hover {
    background: var(--medium-gray);
    transform: rotate(90deg);
}

.modal-content h3 {
    margin-bottom: var(--spacing-lg);
    color: var(--dark);
}

.demo-form {
    display: grid;
    gap: var(--spacing-md);
}

.form-group {
    display: grid;
    gap: var(--spacing-xs);
}

.form-group label {
    font-weight: 600;
    color: var(--dark);
    font-size: 0.95rem;
}

.form-group input,
.form-group select {
    padding: 0.75rem;
    border: 1px solid var(--medium-gray);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-family: var(--font-sans);
    transition: all var(--transition-base);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

/* ============================================
   17. COMPARISON SECTION (Premium SaaS Style)
   ============================================ */

.comparison {
    background: linear-gradient(135deg, rgba(8, 57, 104, 0.02) 0%, rgba(3, 193, 103, 0.02) 100%);
    padding: var(--spacing-3xl) var(--spacing-lg);
    position: relative;
    overflow: hidden;
}

.comparison::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(3, 193, 103, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 12s ease-in-out infinite;
    z-index: 1;
}

.comparison-header {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
    animation: fadeInUp 0.8s ease-out;
    position: relative;
    z-index: 2;
}

.comparison-header h2 {
    color: var(--dark);
    margin-bottom: var(--spacing-md);
    font-size: clamp(1.75rem, 5vw, 2.5rem);
}

.comparison-header p {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

.comparison-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.comparison-table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    background: #0d2438;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-family: var(--font-sans);
}

.comparison-table thead {
    background: linear-gradient(to bottom, #0a1c2e, #0d2438);
    border-bottom: 2px solid rgba(255, 255, 255, 0.15);
}

.table-header-row th {
    padding: var(--spacing-lg) var(--spacing-md);
    text-align: center;
    font-weight: 600;
    color: #ffffff;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.header-resources {
    text-align: left;
    width: 30%;
    color: #ffffff;
}

.header-alocly {
    width: 25%;
    background: linear-gradient(135deg, #0a1c2e, #0d2438);
    border-left: 2px solid rgba(255, 255, 255, 0.1);
    border-right: 2px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.header-alocly::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0));
}

.header-alocly::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0));
}

.header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-xs);
}

.badge-premium {
    display: inline-block;
    background: linear-gradient(135deg, #03c167, #02a052);
    color: var(--white);
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    animation: glow-pulse 2s ease-in-out infinite;
}

.header-competitor {
    width: 22.5%;
    color: #ffffff;
}

.comparison-table tbody tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: all var(--transition-base);
}

.comparison-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.05);
    box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.08);
}

.comparison-row {
    animation: fadeInUp 0.6s ease-out both;
}

.comparison-row:nth-child(1) { animation-delay: 0.1s; }
.comparison-row:nth-child(2) { animation-delay: 0.15s; }
.comparison-row:nth-child(3) { animation-delay: 0.2s; }
.comparison-row:nth-child(4) { animation-delay: 0.25s; }
.comparison-row:nth-child(5) { animation-delay: 0.3s; }
.comparison-row:nth-child(6) { animation-delay: 0.35s; }
.comparison-row:nth-child(7) { animation-delay: 0.4s; }
.comparison-row:nth-child(8) { animation-delay: 0.45s; }
.comparison-row:nth-child(9) { animation-delay: 0.5s; }
.comparison-row:nth-child(10) { animation-delay: 0.55s; }
.comparison-row:nth-child(11) { animation-delay: 0.6s; }
.comparison-row:nth-child(12) { animation-delay: 0.65s; }
.comparison-row:nth-child(13) { animation-delay: 0.7s; }
.comparison-row:nth-child(14) { animation-delay: 0.75s; }

.resource-name {
    padding: var(--spacing-lg) var(--spacing-md);
    text-align: left;
    font-weight: 500;
    color: #ffffff;
    width: 30%;
    font-size: 0.95rem;
}

.alocly-cell {
    padding: var(--spacing-lg) var(--spacing-md);
    text-align: center;
    width: 25%;
    background: linear-gradient(135deg, #0a1c2e, #0d2438);
    border-left: 2px solid rgba(255, 255, 255, 0.1);
    border-right: 2px solid rgba(255, 255, 255, 0.1);
}

.competitor-cell {
    padding: var(--spacing-lg) var(--spacing-md);
    text-align: center;
    width: 22.5%;
}

.check-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all var(--transition-base);
}

.check-icon.full {
    background: rgba(3, 193, 103, 0.2);
    color: #3ad981;
    box-shadow: 0 0 12px rgba(3, 193, 103, 0.4);
}

.check-icon.none {
    background: rgba(255, 77, 79, 0.12);
    color: #ff6b6f;
    font-weight: 600;
}

.check-icon.partial {
    background: rgba(255, 159, 64, 0.15);
    color: #ffb84d;
}

.comparison-row:hover .check-icon.full {
    transform: scale(1.15);
    box-shadow: 0 0 20px rgba(3, 193, 103, 0.6);
}

.comparison-row:hover .check-icon.partial {
    transform: scale(1.1);
}

/* Comparison CTA Section */
.comparison-cta {
    max-width: 1400px;
    margin: var(--spacing-3xl) auto 0;
    text-align: center;
    padding: var(--spacing-3xl) var(--spacing-lg);
    background: linear-gradient(135deg, #0a1c2e, #0d2438);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.comparison-cta h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: #ffffff;
    margin-bottom: var(--spacing-md);
}

.comparison-cta p {
    font-size: 1.05rem;
    color: #b3b3b3;
    max-width: 600px;
    margin: 0 auto var(--spacing-xl);
    line-height: 1.8;
}

.cta-buttons-comparison {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   18. ANIMATIONS
   ============================================ */

@keyframes glow-pulse {
    0%, 100% {
        box-shadow: 0 0 10px rgba(3, 193, 103, 0.4), 0 0 20px rgba(3, 193, 103, 0.2);
    }
    50% {
        box-shadow: 0 0 20px rgba(3, 193, 103, 0.6), 0 0 40px rgba(3, 193, 103, 0.3);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* ============================================
   19. RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
    }

    .benefits-container {
        grid-template-columns: 1fr;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .showcase-card.large {
        grid-column: 1;
        grid-row: auto;
    }
}

@media (max-width: 768px) {
    :root {
        --spacing-3xl: 3rem;
        --spacing-2xl: 2.5rem;
    }

    section {
        padding: var(--spacing-2xl) var(--spacing-md);
    }

    .navbar-container {
        padding: 0 var(--spacing-md);
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        gap: 0;
        padding: var(--spacing-lg) 0;
        border-bottom: 1px solid var(--medium-gray);
        box-shadow: var(--shadow-lg);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-link {
        padding: var(--spacing-md) var(--spacing-lg);
        border: none;
    }

    .nav-link::after {
        display: none;
    }

    .navbar-cta {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .hero {
        padding-top: 100px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons button {
        width: 100%;
    }

    .cta-button {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    .trust-badges {
        flex-direction: column;
        gap: var(--spacing-md);
    }

    .badge {
        justify-content: flex-start;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.125rem;
    }

    .features-grid,
    .differentials-grid,
    .problems-grid {
        grid-template-columns: 1fr;
    }

    .steps-container {
        grid-template-columns: 1fr;
    }

    .step-divider {
        display: none;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .footer-bottom {
        justify-content: center;
        text-align: center;
    }

    .modal-content {
        padding: var(--spacing-lg);
        max-height: 95vh;
    }

    .hero-shapes {
        display: none;
    }
}

@media (max-width: 480px) {
    :root {
        --spacing-lg: 1.5rem;
        --spacing-md: 1rem;
    }

    .logo-text {
        display: none;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .section-header p {
        font-size: 0.95rem;
    }

    .benefit-number {
        font-size: 1.5rem;
    }

    .chart-container {
        gap: var(--spacing-sm);
    }

    .benefits-visual {
        height: 200px;
    }

    .mockup-dashboard {
        transform: none;
    }

    .footer-content {
        flex-direction: column;
        gap: var(--spacing-lg);
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--spacing-md);
    }
}

/* Responsive Comparison Table */
@media (max-width: 1024px) {
    .header-resources { width: 35%; }
    .header-alocly { width: 22%; }
    .header-competitor { width: 21.5%; }
    .resource-name { width: 35%; }
    .alocly-cell { width: 22%; }
    .competitor-cell { width: 21.5%; }
    
    .table-header-row th,
    .comparison-table td {
        padding: var(--spacing-md) var(--spacing-sm);
        font-size: 0.85rem;
    }
    
    .resource-name {
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .comparison {
        padding: var(--spacing-2xl) var(--spacing-md);
    }

    .comparison-table-wrapper {
        border-radius: var(--radius-md);
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .comparison-table {
        min-width: 800px;
    }

    .header-resources { width: 40%; }
    .header-alocly { width: 20%; }
    .header-competitor { width: 20%; }
    .resource-name { width: 40%; }
    .alocly-cell { width: 20%; }
    .competitor-cell { width: 20%; }

    .table-header-row th,
    .comparison-table td {
        padding: var(--spacing-md) var(--spacing-xs);
        font-size: 0.8rem;
    }

    .badge-premium {
        font-size: 0.65rem;
        padding: 0.3rem 0.7rem;
    }

    .check-icon {
        width: 28px;
        height: 28px;
        font-size: 1rem;
    }

    .comparison-cta {
        padding: var(--spacing-2xl) var(--spacing-md);
    }

    .comparison-cta h3 {
        font-size: 1.5rem;
    }

    .comparison-cta p {
        font-size: 0.95rem;
    }

    .cta-buttons-comparison {
        flex-direction: column;
        gap: var(--spacing-md);
    }

    .cta-button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .comparison-header {
        margin-bottom: var(--spacing-2xl);
    }

    .comparison-header h2 {
        font-size: 1.4rem;
    }

    .comparison-header p {
        font-size: 0.95rem;
    }

    .comparison-table {
        min-width: 600px;
    }

    .header-resources { 
        width: 45%;
        font-size: 0.7rem;
    }
    .header-alocly { 
        width: 18.5%; 
        font-size: 0.7rem;
    }
    .header-competitor { 
        width: 18.25%;
        font-size: 0.7rem;
    }

    .resource-name { 
        width: 45%;
        font-size: 0.75rem;
        padding: var(--spacing-md) var(--spacing-xs);
    }
    
    .alocly-cell,
    .competitor-cell { 
        padding: var(--spacing-md) var(--spacing-xs);
    }
    
    .alocly-cell { width: 18.5%; }
    .competitor-cell { width: 18.25%; }

    .check-icon {
        width: 24px;
        height: 24px;
        font-size: 0.9rem;
    }

    .badge-premium {
        font-size: 0.6rem;
        padding: 0.25rem 0.6rem;
        margin-bottom: var(--spacing-xs);
    }

    .comparison-cta h3 {
        font-size: 1.2rem;
    }

    .comparison-cta p {
        font-size: 0.9rem;
    }

    .cta-button.large {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
    }
}

/* ============================================
   20. ACCESSIBILITY
   ============================================ */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: more) {
    .cta-button,
    .feature-card,
    .problem-card {
        border-width: 2px;
    }
}

/* Focus visible for keyboard navigation */
button:focus-visible,
a:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .navbar,
    .final-cta,
    .footer {
        display: none;
    }

    section {
        page-break-inside: avoid;
    }
}

/* ============================================
   21. SCROLL ANIMATIONS
   ============================================ */

@supports (animation-timeline: view()) {
    .feature-card,
    .problem-card,
    .differential-card,
    .step-card,
    .faq-item {
        animation: fadeInUp 0.8s ease-out both;
        animation-timeline: view();
        animation-range: entry 0% cover 30%;
    }
}
