/* ===================================
   Why Us Page - Compelling Visual Styles
   =================================== */

/* ===================================
   Hero Section
   =================================== */
.why-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(80px + var(--space-4xl)) 0 var(--space-4xl);
    overflow: hidden;
    background: var(--color-primary);
}

.why-hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

/* Image-based hero styles */
.why-hero-image .why-hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.why-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 46, 84, 0.92) 0%,
        rgba(0, 46, 84, 0.85) 50%,
        rgba(0, 46, 84, 0.88) 100%
    );
}

/* Legacy gradient orbs (kept for fallback) */
.hero-gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: float 20s ease-in-out infinite;
}

.hero-orb-1 {
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, var(--color-accent) 0%, rgba(1, 138, 253, 0.3) 100%);
    top: -200px;
    right: -150px;
    animation-delay: 0s;
}

.hero-orb-2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, rgba(192, 0, 0, 0.4) 0%, rgba(192, 0, 0, 0.1) 100%);
    bottom: -100px;
    left: -100px;
    animation-delay: -7s;
}

.hero-orb-3 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(1, 138, 253, 0.3) 0%, rgba(1, 138, 253, 0.1) 100%);
    top: 40%;
    left: 30%;
    animation-delay: -14s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.05);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.95);
    }
}

.hero-grid-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.5;
}

.why-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-eyebrow {
    display: inline-block;
    padding: var(--space-sm) var(--space-lg);
    background: rgba(1, 138, 253, 0.15);
    border: 1px solid rgba(1, 138, 253, 0.3);
    color: var(--color-accent-light);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-xl);
    animation: fadeSlideDown 0.6s ease forwards;
}

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

.why-hero-title {
    font-size: clamp(2.5rem, 6vw + 1rem, 4.5rem);
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.1;
    margin-bottom: var(--space-xl);
    animation: fadeSlideUp 0.6s ease 0.1s forwards;
    opacity: 0;
}

.title-gradient {
    background: linear-gradient(135deg, var(--color-accent) 0%, #33a1fd 50%, var(--color-accent-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.why-hero-description {
    font-size: 1.25rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: var(--space-2xl);
    animation: fadeSlideUp 0.6s ease 0.2s forwards;
    opacity: 0;
}

.hero-badges {
    display: flex;
    justify-content: center;
    gap: var(--space-2xl);
    animation: fadeSlideUp 0.6s ease 0.3s forwards;
    opacity: 0;
}

.hero-badge {
    text-align: center;
    padding: var(--space-lg);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    transition: var(--transition-base);
}

.hero-badge:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
}

.badge-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-white);
    line-height: 1;
    margin-bottom: var(--space-xs);
}

.badge-label {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

.badge-sublabel {
    display: block;
    font-size: 0.6875rem;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 400;
    margin-top: 2px;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: var(--space-2xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    animation: fadeIn 0.6s ease 0.5s forwards, bounce 2s ease-in-out infinite 1s;
    opacity: 0;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

.scroll-arrow {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

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

/* ===================================
   Value Sections - Split Layout
   =================================== */
.value-section {
    padding: var(--space-4xl) 0;
    position: relative;
    overflow: hidden;
}

.value-section-light {
    background: var(--color-white);
}

.value-section-dark {
    background: var(--color-primary);
}

.value-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

.value-split-reverse {
    direction: rtl;
}

.value-split-reverse > * {
    direction: ltr;
}

.value-content {
    position: relative;
}

.value-icon-wrap {
    margin-bottom: var(--space-xl);
}

.value-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, rgba(1, 138, 253, 0.1) 0%, rgba(1, 138, 253, 0.05) 100%);
    border-radius: var(--radius-xl);
    color: var(--color-accent);
    transition: var(--transition-base);
}

.value-icon-light .value-icon {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
}

.value-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    color: var(--color-primary);
    margin-bottom: var(--space-lg);
    line-height: 1.2;
}

.value-title-light {
    color: var(--color-white);
}

.value-description {
    font-size: 1.0625rem;
    color: var(--color-gray-600);
    line-height: 1.8;
    margin-bottom: var(--space-md);
}

.value-description strong {
    color: var(--color-gray-900);
    font-weight: 600;
}

.value-description-light {
    color: rgba(255, 255, 255, 0.8);
}

.value-description-light strong {
    color: var(--color-white);
}

.value-highlight {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
    padding: var(--space-sm) var(--space-lg);
    background: rgba(1, 138, 253, 0.08);
    border-radius: var(--radius-full);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-accent);
}

.highlight-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--color-accent);
    border-radius: 50%;
    color: var(--color-white);
}

.highlight-icon svg {
    width: 14px;
    height: 14px;
}

/* Service Badges */
.service-badges {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

.service-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-lg);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-white);
}

.service-badge svg {
    color: var(--color-green-light);
}

/* Visual Frame */
.value-visual {
    position: relative;
}

.visual-frame {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.visual-frame img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.visual-accent {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(0, 46, 84, 0.4) 100%);
    pointer-events: none;
}

.visual-frame-light {
    border: 4px solid rgba(255, 255, 255, 0.1);
}

.visual-accent-light {
    background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.3) 100%);
}

/* ===================================
   Features Grid Section
   =================================== */
.features-grid-section {
    padding: var(--space-4xl) 0;
    background: var(--color-off-white);
}

.features-grid-section .section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.features-grid-section .section-title {
    color: var(--color-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
}

.feature-card {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    border: 1px solid var(--color-gray-100);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-green) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(1, 138, 253, 0.1) 0%, rgba(1, 138, 253, 0.05) 100%);
    border-radius: var(--radius-lg);
    color: var(--color-accent);
    margin-bottom: var(--space-lg);
    transition: var(--transition-base);
}

.feature-card:hover .feature-icon {
    background: var(--color-accent);
    color: var(--color-white);
    transform: scale(1.05);
}

.feature-title {
    font-size: 1.375rem;
    color: var(--color-gray-900);
    margin-bottom: var(--space-md);
}

.feature-description {
    font-size: 1rem;
    color: var(--color-gray-600);
    line-height: 1.75;
}

.feature-description strong {
    color: var(--color-gray-900);
    font-weight: 600;
}

/* ===================================
   Guarantee Section
   =================================== */
.guarantee-section {
    padding: var(--space-4xl) 0;
    background: var(--color-white);
}

.guarantee-card {
    position: relative;
    background: linear-gradient(135deg, var(--color-accent) 0%, #0066cc 100%);
    border-radius: var(--radius-xl);
    padding: var(--space-3xl);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: var(--space-3xl);
    align-items: center;
    overflow: hidden;
}

.guarantee-glow {
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.guarantee-content {
    position: relative;
    z-index: 1;
}

.guarantee-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-lg);
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-full);
    color: var(--color-white);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-lg);
}

.guarantee-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--color-white);
    margin-bottom: var(--space-lg);
    line-height: 1.25;
}

.guarantee-description {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.75;
    margin-bottom: var(--space-xl);
}

.guarantee-description strong {
    color: var(--color-white);
    font-weight: 600;
}

.guarantee-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.guarantee-feature {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.9375rem;
    color: var(--color-white);
    font-weight: 500;
}

.guarantee-feature svg {
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.9);
}

/* Guarantee Visual */
.guarantee-visual {
    position: relative;
    z-index: 1;
}

.guarantee-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--space-2xl);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(10px);
}

.stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: var(--color-white);
    margin-bottom: var(--space-md);
}

.stat-text {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ===================================
   Results Section
   =================================== */
.results-section {
    position: relative;
    padding: var(--space-4xl) 0;
    overflow: hidden;
}

.results-bg {
    position: absolute;
    inset: 0;
}

.results-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.results-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 46, 84, 0.95) 0%, rgba(0, 46, 84, 0.88) 100%);
}

.results-content-wrap {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

.results-text {
    color: var(--color-white);
}

.section-tag-light {
    background: rgba(1, 138, 253, 0.2);
    color: var(--color-accent-light);
}

.results-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    color: var(--color-white);
    margin-bottom: var(--space-lg);
    margin-top: var(--space-md);
}

.results-description {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.75;
    margin-bottom: var(--space-xl);
}

.results-description strong {
    color: var(--color-white);
}

.results-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.result-stat {
    text-align: center;
    padding: var(--space-lg);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
}

.result-number {
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--color-white);
    line-height: 1;
    margin-bottom: var(--space-xs);
}

.result-label {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.result-sublabel {
    display: block;
    font-size: 0.6875rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
    margin-top: 2px;
}

.result-divider {
    display: none;
}

/* ===================================
   CTA Section
   =================================== */
.cta-section {
    position: relative;
    padding: var(--space-4xl) 0;
    background: var(--color-primary);
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.cta-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
}

.cta-orb-1 {
    width: 500px;
    height: 500px;
    background: rgba(1, 138, 253, 0.15);
    top: -200px;
    right: -100px;
}

.cta-orb-2 {
    width: 400px;
    height: 400px;
    background: rgba(1, 138, 253, 0.1);
    bottom: -200px;
    left: -100px;
}

.cta-section .cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 650px;
    margin: 0 auto;
}

.cta-section h2 {
    color: var(--color-white);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    margin-bottom: var(--space-md);
}

.cta-section p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.0625rem;
    margin-bottom: var(--space-xl);
    line-height: 1.7;
}

.cta-section .cta-actions {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}

/* ===================================
   Footer Adjustments
   =================================== */
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: var(--space-3xl);
    padding-bottom: var(--space-3xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo {
    display: block;
    margin-bottom: var(--space-lg);
}

.footer-brand .logo-image {
    height: 48px;
}

.footer-contact {
    margin-bottom: var(--space-lg);
}

.social-links {
    display: flex;
    gap: var(--space-md);
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition-fast);
}

.social-links a:hover {
    background: var(--color-accent);
    color: var(--color-white);
}

.footer-links h4 {
    color: var(--color-white);
    font-size: 0.9375rem;
    font-weight: 600;
    margin-bottom: var(--space-lg);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-links a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-white);
}

.footer-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: var(--space-sm) 0;
}

.footer-bottom {
    padding-top: var(--space-xl);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.copyright {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
}

.disclaimer {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.6;
    max-width: 800px;
}

/* ===================================
   Responsive Styles
   =================================== */
@media (max-width: 1024px) {
    .value-split {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .value-split-reverse {
        direction: ltr;
    }
    
    .value-visual {
        order: -1;
    }
    
    .visual-frame img {
        height: 320px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .guarantee-card {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .guarantee-visual {
        display: flex;
        justify-content: center;
    }
    
    .results-content-wrap {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .results-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-2xl);
    }
}

@media (max-width: 768px) {
    .why-hero {
        min-height: auto;
        padding-top: calc(80px + var(--space-3xl));
        padding-bottom: var(--space-3xl);
    }
    
    .hero-badges {
        flex-direction: column;
        gap: var(--space-md);
    }
    
    .hero-badge {
        width: 100%;
        max-width: 280px;
    }
    
    .scroll-indicator {
        display: none;
    }
    
    .value-section {
        padding: var(--space-3xl) 0;
    }
    
    .visual-frame img {
        height: 280px;
    }
    
    .service-badges {
        flex-direction: column;
        gap: var(--space-sm);
    }
    
    .features-grid-section {
        padding: var(--space-3xl) 0;
    }
    
    .feature-card {
        padding: var(--space-xl);
    }
    
    .guarantee-section {
        padding: var(--space-3xl) 0;
    }
    
    .guarantee-card {
        padding: var(--space-xl);
    }
    
    .results-section {
        padding: var(--space-3xl) 0;
    }
    
    .results-stats {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-md);
    }
    
    .result-stat {
        padding: var(--space-md);
    }
    
    .cta-section {
        padding: var(--space-3xl) 0;
    }
    
    .cta-section .cta-actions {
        flex-direction: column;
    }
    
    .cta-section .btn {
        width: 100%;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
}

@media (max-width: 480px) {
    .why-hero-title {
        font-size: 2.25rem;
    }
    
    .badge-number {
        font-size: 2rem;
    }
    
    .value-icon {
        width: 56px;
        height: 56px;
    }
    
    .value-title {
        font-size: 1.5rem;
    }
    
    .feature-icon {
        width: 52px;
        height: 52px;
    }
    
    .guarantee-title {
        font-size: 1.25rem;
    }
    
    .result-number {
        font-size: 1.75rem;
    }
    
    .result-label {
        font-size: 0.75rem;
    }
}
