/* =========================
   MODERN HERO SECTION
   ========================= */
.hero-modern {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-gradient-mesh {
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(44, 134, 249, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(96, 165, 250, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(147, 197, 253, 0.1) 0%, transparent 50%);
    animation: meshAnimation 20s ease infinite;
}

@keyframes meshAnimation {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(-20px, -20px) rotate(1deg); }
    66% { transform: translate(20px, -10px) rotate(-1deg); }
}

.hero-floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
}

.floating-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.6;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%);
    top: -100px;
    right: -100px;
    animation: floatOrb 25s ease-in-out infinite;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #2c86f9 0%, #60a5fa 50%);
    bottom: -50px;
    left: -50px;
    animation: floatOrb 20s ease-in-out infinite reverse;
}

.orb-3 {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, #f472b6 0%, #fbbf24 50%);
    top: 50%;
    left: 30%;
    animation: floatOrb 30s ease-in-out infinite 5s;
}

@keyframes floatOrb {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -30px) scale(1.05); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(-30px, -10px) scale(1.02); }
}

.hero-grid-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(44, 134, 249, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(44, 134, 249, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 40s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.hero-wrapper {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content-modern {
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(44, 134, 249, 0.2);
    border-radius: 50px;
    padding: 8px 20px;
    margin-bottom: 24px;
    animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { transform: translateY(0); box-shadow: 0 4px 20px rgba(44, 134, 249, 0.1); }
    50% { transform: translateY(-2px); box-shadow: 0 6px 30px rgba(44, 134, 249, 0.2); }
}

.badge-icon {
    font-size: 20px;
}

.badge-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--pp-gray-700);
    letter-spacing: 0.5px;
}

.hero-title-modern {
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.title-line {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--pp-gray-700);
    line-height: 1.1;
}

.title-gradient {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    background: linear-gradient(135deg, #2c86f9 0%, #667eea 50%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    animation: gradientShift 8s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { filter: hue-rotate(0deg); }
    50% { filter: hue-rotate(20deg); }
}

.title-highlight {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    color: var(--pp-gray-600);
    position: relative;
    display: inline-block;
}

.title-highlight::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #2c86f9, #60a5fa);
    border-radius: 2px;
    animation: underlineGrow 2s ease-out;
}

@keyframes underlineGrow {
    0% { width: 0; }
    100% { width: 100%; }
}

.hero-subtitle-modern {
    font-size: 18px;
    line-height: 1.7;
    color: var(--pp-gray-600);
    margin-bottom: 32px;
}

.location-highlight {
    font-weight: 600;
    color: var(--pp-primary);
    position: relative;
    white-space: nowrap;
}

.hero-stats-modern {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card-modern {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(44, 134, 249, 0.1);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.stat-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #2c86f9, transparent);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.stat-card-modern:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(44, 134, 249, 0.15);
    border-color: rgba(44, 134, 249, 0.3);
}

.stat-icon-wrapper {
    position: relative;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(44, 134, 249, 0.1), rgba(96, 165, 250, 0.05));
    border-radius: 12px;
    animation: iconPulse 3s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.stat-icon {
    font-size: 24px;
    color: var(--pp-primary);
    z-index: 1;
}

.google-partner-icon {
    width: 40px;
    height: auto;
    z-index: 1;
}

.stat-content {
    flex: 1;
}

.stat-value {
    font-size: 20px;
    font-weight: 800;
    color: var(--pp-gray-900);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 13px;
    color: var(--pp-gray-600);
    line-height: 1.2;
}

.hero-cta-modern {
    display: flex;
    gap: 20px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.cta-primary-modern {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    background: linear-gradient(135deg, #2c86f9 0%, #1e6ee8 100%);
    color: white;
    padding: 20px 32px;
    border-radius: 60px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(44, 134, 249, 0.3);
}

.cta-primary-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(44, 134, 249, 0.4);
}

.cta-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cta-main {
    font-size: 18px;
    font-weight: 700;
}

.cta-sub {
    font-size: 13px;
    opacity: 0.9;
}

.cta-arrow {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.cta-primary-modern:hover .cta-arrow {
    transform: translateX(4px);
    background: rgba(255, 255, 255, 0.3);
}

.cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cta-primary-modern:hover .cta-glow {
    opacity: 1;
}

.cta-secondary-modern {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(44, 134, 249, 0.2);
    color: var(--pp-gray-800);
    padding: 20px 28px;
    border-radius: 60px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.cta-secondary-modern:hover {
    background: white;
    border-color: var(--pp-primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(44, 134, 249, 0.15);
}

.cta-icon-pulse {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(44, 134, 249, 0.1), rgba(96, 165, 250, 0.05));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.cta-icon-pulse::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--pp-primary);
    animation: phonePulse 2s ease-in-out infinite;
}

@keyframes phonePulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0; }
}

.cta-icon-pulse i {
    color: var(--pp-primary);
    font-size: 18px;
}

.cta-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cta-label {
    font-size: 13px;
    color: var(--pp-gray-600);
}

.cta-number {
    font-size: 18px;
    font-weight: 700;
    color: var(--pp-gray-900);
}

.trust-badges-modern {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--pp-gray-600);
    font-size: 14px;
    font-weight: 500;
}

.trust-item i {
    color: #fbbf24;
    font-size: 16px;
}

.trust-divider {
    width: 1px;
    height: 20px;
    background: var(--pp-gray-300);
}

.hero-visual-modern {
    position: relative;
}

.visual-container {
    position: relative;
}

.visual-frame {
    position: relative;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.visual-frame::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #2c86f9, #667eea, #764ba2, #2c86f9);
    border-radius: 24px;
    z-index: -1;
    animation: borderRotate 8s linear infinite;
    opacity: 0.3;
}

@keyframes borderRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hero-dashboard-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    position: relative;
    z-index: 1;
}

.visual-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 60%, rgba(44, 134, 249, 0.05) 100%);
    border-radius: 12px;
    pointer-events: none;
}

.floating-metric {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(44, 134, 249, 0.15);
    border-radius: 16px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    animation: floatMetric 3s ease-in-out infinite;
}

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

.metric-1 {
    top: 20px;
    right: -40px;
    animation-delay: 0s;
}

.metric-2 {
    bottom: 100px;
    left: -40px;
    animation-delay: 1s;
}

.metric-3 {
    bottom: 20px;
    right: 40px;
    animation-delay: 2s;
}

.metric-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(44, 134, 249, 0.1), rgba(96, 165, 250, 0.05));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.metric-icon i {
    color: var(--pp-primary);
    font-size: 18px;
}

.metric-value {
    font-size: 24px;
    font-weight: 800;
    color: var(--pp-gray-900);
    line-height: 1;
}

.metric-label {
    font-size: 12px;
    color: var(--pp-gray-600);
    line-height: 1;
}

.visual-decoration {
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    z-index: -1;
}

.decoration-blob {
    width: 100%;
    height: 100%;
    animation: blobRotate 20s linear infinite;
}

@keyframes blobRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Counter Animation */
.counter {
    display: inline-block;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content-modern {
        max-width: 100%;
        margin-bottom: 40px;
    }

    .hero-stats-modern {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto 40px;
    }

    .hero-cta-modern {
        justify-content: center;
    }

    .trust-badges-modern {
        justify-content: center;
    }

    .floating-metric {
        display: none;
    }

    .visual-decoration {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-modern {
        padding: 100px 0 60px;
    }

    .title-gradient {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .hero-cta-modern {
        flex-direction: column;
        align-items: stretch;
    }

    .cta-primary-modern,
    .cta-secondary-modern {
        width: 100%;
        justify-content: center;
    }

    .trust-badges-modern {
        gap: 16px;
    }

    .trust-divider {
        display: none;
    }

    .trust-item {
        width: 100%;
        justify-content: center;
    }
}

/* Animation on scroll (AOS) fallback */
[data-aos] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animate,
.hero-modern [data-aos] {
    opacity: 1;
    transform: translateY(0);
}

[data-aos-delay="100"] {
    transition-delay: 0.1s;
}

[data-aos-delay="200"] {
    transition-delay: 0.2s;
}

[data-aos-delay="300"] {
    transition-delay: 0.3s;
}

[data-aos-delay="400"] {
    transition-delay: 0.4s;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .hero-gradient-mesh,
    .floating-orb,
    .hero-grid-overlay,
    .hero-badge,
    .title-gradient,
    .stat-card-modern::before,
    .stat-icon-bg,
    .cta-icon-pulse::before,
    .visual-frame::before,
    .floating-metric,
    .decoration-blob {
        animation: none !important;
    }

    [data-aos] {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

