/* ============================================
   Static Pages Styles - Services, Privacy, Terms
   ============================================ */

/* AOS Animation Library */
@import url("https://unpkg.com/aos@2.3.1/dist/aos.css");

/* ============================================
   Hero Section
   ============================================ */

/* Ensure header navigation is visible over hero */
.static-hero ~ * .header-nav,
.header-nav {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.static-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 12rem 0 8rem;
}

.static-hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #1b2b7c 0%, #2d3f9b 50%, #7d74e4 100%);
    z-index: 0;
}

.static-hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.3) 0%,
            rgba(0, 0, 0, 0.15) 50%,
            rgba(0, 0, 0, 0.2) 100%
        ),
        url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.08)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    z-index: 1;
}

.static-hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    max-width: 800px;
    margin: 0 auto;
}

.breadcrumb {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.breadcrumb a {
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.breadcrumb a:hover {
    opacity: 0.85;
}

.breadcrumb .separator {
    margin: 0 1rem;
    opacity: 0.7;
}

.breadcrumb .current {
    opacity: 0.9;
}

.static-hero__title {
    font-size: 5.6rem;
    color: #fff !important;
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3), 0 4px 20px rgba(0, 0, 0, 0.2),
        0 8px 40px rgba(0, 0, 0, 0.15);
}

.static-hero__subtitle {
    font-size: 2rem;
    opacity: 0.98;
    line-height: 1.6;
    margin-bottom: 2rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.last-updated {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.4rem;
    margin-top: 2rem;
}

.last-updated i {
    font-size: 1.6rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-indicator__line {
    width: 2px;
    height: 40px;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.8),
        transparent
    );
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%,
    100% {
        opacity: 0.3;
        transform: translateY(0);
    }
    50% {
        opacity: 1;
        transform: translateY(10px);
    }
}

/* ============================================
   Services Page Specific
   ============================================ */
.services-overview {
    padding: 10rem 0;
    background: linear-gradient(to bottom, #f8f9ff 0%, #ffffff 100%);
}

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

.section-intro .section-heading {
    margin-bottom: 1.5rem;
}

.section-intro .h2 {
    font-size: 4.2rem;
    color: #1b2b7c;
    margin-bottom: 2rem;
}

.section-intro .section-subtitle {
    font-size: 1.8rem;
    color: #646a89;
    line-height: 1.7;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 5rem;
}

.service-card {
    background: #fff;
    border-radius: 20px;
    padding: 4rem 3rem;
    box-shadow: 0 10px 40px rgba(27, 43, 124, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1b2b7c, #7d74e4);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(27, 43, 124, 0.15);
}

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

.service-card__icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #1b2b7c, #7d74e4);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2.5rem;
    transition: all 0.4s ease;
}

.service-card:hover .service-card__icon {
    transform: scale(1.1) rotate(5deg);
}

.service-card__icon i {
    font-size: 3.6rem;
    color: #fff;
}

.service-card__title {
    font-size: 2.4rem;
    font-weight: 700;
    color: #1b2b7c;
    margin-bottom: 1.5rem;
}

.service-card__description {
    font-size: 1.6rem;
    color: #646a89;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.service-card__features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-card__features li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.5rem;
    color: #646a89;
    margin-bottom: 1rem;
}

.service-card__features li i {
    color: #7d74e4;
    font-size: 1.4rem;
}

/* ============================================
   Why Choose Us Section
   ============================================ */
.why-choose-us {
    padding: 10rem 0;
    background: #fff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 3rem;
    margin-top: 5rem;
}

.feature-item {
    display: flex;
    gap: 2.5rem;
    padding: 3rem;
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    border-radius: 16px;
    border: 2px solid transparent;
    transition: all 0.4s ease;
}

.feature-item:hover {
    border-color: #7d74e4;
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(125, 116, 228, 0.1);
}

.feature-item__number {
    font-size: 4.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #1b2b7c, #7d74e4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    flex-shrink: 0;
}

.feature-item__content h3 {
    font-size: 2.2rem;
    color: #1b2b7c;
    margin-bottom: 1rem;
    font-weight: 700;
}

.feature-item__content p {
    font-size: 1.6rem;
    color: #646a89;
    line-height: 1.7;
    margin: 0;
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
    position: relative;
    padding: 10rem 0;
    overflow: hidden;
}

.cta-section__bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #1b2b7c 0%, #7d74e4 100%);
    z-index: 0;
}

.cta-section__bg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
            circle at 20% 50%,
            rgba(125, 116, 228, 0.3) 0%,
            transparent 50%
        ),
        radial-gradient(
            circle at 80% 50%,
            rgba(27, 43, 124, 0.3) 0%,
            transparent 50%
        );
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #fff;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content__title {
    color: #fff !important;
    font-size: 4.2rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.cta-content__text {
    font-size: 1.8rem;
    opacity: 0.95;
    margin-bottom: 3rem;
    line-height: 1.7;
}

.cta-content__buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    padding: 1.6rem 4rem;
    font-size: 1.6rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: #fff;
    color: #1b2b7c;
    border: 2px solid transparent;
}

.btn-primary:hover {
    background: #f8f9ff;
    color: #1b2b7c !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border-color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

.btn-primary:focus,
.btn-secondary:focus {
    outline: 3px solid rgba(255, 255, 255, 0.5);
    outline-offset: 3px;
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-secondary:active {
    transform: translateY(-1px);
}

/* ============================================
   Legal Pages (Privacy & Terms)
   ============================================ */
.legal-content {
    padding: 8rem 0;
    background: #f8f9ff;
}

.legal-content .wrapper {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 5rem;
    align-items: start;
}

/* Sidebar Navigation */
.legal-sidebar {
    position: sticky;
    top: 10rem;
}

.legal-nav {
    background: #fff;
    border-radius: 16px;
    padding: 3rem 2rem;
    box-shadow: 0 5px 20px rgba(27, 43, 124, 0.08);
}

.legal-nav__title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1b2b7c;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #f0f2f8;
}

.legal-nav__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.legal-nav__list li {
    margin-bottom: 0.5rem;
}

.legal-nav__link {
    display: block;
    padding: 1.2rem 1.5rem;
    font-size: 1.4rem;
    color: #646a89;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.legal-nav__link::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: linear-gradient(to bottom, #1b2b7c, #7d74e4);
    border-radius: 0 3px 3px 0;
    transition: height 0.3s ease;
}

.legal-nav__link:hover,
.legal-nav__link.active {
    background: linear-gradient(135deg, #f0f2ff 0%, #f8f9ff 100%);
    color: #1b2b7c;
    padding-left: 2rem;
}

.legal-nav__link:hover::before,
.legal-nav__link.active::before {
    height: 70%;
}

/* Main Legal Content */
.legal-main {
    background: #fff;
    border-radius: 20px;
    padding: 5rem;
    box-shadow: 0 5px 30px rgba(27, 43, 124, 0.08);
}

.legal-section {
    margin-bottom: 5rem;
    scroll-margin-top: 10rem;
}

.legal-section:last-child {
    margin-bottom: 0;
}

.legal-section__title {
    font-size: 3rem;
    font-weight: 700;
    color: #1b2b7c;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 3px solid #f0f2f8;
    position: relative;
}

.legal-section__title::after {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #1b2b7c, #7d74e4);
}

.legal-section__content {
    font-size: 1.6rem;
    color: #646a89;
    line-height: 1.8;
}

.legal-section__content h3 {
    font-size: 2.2rem;
    font-weight: 600;
    color: #1b2b7c;
    margin: 3rem 0 1.5rem;
}

.legal-section__content p {
    margin-bottom: 1.5rem;
}

.legal-section__content ul {
    margin: 2rem 0;
    padding-left: 2rem;
}

.legal-section__content ul li {
    margin-bottom: 1rem;
    position: relative;
    padding-left: 1.5rem;
}

.legal-section__content ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.9rem;
    width: 6px;
    height: 6px;
    background: #7d74e4;
    border-radius: 50%;
}

.legal-section__content strong {
    color: #1b2b7c;
    font-weight: 600;
}

/* Info Boxes */
.info-box {
    background: linear-gradient(135deg, #e8f0fe 0%, #f0f2ff 100%);
    border-left: 4px solid #1b2b7c;
    padding: 2rem 2.5rem;
    border-radius: 8px;
    margin: 2.5rem 0;
    display: flex;
    align-items: start;
    gap: 1.5rem;
}

.info-box.warning {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe8cc 100%);
    border-left-color: #ff9800;
}

.info-box i {
    font-size: 2.4rem;
    color: #1b2b7c;
    flex-shrink: 0;
    margin-top: 0.3rem;
}

.info-box.warning i {
    color: #ff9800;
}

.info-box p {
    margin: 0;
    font-size: 1.5rem;
    line-height: 1.7;
}

/* Contact Info */
.contact-info {
    margin-top: 2.5rem;
    padding: 3rem;
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    border-radius: 12px;
    border: 2px solid #f0f2f8;
}

.contact-info__item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
}

.contact-info__item:last-child {
    margin-bottom: 0;
}

.contact-info__item i {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #1b2b7c, #7d74e4);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info__item span {
    color: #1b2b7c;
    font-weight: 500;
}

/* ============================================
   Responsive Design
   ============================================ */
@media screen and (max-width: 1200px) {
    .legal-content .wrapper {
        grid-template-columns: 250px 1fr;
        gap: 3rem;
    }

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

@media screen and (max-width: 1023px) {
    .static-hero__title {
        font-size: 4.2rem;
    }

    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2.5rem;
    }

    .legal-content .wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .legal-sidebar {
        position: static;
    }

    .legal-nav {
        max-width: 100%;
    }

    .legal-main {
        padding: 3.5rem;
    }
}

@media screen and (max-width: 767px) {
    .static-hero {
        min-height: 50vh;
        padding: 10rem 0 6rem;
    }

    .static-hero__title {
        font-size: 3.2rem;
    }

    .static-hero__subtitle {
        font-size: 1.6rem;
    }

    .section-intro .h2 {
        font-size: 3.2rem;
    }

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

    .service-card {
        padding: 3rem 2.5rem;
    }

    .feature-item {
        flex-direction: column;
        gap: 1.5rem;
        padding: 2.5rem;
    }

    .feature-item__number {
        font-size: 3.6rem;
    }

    .cta-content__title {
        font-size: 3.2rem;
    }

    .cta-content__buttons {
        flex-direction: column;
        gap: 1.5rem;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
    }

    .legal-main {
        padding: 2.5rem 2rem;
    }

    .legal-section__title {
        font-size: 2.4rem;
    }

    .legal-nav__list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
}

@media screen and (max-width: 559px) {
    .static-hero__title {
        font-size: 2.8rem;
    }

    .section-intro .h2 {
        font-size: 2.8rem;
    }

    .service-card__title {
        font-size: 2rem;
    }

    .cta-content__title {
        font-size: 2.8rem;
    }

    .legal-nav__list {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Smooth Scroll Behavior
   ============================================ */
html {
    scroll-behavior: smooth;
}

/* ============================================
   Print Styles for Legal Pages
   ============================================ */
@media print {
    .static-hero,
    .legal-sidebar,
    .cta-section,
    .header,
    .footer {
        display: none !important;
    }

    .legal-main {
        box-shadow: none;
        padding: 0;
    }

    .legal-section {
        page-break-inside: avoid;
    }
}
