:root {
    --bg-dark: #0f0f11;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.08);
    --gold: #d4af37;
    --gold-light: #f4d06f;
    --text-main: #fcfcfc;
    --text-muted: #a0a0a0;
    --border: rgba(255, 255, 255, 0.1);
    --border-gold: rgba(212, 175, 55, 0.3);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;
}

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

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

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-main);
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 24px 0;
    transition: all 0.4s ease;
    background: transparent;
}

.header.scrolled {
    background: rgba(15, 15, 17, 0.9);
    backdrop-filter: blur(12px);
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    font-family: var(--font-body);
}

.logo img {
    height: 48px;
    width: auto;
}

.header nav {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-link {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -4px;
    left: 0;
    background-color: var(--gold);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--gold);
}

.nav-link:hover::after {
    width: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold), #b8962e);
    color: #000;
    padding: 12px 28px;
    border-radius: 4px;
    /* classic luxury shape */
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding-top: 140px;
    padding-bottom: 100px;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at top right, #1f1f25 0%, var(--bg-dark) 50%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: var(--gold);
    opacity: 0.03;
    filter: blur(100px);
    border-radius: 50%;
    z-index: 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: center;
    position: relative;
    width: 100%;
}

.hero-text {
    z-index: 1;
}

.hero-subtitle {
    display: block;
    color: var(--gold);
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-text h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 32px;
    letter-spacing: -0.02em;
    background: linear-gradient(to right, #fff 20%, #ccc 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 48px;
    max-width: 560px;
    font-weight: 300;
}

.cta-group {
    display: flex;
    align-items: center;
    gap: 24px;
}

.store-badge img {
    height: 64px;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
}

.store-badge:hover img {
    transform: scale(1.05);
    filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.4)) brightness(1.1);
}

.ios-coming-soon {
    color: var(--text-muted);
    font-size: 0.9rem;
    padding: 12px 24px;
    border: 1px solid var(--border);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.02);
    font-family: var(--font-body);
    letter-spacing: 0.5px;
}

/* Device Frame */
.device-frame {
    width: 100%;
    max-width: 320px;
    aspect-ratio: 9/19.5;
    background: #000;
    border-radius: 48px;
    border: 8px solid #2a2a2a;
    box-shadow:
        0 0 0 2px #444,
        0 20px 50px -10px rgba(0, 0, 0, 0.8),
        0 0 100px -20px rgba(212, 175, 55, 0.15);
    /* Gold glow */
    position: relative;
    margin: 0 auto;
    overflow: hidden;
    transform: rotate(-5deg) translateY(20px);
    transition: transform 0.6s ease;
}

.device-frame:hover {
    transform: rotate(0deg) translateY(0);
}

.screen-content {
    width: 100%;
    height: 100%;
    background: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.app-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
}

/* Intro Text */
.intro {
    padding: 120px 0;
    text-align: center;
    position: relative;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.01);
}

.intro p {
    max-width: 800px;
    margin: 0 auto 16px;
    font-size: 1.35rem;
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-weight: 400;
}

.intro .lead {
    font-size: 2rem;
    color: var(--text-main);
    margin-bottom: 30px;
    font-weight: 600;
}

.intro .lead b {
    color: var(--gold);
    font-weight: 600;
}

/* Features */
.features {
    padding: 140px 0;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 3.5rem;
    margin-bottom: 80px;
    background: linear-gradient(to right, #fff, #999);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 40px;
}

.feature-card {
    background: var(--bg-card);
    padding: 48px 36px;
    border-radius: 16px;
    /* slightly less round for modern look */
    border: 1px solid var(--border);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-gold);
    background: var(--bg-card-hover);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card .icon {
    font-size: 3rem;
    margin-bottom: 24px;
    display: inline-block;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

.feature-card h3 {
    font-family: var(--font-body);
    font-size: 1.4rem;
    margin-bottom: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--text-main);
}

.feature-card p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

/* Privacy */
.privacy {
    padding: 120px 0;
    background: #0a0a0c;
    border-top: 1px solid var(--border);
}

.privacy-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.privacy-lead {
    font-size: 1.5rem;
    color: var(--gold);
    font-family: var(--font-heading);
    margin-bottom: 60px;
}

.privacy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.privacy-item {
    padding: 30px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    transition: transform 0.3s ease;
}

.privacy-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--border-gold);
}

.privacy-item i {
    font-size: 2rem;
    color: var(--gold);
}

.privacy-item span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-main);
}

.privacy-item small {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 300;
}

.privacy-list-detailed {
    display: inline-flex;
    flex-direction: column;
    gap: 16px;
    text-align: left;
    margin: 0 auto;
    padding: 30px;
    background: rgba(212, 175, 55, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 12px;
}

.privacy-list-detailed li {
    font-size: 1.1rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 12px;
}

.privacy-list-detailed li i {
    color: var(--gold);
    font-size: 0.9rem;
}

/* Footer */
.footer {
    padding: 80px 0 40px;
    background: #000;
    border-top: 1px solid var(--border);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-logo {
    height: 40px;
    opacity: 0.8;
}

.footer-brand h4 {
    font-family: var(--font-body);
    font-size: 1.2rem;
    letter-spacing: 1px;
}

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

.footer-links a {
    color: var(--text-muted);
    font-size: 0.95rem;
    position: relative;
}

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

.copyright {
    text-align: center;
    color: #444;
    font-size: 0.85rem;
    padding-top: 30px;
    border-top: 1px solid #111;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-main);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Stats Section */
.stats {
    padding: 80px 0;
    border-bottom: 1px solid var(--border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-item {
    padding: 30px 20px;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--gold);
    display: inline;
    line-height: 1;
}

.stat-suffix {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold);
}

.stat-label {
    display: block;
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-top: 12px;
    font-weight: 400;
    letter-spacing: 0.5px;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid var(--border-gold);
    border-radius: 50%;
    color: var(--gold);
    font-size: 1rem;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: rgba(212, 175, 55, 0.3);
    transform: translateY(-2px);
}

/* Focus Visible Styles */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
    border-radius: 4px;
}

.btn-primary:focus-visible {
    outline-offset: 4px;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered Card Reveal */
.reveal-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-card.active {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
    .container {
        padding: 0 40px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 60px;
    }

    .hero-text h1 {
        font-size: 3.5rem;
    }

    .hero-text p {
        margin: 0 auto 40px;
    }

    .cta-group {
        justify-content: center;
    }

    .device-frame {
        transform: rotate(0deg);
        max-width: 300px;
    }

    .features,
    .privacy,
    .intro {
        padding: 80px 0;
    }

    .section-title {
        font-size: 2.8rem;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .header nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(15, 15, 17, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 32px;
        transition: right 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        border-left: 1px solid var(--border);
    }

    .header nav.open {
        right: 0;
    }

    .header nav .nav-link {
        display: block;
        font-size: 1.1rem;
    }

    .header nav .btn-primary {
        display: inline-block;
        margin-top: 16px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .stat-number {
        font-size: 2.8rem;
    }
}

@media (max-width: 600px) {
    .container {
        padding: 0 24px;
    }

    .hero {
        padding-top: 100px;
        padding-bottom: 60px;
    }

    .hero-text h1 {
        font-size: 2.8rem;
    }

    .hero-text p {
        font-size: 1.1rem;
    }

    .cta-group {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .store-badge img {
        height: 54px;
    }

    .device-frame {
        max-width: 80%;
    }

    .section-title {
        font-size: 2.2rem;
        margin-bottom: 50px;
    }

    .features,
    .privacy,
    .intro,
    .stats {
        padding: 60px 0;
    }

    .feature-card {
        padding: 36px 24px;
    }

    .feature-grid {
        gap: 30px;
    }

    .footer-top {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .footer-links {
        flex-direction: column;
        gap: 20px;
    }

    .intro .lead {
        font-size: 1.5rem;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 42px;
        height: 42px;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2.4rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .feature-card .icon {
        font-size: 2.5rem;
    }

    .privacy-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .stat-number {
        font-size: 2.2rem;
    }

    .stat-suffix {
        font-size: 1.6rem;
    }
}