/* === Google Fonts Import === */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Noto+Sans+SC:wght@300;400;500;700;900&display=swap');

/* === CSS Variables === */
:root {
    --ocean: #0a1628;
    --ocean-light: #0f2744;
    --ocean-mid: #15335c;
    --cyan: #22d3ee;
    --cyan-light: #67e8f9;
    --cyan-pale: #a5f3fc;
    --wave: rgba(34, 211, 238, 0.15);
    --white: #ffffff;
    --gray: #9ca3af;
    --gray-light: #d1d5db;
}

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

/* === Navbar === */
#navbar {
    background: transparent;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

#navbar.navbar-scrolled {
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(34, 211, 238, 0.1);
}

/* === Buttons === */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #22d3ee, #06b6d4);
    color: #0a1628;
    font-weight: 700;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(34, 211, 238, 0.3);
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #67e8f9, #22d3ee);
    box-shadow: 0 6px 30px rgba(34, 211, 238, 0.5);
    transform: translateY(-2px);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: #22d3ee;
    font-weight: 700;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    border: 2px solid rgba(34, 211, 238, 0.5);
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.btn-outline:hover {
    background: rgba(34, 211, 238, 0.1);
    border-color: #22d3ee;
    transform: translateY(-2px);
}

/* === Feature Card === */
.feature-card {
    background: linear-gradient(135deg, rgba(15, 39, 68, 0.8), rgba(21, 51, 92, 0.6));
    border: 1px solid rgba(34, 211, 238, 0.1);
    border-radius: 1rem;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(34, 211, 238, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover {
    border-color: rgba(34, 211, 238, 0.3);
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(34, 211, 238, 0.05);
}

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

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.15), rgba(34, 211, 238, 0.05));
    border: 1px solid rgba(34, 211, 238, 0.2);
    border-radius: 50%;
    color: #22d3ee;
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
}

.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.25), rgba(34, 211, 238, 0.1));
    box-shadow: 0 0 30px rgba(34, 211, 238, 0.2);
    transform: scale(1.1);
}

/* === Stat Number === */
.stat-number {
    font-variant-numeric: tabular-nums;
    transition: color 0.3s ease;
}

/* === Testimonial Card === */
.testimonial-card {
    background: linear-gradient(135deg, rgba(15, 39, 68, 0.7), rgba(21, 51, 92, 0.5));
    border: 1px solid rgba(34, 211, 238, 0.1);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.4s ease;
}

.testimonial-card:hover {
    border-color: rgba(34, 211, 238, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

/* === FAQ Accordion === */
.faq-item {
    background: rgba(15, 39, 68, 0.5);
    border: 1px solid rgba(34, 211, 238, 0.1);
    border-radius: 0.75rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(34, 211, 238, 0.2);
}

.faq-item.active {
    border-color: rgba(34, 211, 238, 0.3);
    background: rgba(15, 39, 68, 0.8);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    color: #e5e7eb;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: #22d3ee;
}

.faq-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    transition: transform 0.3s ease, color 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: #22d3ee;
}

.faq-item.active .faq-question {
    color: #22d3ee;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-answer p {
    padding: 0 1.5rem 1.25rem;
    color: #9ca3af;
    line-height: 1.7;
    font-size: 0.95rem;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

/* === Footer Link === */
.footer-link {
    color: #9ca3af;
    font-size: 0.875rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #22d3ee;
}

/* === Mobile Menu === */
.mobile-menu {
    display: block;
    text-decoration: none;
    transition: all 0.3s ease;
}

.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 22, 40, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 100;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-overlay.show {
    opacity: 1;
    display: flex;
}

.mobile-overlay.hidden {
    display: none;
}

/* === Back to Top === */
#backToTop.visible {
    opacity: 1;
    visibility: visible;
}

/* === Scroll Animations === */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* === Scrollbar Styling === */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0a1628;
}

::-webkit-scrollbar-thumb {
    background: #15335c;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #22d3ee;
}

/* === Selection === */
::selection {
    background: rgba(34, 211, 238, 0.3);
    color: #ffffff;
}

/* === Responsive Adjustments === */
@media (max-width: 768px) {
    .feature-card {
        padding: 2rem 1.5rem;
    }

    .testimonial-card {
        padding: 1.5rem;
    }

    .btn-primary,
    .btn-outline {
        padding: 0.65rem 1.5rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 375px) {
    h1 {
        font-size: 2rem !important;
    }

    h2 {
        font-size: 1.75rem !important;
    }
}
