:root {
    --bg-dark: #0a0a0a;
    --bg-card: rgba(255, 255, 255, 0.05);
    --primary: #00f2fe;
    --primary-alt: #4facfe;
    --accent-gradient: linear-gradient(135deg, var(--primary) 0%, var(--primary-alt) 100%);
    --text-main: #ffffff;
    --text-dim: #a0a0a0;
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

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

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

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
}

.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Animated Background */
.bg-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    filter: blur(80px);
}

.blob {
    position: absolute;
    width: 40vw;
    height: 40vw;
    background: var(--primary);
    opacity: 0.15;
    border-radius: 50%;
    animation: float 20s infinite alternate;
}

.blob-1 {
    top: -10%;
    left: -10%;
    background: var(--primary);
}

.blob-2 {
    bottom: -10%;
    right: -10%;
    background: var(--primary-alt);
    animation-delay: -5s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(100px, 50px) scale(1.1);
    }
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--text-main);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-dim);
    font-weight: 500;
    transition: color 0.3s;
    font-size: 0.95rem;
}

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

/* Hero Section */
.hero {
    padding-top: 180px;
    padding-bottom: 150px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-phone-container {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    z-index: -1;
    perspective: 2000px;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0.6;
}

.hero-phone-container::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 20%, var(--bg-dark) 80%);
    z-index: 1;
}

.iphone-frame {
    width: 320px;
    height: 650px;
    background: #111;
    border: 12px solid #222;
    border-radius: 54px;
    position: relative;
    transform-style: preserve-3d;
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.8),
        0 0 100px rgba(0, 242, 254, 0.1);
    animation: hero-tilt 12s infinite ease-in-out;
}

.iphone-screen {
    width: 100%;
    height: 100%;
    border-radius: 42px;
    overflow: hidden;
    position: relative;
    background: #000;
}

.iphone-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
}

.iphone-island {
    position: absolute;
    top: 22px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 18px;
    background: #000;
    border-radius: 20px;
    z-index: 2;
}

@keyframes hero-tilt {
    0% {
        transform: rotateY(-15deg) rotateX(10deg) translateZ(0);
    }

    50% {
        transform: rotateY(15deg) rotateX(-5deg) translateZ(50px);
    }

    100% {
        transform: rotateY(-15deg) rotateX(10deg) translateZ(0);
    }
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 5rem);
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -2px;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-dim);
    max-width: 600px;
    margin: 0 auto 40px;
}

.store-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.store-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #000;
    padding: 12px 24px;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    text-decoration: none;
    color: #fff;
    transition: transform 0.3s, border-color 0.3s;
}

.store-btn:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
}

.store-btn svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

/* Features */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.features {
    padding: 100px 0;
}

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

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: 24px;
    transition: transform 0.3s, background 0.3s;
    backdrop-filter: blur(10px);
}

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

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--accent-gradient);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 1.5rem;
    color: #000;
}

/* App Showcase */
.showcase {
    padding: 100px 0;
    overflow: hidden;
}

.showcase-content {
    display: flex;
    align-items: center;
    gap: 80px;
    flex-wrap: wrap;
}

.showcase-text {
    flex: 1;
    min-width: 350px;
}

.showcase-image {
    flex: 1;
    min-width: 350px;
    position: relative;
}

.phone-mockup {
    width: 300px;
    height: 650px;
    background: #111;
    border: 8px solid #222;
    border-radius: 40px;
    margin: 0 auto;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    position: relative;
}

/* FAQ */
.faq {
    padding: 100px 0;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 16px;
    border-radius: 16px;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    overflow: hidden;
}

.faq-question {
    padding: 24px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    padding: 0 24px 24px;
    color: var(--text-dim);
    display: none;
}

/* Contact Form */
.contact {
    padding: 100px 0;
}

.contact-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    padding: 60px;
    border-radius: 32px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    padding: 16px;
    border-radius: 12px;
    color: #fff;
    outline: none;
    transition: border-color 0.3s;
}

.form-input:focus {
    border-color: var(--primary);
}

.submit-btn {
    width: 100%;
    background: var(--accent-gradient);
    color: #000;
    border: none;
    padding: 18px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.3s;
}

.submit-btn:hover {
    transform: scale(1.02);
}

/* Footer */
footer {
    padding: 80px 0 40px;
    border-top: 1px solid var(--glass-border);
    margin-top: 100px;
}

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

.footer-col h4 {
    margin-bottom: 24px;
    color: var(--text-main);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-dim);
    text-decoration: none;
    transition: color 0.3s;
}

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

.footer-bottom {
    text-align: center;
    color: var(--text-dim);
    font-size: 0.9rem;
    padding-top: 40px;
    border-top: 1px solid var(--glass-border);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

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

    .contact-card {
        padding: 40px 24px;
    }
}

.legal-page main {
    padding-bottom: 100px;
}

.legal-page h2 {
    margin-top: 40px;
    margin-bottom: 20px;
}

.legal-page p {
    margin-bottom: 16px;
    color: var(--text-dim);
}