/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --leviathyn-teal: #00BFA5;
    --leviathyn-teal-dark: #00897B;
    --leviathyn-teal-light: #5EEAD4;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    line-height: 1.6;
    color: #ffffff;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: 'cv08', 'cv11';
    max-width: 100vw;
}

html {
    overflow-x: hidden;
    max-width: 100vw;
}

/* Video Background */
#bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
    z-index: -1;
}

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 4rem);
    max-width: 1300px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    padding: 0.11rem 2.5rem;
    z-index: 1000;
    border: 1px solid rgba(0, 191, 165, 0.2);
    border-radius: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    padding: 0;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.logo a:hover {
    opacity: 0.8;
}

.logo-img {
    height: 175px;
    width: auto;
    max-width: 375px;
    object-fit: contain;
    object-position: left center;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    flex-shrink: 0;
}

.nav-link {
    color: #37cdd0;
    text-decoration: none;
    font-weight: 400;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    padding: 0.35rem 0.75rem;
    transition: all 0.3s ease;
    position: relative;
    line-height: 1;
    text-transform: lowercase;
    white-space: nowrap;
}

.nav-short {
    display: none;
}

.nav-full {
    display: inline;
}

.nav-link:hover {
    color: #ffffff;
}

.nav-link.active {
    color: #ffffff;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--leviathyn-teal-light), #ffffff);
    border-radius: 2px;
}

/* Responsive Navbar Styles */
@media (max-width: 768px) {
    .navbar {
        width: calc(100% - 2rem);
        padding: 0.09rem 1.5rem;
    }
    
    .nav-container {
        gap: 1.5rem;
    }
    
    .nav-menu {
        gap: 1rem;
    }
    
    .nav-link {
        padding: 0.35rem 0.6rem;
        font-size: 0.85rem;
        letter-spacing: 0.02em;
        font-weight: 400;
    }
    
    .logo-img {
        height: 150px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .content-section {
        padding: 4rem 1.5rem;
    }
    
    .content-card {
        padding: 2.5rem 2rem;
    }
    
    .stats-grid,
    .why-grid,
    .about-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .alt-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    
    .tech-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .navbar {
        width: calc(100% - 1rem);
        padding: 0.07rem 0.75rem;
        top: 0.5rem;
    }
    
    .nav-container {
        gap: 0.5rem;
    }
    
    .logo-img {
        height: 100px;
        max-width: 225px;
    }

    .nav-link {
        padding: 0.2rem 0.3rem;
        font-size: 0.65rem;
        letter-spacing: 0;
        font-weight: 400;
    }
    
    .nav-menu {
        gap: 0.25rem;
        flex-wrap: nowrap;
    }
    
    .nav-short {
        display: inline;
    }
    
    .nav-full {
        display: none;
    }
    
    h1 {
        font-size: 1.25rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        max-width: 100%;
        margin-bottom: 1rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.1rem;
    }
    
    .lead {
        font-size: 0.95rem;
        margin-bottom: 0.75rem;
    }
    
    .content-section {
        padding: 3rem 1rem;
    }
    
    .content-card {
        padding: 1.5rem 0.75rem;
        box-sizing: border-box;
        max-width: 100%;
        overflow: hidden;
    }
    
    #who .content-card,
    #apparel .content-card {
        padding: 1.5rem 0.5rem;
    }
    
    .stats-grid,
    .why-grid,
    .about-grid,
    .alt-grid,
    .tech-features {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
        padding: 0;
        box-sizing: border-box;
    }
    
    .about-grid {
        gap: 1rem;
        margin-top: 1.5rem;
        width: 100%;
        max-width: 100%;
    }
    
    .about-item {
        padding: 1rem;
        border-radius: 16px;
        width: 100%;
        max-width: 100%;
        margin: 0;
    }
    
    .about-item h3 {
        font-size: 1rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    .about-item p {
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
    }
}

/* Extra small phones */
@media (max-width: 380px) {
    .navbar {
        padding: 0.05rem 0.5rem;
    }
    
    .logo-img {
        height: 90px;
        max-width: 175px;
    }
    
    .nav-link {
        padding: 0.15rem 0.25rem;
        font-size: 0.6rem;
    }
    
    .nav-menu {
        gap: 0.2rem;
    }
    
    .nav-short {
        display: inline;
    }
    
    .nav-full {
        display: none;
    }
}

/* Main Content */
.main-content {
    margin-top: 0;
    padding-top: 110px;
}

.content-section {
    min-height: 100vh;
    padding: 6rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.content-section:first-child {
    padding-top: 8rem;
}

.content-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    padding: 4rem 3rem;
    max-width: 1200px;
    width: 100%;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Section Divider */
.section-divider {
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(0, 191, 165, 0.3) 20%, 
        rgba(0, 191, 165, 0.5) 50%, 
        rgba(0, 191, 165, 0.3) 80%, 
        transparent
    );
    margin: 3rem 0;
    box-shadow: 0 0 20px rgba(0, 191, 165, 0.2);
}

/* Typography */
h1 {
    font-size: 2.75rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #fff, var(--leviathyn-teal-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    color: #fff;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 0.75rem;
    color: #fff;
}

.lead {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
    font-weight: 400;
    letter-spacing: -0.01em;
}

p {
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.85);
}

/* Buttons */
.cta-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 14px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--leviathyn-teal), var(--leviathyn-teal-dark));
    color: white;
    box-shadow: 0 4px 20px rgba(0, 191, 165, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 191, 165, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.12);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

/* About Grid */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.about-item {
    background: rgba(0, 191, 165, 0.12);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(0, 191, 165, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
}

.about-item:hover {
    background: rgba(0, 191, 165, 0.18);
    border-color: var(--leviathyn-teal-light);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 48px rgba(0, 191, 165, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.stat-card {
    background: rgba(0, 191, 165, 0.12);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border: 1px solid rgba(0, 191, 165, 0.3);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.stat-card:hover {
    background: rgba(0, 191, 165, 0.18);
    border-color: var(--leviathyn-teal-light);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 48px rgba(0, 191, 165, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Contact Form */
#contact h1 {
    margin-bottom: 2rem;
    text-align: center;
}

.contact-form {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--leviathyn-teal);
    box-shadow: 0 0 0 3px rgba(0, 191, 165, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.product-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border-radius: 18px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.product-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.3);
}

.product-image {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 1rem;
    border: 1px solid rgba(0, 191, 165, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.product-card:hover .product-image {
    border-color: var(--leviathyn-teal);
    box-shadow: 0 4px 20px rgba(0, 191, 165, 0.3);
}

.product-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.product-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.sold-out-badge {
    background: linear-gradient(135deg, #ff5757, #ff7777);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    margin: 1rem 0;
    box-shadow: 0 4px 16px rgba(255, 87, 87, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-notify {
    width: 100%;
    background: rgba(0, 191, 165, 0.15);
    color: var(--leviathyn-teal-light);
    border: 2px solid var(--leviathyn-teal);
}

.btn-notify:hover {
    background: rgba(0, 191, 165, 0.25);
    border-color: var(--leviathyn-teal-light);
    color: #fff;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(50px) saturate(200%);
    -webkit-backdrop-filter: blur(50px) saturate(200%);
    padding: 2.5rem;
    border-radius: 24px;
    max-width: 500px;
    width: 90%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.15);
    position: relative;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    line-height: 1;
    transition: all 0.3s ease;
}

.modal-close:hover {
    color: var(--leviathyn-teal);
    transform: rotate(90deg);
}

.modal-content h2 {
    color: var(--leviathyn-teal);
    margin-bottom: 1rem;
    font-size: 1.75rem;
}

.modal-content p {
    margin-bottom: 1.5rem;
}

#product-name {
    color: var(--leviathyn-teal-light);
    font-weight: 600;
}

.notify-form .form-group {
    margin-bottom: 1.5rem;
}

.notify-form .btn-primary {
    width: 100%;
}

/* Scroll behavior */
html {
    scroll-padding-top: 110px;
}
