/**
 * Enhanced Design Styles
 * Improved typography, visual effects, and distinctive design elements
 * 
 * @package RogerLe
 * @since 1.0.0
 */

/* ========================================
   TYPOGRAPHY IMPROVEMENTS
   ======================================== */

/* Google Fonts @import removed — fonts are self-hosted in /wp-content/fonts/ */

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    letter-spacing: -0.02em;
}

/* Responsive typography */
.section-head h2 {
    font-size: clamp(2rem, 5vw, 3rem);
}

.slide-content h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.1;
}

/* ========================================
   BACKGROUND ENHANCEMENTS
   ======================================== */

/* Animated gradient background for hero */
.swiper {
    position: relative;
}

.swiper::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(230, 126, 34, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(211, 84, 0, 0.1) 0%, transparent 50%);
    animation: gradient-shift 20s ease infinite;
    z-index: 1;
    pointer-events: none;
}

@keyframes gradient-shift {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.05); }
}

/* Geometric pattern overlay */
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 2px, var(--border) 2px, var(--border) 3px),
        repeating-linear-gradient(90deg, transparent, transparent 2px, var(--border) 2px, var(--border) 3px);
    background-size: 80px 80px;
    opacity: 0.03;
    z-index: 0;
    pointer-events: none;
}

/* ========================================
   ENHANCED CARD STYLES
   ======================================== */

.card {
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* DISABLED - Causing beige overlay on hover
.card::before {
    content: '';
    position: absolute;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    background: linear-gradient(135deg, var(--brand-orange), var(--brand-dark-orange));
    border-radius: 16px;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}
*/

.card:hover {
    transform: translateY(-12px) rotate(-1deg);
    box-shadow: 0 20px 60px rgba(230, 126, 34, 0.25);
}

.card.popular {
    box-shadow: 0 8px 40px rgba(230, 126, 34, 0.3);
}

/* ========================================
   BUTTON ENHANCEMENTS
   ======================================== */

.btn {
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    box-shadow: 0 4px 20px rgba(230, 126, 34, 0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: -100%; right: 100%;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: all 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    box-shadow: 0 8px 30px rgba(230, 126, 34, 0.5);
}

/* ========================================
   FEATURE BOX IMPROVEMENTS
   ======================================== */

.feature-box {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.feature-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at center, var(--brand-orange) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-box:hover::before {
    opacity: 0.05;
}

.feature-box:hover {
    transform: translateY(-8px);
}

.feature-box i {
    transition: all 0.4s ease;
    filter: drop-shadow(0 4px 8px rgba(230, 126, 34, 0.3));
}

.feature-box:hover i {
    transform: scale(1.15) rotate(5deg);
    filter: drop-shadow(0 8px 16px rgba(230, 126, 34, 0.5));
}

/* ========================================
   SECTION BACKGROUNDS
   ======================================== */

.section-soft {
    position: relative;
}

.section-soft::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: 
        radial-gradient(circle at 10% 20%, rgba(230, 126, 34, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(230, 126, 34, 0.05) 0%, transparent 40%);
    pointer-events: none;
}

.section-vps,
.section-dedicated {
    position: relative;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(230, 126, 34, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(211, 84, 0, 0.08) 0%, transparent 50%);
}

/* ========================================
   PRICE DISPLAY ENHANCEMENT
   ======================================== */

.price {
    background: linear-gradient(135deg, var(--brand-orange) 0%, var(--brand-dark-orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 8px rgba(230, 126, 34, 0.3));
}

/* ========================================
   TESTIMONIAL CARDS
   ======================================== */

.testimonial-box {
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--brand-orange);
}

.stars i {
    transition: transform 0.2s ease;
    display: inline-block;
}

.testimonial-box:hover .stars i {
    animation: star-bounce 0.6s ease;
}

.testimonial-box:hover .stars i:nth-child(1) { animation-delay: 0s; }
.testimonial-box:hover .stars i:nth-child(2) { animation-delay: 0.1s; }
.testimonial-box:hover .stars i:nth-child(3) { animation-delay: 0.2s; }
.testimonial-box:hover .stars i:nth-child(4) { animation-delay: 0.3s; }
.testimonial-box:hover .stars i:nth-child(5) { animation-delay: 0.4s; }

@keyframes star-bounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* ========================================
   FAQ ENHANCEMENTS
   ======================================== */

.faq-question {
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: var(--bg-soft-orange);
    padding-left: 30px;
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question {
    color: var(--brand-orange);
}

/* ========================================
   DOMAIN SEARCH ENHANCEMENT
   ======================================== */

.domain-wrapper input {
    transition: all 0.3s ease;
}

.domain-wrapper input:focus {
    transform: scale(1.02);
    box-shadow: 0 0 0 4px rgba(230, 126, 34, 0.1);
}

.domain-wrapper button {
    position: relative;
    overflow: hidden;
}

.domain-wrapper button::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 0; height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.domain-wrapper button:hover::before {
    width: 300px;
    height: 300px;
}

/* ========================================
   POWERED BY LOGOS
   ======================================== */

.powered-track img {
    transition: all 0.3s ease;
}

.powered-track img:hover {
    transform: scale(1.1) translateY(-5px);
}

/* ========================================
   HEADER ENHANCEMENTS
   ======================================== */

header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* ========================================
   BADGE IMPROVEMENTS
   ======================================== */

.badge {
    box-shadow: 0 4px 12px rgba(230, 126, 34, 0.4);
    animation: badge-pulse 2s infinite;
}

@keyframes badge-pulse {
    0%, 100% { transform: translateX(-50%) scale(1); }
    50% { transform: translateX(-50%) scale(1.05); }
}

/* ========================================
   RESPONSIVE IMPROVEMENTS
   ======================================== */

@media (max-width: 768px) {
    .card:hover {
        transform: translateY(-8px);
    }
    
    .feature-box:hover {
        transform: translateY(-4px);
    }
}
