/* premium-why-choose-us.css */

/* Core Variables & Dark Theme */
:root {
    --navy-dark-bg: #071A33;
    --navy-light-bg: #0D2F59;
    --luxury-gold: #D4AF37;
    --glowing-blue: #00F2FE;
    --light-blue-glow: rgba(0, 242, 254, 0.15);
    --dark-glass-bg: rgba(7, 26, 51, 0.65);
    --border-glass: rgba(0, 242, 254, 0.15);
    --border-glass-hover: rgba(212, 175, 55, 0.6);
}

.advantages-section {
    position: relative;
    width: 100%;
    background: linear-gradient(135deg, var(--navy-dark-bg) 0%, var(--navy-light-bg) 100%);
    padding: 80px 0;
    border-radius: 32px;
    margin: 40px auto;
    max-width: calc(100% - 48px);
    overflow: hidden;
    color: var(--white, #FFFFFF);
    font-family: 'Inter', sans-serif;
    box-shadow: 0 30px 60px rgba(7, 26, 51, 0.3);
    box-sizing: border-box;
}

/* Background effects */
.advantages-ambient-glow-1 {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 50%;
    height: 50%;
    background: radial-gradient(circle, rgba(30, 94, 255, 0.25) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: 1;
    pointer-events: none;
}

.advantages-ambient-glow-2 {
    position: absolute;
    bottom: -10%;
    right: -10%;
    width: 50%;
    height: 50%;
    background: radial-gradient(circle, rgba(0, 242, 254, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: 1;
    pointer-events: none;
}

.advantages-dot-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 24px 24px;
    z-index: 2;
    pointer-events: none;
}

.advantages-container {
    position: relative;
    z-index: 3;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

/* Main Grid Layout */
.advantages-grid {
    display: grid;
    grid-template-columns: 55fr 45fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 40px;
}

/* LEFT COLUMN: Headings, Badge, Cards */
.advantages-left-col {
    display: flex;
    flex-direction: column;
}

.advantages-badge-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.advantages-badge-line {
    width: 24px;
    height: 2px;
    background-color: var(--luxury-gold);
}

.advantages-badge-text {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--luxury-gold);
}

.advantages-main-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 52px;
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 20px 0;
    letter-spacing: -1px;
}

/* Animated Gold Gradient Text */
.gold-gradient-text-animated {
    background: linear-gradient(135deg, #FFE896 0%, #D4AF37 50%, #AA820A 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: goldShine 6s linear infinite;
}

@keyframes goldShine {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.advantages-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 0 40px 0;
}

/* 2x2 Glass Cards Grid */
.advantage-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* Glass Card Styling */
.advantage-glass-card {
    position: relative;
    background: var(--dark-glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    padding: 30px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    height: 230px;
    justify-content: space-between;
    overflow: hidden;
    cursor: pointer;
    transition: transform 300ms cubic-bezier(0.25, 0.8, 0.25, 1),
                box-shadow 300ms cubic-bezier(0.25, 0.8, 0.25, 1),
                border-color 300ms cubic-bezier(0.25, 0.8, 0.25, 1),
                background-color 300ms ease;
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--light-blue-glow) 0%, rgba(0,0,0,0) 50%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 300ms ease;
    z-index: 1;
}

.advantage-icon-row {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
}

.advantage-icon-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background-color: rgba(0, 242, 254, 0.1);
    color: var(--glowing-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 300ms cubic-bezier(0.25, 0.8, 0.25, 1);
}

.adv-svg-icon {
    width: 24px;
    height: 24px;
}

.advantage-card-title {
    position: relative;
    z-index: 2;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: var(--white);
    margin: 14px 0 6px 0;
}

.advantage-card-desc {
    position: relative;
    z-index: 2;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
    margin: 0;
    margin-bottom: auto;
}

.advantage-card-arrow {
    position: relative;
    z-index: 2;
    align-self: flex-start;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--luxury-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 300ms cubic-bezier(0.25, 0.8, 0.25, 1),
                background-color 300ms ease,
                color 300ms ease,
                border-color 300ms ease;
}

.arrow-svg {
    width: 14px;
    height: 14px;
}

/* Card Hover Animations */
.advantage-glass-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 242, 254, 0.15);
    border-color: var(--border-glass-hover);
    background-color: rgba(7, 26, 51, 0.85);
}

.advantage-glass-card:hover .card-glow {
    opacity: 1;
}

.advantage-glass-card:hover .advantage-icon-wrapper {
    transform: scale(1.1);
}

.advantage-glass-card:hover .advantage-card-arrow {
    transform: rotate(-45deg);
    background-color: var(--luxury-gold);
    color: var(--white);
    border-color: var(--luxury-gold);
}

/* RIGHT COLUMN: Visual Composition & Floating Badges */
.advantages-right-col {
    position: relative;
}

.advantages-diagonal-line {
    position: absolute;
    left: -40px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, rgba(212, 175, 55, 0) 0%, var(--luxury-gold) 50%, rgba(212, 175, 55, 0) 100%);
    z-index: 10;
    transform: rotate(15deg);
    pointer-events: none;
}

.composition-container {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.composition-gradient-bg {
    position: absolute;
    width: 80%;
    height: 80%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(30, 94, 255, 0.3) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: 1;
    pointer-events: none;
}

.composition-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    position: relative;
    z-index: 2;
    border-radius: 24px;
}

/* Floating Badges styles */
.floating-badge {
    position: absolute;
    background: rgba(7, 26, 51, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 242, 254, 0.25);
    border-radius: 16px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

.badge-icon-box {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background-color: rgba(212, 175, 55, 0.15);
    color: var(--luxury-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.badge-svg {
    width: 18px;
    height: 18px;
}

.badge-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.badge-title {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: var(--white);
}

.badge-sub {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.badge-stars {
    font-size: 8px;
    letter-spacing: 1px;
    margin-top: 2px;
}

.badge-exp-number {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 18px;
    font-weight: 800;
    color: var(--luxury-gold);
}

/* Positions of Floating Badges */
.badge-quality {
    top: 15%;
    left: -10px;
    border-color: var(--luxury-gold);
}

.badge-warranty {
    bottom: 20%;
    left: -30px;
}

.badge-experience {
    top: 50%;
    right: -10px;
}

/* BOTTOM STATS BAR */
.advantages-stats-bar {
    background: var(--dark-glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    margin-top: 30px;
}

.stats-bar-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
}

.stat-bar-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0 24px;
    position: relative;
}

/* Thin glowing divider between stats */
.stat-bar-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 15%;
    height: 70%;
    width: 1px;
    background: linear-gradient(180deg, rgba(0, 242, 254, 0) 0%, var(--border-glass) 50%, rgba(0, 242, 254, 0) 100%);
}

.stat-bar-item:first-child { padding-left: 0; }
.stat-bar-item:last-child { padding-right: 0; }

.stat-item-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background-color: rgba(0, 242, 254, 0.08);
    color: var(--glowing-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-item-icon svg {
    width: 20px;
    height: 20px;
}

.stat-item-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.stat-item-number {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 26px;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
}

.stat-item-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.3;
}

/* Responsive Rules */

/* Tablet Layout */
@media (max-width: 1024px) {
    .advantages-section {
        padding: 80px 0;
        margin: 30px auto;
        max-width: calc(100% - 32px);
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .advantages-right-col {
        margin: 0 auto;
        max-width: 550px;
    }
    
    .advantages-diagonal-line {
        display: none;
    }
    
    .stats-bar-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .stat-bar-item { padding: 0; }
    
    .stat-bar-item::after {
        display: none !important;
    }
}

/* Mobile Layout */
@media (max-width: 768px) {
    .advantages-section {
        padding: 60px 0;
    }
    
    .advantages-main-title {
        font-size: 38px;
    }
    
    .advantage-cards-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-bar-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .floating-badge {
        padding: 8px 12px;
        border-radius: 12px;
    }
    
    .badge-quality { top: 5%; left: 0px; }
    .badge-warranty { bottom: 5%; left: -10px; }
    .badge-experience { top: 45%; right: 0px; }
}

@media (max-width: 480px) {
    .stats-bar-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .stat-bar-item {
        padding: 8px 0;
    }
}
