/* ============================================
   HOME PAGE STYLES - ENHANCED DESIGN
   ============================================ */

/* Hero Section - Enhanced with Glassmorphism */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

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

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.8s cubic-bezier(0.4, 0, 0.2, 1), transform 8s ease;
    transform: scale(1.1);
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5) saturate(1.1);
}

/* Hero Video Background */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* Streaming Video (YouTube, Vimeo, etc.) */
.hero-video-streaming {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw;
    min-height: 100vh;
    min-width: 177.78vh;
    transform: translate(-50%, -50%);
    z-index: 0;
    pointer-events: none;
    border: none;
}

/* Video Poster Image (avant chargement) */
.hero-video[poster] {
    background-size: cover;
    background-position: center;
}

/* Responsive Video Adjustments */
@media (max-width: 968px) {
    .hero-video-streaming {
        width: 100vw;
        height: 56.25vw;
        min-height: 100vh;
        min-width: 177.78vh;
    }
}

@media (max-width: 640px) {
    .hero-video-streaming {
        width: 100vw;
        height: 56.25vw;
        min-height: 100vh;
        min-width: 177.78vh;
    }
}

/* Reduced Motion - Disable video autoplay */
@media (prefers-reduced-motion: reduce) {
    .hero-video {
        animation: none;
    }
}

/* Enhanced Overlay with Gradient */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
            rgba(9, 9, 11, 0.7) 0%,
            rgba(9, 9, 11, 0.4) 50%,
            rgba(9, 9, 11, 0.6) 100%);
    z-index: 1;
}

/* Animated grain texture overlay */
.hero-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    pointer-events: none;
}

/* Hero Content with Glassmorphism Card */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 900px;
    padding: var(--space-12) var(--space-8);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset;
    animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-title {
    margin-bottom: var(--space-6);
}

.title-line {
    display: block;
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 300;
    letter-spacing: -0.02em;
    line-height: 1.1;
    animation: fadeInUp 1s var(--transition-smooth) forwards;
    text-shadow: 0 2px 40px rgba(0, 0, 0, 0.3);
    color: var(--white);
}

.title-sub {
    display: block;
    font-size: clamp(1rem, 3vw, 1.5rem);
    font-weight: 400;
    opacity: 0.9;
    margin-top: var(--space-4);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: fadeInUp 1s var(--transition-smooth) 0.2s forwards;
    opacity: 0;
    color: var(--white);
}

.hero-location {
    font-size: var(--text-lg);
    opacity: 0.8;
    margin-bottom: var(--space-8);
    letter-spacing: 0.05em;
    animation: fadeInUp 1s var(--transition-smooth) 0.4s forwards;
    opacity: 0;
}

.hero-location::before {
    content: '•';
    margin-right: var(--space-2);
    color: var(--accent-blue);
}

.hero-location::after {
    content: '•';
    margin-left: var(--space-2);
    color: var(--accent-blue);
}

.hero-cta {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s var(--transition-smooth) 0.6s forwards;
    opacity: 0;
}

.hero-cta .btn-primary {
    background: var(--white);
    color: var(--text-main);
    border: 2px solid var(--white);
    font-weight: 600;
    letter-spacing: 0.02em;
}

.hero-cta .btn-primary:hover {
    background: transparent;
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.hero-cta .btn-outline {
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.hero-cta .btn-outline:hover {
    background: var(--white);
    color: var(--text-main);
    border-color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Slider Navigation Dots */
.hero-dots {
    position: absolute;
    bottom: var(--space-24);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--space-3);
    z-index: 3;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-dot:hover {
    background: rgba(255, 255, 255, 0.6);
}

.hero-dot.active {
    background: var(--white);
    border-color: var(--accent-blue);
    transform: scale(1.2);
}

/* Enhanced Scroll Indicator */
.hero-scroll {
    position: absolute;
    bottom: var(--space-8);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    color: var(--white);
    opacity: 0.7;
    animation: fadeInUp 1s var(--transition-smooth) 1s forwards;
    opacity: 0;
    z-index: 3;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.hero-scroll:hover {
    opacity: 1;
}

.scroll-text {
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 500;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--white), transparent);
    animation: scrollBounce 2s infinite;
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, var(--accent-blue), transparent);
    animation: scrollGlow 2s infinite;
}

@keyframes scrollBounce {

    0%,
    100% {
        transform: scaleY(1);
    }

    50% {
        transform: scaleY(0.5);
    }
}

@keyframes scrollGlow {

    0%,
    100% {
        transform: translateY(-100%);
    }

    50% {
        transform: translateY(100%);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Ken Burns Effect for Slides */
@keyframes kenBurns {
    0% {
        transform: scale(1.1) translate(0, 0);
    }

    100% {
        transform: scale(1) translate(-2%, -1%);
    }
}

.hero-slide.active img {
    animation: kenBurns 8s ease-out forwards;
}

/* Intro Section - Enhanced */
.intro {
    background: var(--bg-color);
    position: relative;
}

.intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

.intro-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.intro .section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 300;
    margin-bottom: var(--space-6);
    position: relative;
    display: inline-block;
}

.intro .section-title::after {
    content: '';
    position: absolute;
    bottom: -var(--space-4);
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent-blue);
    border-radius: 2px;
}

.intro-text {
    font-size: var(--text-lg);
    color: var(--text-muted);
    margin-bottom: var(--space-12);
    line-height: 1.8;
    margin-top: var(--space-8);
}

.intro-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
    padding-top: var(--space-8);
    border-top: 1px solid var(--border-color);
}

.stat-item {
    text-align: center;
    padding: var(--space-6);
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 600;
    color: var(--accent-blue);
    margin-bottom: var(--space-2);
    background: linear-gradient(135deg, var(--accent-blue), #3B82F6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: var(--text-sm);
    color: var(--text-muted);
    font-weight: 500;
}

/* Services Section - Enhanced with Glass Cards */
.services {
    background: linear-gradient(180deg, var(--card-bg) 0%, var(--bg-color) 100%);
    position: relative;
}

.services .section-title {
    text-align: center;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 300;
    margin-bottom: var(--space-12);
}

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

.service-card {
    padding: var(--space-8);
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-blue), #3B82F6);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

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

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 56px;
    height: 56px;
    margin-bottom: var(--space-4);
    color: var(--accent-blue);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(59, 130, 246, 0.05));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--accent-blue), #3B82F6);
    color: var(--white);
    transform: scale(1.1);
}

.service-icon svg {
    width: 28px;
    height: 28px;
}

.service-title {
    font-size: var(--text-xl);
    font-weight: 500;
    margin-bottom: var(--space-3);
}

.service-desc {
    font-size: var(--text-sm);
    color: var(--text-muted);
    line-height: 1.6;
}

/* Featured Work Section - Enhanced Masonry */
.featured {
    background: var(--bg-color);
    position: relative;
}

.featured-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-10);
    flex-wrap: wrap;
    gap: var(--space-4);
}

.featured .section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 300;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 300px);
    gap: var(--space-4);
}

.featured-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.3s ease;
}

.featured-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.featured-item:hover {
    box-shadow: var(--shadow-xl);
}

.featured-item:hover::after {
    opacity: 1;
}

.featured-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.featured-item:hover img {
    transform: scale(1.08);
}

.featured-large {
    grid-column: span 2;
    grid-row: span 2;
}

.featured-wide {
    grid-column: span 2;
}

.featured-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-6);
    background: linear-gradient(to top, rgba(9, 9, 11, 0.9), transparent);
    color: var(--white);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 2;
}

.featured-item:hover .featured-caption {
    transform: translateY(0);
    opacity: 1;
}

.featured-category {
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    opacity: 0.8;
    display: block;
    margin-bottom: var(--space-1);
    color: var(--accent-blue);
    font-weight: 600;
}

.featured-title {
    font-size: var(--text-lg);
    font-weight: 500;
}

/* Testimonials Section - Enhanced Cards */
.testimonials {
    background: var(--card-bg);
    position: relative;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(37, 99, 235, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(37, 99, 235, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.testimonials .section-title {
    text-align: center;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 300;
    margin-bottom: var(--space-12);
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

.testimonial {
    padding: var(--space-8);
    background: var(--bg-color);
    border-radius: var(--radius-lg);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.testimonial-author cite {
    color: var(--text-main);
}

.testimonial::before {
    content: '"';
    position: absolute;
    top: var(--space-4);
    left: var(--space-6);
    font-family: Georgia, serif;
    font-size: 4rem;
    color: var(--accent-blue);
    opacity: 0.2;
    line-height: 1;
}

.testimonial:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.testimonial-text {
    font-size: var(--text-base);
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: var(--space-6);
    font-style: italic;
    position: relative;
    z-index: 1;
}

.testimonial-author cite {
    display: block;
    font-family: var(--font-heading);
    font-size: var(--text-base);
    font-weight: 500;
    font-style: normal;
    color: var(--text-main);
    margin-bottom: var(--space-1);
}

.testimonial-author span {
    font-size: var(--text-sm);
    color: var(--text-light);
}

/* CTA Section - Enhanced Gradient */
.cta-section {
    background: linear-gradient(135deg, var(--accent) 0%, #27272a 50%, var(--accent) 100%);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 30% 50%, rgba(37, 99, 235, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(37, 99, 235, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 300;
    color: var(--white);
    margin-bottom: var(--space-4);
}

.cta-text {
    font-size: var(--text-lg);
    opacity: 0.8;
    margin-bottom: var(--space-8);
}

.cta-section .btn-primary {
    background: var(--white);
    color: var(--text-main);
    font-weight: 600;
    padding: var(--space-4) var(--space-8);
    border: 2px solid var(--white);
    position: relative;
    overflow: hidden;
}

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

.cta-section .btn-primary:hover {
    background: transparent;
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

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

/* Responsive */
@media (max-width: 968px) {
    .hero-content {
        margin: 0 var(--space-4);
        padding: var(--space-8) var(--space-6);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .featured-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 250px);
    }

    .featured-large {
        grid-column: span 2;
        grid-row: span 1;
    }

    .testimonials-slider {
        grid-template-columns: 1fr;
    }

    .intro-stats {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }

    .hero-dots {
        bottom: var(--space-20);
    }
}

@media (max-width: 640px) {
    .hero-cta {
        flex-direction: column;
        width: 100%;
    }

    .hero-cta .btn {
        width: 100%;
    }

    .hero-content {
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .featured-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(5, 250px);
    }

    .featured-large,
    .featured-wide {
        grid-column: span 1;
    }

    .featured-caption {
        transform: translateY(0);
        opacity: 1;
        background: linear-gradient(to top, rgba(9, 9, 11, 0.8), rgba(9, 9, 11, 0.4));
    }

    .hero-dots {
        gap: var(--space-2);
    }

    .hero-dot {
        width: 10px;
        height: 10px;
    }
}

/* ============================================
   DARK MODE ADJUSTMENTS - HOME PAGE
   ============================================ */

/* Force white text in hero section for dark mode visibility */
[data-theme="dark"] .hero-content,
[data-theme="dark"] .title-line,
[data-theme="dark"] .title-sub,
[data-theme="dark"] .hero-location {
    color: #FFFFFF !important;
}

/* Force white text in CTA section for dark mode visibility */
[data-theme="dark"] .cta-title,
[data-theme="dark"] .cta-text {
    color: #FFFFFF !important;
}

[data-theme="dark"] .hero-cta .btn-primary {
    background: #FFFFFF;
    color: #09090B;
    border-color: #FFFFFF;
}

[data-theme="dark"] .hero-cta .btn-primary:hover {
    background: transparent;
    color: #FFFFFF;
}

[data-theme="dark"] .hero-cta .btn-outline {
    border-color: rgba(255, 255, 255, 0.5);
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .hero-cta .btn-outline:hover {
    background: #FFFFFF;
    color: #09090B;
    border-color: #FFFFFF;
}

[data-theme="dark"] .hero-dot {
    background: rgba(255, 255, 255, 0.3);
}

[data-theme="dark"] .hero-dot.active {
    background: #FFFFFF;
}

[data-theme="dark"] .hero-scroll {
    color: #FFFFFF;
}

[data-theme="dark"] .scroll-line {
    background: linear-gradient(to bottom, #FFFFFF, transparent);
}

/* System dark mode preference */
@media (prefers-color-scheme: dark) {

    :root:not([data-theme]) .hero-content,
    :root:not([data-theme]) .title-line,
    :root:not([data-theme]) .title-sub,
    :root:not([data-theme]) .hero-location {
        color: #FFFFFF !important;
    }

    :root:not([data-theme]) .cta-title,
    :root:not([data-theme]) .cta-text {
        color: #FFFFFF !important;
    }

    :root:not([data-theme]) .hero-cta .btn-primary {
        background: #FFFFFF;
        color: #09090B;
        border-color: #FFFFFF;
    }

    :root:not([data-theme]) .hero-cta .btn-primary:hover {
        background: transparent;
        color: #FFFFFF;
    }

    :root:not([data-theme]) .hero-cta .btn-outline {
        border-color: rgba(255, 255, 255, 0.5);
        color: #FFFFFF;
        background: rgba(255, 255, 255, 0.1);
    }

    :root:not([data-theme]) .hero-cta .btn-outline:hover {
        background: #FFFFFF;
        color: #09090B;
        border-color: #FFFFFF;
    }

    :root:not([data-theme]) .hero-dot {
        background: rgba(255, 255, 255, 0.3);
    }

    :root:not([data-theme]) .hero-dot.active {
        background: #FFFFFF;
    }

    :root:not([data-theme]) .hero-scroll {
        color: #FFFFFF;
    }

    :root:not([data-theme]) .scroll-line {
        background: linear-gradient(to bottom, #FFFFFF, transparent);
    }
}

/* ============================================
   TESTIMONIALS STARS
   ============================================ */

.testimonial-stars {
    font-size: 1.1rem;
    margin-bottom: var(--space-4);
    letter-spacing: 2px;
}

/* ============================================
   PRICING SECTION
   ============================================ */

.pricing {
    background: var(--bg-color);
    position: relative;
}

.pricing-header-block {
    text-align: center;
    margin-bottom: var(--space-12);
}

.pricing-header-block .section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 300;
    margin-bottom: var(--space-4);
}

.pricing-subtitle {
    font-size: var(--text-lg);
    color: var(--text-muted);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-6);
    margin-bottom: var(--space-8);
}

.pricing-card {
    position: relative;
    padding: var(--space-8);
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.pricing-card--featured {
    border-color: var(--accent-blue);
    background: linear-gradient(135deg, var(--card-bg) 0%, rgba(37, 99, 235, 0.04) 100%);
    box-shadow: 0 0 0 1px var(--accent-blue), var(--shadow-lg);
}

.pricing-card--featured:hover {
    box-shadow: 0 0 0 1px var(--accent-blue), var(--shadow-xl);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-blue);
    color: #fff;
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 999px;
    white-space: nowrap;
}

.pricing-header {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.pricing-name {
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--text-main);
}

.pricing-desc {
    font-size: var(--text-sm);
    color: var(--text-muted);
    line-height: 1.5;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    gap: var(--space-1);
    padding: var(--space-4) 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.pricing-currency {
    font-size: var(--text-xl);
    font-weight: 500;
    color: var(--accent-blue);
}

.pricing-amount {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--text-main);
    line-height: 1;
}

.pricing-unit {
    font-size: var(--text-sm);
    color: var(--text-muted);
    margin-left: var(--space-1);
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    flex: 1;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-2);
    font-size: var(--text-sm);
    color: var(--text-muted);
    line-height: 1.5;
}

.pricing-check {
    color: var(--accent-blue);
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
}

.pricing-cta {
    width: 100%;
    text-align: center;
    margin-top: auto;
}

.pricing-note {
    text-align: center;
    font-size: var(--text-sm);
    color: var(--text-light);
    font-style: italic;
    margin-top: var(--space-4);
}

/* Pricing responsive */
@media (max-width: 968px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .hero-slide {
        transition: opacity 0.5s ease;
        transform: none;
    }

    .hero-slide.active img {
        animation: none;
    }

    .service-card:hover,
    .stat-item:hover,
    .testimonial:hover,
    .featured-item:hover,
    .pricing-card:hover {
        transform: none;
    }
}
/* Blog Section */
.hp-blog { background: var(--bg-color); }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-8); }
.blog-card { background: var(--card-bg); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border-color); transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); display: flex; flex-direction: column; }
.blog-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-xl); border-color: var(--accent-blue); }
.blog-card-image { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.blog-card:hover .blog-card-image img { transform: scale(1.05); }
.blog-card-content { padding: var(--space-6); flex-grow: 1; display: flex; flex-direction: column; }
.blog-card-meta { margin-bottom: var(--space-3); font-size: var(--text-xs); color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.blog-card-title { font-size: var(--text-xl); font-weight: 500; margin-bottom: var(--space-4); line-height: 1.4; color: var(--text-main); }
.blog-card-excerpt { font-size: var(--text-sm); color: var(--text-muted); line-height: 1.6; margin-bottom: var(--space-6); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.blog-card-link {
    margin-top: auto;
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-main);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    position: relative;
    padding-bottom: 4px;
    width: fit-content;
    transition: color var(--transition-base);
}

.blog-card-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-blue);
    transition: width var(--transition-smooth);
}

.blog-card-link:hover {
    color: var(--accent-blue);
}

.blog-card-link:hover::after {
    width: 100%;
}

.blog-card-link svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s var(--transition-smooth);
}

.blog-card-link:hover svg {
    transform: translateX(4px);
}
@media (max-width: 1024px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .blog-grid { grid-template-columns: 1fr; } }
