/* ==================================================
   HERO SECTION STYLES
   ================================================== */

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0583D2 0%, #0470b8 100%);
    color: white;
    padding: 90px 0 0px;
    position: relative;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-decoration {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
    transform: skewX(-15deg);
    transform-origin: top right;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    text-align: left;
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.2);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
}

.hero-badge i {
    color: #F59E42;
}

/* Hero Typography */
.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.1;
    animation: fadeInUp 0.8s ease-out;
}

.hero-highlight {
    background: linear-gradient(90deg, #E6F4FB, white);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* Hero Features */
.hero-features {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
}

.hero-feature i {
    color: #34D399;
    font-size: 1.2rem;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero .cta-button {
    font-size: 1.1rem;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.hero .cta-button.secondary {
    background: transparent !important;
    color: #ffffff !important;
    border: 3px solid #ffffff !important;
    opacity: 1 !important;
    font-weight: 800 !important;
    text-shadow: none !important;
}

.hero-cta-primary {
    background: white;
    color: #0583D2;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.hero-cta-primary:hover {
    background: transparent !important;
    color: #ffffff !important;
    border: 3px solid #ffffff !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.hero-cta-secondary {
    background: transparent;
    color: #ffffff !important;
    border: 3px solid #ffffff !important;
    font-weight: 700;
    opacity: 1 !important;
}

.hero-cta-secondary:hover {
    background: #ffffff !important;
    color: #0583D2 !important;
    transform: translateY(-3px);
    border-color: #ffffff !important;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    opacity: 1 !important;
}

/* Hero Social Proof */
.hero-social-proof {
    display: flex;
    gap: 3rem;
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

.social-proof-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    opacity: 0.9;
}

.social-proof-item i {
    color: #34D399;
    font-size: 1.1rem;
}

/* Hero Small Text */
.hero-small-text {
    margin-top: 0.75rem;
    text-align: center;
    animation: fadeInUp 0.8s ease-out 0.9s both;
}

.hero-small-text p {
    margin: 0;
    color: rgba(255,255,255,0.8);
    font-size: 0.85rem;
    font-style: italic;
}

/* Hero Dashboard */
.hero-visual {
    animation: fadeInRight 1s ease-out 0.4s both;
}

.hero-dashboard {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    overflow: hidden;
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.3s ease;
}

.hero-dashboard:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.dashboard-header {
    background: #23272C;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: white;
}

.dashboard-controls {
    display: flex;
    gap: 0.5rem;
}

.control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.control.red { background: #ff5f57; }
.control.yellow { background: #ffbd2e; }
.control.green { background: #28ca42; }

.dashboard-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
}

.dashboard-content {
    padding: 2rem;
    color: #23272C;
}

/* Migration Progress */
.migration-progress {
    margin-bottom: 2rem;
}

.progress-item {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.progress-item i {
    color: #0583D2;
    width: 20px;
    text-align: center;
}

.progress-bar {
    background: #E6F4FB;
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 2s ease-out;
    animation: progressFill 3s ease-out 1s both;
}

.contacts-progress {
    background: linear-gradient(90deg, #34D399, #22c55e);
    width: 100%;
}

.deals-progress {
    background: linear-gradient(90deg, #0583D2, #0470b8);
    width: 100%;
    animation-delay: 1.5s;
}

.workflows-progress {
    background: linear-gradient(90deg, #F59E42, #f97316);
    width: 100%;
    animation-delay: 2s;
}

.progress-percent {
    font-weight: 600;
    color: #34D399;
}

/* Dashboard Stats */
.dashboard-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    border-top: 1px solid #E6F4FB;
    padding-top: 1.5rem;
}

.stat {
    text-align: center;
    padding: 1rem;
    background: #F7F9FA;
    border-radius: 8px;
}

.stat i {
    color: #0583D2;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    display: block;
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #23272C;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.8rem;
    color: #7A8998;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Progress Animation */
@keyframes progressFill {
    from {
        width: 0%;
    }
    to {
        width: 100%;
    }
}

/* Hero Mobile Responsive */
@media (max-width: 1024px) {
    .hero {
        padding: 120px 0 80px;
        min-height: 80vh;
    }
    
    .hero .container {
        gap: 3rem;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 20px 0 60px;
        min-height: auto;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-content {
        text-align: center;
        order: 1;
    }
    
    .hero-visual {
        order: 2;
    }

    .hero h1 {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }

    .hero-features {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
        margin-bottom: 2rem;
    }
    
    .hero-feature {
        font-size: 0.95rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    .hero .cta-button {
        width: 100%;
        max-width: 280px;
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }

    .hero-social-proof {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .social-proof-item {
        font-size: 0.9rem;
    }

    .hero-dashboard {
        transform: none;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .dashboard-content {
        padding: 1.5rem;
    }
    
    .progress-item {
        font-size: 0.85rem;
        gap: 0.5rem;
    }
    
    .dashboard-stats {
        gap: 0.5rem;
    }
    
    .stat {
        padding: 0.75rem;
    }
    
    .stat-number {
        font-size: 1.2rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 80px 0 40px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        padding: 0 0.5rem;
    }
    
    .hero-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .hero-features {
        margin-bottom: 1.5rem;
    }
    
    .hero-feature {
        font-size: 0.9rem;
    }
    
    .hero-feature i {
        font-size: 1rem;
    }
    
    .hero .cta-button {
        max-width: 240px;
        padding: 0.9rem 1.2rem;
        font-size: 0.95rem;
    }
    
    .social-proof-item {
        font-size: 0.85rem;
    }
    
    .hero-small-text p {
        font-size: 0.8rem;
    }
    
    .dashboard-header {
        padding: 0.75rem 1rem;
    }
    
    .dashboard-title {
        font-size: 0.8rem;
    }
    
    .dashboard-content {
        padding: 1rem;
    }
    
    .progress-item {
        font-size: 0.8rem;
        margin-bottom: 0.75rem;
    }
    
    .stat {
        padding: 0.5rem;
    }
    
    .stat i {
        font-size: 1.2rem;
    }
    
    .stat-number {
        font-size: 1rem;
    }
}