:root {
    --bg-dark: #0a0a0a;
    --gold-primary: #ffd700;
    --gold-secondary: #ffcc33;
    --gold-gradient: linear-gradient(135deg, #ffd700 0%, #ffcc00 50%, #b8860b 100%);
    --gold-soft: rgba(255, 215, 0, 0.1);
    --gold-border: rgba(255, 215, 0, 0.3);
    --text-primary: #ffffff;
    --text-gold: #ffd700;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-blur: blur(10px);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    --radius: 16px;
}

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

html, body {
    height: 100%;
    margin: 0;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, system-ui, sans-serif;
    background-color: var(--bg-dark);
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(255, 215, 0, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(255, 215, 0, 0.05) 0%, transparent 40%);
    color: var(--text-primary);
    display: flex;
    justify-content: center;
    line-height: 1.5;
}

.phone {
    width: 100%;
    max-width: 430px;
    height: 100vh;
    background: var(--bg-dark);
    position: relative;
    overflow-y: auto;
    scrollbar-width: none;
    display: flex;
    flex-direction: column;
}

.phone::-webkit-scrollbar {
    display: none;
}

/* Glassmorphism Header */
.topbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 16px;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--gold-border);
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo {
    height: 48px;
    width: auto;
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.4));
}

.brand .emblem {
    font-size: 11px;
    color: var(--text-gold);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.brand {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

/* Hero Section */
.container {
    padding: 24px 16px;
    margin: 16px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.input-row {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--gold-border);
    border-radius: 12px;
    overflow: hidden;
    margin-top: 16px;
    transition: box-shadow 0.3s ease;
}

.input-row:focus-within {
    box-shadow: 0 0 15px var(--gold-soft);
}

.input-row input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 14px 16px;
    color: white;
    font-size: 14px;
    outline: none;
}

.input-row .btn {
    background: var(--gold-gradient);
    color: #000;
    border: none;
    padding: 0 24px;
    font-weight: 800;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 13px;
    transition: opacity 0.2s ease;
}

.input-row .btn:active {
    opacity: 0.8;
}

/* Feature Boxes */
.why-box {
    margin: 16px;
    padding: 20px;
    border-radius: var(--radius);
    background: linear-gradient(145deg, rgba(30, 30, 30, 0.8), rgba(10, 10, 10, 0.8));
    border: 1px solid var(--gold-border);
    position: relative;
    overflow: hidden;
}

.why-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gold-gradient);
}

.why-box h2 {
    color: var(--text-gold);
    font-size: 18px;
    margin: 0 0 12px 0;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.why-box p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    line-height: 1.6;
}

/* Line List Card */
.lines-card {
    margin: 16px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius);
    border: 1px solid var(--glass-border);
}

.lines-title {
    color: var(--text-gold);
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.lines-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.line-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.line-row:hover {
    border-color: var(--gold-border);
    transform: translateX(4px);
}

.line-num {
    width: 24px;
    height: 24px;
    background: var(--gold-gradient);
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 900;
    margin-right: 12px;
}

.line-domain {
    flex: 1;
    font-weight: 600;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

.line-btn {
    background: var(--gold-soft);
    border: 1px solid var(--gold-border);
    color: var(--text-gold);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.2s ease;
}

.line-btn:hover {
    background: var(--gold-gradient);
    color: #000;
}

/* Brand Grid */
.brand-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 16px;
    margin-bottom: 80px;
}

.brand-grid .cell {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 70px;
}

.brand-grid img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(1) brightness(2);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.brand-grid .cell:hover img {
    filter: none;
    opacity: 1;
}

/* Floating Action Buttons */
.fab-stack {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 2000;
}

.fab {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--bg-dark);
    border: 1px solid var(--gold-border);
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
    padding: 6px;
}

.fab:hover {
    transform: scale(1.1);
    border-color: var(--gold-primary);
}

.fab img, .fab svg {
    width: 32px;
    height: 32px;
}

/* Modal */
.modal {
    position: fixed;
    inset: 0;
    z-index: 3000;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.open {
    display: flex;
}

.modal-box {
    background: #111;
    border: 1px solid var(--gold-border);
    border-radius: 20px;
    padding: 32px 24px;
    width: 100%;
    max-width: 360px;
    text-align: center;
    position: relative;
    box-shadow: 0 0 50px rgba(255, 215, 0, 0.1);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: transparent;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

.modal-image {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

.modal-title {
    color: var(--text-gold);
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 8px;
}

.btn-primary {
    margin-top: 20px;
    background: var(--gold-gradient);
    color: #000;
    border: none;
    padding: 12px 32px;
    border-radius: 12px;
    font-weight: 800;
    text-transform: uppercase;
    width: 100%;
    cursor: pointer;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .phone {
        max-width: 100%;
        height: 100vh;
    }
}