/* Design System - ListenUp Malta (Apple Style) */

:root {
    /* Colors */
    --color-bg: #ffffff;
    --color-bg-alt: #fbfbfd;
    --color-text: #1d1d1f;
    --color-text-dim: #86868b;
    --color-accent: #0071e3;
    --color-accent-hover: #0077ed;
    --color-border: rgba(0, 0, 0, 0.1);
    
    /* Typography */
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-display: 'Outfit', var(--font-main);
    
    /* Spacing/Sizing */
    --container-width: 1200px;
    --section-padding: 120px 20px;
    --border-radius: 18px;
    
    /* Transitions */
    --transition-base: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-main);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.5;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

/* Layout */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
}

section {
    padding: var(--section-padding);
}

/* Typography Utilities */
.text-center { text-align: center; }
.text-dim { color: var(--color-text-dim); }
.display-large { font-size: 80px; line-height: 1.05; margin-bottom: 24px; }
.headline { font-size: 48px; line-height: 1.1; margin-bottom: 16px; }
.subheadline { font-size: 24px; color: var(--color-text-dim); font-weight: 500; margin-bottom: 40px; }

/* Components */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    font-size: 17px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-base);
}

.btn-primary {
    background-color: var(--color-accent);
    color: white;
}

.btn-primary:hover {
    background-color: var(--color-accent-hover);
    transform: scale(1.02);
}

.btn-link {
    color: var(--color-accent);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.btn-link:after {
    content: "→";
    transition: transform 0.2s;
}

.btn-link:hover:after {
    transform: translateX(4px);
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
    transition: var(--transition-base);
}

nav .container {
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-links {
    display: flex;
    gap: 32px;
    font-size: 12px;
    font-weight: 400;
    color: var(--color-text-dim);
}

.nav-links a:hover {
    color: var(--color-text);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-bg-alt);
    position: relative;
    overflow: hidden;
    padding-top: 52px;
}

.hero-content {
    max-width: 800px;
    z-index: 2;
}

.hero-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
    z-index: 1;
}

.hero-btns {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

/* Styles Showcase */
.styles-showcase {
    background-color: #fff;
    overflow: hidden;
}

.lineup-img {
    width: 100%;
    max-width: 1000px;
    height: auto;
    margin: 40px auto 0;
    display: block;
    mix-blend-mode: multiply; /* Helps blend white background of the image with the section */
}

/* Feature Cards */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.card {
    background: var(--color-bg-alt);
    padding: 48px;
    border-radius: var(--border-radius);
    transition: var(--transition-base);
    border: 1px solid transparent;
}

.card:hover {
    border-color: var(--color-border);
    background: white;
    box-shadow: 0 20px 40px rgba(0,0,0,0.04);
}

/* Animations */
[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    filter: blur(10px);
    transition: opacity 1.2s cubic-bezier(0.2, 0.8, 0.2, 1), 
                transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1), 
                filter 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: opacity, transform, filter;
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .display-large { font-size: 48px; }
    .headline { font-size: 32px; }
    .nav-links { display: none; }
    .mobile-text-center { text-align: center; }
    --section-padding: 80px 20px;
    .hero { height: auto; min-height: 80vh; padding: 120px 20px; }
    .hero-btns { flex-direction: column; gap: 16px; margin-top: 32px; }
}
