/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    max-width: 100%;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: var(--nxt-dark);
    z-index: 0;
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(239, 68, 68, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 60% 80%, rgba(59, 130, 246, 0.08) 0%, transparent 50%);
}

.hero-grid-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(59, 130, 246, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.04) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: var(--space-8) 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-5);
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: var(--radius-full);
    color: var(--nxt-blue-300);
    font-size: var(--text-sm);
    font-weight: 600;
    margin-bottom: var(--space-6);
    backdrop-filter: blur(10px);
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    background: var(--nxt-blue-400);
    border-radius: 50%;
    animation: pulse-glow 2s ease-in-out infinite;
}

.hero h1 {
    color: var(--nxt-white);
    font-size: var(--text-7xl);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: var(--space-6);
    letter-spacing: -0.02em;
}

.hero h1 .highlight-blue {
    background: linear-gradient(135deg, var(--nxt-blue-400), var(--nxt-blue-300));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero h1 .highlight-red {
    background: linear-gradient(135deg, var(--nxt-red-400), var(--nxt-red-300));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: var(--text-xl);
    color: var(--nxt-gray-400);
    max-width: 640px;
    margin: 0 auto var(--space-8);
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-4);
    margin-bottom: var(--space-10);
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-12);
    padding-top: var(--space-10);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    font-family: var(--font-heading);
    font-size: var(--text-4xl);
    font-weight: 800;
    color: var(--nxt-white);
    line-height: 1;
    margin-bottom: var(--space-1);
}

.hero-stat-number .counter-suffix {
    color: var(--nxt-blue-400);
}

.hero-stat-label {
    font-size: var(--text-sm);
    color: var(--nxt-gray-500);
}

/* Floating decorations */
.hero-float-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-xl);
    padding: var(--space-4) var(--space-5);
    display: flex;
    align-items: center;
    gap: var(--space-3);
    color: var(--nxt-white);
    font-size: var(--text-sm);
    font-weight: 500;
    animation: float 4s ease-in-out infinite;
    z-index: 2;
}

.hero-float-card:nth-child(1) {
    top: 25%;
    left: 5%;
    animation-delay: 0s;
}

.hero-float-card:nth-child(2) {
    top: 35%;
    right: 5%;
    animation-delay: 1s;
}

.hero-float-card:nth-child(3) {
    bottom: 25%;
    left: 8%;
    animation-delay: 2s;
}

.hero-float-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.hero-float-icon.blue { background: rgba(59, 130, 246, 0.2); }
.hero-float-icon.red { background: rgba(239, 68, 68, 0.2); }
.hero-float-icon.green { background: rgba(16, 185, 129, 0.2); }

/* ========================================
   TRUSTED BY / CLIENT LOGOS
   ======================================== */
.trusted-section {
    padding: var(--space-12) 0;
    background: var(--nxt-light);
    border-bottom: 1px solid var(--nxt-light-3);
}

.trusted-label {
    text-align: center;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--nxt-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-8);
}

.trusted-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-12);
    flex-wrap: wrap;
    opacity: 0.5;
    filter: grayscale(1);
}

.trusted-logos img {
    height: 32px;
    object-fit: contain;
}

/* ========================================
   SERVICES OVERVIEW
   ======================================== */
.services-section {
    position: relative;
}

.services-section .decoration-blob {
    width: 400px;
    height: 400px;
    background: var(--nxt-blue-500);
    top: 20%;
    right: -200px;
}

.service-card {
    text-align: center;
    padding: var(--space-8) var(--space-6);
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--nxt-blue-500), var(--nxt-red-500));
    border-radius: 3px;
    opacity: 0;
    transition: opacity var(--transition-base);
}

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

.service-card .card-icon {
    margin: 0 auto var(--space-5);
    width: 64px;
    height: 64px;
    font-size: 28px;
    border-radius: var(--radius-xl);
    transition: all var(--transition-base);
}

.service-card:hover .card-icon {
    transform: scale(1.1);
    box-shadow: var(--shadow-glow-blue);
}

.service-card h3 {
    font-size: var(--text-lg);
    margin-bottom: var(--space-3);
}

.service-card p {
    font-size: var(--text-sm);
    margin-bottom: var(--space-4);
}

.service-card-link {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--nxt-blue-600);
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    transition: gap var(--transition-fast);
}

.service-card-link:hover {
    gap: var(--space-2);
}

/* ========================================
   HOW IT WORKS
   ======================================== */
.how-it-works {
    position: relative;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-8);
    position: relative;
}

.steps-grid::before {
    content: '';
    position: absolute;
    top: 45px;
    left: 15%;
    right: 15%;
    height: 2px;
    background: linear-gradient(90deg, var(--nxt-blue-200), var(--nxt-red-200));
    z-index: 0;
}

.step-card {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--nxt-blue-600), var(--nxt-blue-700));
    color: var(--nxt-white);
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-5);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
    position: relative;
}

.step-number::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid var(--nxt-blue-200);
}

.step-card h4 {
    font-size: var(--text-base);
    font-weight: 700;
    margin-bottom: var(--space-2);
}

.step-card p {
    font-size: var(--text-sm);
    color: var(--nxt-gray-500);
    margin: 0;
}

/* ========================================
   STATS SECTION
   ======================================== */
.stats-section {
    position: relative;
    padding: var(--space-16) 0;
    color: var(--nxt-white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-8);
}

.stat-item {
    text-align: center;
    padding: var(--space-8);
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    transition: all var(--transition-base);
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: var(--text-5xl);
    font-weight: 800;
    line-height: 1;
    margin-bottom: var(--space-2);
    background: linear-gradient(135deg, var(--nxt-blue-300), var(--nxt-white));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: var(--text-base);
    color: var(--nxt-gray-400);
    font-weight: 500;
}

/* ========================================
   EXPERT CONSULTATION
   ======================================== */
.experts-section {
    position: relative;
}

.expert-card {
    padding: var(--space-8);
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    height: 100%;
}

.expert-card-header {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.expert-avatar {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.expert-avatar.blue {
    background: linear-gradient(135deg, var(--nxt-blue-100), var(--nxt-blue-200));
    color: var(--nxt-blue-600);
}

.expert-avatar.red {
    background: linear-gradient(135deg, var(--nxt-red-100), var(--nxt-red-200));
    color: var(--nxt-red-600);
}

.expert-avatar.purple {
    background: linear-gradient(135deg, #EDE9FE, #DDD6FE);
    color: #7C3AED;
}

.expert-avatar.teal {
    background: linear-gradient(135deg, #CCFBF1, #99F6E4);
    color: #0D9488;
}

.expert-card h3 {
    font-size: var(--text-lg);
    margin: 0;
}

.expert-card p {
    font-size: var(--text-sm);
    margin: 0;
    color: var(--nxt-gray-500);
}

.expert-services {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    flex-grow: 1;
}

.expert-services li {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    color: var(--nxt-gray-600);
}

.expert-services li svg {
    width: 16px;
    height: 16px;
    color: var(--nxt-success);
    flex-shrink: 0;
}

/* ========================================
   TESTIMONIALS
   ======================================== */
.testimonials-section {
    position: relative;
}

.testimonial-card {
    padding: var(--space-8);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-stars {
    display: flex;
    gap: 2px;
    margin-bottom: var(--space-4);
    color: #F59E0B;
    font-size: 16px;
}

.testimonial-text {
    font-size: var(--text-base);
    color: var(--nxt-gray-600);
    line-height: 1.7;
    flex-grow: 1;
    margin-bottom: var(--space-6);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding-top: var(--space-4);
    border-top: 1px solid var(--nxt-light-3);
}

.testimonial-author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--nxt-blue-100), var(--nxt-red-100));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: var(--text-sm);
    color: var(--nxt-blue-700);
}

.testimonial-author-name {
    font-weight: 700;
    font-size: var(--text-sm);
    color: var(--nxt-dark);
}

.testimonial-author-role {
    font-size: var(--text-xs);
    color: var(--nxt-gray-500);
}

/* ========================================
   AI DASHBOARD SHOWCASE
   ======================================== */
.ai-showcase {
    position: relative;
    overflow: hidden;
}

.ai-showcase-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
}

.ai-showcase-text {
    max-width: 520px;
}

.ai-showcase-text h2 {
    color: var(--nxt-white);
    margin-bottom: var(--space-4);
}

.ai-showcase-text p {
    font-size: var(--text-lg);
    color: var(--nxt-gray-400);
    margin-bottom: var(--space-8);
}

.ai-features-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    margin-bottom: var(--space-8);
}

.ai-feature-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
}

.ai-feature-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: var(--radius-md);
    background: rgba(59, 130, 246, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--nxt-blue-400);
    font-size: 18px;
}

.ai-feature-text h4 {
    color: var(--nxt-white);
    font-size: var(--text-base);
    margin-bottom: 2px;
}

.ai-feature-text p {
    font-size: var(--text-sm);
    color: var(--nxt-gray-400);
    margin: 0;
}

.ai-showcase-visual {
    position: relative;
}

.ai-dashboard-mockup {
    background: var(--nxt-dark-2);
    border-radius: var(--radius-2xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
}

.ai-dashboard-header {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-4);
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.ai-dashboard-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.ai-dashboard-dot:nth-child(1) { background: #EF4444; }
.ai-dashboard-dot:nth-child(2) { background: #F59E0B; }
.ai-dashboard-dot:nth-child(3) { background: #10B981; }

.ai-dashboard-body {
    padding: var(--space-6);
    min-height: 350px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
}

.ai-dash-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: var(--space-4);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.ai-dash-card-title {
    font-size: var(--text-xs);
    color: var(--nxt-gray-400);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-3);
}

.ai-dash-stat {
    font-size: var(--text-2xl);
    font-weight: 800;
    color: var(--nxt-white);
}

.ai-dash-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    margin-top: var(--space-2);
    overflow: hidden;
}

.ai-dash-bar-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 1.5s ease;
}

.ai-dash-bar-fill.blue { background: var(--nxt-blue-500); }
.ai-dash-bar-fill.red { background: var(--nxt-red-500); }
.ai-dash-bar-fill.green { background: var(--nxt-success); }

/* ========================================
   CTA BANNER
   ======================================== */
.cta-banner {
    position: relative;
    padding: var(--space-16) 0;
    text-align: center;
    overflow: hidden;
}

.cta-banner-inner {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.cta-banner h2 {
    font-size: var(--text-4xl);
    margin-bottom: var(--space-4);
}

.cta-banner p {
    font-size: var(--text-lg);
    color: var(--nxt-gray-500);
    margin-bottom: var(--space-8);
}

.cta-banner-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-4);
    flex-wrap: wrap;
}

/* ========================================
   HOME RESPONSIVE (bp-lg: 1024, bp-md: 768, bp-sm: 480)
   ======================================== */
@media (max-width: 1024px) {
    .hero { min-height: auto; padding-top: 80px; padding-bottom: var(--space-8); }
    .hero h1 { font-size: var(--text-4xl); }
    .hero-stats { gap: var(--space-6); }
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-grid::before { display: none; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .ai-showcase-content { grid-template-columns: 1fr; }
    .ai-showcase-visual { order: -1; }
    .hero-float-card { display: none; }
}

@media (max-width: 768px) {
    .hero { min-height: auto; padding-top: 72px; padding-bottom: var(--space-6); }
    .hero h1 { font-size: var(--text-2xl); margin-bottom: var(--space-3); line-height: 1.2; }
    .hero-description { font-size: var(--text-sm); margin-bottom: var(--space-5); line-height: 1.65; }
    .hero-content {
        padding: var(--space-4) 0;
    }
    .hero-badge {
        font-size: var(--text-xs);
        padding: var(--space-1) var(--space-3);
        margin-bottom: var(--space-3);
    }
    .hero-stats { 
        flex-direction: column; 
        gap: var(--space-2);
        padding-top: var(--space-5);
    }
    .hero-stat {
        display: flex;
        align-items: center;
        gap: var(--space-3);
    }
    .hero-stat-number {
        font-size: var(--text-xl);
    }
    .hero-stat-label {
        font-size: var(--text-xs);
    }
    .hero-actions {
        flex-direction: column;
        margin-bottom: var(--space-4);
    }
    .hero-actions .btn {
        width: 100%;
        min-height: 44px;
    }
    .btn-lg {
        padding: var(--space-3) var(--space-5);
        font-size: var(--text-sm);
        border-radius: var(--radius-lg);
    }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .section { padding: var(--space-12) 0; }
    .section-title { font-size: var(--text-2xl); }
    .section-subtitle { font-size: var(--text-sm); margin-bottom: var(--space-8); }
    .cta-banner-actions .btn {
        min-height: 44px;
    }
}

@media (max-width: 480px) {
    .hero { padding-top: 64px; }
    .hero h1 { font-size: var(--text-xl); line-height: 1.25; }
    .hero-description { font-size: var(--text-xs); line-height: 1.6; }
    .hero-stats { gap: var(--space-1); }
    .stats-grid { grid-template-columns: 1fr; }
    .stat-number { font-size: var(--text-3xl); }
    .cta-banner h2 { font-size: var(--text-xl); }
}
