/* ========================================
   KORTEX & PRODEX - HOMEPAGE STYLES
   ======================================== */

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

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(26, 54, 93, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(45, 70, 99, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(66, 153, 225, 0.1) 0%, transparent 50%);
    animation: gradientShift 40s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.05);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 2.5rem;
    background: var(--glass-white);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 35px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.hero-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(26, 54, 93, 0.4), transparent);
    border-radius: 35px 35px 0 0;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.hero-image {
    position: relative;
    padding: 1rem;
    margin-bottom: 2rem;
}

.hero-image img {
    border-radius: 25px;
    transition: var(--transition-slow);
    width: 100%;
    height: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.hero-image:hover img {
    transform: translateY(-5px);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.15);
}

.glass-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 25px;
    pointer-events: none;
}

/* Modern Hero Layout */
.hero-modern {
    padding: 3rem 0 2rem 0;
    min-height: auto;
    padding-top: 120px;
}

.hero-card {
    background: var(--glass-white);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 35px;
    padding: 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: var(--transition);
}

.hero-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
}

.hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(26, 54, 93, 0.4), transparent);
    border-radius: 35px 35px 0 0;
    z-index: 1;
}

.hero-text-section {
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 400px;
}

.hero-image-section {
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
}

.hero-image-section img {
    border-radius: 20px;
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.hero-image-section img:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

/* Hero Statistics Cards */
.hero-stats {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-stat-card {
    flex: 1;
    min-width: 120px;
    background: rgba(255, 255, 255, 0.2);
    padding: 1rem;
    border-radius: 20px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition);
}

.hero-stat-card:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.hero-stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--kortex-primary);
    margin-bottom: 0.25rem;
}

.hero-stat-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ========== SCROLL INDICATOR ========== */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-down {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.5rem;
    text-decoration: none;
    animation: bounce 2s infinite;
    transition: var(--transition);
    padding: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.scroll-down:hover {
    color: var(--kortex-primary);
    transform: translateY(-5px);
    background: rgba(26, 54, 93, 0.2);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* ========== FEATURE CARDS ========== */
.feature-card {
    background: var(--glass-white);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 35px;
    padding: 2.5rem 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(26, 54, 93, 0.4), transparent);
    border-radius: 35px 35px 0 0;
}

.feature-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 15px 60px rgba(26, 54, 93, 0.15);
    background: rgba(255, 255, 255, 0.9);
}

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: #ffffff !important;
    position: relative;
    overflow: hidden;
    z-index: 1;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.feature-icon i {
    color: #ffffff !important;
    z-index: 2;
    position: relative;
}

.feature-card:hover .feature-icon i {
    color: #ffffff !important;
}

.feature-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    border-radius: inherit;
    opacity: 0.8;
    transform: scale(1);
    transition: var(--transition);
}

.feature-card:hover .feature-icon::before {
    transform: scale(1.1);
    opacity: 1;
}

.kortex-gradient {
    background: var(--kortex-gradient);
}

.prodex-gradient {
    background: var(--prodex-gradient);
}

.integration-gradient {
    background: var(--integration-gradient);
}

.feature-card h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    font-weight: 600;
}

.feature-card p {
    color: var(--text-secondary);
    position: relative;
    z-index: 1;
    line-height: 1.6;
}

/* ========== CTA SECTION ========== */
.cta-section {
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
}

.cta-section h2 {
    color: var(--text-light);
    background: var(--kortex-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-section .lead {
    color: #2c3e50 !important;
    opacity: 0.8;
}
