/* ============================================
   Mariz LLC — Elegant Dark Theme
   ============================================ */

:root {
    --color-bg: #05070A; /* Deep obsidian/night sky */
    --color-bg-elevated: #0A0D14;
    --color-bg-card: rgba(14, 18, 26, 0.6);
    --color-surface: rgba(20, 25, 35, 0.8);
    
    --color-text: #F2EFE9; /* Warm off-white */
    --color-text-secondary: #A3A6AE;
    --color-text-muted: #6B6E75;
    
    --color-accent: #D4AF37; /* Metallic Gold */
    --color-accent-hover: #F3E5AB; /* Champagne */
    --color-accent-dim: rgba(212, 175, 55, 0.1);
    
    --color-border: rgba(212, 175, 55, 0.15);
    --color-border-hover: rgba(212, 175, 55, 0.35);
    
    --gradient-gold: linear-gradient(135deg, #BF953F, #FCF6BA, #B38728, #FBF5B7, #AA771C);
    
    --font-body: 'Inter', sans-serif;
    --font-display: 'Playfair Display', serif;
    
    --max-width: 1040px;
    --radius: 20px;
    --radius-sm: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    position: relative;
}

::selection {
    background: var(--color-accent);
    color: #000;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ---- Ambient Backgrounds ---- */

.bg-pattern {
    position: fixed;
    inset: 0;
    /* Subtle geometric star pattern */
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23D4AF37' fill-opacity='0.03'%3E%3Cpath d='M30 0l14.14 14.14L60 30 44.14 44.14 30 60 15.86 44.14 0 30 15.86 15.86z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: -2;
    pointer-events: none;
}

.ambient-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: -1;
}

.orb-1 {
    top: -150px;
    left: -150px;
    width: 500px;
    height: 500px;
    background: rgba(212, 175, 55, 0.05);
}

.orb-2 {
    bottom: -200px;
    right: -100px;
    width: 600px;
    height: 600px;
    background: rgba(212, 175, 55, 0.03);
}

/* ---- Navigation ---- */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(5, 7, 10, 0.6);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    color: var(--color-text);
    letter-spacing: 0.5px;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 24px;
}

.nav-links {
    display: flex;
    gap: 36px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

/* ---- Hero ---- */

.hero {
    position: relative;
    padding: 220px 0 140px;
    text-align: center;
}

.hero-content {
    max-width: 760px;
    margin: 0 auto;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: 68px;
    font-weight: 600;
    line-height: 1.15;
    margin-bottom: 28px;
    color: var(--color-text);
    animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.accent-text {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-style: italic;
    font-weight: 700;
}

.hero-sub {
    font-size: 19px;
    color: var(--color-text-secondary);
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto 48px;
    animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

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

/* ---- Buttons ---- */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--gradient-gold);
    color: #000;
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(212, 175, 55, 0.3);
    filter: brightness(1.1);
}

.btn-ghost {
    background: transparent;
    color: var(--color-text);
    border: 1px solid var(--color-border);
}

.btn-ghost:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    background: var(--color-accent-dim);
}

/* ---- Stats Bar ---- */

.stats-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.02), transparent);
}

.stats-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 72px;
    padding: 40px 0;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.stat-value {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 600;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: var(--color-border);
    opacity: 0.5;
}

/* ---- Sections ---- */

.section {
    padding: 140px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-accent);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-display);
    font-size: 42px;
    font-weight: 600;
    color: var(--color-text);
}

/* ---- App Card (Glassmorphism + Elegance) ---- */

.app-card {
    position: relative;
    border-radius: var(--radius);
    padding: 1px; /* Gradient border effect */
    background: linear-gradient(135deg, var(--color-border), transparent 60%);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.app-card:hover {
    transform: translateY(-6px);
    background: linear-gradient(135deg, var(--color-border-hover), transparent 60%);
}

.app-card-content {
    background: var(--color-bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: calc(var(--radius) - 1px);
    padding: 56px;
    position: relative;
    z-index: 2;
}

.app-header {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 32px;
}

.app-icon {
    width: 88px;
    height: 88px;
    border-radius: 22px;
    background: var(--gradient-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 32px rgba(212, 175, 55, 0.2);
    position: relative;
}

.app-icon::after {
    content: '';
    position: absolute;
    inset: 2px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.app-icon-text {
    font-size: 40px;
    color: #000;
    font-weight: 700;
    position: relative;
    z-index: 2;
}

.app-title-group h3 {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 6px;
}

.app-tagline {
    font-size: 16px;
    color: var(--color-accent);
    font-style: italic;
    font-family: var(--font-display);
}

.app-desc {
    font-size: 17px;
    color: var(--color-text-secondary);
    margin-bottom: 36px;
    line-height: 1.8;
    max-width: 800px;
}

.app-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
}

.feature-tag {
    padding: 8px 18px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    color: var(--color-text);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s;
}

.feature-tag:hover {
    border-color: var(--color-accent);
    background: var(--color-accent-dim);
}

/* ---- More Coming Card ---- */

.more-coming-card {
    margin-top: 32px;
    text-align: center;
    padding: 40px;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
}

.more-coming-content h4 {
    font-family: var(--font-display);
    font-size: 20px;
    font-style: italic;
    color: var(--color-text);
    margin-bottom: 8px;
}

.more-coming-content p {
    font-size: 14px;
    color: var(--color-text-muted);
}

/* ---- About Section ---- */

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text p {
    font-size: 18px;
    color: var(--color-text-secondary);
    margin-bottom: 24px;
    line-height: 1.8;
}

.values {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.value-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.value-icon-wrap {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--color-accent-dim);
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    font-size: 18px;
}

.value-item h4 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--color-text);
}

.value-item p {
    font-size: 15px;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* ---- Footer ---- */

.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 60px 0;
    background: #030407;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-brand p {
    font-size: 14px;
    color: var(--color-text-muted);
    margin-top: 12px;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    font-size: 14px;
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: color 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links a:hover {
    color: var(--color-accent);
}

/* ---- Responsive ---- */

@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 56px;
    }
}

@media (max-width: 768px) {
    .hero { padding: 160px 0 100px; }
    .hero h1 { font-size: 42px; }
    .hero-sub { font-size: 16px; }
    
    .stats-inner { flex-wrap: wrap; gap: 32px; }
    .stat-divider { display: none; }
    .stat { width: 40%; }
    
    .app-card-content { padding: 32px; }
    .app-header { flex-direction: column; align-items: flex-start; gap: 20px; }
    
    .footer-inner { flex-direction: column; gap: 32px; text-align: center; }
    .nav-links { display: none; } /* Consider a hamburger menu for mobile */
}

/* ---- Text Pages (Privacy / Support) ---- */

.page-content {
    padding: 160px 0 100px;
    max-width: 760px;
}

.page-content h1 {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 12px;
}

.page-content .last-updated {
    font-size: 14px;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 48px;
}

.page-content h2 {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 600;
    margin-top: 48px;
    margin-bottom: 16px;
    color: var(--color-text);
}

.page-content p, .page-content ul {
    font-size: 16px;
    color: var(--color-text-secondary);
    margin-bottom: 20px;
    line-height: 1.8;
}

.page-content ul { padding-left: 24px; }
.page-content li { margin-bottom: 12px; }
.page-content li strong { color: var(--color-text); font-weight: 500; }

.page-content a {
    color: var(--color-accent);
    text-decoration: none;
    border-bottom: 1px solid var(--color-border);
    transition: all 0.3s;
}

.page-content a:hover {
    border-bottom-color: var(--color-accent);
    color: var(--color-accent-hover);
}