/* Rounity Website Styles */

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

/* Glass effect for navigation */
.glass-nav {
    background: rgba(7, 40, 68, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(253, 253, 252, 0.1);
}

/* Glass card effect */
.glass-card {
    background: rgba(253, 253, 252, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(253, 253, 252, 0.1);
    transition: all 0.3s ease;
}

.glass-card:hover {
    background: rgba(253, 253, 252, 0.08);
    border-color: rgba(36, 188, 184, 0.3);
    transform: translateY(-2px);
}

/* App icon glow effect */
section:first-of-type img[alt="Rounity App Icon"] {
    box-shadow:
        0 0 60px rgba(36, 188, 184, 0.3),
        0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Mobile menu animation */
#mobile-menu {
    transition: all 0.3s ease;
}

#mobile-menu.show {
    display: block;
}

/* Link underline animation */
nav a:not(.flex) {
    position: relative;
}

nav a:not(.flex)::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #24bcb8;
    transition: width 0.3s ease;
}

nav a:not(.flex):hover::after {
    width: 100%;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(7, 40, 68, 0.5);
}

::-webkit-scrollbar-thumb {
    background: rgba(36, 188, 184, 0.5);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(36, 188, 184, 0.7);
}

/* Selection color */
::selection {
    background: rgba(36, 188, 184, 0.3);
    color: #fdfdfc;
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #24bcb8;
    outline-offset: 2px;
}

/* Prose styles for legal pages */
.prose {
    max-width: 65ch;
}

.prose h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #fdfdfc;
}

.prose h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: #fdfdfc;
}

.prose p {
    margin-bottom: 1rem;
    color: rgba(253, 253, 252, 0.8);
    line-height: 1.7;
}

.prose ul {
    list-style-type: disc;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
    color: rgba(253, 253, 252, 0.8);
}

.prose li {
    margin-bottom: 0.5rem;
}

.prose a {
    color: #24bcb8;
    text-decoration: underline;
}

.prose a:hover {
    color: #fdfdfc;
}
