/* Custom Styles for Combo Matching Website */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

html {
    scroll-behavior: smooth;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Premium Shadows and Glows */
.premium-shadow {
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.05), 0 2px 4px -2px rgb(0 0 0 / 0.05), 0 20px 25px -5px rgb(0 0 0 / 0.03);
}

.premium-card-shadow {
    box-shadow: 0 10px 15px -3px rgba(15, 23, 42, 0.04), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
}

/* Phone Mockup Floating Elements Animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}

.float-slow {
    animation: float 6s ease-in-out infinite;
}

.float-medium {
    animation: float 4s ease-in-out infinite;
}

.float-fast {
    animation: float 3s ease-in-out infinite;
}

/* Gradient Background Text */
.text-gradient {
    background: linear-gradient(135deg, #0f172a 30%, #2563eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Custom Button Hover State Transition */
.btn-transition {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Legal text styling adjustments */
.legal-container p {
    color: #334155;
    line-height: 1.75;
    margin-bottom: 1.25rem;
}

.legal-container h2 {
    color: #0f172a;
    font-weight: 700;
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 0.5rem;
}

.legal-container h3 {
    color: #1e293b;
    font-weight: 600;
    font-size: 1.25rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.legal-container ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-bottom: 1.25rem;
    color: #334155;
}

.legal-container li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Active Nav Links styling helper */
.nav-link {
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #2563eb;
    transition: width 0.2s ease-in-out;
}
.nav-link:hover::after {
    width: 100%;
}
.nav-link-active::after {
    width: 100%;
}

/* Hamburger transition */
.hamburger-line {
    transition: all 0.3s ease-in-out;
}
.menu-open .hamburger-line-1 {
    transform: rotate(45deg) translate(5px, 5px);
}
.menu-open .hamburger-line-2 {
    opacity: 0;
}
.menu-open .hamburger-line-3 {
    transform: rotate(-45deg) translate(6px, -6px);
}
