:root {
    --bg-color: #0a0a0a;
    --text-color: #ffffff;
    --accent-color: #3b82f6;
    --accent-gradient: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    --card-bg: rgba(255, 255, 255, 0.05);
    --card-border: rgba(255, 255, 255, 0.1);
    --blur: 20px;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
    border-bottom: 1px solid var(--card-border);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.2rem;
    text-decoration: none;
    color: var(--text-color);
}

.logo img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    margin-left: 20px;
    transition: color 0.3s ease;
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: var(--accent-gradient);
    filter: blur(100px);
    opacity: 0.15;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.hero-content {
    flex: 1;
    padding-right: 50px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
}

.cta-button {
    display: inline-block;
    padding: 16px 32px;
    background: var(--accent-gradient);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.4);
}

/* Features Section */
.features {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 30px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.7);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 20px;
    display: inline-block;
    padding: 12px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 12px;
    color: #60a5fa;
}

/* Screenshots Section */
.screenshots {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.02);
}

.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.screenshot-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--card-border);
}

.screenshot-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.screenshot-item:hover img {
    transform: scale(1.05);
}

.screenshot-caption {
    padding: 20px;
    background: rgba(0, 0, 0, 0.8);
    position: absolute;
    bottom: 0;
    width: 100%;
    backdrop-filter: blur(10px);
}

/* Footer */
footer {
    padding: 60px 0;
    border-top: 1px solid var(--card-border);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 120px;
    }

    .hero-content {
        padding-right: 0;
        margin-bottom: 50px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

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

/* App Store Badge & Coming Soon */
.app-store-button-wrapper {
    display: inline-block;
    position: relative;
    cursor: not-allowed;
}

.app-store-badge {
    height: 60px;
    /* Adjust size as needed */
    width: auto;
    display: block;
    transition: opacity 0.3s ease;
}

.app-store-button-wrapper.disabled .app-store-badge {
    opacity: 0.5;
    filter: grayscale(100%);
}

.coming-soon-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-10deg);
    background: #ef4444;
    /* Red color for alert */
    color: white;
    padding: 5px 15px;
    font-weight: bold;
    font-size: 0.9rem;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
    pointer-events: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Sample Cards */
.sample-card img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin-bottom: 20px;
}

.sample-card a {
    display: block;
    position: relative;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.sample-card a:hover {
    transform: scale(1.02);
}

.ar-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 8px;
    border-radius: 6px;
    font-weight: bold;
    font-size: 0.8rem;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    pointer-events: none;
}

/* TestFlight Button */
.testflight-badge {
    height: 60px;
    /* Matching App Store badge height */
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

.testflight-badge:hover {
    transform: scale(1.05);
}

/* Support Section */
.support {
    padding: 80px 0;
    text-align: center;
    background: rgba(255, 255, 255, 0.02);
}

.support-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 100px;
    flex-wrap: wrap;
    margin: 0 auto;
    max-width: 600px;
}

.support-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 1.3rem;
    padding: 14px 28px;
    border: 1px solid var(--card-border);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.support-links a:hover {
    color: var(--text-color);
    background: var(--card-bg);
    border-color: var(--accent-color);
}