/* Hero Section */
.hero-section {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    padding-top: 40px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 37, 64, 0.75) 0%, rgba(21, 101, 160, 0.65) 50%, rgba(33, 150, 243, 0.55) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1472px;
    margin: 0 auto;
    padding: 3rem 1rem 1.5rem;
    width: 100%;
}

@media (min-width: 768px) {
    .hero-content {
        padding: 1.5rem 1rem;
    }
}

@media (min-width: 1024px) {
    .hero-content {
        padding: 2.5rem 2rem;
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 9999px;
    color: white;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--color-emerald);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-title {
    font-size: 2rem;
    font-weight: 800;
    color: white;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    max-width: 900px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 3.5rem;
    }
}

.hero-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin-bottom: 2rem;
    line-height: 1.7;
    font-weight: 300;
}

@media (min-width: 768px) {
    .hero-description {
        font-size: 1.25rem;
    }
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

/* Trust Badges */
.hero-trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.trust-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 9999px;
    color: white;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.trust-pill:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.trust-pill svg {
    color: var(--color-emerald);
    flex-shrink: 0;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

@media (max-width: 767px) {
    .scroll-indicator {
        display: none;
    }
}

.mouse-icon {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.wheel {
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(12px); opacity: 0; }
}

.scroll-text {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    animation: bounce 2s infinite;
}

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

.section-padding {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

@media (min-width: 768px) {
    .section-padding {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .section-header {
        margin-bottom: 4rem;
    }
}

.section-tag {
    display: inline-block;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-emerald);
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
}

@media (min-width: 1024px) {
    .section-title {
        font-size: 2.25rem;
    }
}

.section-description {
    font-size: 1rem;
    color: var(--color-slate-500);
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .section-description {
        font-size: 1.125rem;
    }
}

.products-section {
    background: white;
}

.desktop-products-grid {
    display: none;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .desktop-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .desktop-products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.product-card {
    display: block;
    background: white;
    border: 1px solid var(--color-slate-200);
    border-radius: 0.75rem;
    overflow: hidden;
    transition: all 0.3s;
}

.product-card:hover {
    border-color: #bfdbfe;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.product-image-wrapper {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--color-slate-50);
}

.product-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.product-card:hover .product-image-wrapper img {
    transform: scale(1.05);
}

.product-content {
    padding: 1.25rem;
}

.product-category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-emerald);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.product-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.product-description {
    font-size: 0.875rem;
    color: var(--color-slate-500);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.product-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-navy-light);
}

.product-link:hover {
    color: var(--color-emerald);
}

.mobile-carousel {
    display: block;
    position: relative;
    overflow: hidden;
}

@media (min-width: 1024px) {
    .mobile-carousel {
        display: none;
    }

    .desktop-products-grid {
        display: grid;
    }
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-slide {
    min-width: 100%;
    padding: 0 1rem;
}

.carousel-slide a {
    display: block;
}

.carousel-card {
    background: white;
    border: 1px solid var(--color-slate-200);
    border-radius: 0.75rem;
    overflow: hidden;
}

.carousel-image-wrapper {
    aspect-ratio: 16/10;
    overflow: hidden;
}

.carousel-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-content {
    padding: 1rem;
}

.carousel-category {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-emerald);
    text-transform: uppercase;
}

.carousel-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-navy);
    margin: 0.5rem 0;
}

.carousel-description {
    font-size: 0.875rem;
    color: var(--color-slate-500);
}

.carousel-link {
    margin-top: 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-navy-light);
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.carousel-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-slate-100);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.carousel-btn:hover {
    background: var(--color-navy-light);
    color: white;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-slate-300);
    transition: all 0.2s;
}

.carousel-dot.active {
    background: var(--color-navy-light);
    width: 24px;
    border-radius: 4px;
}

.carousel-progress {
    height: 3px;
    background: var(--color-slate-200);
    margin-top: 1rem;
    border-radius: 2px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: var(--color-navy-light);
    width: 0%;
    transition: width 0.1s linear;
}

.view-all {
    text-align: center;
    margin-top: 2rem;
}

.view-all-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-navy-light);
}

.view-all-link:hover {
    color: var(--color-emerald);
}

/* Stats Section */
.stats-section {
    padding: 3rem 0;
    background: linear-gradient(135deg, #1565a0 0%, #2196f3 100%);
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .stats-section {
        padding: 4rem 0;
    }
}

.stats-background {
    position: absolute;
    inset: 0;
    opacity: 0.05;
}

.stats-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(128px);
}

.stats-glow-1 {
    top: 0;
    left: 0;
    width: 24rem;
    height: 24rem;
    background: #10B981;
}

.stats-glow-2 {
    bottom: 0;
    right: 0;
    width: 24rem;
    height: 24rem;
    background: #3b82f6;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    position: relative;
}

@media (min-width: 640px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

@media (min-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 6rem;
    }
}

.stat-item {
    text-align: center;
}

.stat-icon {
    width: 36px;
    height: 36px;
    margin: 0 auto 0.75rem;
    color: #10B981;
}

@media (min-width: 768px) {
    .stat-icon {
        width: 48px;
        height: 48px;
    }
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
    .stat-number {
        font-size: 2.5rem;
    }
}

.stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: none;
}

/* Why Section */
.why-section {
    padding: 4rem 0;
}

@media (min-width: 768px) {
    .why-section {
        padding: 5rem 0;
    }
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .why-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.why-content {
    max-width: 540px;
}

.why-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.why-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.check-icon {
    width: 20px;
    height: 20px;
    color: var(--color-emerald);
    flex-shrink: 0;
    margin-top: 2px;
}

.why-item span {
    font-size: 0.875rem;
    color: var(--color-slate-600);
    line-height: 1.6;
}

.why-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.why-image {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.why-badge {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: var(--color-emerald);
    color: white;
    padding: 1rem;
    border-radius: 0.75rem;
    text-align: center;
    box-shadow: 0 10px 25px -5px rgba(16, 185, 129, 0.4);
    max-width: calc(100% - 2rem);
}


.badge-value {
    font-size: 1.25rem;
    font-weight: 700;
}

.badge-label {
    font-size: 0.75rem;
    opacity: 0.9;
}

/* Cases Section */
.cases-section {
    padding: 4rem 0;
    background: white;
}

@media (min-width: 768px) {
    .cases-section {
        padding: 5rem 0;
    }
}

.cases-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.case-card {
    display: block;
    border-radius: 0.75rem;
    overflow: hidden;
    transition: all 0.3s;
}

.case-card:hover {
    transform: translateY(-4px);
}

.case-image-wrapper {
    aspect-ratio: 16/10;
    overflow: hidden;
}

.case-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.case-card:hover .case-image-wrapper img {
    transform: scale(1.05);
}

.case-content {
    padding: 1.25rem;
    background: var(--color-slate-50);
    border: 1px solid var(--color-slate-200);
    border-top: none;
}

.case-category {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-emerald);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.case-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-navy);
    margin: 0.5rem 0;
    line-height: 1.4;
}

.case-description {
    font-size: 0.875rem;
    color: var(--color-slate-500);
    line-height: 1.6;
}

/* Blog Section */
.blog-section {
    padding: 4rem 0;
}

@media (min-width: 768px) {
    .blog-section {
        padding: 5rem 0;
    }
}

.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.blog-card {
    display: block;
    background: white;
    border: 1px solid var(--color-slate-200);
    border-radius: 0.75rem;
    overflow: hidden;
    transition: all 0.3s;
}

.blog-card:hover {
    border-color: #bfdbfe;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.desktop-only {
    display: none;
}

@media (min-width: 1024px) {
    .desktop-only {
        display: block;
    }
}

.blog-image-wrapper {
    aspect-ratio: 16/10;
    overflow: hidden;
}

.blog-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.blog-card:hover .blog-image-wrapper img {
    transform: scale(1.05);
}

.blog-content {
    padding: 1.25rem;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.blog-category {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-emerald);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.blog-read-time {
    font-size: 0.75rem;
    color: var(--color-slate-400);
}

.blog-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.blog-excerpt {
    font-size: 0.875rem;
    color: var(--color-slate-500);
    line-height: 1.6;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-navy-light);
}

.blog-link:hover {
    color: var(--color-emerald);
}

/* CTA Section */
.cta-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--color-navy-light) 0%, var(--color-blue) 100%);
}

@media (min-width: 768px) {
    .cta-section {
        padding: 5rem 0;
    }
}

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

.cta-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .cta-content h2 {
        font-size: 2rem;
    }
}

.cta-content p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

@media (min-width: 640px) {
    .cta-buttons {
        flex-direction: row;
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: 0.5rem;
    transition: all 0.2s;
    cursor: pointer;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
}

.btn-primary {
    background: var(--color-emerald);
    color: white;
}

.btn-primary:hover {
    background: var(--color-emerald-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

.btn-outline-light {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
}

/* ===== Scroll Reveal Animations ===== */
[data-scroll-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-scroll-reveal*="enter bottom"] {
    transform: translateY(50px);
}

[data-scroll-reveal*="enter left"] {
    transform: translateX(-50px);
}

[data-scroll-reveal*="enter right"] {
    transform: translateX(50px);
}

[data-scroll-reveal].revealed {
    opacity: 1;
    transform: translate(0, 0);
}

/* Stagger delays */
[data-scroll-reveal*="after 0.1s"] { transition-delay: 0.1s; }
[data-scroll-reveal*="after 0.2s"] { transition-delay: 0.2s; }
[data-scroll-reveal*="after 0.3s"] { transition-delay: 0.3s; }
[data-scroll-reveal*="after 0.4s"] { transition-delay: 0.4s; }
[data-scroll-reveal*="after 0.5s"] { transition-delay: 0.5s; }
[data-scroll-reveal*="after 0.6s"] { transition-delay: 0.6s; }
[data-scroll-reveal*="after 0.7s"] { transition-delay: 0.7s; }
[data-scroll-reveal*="after 0.8s"] { transition-delay: 0.8s; }