/* Premium Landing Styles for İnşaatGo */

/* Hero Slider */
.hero-slider {
    position: relative;
    width: 100%;
    min-height: 80vh;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
    display: flex;
    align-items: center;
}

.hero-slides-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s;
    z-index: 1;
    display: flex;
    align-items: center;
    padding: 80px 0;
}

.hero-slide.active {
    position: relative;
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* Slider Controls */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #cbd5e1;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.slider-dot.active {
    background-color: #2563eb;
    transform: scale(1.2);
    width: 28px;
    border-radius: 6px;
}

/* Slide Content Animations */
.hero-slide .animate-text {
    transform: translateY(30px);
    opacity: 0;
    transition: transform 0.6s ease-out 0.2s, opacity 0.6s ease-out 0.2s;
}

.hero-slide .animate-visual {
    transform: scale(0.95) rotateY(-5deg) rotateX(5deg);
    opacity: 0;
    transition: transform 0.8s ease-out 0.4s, opacity 0.8s ease-out 0.4s;
    perspective: 1000px;
}

.hero-slide.active .animate-text {
    transform: translateY(0);
    opacity: 1;
}

.hero-slide.active .animate-visual {
    transform: scale(1) rotateY(0) rotateX(0);
    opacity: 1;
}

/* Dashboard Mockups & Cards */
.dashboard-mockup {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(226, 232, 240, 0.8);
    overflow: hidden;
    transition: all 0.3s ease;
}

.dashboard-mockup:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.12);
}

.mockup-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 16px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    transition: all 0.25s ease;
}

.mockup-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

/* Modules Section Visual Cards */
.module-visual-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    border: 1px solid rgba(226, 232, 240, 0.6);
    box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.02);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.module-visual-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #2563eb;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.module-visual-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 25px -5px rgba(15, 23, 42, 0.06), 0 10px 10px -5px rgba(15, 23, 42, 0.04);
    border-color: rgba(37, 99, 235, 0.15);
}

.module-visual-card:hover::before {
    opacity: 1;
}

.module-visual-card .icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background-color: #eff6ff;
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.module-visual-card:hover .icon-wrapper {
    background-color: #2563eb;
    color: #ffffff;
    transform: scale(1.1);
}

/* Role Dashboard Tabs & Pills */
.role-dashboard-tabs .nav-link {
    border-radius: 12px !important;
    font-weight: 600;
    color: #475569 !important;
    transition: all 0.25s ease;
}

.role-dashboard-tabs .nav-link.active {
    background-color: #2563eb !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.role-dashboard-tabs .nav-link:hover:not(.active) {
    background-color: #f1f5f9 !important;
    color: #0f172a !important;
}

/* Deployment visual card */
.deployment-visual-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.deployment-visual-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.08);
    border-color: rgba(37, 99, 235, 0.2);
}

/* Security Orbit & Shield Diagram */
.security-orbit {
    position: relative;
    width: 100%;
    max-width: 400px;
    height: 400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.security-shield-center {
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, #3b82f6 0%, #1d4ed8 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 3rem;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
    z-index: 5;
    animation: pulseShield 3s infinite ease-in-out;
}

.security-ring {
    position: absolute;
    border: 2px dashed rgba(37, 99, 235, 0.2);
    border-radius: 50%;
    animation: rotateRing 30s infinite linear;
}

.security-ring-1 {
    width: 240px;
    height: 240px;
}

.security-ring-2 {
    width: 360px;
    height: 360px;
    animation-duration: 45s;
    animation-direction: reverse;
}

.security-node {
    position: absolute;
    width: 44px;
    height: 44px;
    background: #ffffff;
    border: 2px solid #2563eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2563eb;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* Positions for nodes on rings */
.node-1 { top: -22px; left: 50%; transform: translateX(-50%); }
.node-2 { bottom: -22px; left: 50%; transform: translateX(-50%); }
.node-3 { left: -22px; top: 50%; transform: translateY(-50%); }
.node-4 { right: -22px; top: 50%; transform: translateY(-50%); }

@keyframes rotateRing {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes pulseShield {
    0%, 100% { transform: scale(1); box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3); }
    50% { transform: scale(1.05); box-shadow: 0 15px 35px rgba(37, 99, 235, 0.5); }
}

/* Landing CTA Visual */
.landing-cta-visual {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%) !important;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
}

.landing-cta-visual::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

/* Responsive Scaling */
@media (max-width: 991.98px) {
    .hero-slider {
        min-height: auto;
    }
    .hero-slide {
        position: relative;
        opacity: 1;
        visibility: visible;
        display: block;
        padding: 50px 0;
    }
    .slider-dots {
        display: none;
    }
    .hero-slide .animate-visual {
        transform: scale(1) rotateY(0) rotateX(0);
        opacity: 1;
        margin-top: 30px;
    }
    .hero-slide .animate-text {
        transform: translateY(0);
        opacity: 1;
    }
}
