:root {
    --primary-color: #f8f8f8;
    --text-dark: #1a1a1a;
    --text-light: #f8f8f8;
    --accent: #d4af37;
    --sheet-bg: #ffffff;
    --transition-speed: 0.4s;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: var(--font-body);
    background-color: #000;
    color: var(--text-light);
}

.app-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background-image: url('hero-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.app-container::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.1) 40%, rgba(0,0,0,0.85) 100%);
    z-index: 1;
}

header {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.menu-btn {
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

main.hero {
    position: relative;
    z-index: 10;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 32px 24px;
    padding-bottom: 64px;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 16px;
    font-weight: 400;
}

.hero-content p {
    font-size: 1rem;
    line-height: 1.5;
    opacity: 0.9;
    max-width: 300px;
    margin-bottom: 32px;
}

.primary-btn {
    width: 100%;
    padding: 18px;
    background-color: var(--text-light);
    color: var(--text-dark);
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
}

.primary-btn:active {
    background-color: #e0e0e0;
    transform: scale(0.98);
}

/* Bottom Sheet */
.bottom-sheet {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 85%;
    background-color: var(--sheet-bg);
    color: var(--text-dark);
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    z-index: 20;
    display: flex;
    flex-direction: column;
    transform: translateY(100%);
    transition: transform var(--transition-speed) cubic-bezier(0.32, 0.72, 0, 1);
    box-shadow: 0 -10px 40px rgba(0,0,0,0.2);
}

.bottom-sheet.visible {
    transform: translateY(0);
}

.sheet-header {
    padding: 16px 24px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative;
}

.drag-handle {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 4px;
    background-color: #e0e0e0;
    border-radius: 2px;
}

.close-btn, .close-menu-btn {
    background: none;
    border: none;
    color: var(--text-dark);
    cursor: pointer;
    padding: 8px;
}

.sheet-content {
    flex: 1;
    overflow-y: auto;
    padding: 0 24px;
}

.tabs {
    display: flex;
    border-bottom: 1px solid #eee;
    margin-bottom: 24px;
}

.tab-btn {
    flex: 1;
    background: none;
    border: none;
    padding: 12px 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: #888;
    cursor: pointer;
    position: relative;
    transition: color 0.2s;
}

.tab-btn.active {
    color: var(--text-dark);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--text-dark);
}

.tab-panel {
    display: none;
    animation: fadeIn 0.4s ease;
}

.tab-panel.active {
    display: block;
}

.tab-panel h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 16px;
    font-weight: 400;
}

.tab-panel p {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 16px;
}

.panel-img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 16px;
    height: 220px;
    object-fit: cover;
}

.sheet-footer {
    padding: 24px;
    background-color: var(--sheet-bg);
    border-top: 1px solid #eee;
}

.secondary-btn {
    width: 100%;
    padding: 18px;
    background-color: var(--text-dark);
    color: var(--text-light);
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: transform 0.1s;
}

.secondary-btn:active {
    transform: scale(0.98);
}

/* Menu Overlay */
.menu-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--text-dark);
    z-index: 30;
    display: flex;
    flex-direction: column;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-speed) ease;
}

.menu-overlay.visible {
    opacity: 1;
    pointer-events: auto;
}

.menu-header {
    display: flex;
    justify-content: flex-end;
    padding: 24px;
}

.close-menu-btn {
    color: var(--text-light);
}

.fullscreen-nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.nav-link:hover, .nav-link:active {
    opacity: 1;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (min-width: 768px) {
    .app-container {
        max-width: 480px;
        margin: 0 auto;
        border-left: 1px solid #333;
        border-right: 1px solid #333;
    }
}