/* ============================================
   Hosting Hero V2 - Premium Design
   Profesyonel hero tasarımı
============================================ */

/* Typography */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* Hero Section */
.hosting-hero-v2 {
    background: linear-gradient(135deg, #0c4a6e 0%, #0e7490 50%, #0891b2 100%);
    background-image: 
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.03)" d="M0,192L48,197.3C96,203,192,213,288,229.3C384,245,480,267,576,250.7C672,235,768,181,864,181.3C960,181,1056,235,1152,234.7C1248,235,1344,181,1392,154.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>'),
        linear-gradient(135deg, #0c4a6e 0%, #0e7490 50%, #0891b2 100%);
    background-size: cover;
    background-position: center;
    padding: 70px 0 90px;
    position: relative;
    overflow: hidden;
    min-height: 500px;
}

/* Background Decoration */
.hosting-hero-v2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.02)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.02)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.03)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

/* Floating Decorative Elements */
.hosting-hero-v2::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(255,255,255,0.08) 0%, transparent 25%),
        radial-gradient(circle at 90% 80%, rgba(255,255,255,0.06) 0%, transparent 20%),
        radial-gradient(circle at 70% 10%, rgba(255,255,255,0.05) 0%, transparent 15%),
        radial-gradient(circle at 20% 90%, rgba(255,255,255,0.04) 0%, transparent 18%);
    animation: decorFloat 15s ease-in-out infinite;
}

@keyframes decorFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    25% {
        transform: translateY(-10px) rotate(1deg);
        opacity: 0.9;
    }
    50% {
        transform: translateY(-5px) rotate(-1deg);
        opacity: 1;
    }
    75% {
        transform: translateY(-15px) rotate(0.5deg);
        opacity: 0.95;
    }
}

/* Scattered Floating Particles */
.hero-cards-v2::before {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    top: 60px;
    right: 20px;
    animation: particleFloat1 8s ease-in-out infinite;
    box-shadow: 
        180px 200px 0 8px rgba(255,255,255,0.1),
        50px 320px 0 6px rgba(255,255,255,0.12),
        -30px 150px 0 4px rgba(255,255,255,0.08);
}

.hero-cards-v2::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: rgba(251, 191, 36, 0.3);
    border-radius: 50%;
    top: 200px;
    right: 250px;
    animation: particleFloat2 6s ease-in-out infinite;
    box-shadow: 
        120px -100px 0 6px rgba(251,191,36,0.2),
        -50px 150px 0 4px rgba(251,191,36,0.15),
        80px 80px 0 10px rgba(16,185,129,0.2);
}

@keyframes particleFloat1 {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.8;
    }
    25% {
        transform: translateY(-30px) scale(1.2);
        opacity: 1;
    }
    50% {
        transform: translateY(-15px) scale(0.9);
        opacity: 0.7;
    }
    75% {
        transform: translateY(-40px) scale(1.1);
        opacity: 0.9;
    }
}

@keyframes particleFloat2 {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.7;
    }
    33% {
        transform: translateY(-25px) rotate(90deg);
        opacity: 1;
    }
    66% {
        transform: translateY(-10px) rotate(180deg);
        opacity: 0.8;
    }
}

.hosting-hero-v2 .container {
    position: relative;
    z-index: 2;
}

/* Hero Grid */
.hero-grid-v2 {
    display: grid;
    grid-template-columns: 1fr 450px;
    gap: 40px;
    align-items: center;
}

/* Breadcrumb */
.hero-breadcrumb-v2 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.hero-breadcrumb-v2 a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s;
}

.hero-breadcrumb-v2 a:hover {
    color: #ffffff;
}

.hero-breadcrumb-v2 span {
    color: #fbbf24;
}

/* Hero Title */
.hero-title-v2 {
    font-size: 52px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 8px 0;
    line-height: 1.1;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.hero-title-v2 .title-highlight {
    font-style: italic;
    font-weight: 900;
}

.hero-title-v2 .title-normal {
    font-weight: 300;
    opacity: 0.95;
}

/* Title Underline */
.hero-title-underline {
    width: 100px;
    height: 5px;
    background: linear-gradient(90deg, #f59e0b 0%, #fbbf24 100%);
    border-radius: 3px;
    margin-bottom: 24px;
}

/* Hero Description */
.hero-desc-v2 {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 580px;
}

.hero-desc-v2 strong {
    color: #ffffff;
    font-weight: 700;
}

/* Hero Features Grid */
.hero-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 40px;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

.hero-feature-item svg {
    width: 18px;
    height: 18px;
    color: #fbbf24;
    flex-shrink: 0;
}

.hero-feature-item strong {
    color: #ffffff;
    font-weight: 700;
}

/* Hero Cards (Right Side) - Scattered Floating Design */
.hero-cards-v2 {
    position: relative;
    height: 400px;
    width: 100%;
    perspective: 1000px;
}

.hero-card {
    background: linear-gradient(135deg, #10b981 0%, #14b8a6 100%);
    border-radius: 16px;
    padding: 20px 24px;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 15px 40px rgba(16, 185, 129, 0.35);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: absolute;
    min-width: 220px;
    backdrop-filter: blur(5px);
}

/* Scattered Positions */
.hero-card:nth-child(1) {
    top: 10px;
    right: 60px;
    animation: floatCard1 6s ease-in-out infinite;
    transform: rotate(-3deg);
}

.hero-card:nth-child(2) {
    top: 140px;
    right: -10px;
    animation: floatCard2 5s ease-in-out infinite;
    transform: rotate(4deg);
}

.hero-card:nth-child(3) {
    top: 280px;
    right: 80px;
    animation: floatCard3 7s ease-in-out infinite;
    transform: rotate(-2deg);
}

/* Floating Animations */
@keyframes floatCard1 {
    0%, 100% {
        transform: rotate(-3deg) translateY(0) translateX(0);
    }
    25% {
        transform: rotate(-1deg) translateY(-15px) translateX(8px);
    }
    50% {
        transform: rotate(-4deg) translateY(-8px) translateX(-5px);
    }
    75% {
        transform: rotate(-2deg) translateY(-20px) translateX(3px);
    }
}

@keyframes floatCard2 {
    0%, 100% {
        transform: rotate(4deg) translateY(0) translateX(0);
    }
    33% {
        transform: rotate(2deg) translateY(-18px) translateX(-10px);
    }
    66% {
        transform: rotate(5deg) translateY(-10px) translateX(6px);
    }
}

@keyframes floatCard3 {
    0%, 100% {
        transform: rotate(-2deg) translateY(0) translateX(0);
    }
    20% {
        transform: rotate(0deg) translateY(-12px) translateX(10px);
    }
    40% {
        transform: rotate(-3deg) translateY(-22px) translateX(-5px);
    }
    60% {
        transform: rotate(-1deg) translateY(-8px) translateX(8px);
    }
    80% {
        transform: rotate(-4deg) translateY(-16px) translateX(-3px);
    }
}

.hero-card:hover {
    transform: rotate(0deg) translateY(-10px) scale(1.05) !important;
    box-shadow: 0 25px 50px rgba(16, 185, 129, 0.5);
    z-index: 10;
    animation-play-state: paused;
}

.hero-card-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.hero-card-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.15), transparent);
    transform: rotate(45deg);
    animation: iconShimmer 3s ease-in-out infinite;
}

@keyframes iconShimmer {
    0%, 100% {
        transform: rotate(45deg) translateX(-100%);
    }
    50% {
        transform: rotate(45deg) translateX(100%);
    }
}

.hero-card-icon svg {
    width: 26px;
    height: 26px;
    color: #ffffff;
    position: relative;
    z-index: 1;
    animation: iconPulse 2s ease-in-out infinite;
}

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

.hero-card-content h4 {
    font-size: 15px;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
}

.hero-card-content p {
    font-size: 12px;
    margin: 4px 0 0;
    opacity: 0.85;
}

/* Hero Card Colors */
.hero-card.card-yellow {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.3);
}

.hero-card.card-yellow:hover {
    box-shadow: 0 15px 40px rgba(245, 158, 11, 0.4);
}

.hero-card.card-cyan {
    background: linear-gradient(135deg, #06b6d4 0%, #22d3ee 100%);
    box-shadow: 0 10px 30px rgba(6, 182, 212, 0.3);
}

.hero-card.card-cyan:hover {
    box-shadow: 0 15px 40px rgba(6, 182, 212, 0.4);
}

/* ============================================
   Color Variations for Different Pages
============================================ */

/* WordPress Hosting - Blue */
.hosting-hero-v2.hero-wordpress {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #3b82f6 100%);
}

/* Reseller Hosting - Purple */
.hosting-hero-v2.hero-reseller {
    background: linear-gradient(135deg, #581c87 0%, #7c3aed 50%, #8b5cf6 100%);
}

/* Linux Hosting - Orange */
.hosting-hero-v2.hero-linux {
    background: linear-gradient(135deg, #9a3412 0%, #ea580c 50%, #f97316 100%);
}

/* VDS Server - Dark */
.hosting-hero-v2.hero-vds {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
}

/* ============================================
   Responsive Design
============================================ */
@media (max-width: 1200px) {
    .hero-card:nth-child(1) {
        top: 20px;
        right: 30px;
    }
    
    .hero-card:nth-child(2) {
        top: 150px;
        right: -20px;
    }
    
    .hero-card:nth-child(3) {
        top: 280px;
        right: 40px;
    }
}

@media (max-width: 1024px) {
    .hero-grid-v2 {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-cards-v2 {
        height: auto;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
        perspective: none;
    }
    
    .hero-card {
        position: relative;
        top: auto !important;
        right: auto !important;
        min-width: 200px;
        max-width: 280px;
        animation: floatCardMobile 4s ease-in-out infinite !important;
    }
    
    .hero-card:nth-child(1) {
        animation-delay: 0s !important;
        transform: rotate(-2deg);
    }
    
    .hero-card:nth-child(2) {
        animation-delay: 0.5s !important;
        transform: rotate(2deg);
    }
    
    .hero-card:nth-child(3) {
        animation-delay: 1s !important;
        transform: rotate(-1deg);
    }
    
    @keyframes floatCardMobile {
        0%, 100% {
            transform: translateY(0) rotate(0deg);
        }
        50% {
            transform: translateY(-10px) rotate(2deg);
        }
    }
    
    .hero-title-v2 {
        font-size: 42px;
    }
}

@media (max-width: 768px) {
    .hosting-hero-v2 {
        padding: 40px 0 60px;
        min-height: auto;
    }
    
    .hero-title-v2 {
        font-size: 32px;
    }
    
    .hero-desc-v2 {
        font-size: 15px;
    }
    
    .hero-features-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .hero-cards-v2 {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-card {
        max-width: 100%;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-title-v2 {
        font-size: 28px;
    }
    
    .hero-card {
        padding: 16px 20px;
    }
    
    .hero-card-icon {
        width: 44px;
        height: 44px;
    }
}

/* ============================================
   Animation
============================================ */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes cardAppear1 {
    0% {
        opacity: 0;
        transform: rotate(-3deg) translateY(50px) translateX(50px) scale(0.8);
    }
    60% {
        opacity: 1;
        transform: rotate(-5deg) translateY(-10px) translateX(-5px) scale(1.02);
    }
    100% {
        opacity: 1;
        transform: rotate(-3deg) translateY(0) translateX(0) scale(1);
    }
}

@keyframes cardAppear2 {
    0% {
        opacity: 0;
        transform: rotate(4deg) translateY(60px) translateX(-40px) scale(0.8);
    }
    60% {
        opacity: 1;
        transform: rotate(2deg) translateY(-15px) translateX(10px) scale(1.02);
    }
    100% {
        opacity: 1;
        transform: rotate(4deg) translateY(0) translateX(0) scale(1);
    }
}

@keyframes cardAppear3 {
    0% {
        opacity: 0;
        transform: rotate(-2deg) translateY(70px) translateX(30px) scale(0.8);
    }
    60% {
        opacity: 1;
        transform: rotate(0deg) translateY(-12px) translateX(-8px) scale(1.02);
    }
    100% {
        opacity: 1;
        transform: rotate(-2deg) translateY(0) translateX(0) scale(1);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content-v2 {
    animation: slideInLeft 0.6s ease forwards;
}

/* Card Entry Animations - then switch to float */
.hero-cards-v2 .hero-card:nth-child(1) {
    opacity: 0;
    animation: 
        cardAppear1 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s forwards,
        floatCard1 6s ease-in-out 1s infinite;
}

.hero-cards-v2 .hero-card:nth-child(2) {
    opacity: 0;
    animation: 
        cardAppear2 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.4s forwards,
        floatCard2 5s ease-in-out 1.2s infinite;
}

.hero-cards-v2 .hero-card:nth-child(3) {
    opacity: 0;
    animation: 
        cardAppear3 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.6s forwards,
        floatCard3 7s ease-in-out 1.4s infinite;
}

/* ============================================
   Color Schemes for Different Pages
============================================ */

/* Purple scheme for Licenses page */
.licenses-hero-v2 .hosting-hero-v2 {
    background: linear-gradient(135deg, #581c87 0%, #7c3aed 50%, #a78bfa 100%);
    background-image: 
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.03)" d="M0,192L48,197.3C96,203,192,213,288,229.3C384,245,480,267,576,250.7C672,235,768,181,864,181.3C960,181,1056,235,1152,234.7C1248,235,1344,181,1392,154.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>'),
        linear-gradient(135deg, #581c87 0%, #7c3aed 50%, #a78bfa 100%);
}

.licenses-hero-v2 .hero-badge-v2 {
    background: rgba(167, 139, 250, 0.2);
    border-color: rgba(167, 139, 250, 0.3);
}

.licenses-hero-v2 .discount-circle {
    background: linear-gradient(135deg, #7c3aed 0%, #a78bfa 100%);
}

/* Green scheme for SSL page */
.ssl-hero-v2 .hosting-hero-v2 {
    background: linear-gradient(135deg, #065f46 0%, #059669 50%, #10b981 100%);
    background-image: 
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.03)" d="M0,192L48,197.3C96,203,192,213,288,229.3C384,245,480,267,576,250.7C672,235,768,181,864,181.3C960,181,1056,235,1152,234.7C1248,235,1344,181,1392,154.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>'),
        linear-gradient(135deg, #065f46 0%, #059669 50%, #10b981 100%);
}

.ssl-hero-v2 .hero-badge-v2 {
    background: rgba(16, 185, 129, 0.2);
    border-color: rgba(16, 185, 129, 0.3);
}

.ssl-hero-v2 .discount-circle {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
}

