/* Global Styles */
:root {
    --primary: #FFD700;
    /* Gold */
    --primary-glow: rgba(255, 215, 0, 0.5);
    --secondary: #1A1A1A;
    /* Dark Gray */
    --bg: #000000;
    /* Pure Black */
    --text: #FFFFFF;
    --text-muted: #B0B0B0;
    --glass-bg: rgba(255, 255, 255, 0.08);
    /* Frosted Glass */
    --glass-border: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    min-height: 100vh;
}

/* Premium Mesh Gradient Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 15% 50%, rgba(255, 215, 0, 0.08), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(138, 43, 226, 0.08), transparent 25%);
    z-index: -1;
    filter: blur(100px);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Header - Ultra Premium Glass */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s ease;
}

.logo {
    font-family: 'Inter', sans-serif;
    font-size: 32px;
    font-weight: 800;
    color: #FFFFFF;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    letter-spacing: -1px;
    text-decoration: none;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--glass-bg);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid var(--glass-border);
    font-size: 18px;
    text-decoration: none;
}

.social-btn:hover {
    background: #FFF;
    color: #000;
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.2);
    border-color: #FFF;
}

/* Hero Section */
.hero {
    height: 100vh;
    padding-top: 80px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Hero Text */
.hero-text {
    flex: 1;
    max-width: 580px;
    z-index: 2;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 215, 0, 0.08);
    /* Very subtle gold */
    color: var(--primary);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 32px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.05);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1.5px;
    background: linear-gradient(135deg, #FFFFFF 30%, #999 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero h1 span {
    color: var(--primary);
    /* Highlight word if needed, or keeping plain for elegance */
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 48px;
    line-height: 1.7;
    font-weight: 300;
}

/* Store Buttons */
.cta-group {
    display: flex;
    gap: 20px;
    align-items: center;
}

.store-btn {
    background: #FFF;
    color: #000;
    padding: 12px 28px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: 0.4s cubic-bezier(0.215, 0.610, 0.355, 1.000);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    min-width: 220px;
    /* Fixed width for consistency */
    justify-content: flex-start;
    /* Keep aligned left for natural look, or center? User asked for same size. Left align usually looks better if icon is anchor. */
    /* Actually let's try center if they are same size boxes usually they are centered. */
    justify-content: center;
}

/* Hover Shine */
.store-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    transition: 0.5s;
}

.store-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(255, 255, 255, 0.2);
}

.store-btn:hover::after {
    left: 100%;
}

.store-btn i {
    font-size: 32px;
}

.store-btn .btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.1;
}

.store-btn .btn-text span {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    opacity: 0.8;
}

.store-btn .btn-text strong {
    font-size: 1.25rem;
    font-weight: 800;
}

/* Hero Image (Phone Mockup) */
.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    /* Align right */
    position: relative;
    z-index: 10;
    perspective: 1000px;
    /* Enable 3D */
}

.phone-mockup {
    width: 320px;
    height: 650px;
    background: #000;
    border-radius: 50px;
    box-shadow:
        0 0 0 12px #1f1f1f,
        /* Frame */
        0 0 0 13px #333,
        /* Outer Edge */
        0 50px 100px rgba(0, 0, 0, 0.8),
        /* Deep Shadow */
        0 0 80px rgba(255, 215, 0, 0.15);
    /* Gold Glow behind */
    position: relative;
    overflow: hidden;
    transform: rotateY(-15deg) rotateX(5deg);
    transition: transform 0.5s ease;
    animation: float 6s ease-in-out infinite;
}

.phone-mockup:hover {
    transform: rotateY(0deg) rotateX(0deg) scale(1.02);
}

/* Glossy Reflection */
.phone-mockup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.1) 0%, transparent 40%, transparent 60%, rgba(255, 255, 255, 0.05) 100%);
    pointer-events: none;
    z-index: 25;
}

.notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 35px;
    background: #1f1f1f;
    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px;
    z-index: 20;
}

.screen {
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    flex-direction: column;
    padding: 45px 20px 30px;
}

/* App UI */
.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.app-logo {
    font-family: 'Inter', sans-serif;
    font-size: 26px;
    font-weight: 800;
    color: white;
    letter-spacing: -1px;
}

.app-card {
    flex: 1;
    background: #222;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    /* Use a high quality Unsplash portrait */
    background-image: url('https://images.unsplash.com/photo-1517841905240-472988babdf9?ixlib=rb-1.2.1&auto=format&fit=crop&w=634&q=80');
    background-size: cover;
    background-position: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95), transparent);
}

.card-info h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 4px;
    color: white;
}

.card-info p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    /* Reset global p style */
    display: flex;
    align-items: center;
    gap: 6px;
}

.app-actions {
    height: 90px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
}

.action-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #1A1A1A;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.2s;
}

.action-btn:hover {
    transform: scale(1.1);
    background: #2a2a2a;
}

.action-btn.cross {
    color: #FF1744;
}

.action-btn.heart {
    color: #00E676;
}

/* Footer */
footer {
    padding: 40px 20px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: auto;
}

.footer-links {
    margin-bottom: 20px;
}

.footer-links a {
    margin: 0 15px;
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: 0.3s;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
}

.footer-links a:hover {
    color: var(--primary);
}

.copyright {
    color: #444;
    font-size: 0.8rem;
}

/* Animations */
@keyframes float {

    0%,
    100% {
        transform: rotateY(-15deg) rotateX(5deg) translateY(0);
    }

    50% {
        transform: rotateY(-15deg) rotateX(5deg) translateY(-20px);
    }
}

/* Legal Pages */
.legal-page {
    width: 100%;
    top: 100px;
    position: relative;
    padding-bottom: 100px;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-content h1 {
    color: var(--primary);
    margin-bottom: 40px;
    font-size: 2.5rem;
    text-align: center;
}

.legal-section {
    margin-bottom: 30px;
}

.legal-section h2 {
    color: white;
    margin-bottom: 15px;
    font-size: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
}

.legal-section p,
.legal-section li {
    color: #ccc;
    margin-bottom: 10px;
    line-height: 1.6;
}

.legal-section ul {
    padding-left: 20px;
    margin-bottom: 15px;
}



/* =========================================
   SWIPE ANIMATIONS
   ========================================= */

@keyframes swipeRight {
    0% {
        transform: translateX(0) rotate(0);
        opacity: 1;
    }

    100% {
        transform: translateX(150%) rotate(30deg);
        opacity: 0;
    }
}

@keyframes swipeLeft {
    0% {
        transform: translateX(0) rotate(0);
        opacity: 1;
    }

    100% {
        transform: translateX(-150%) rotate(-30deg);
        opacity: 0;
    }
}

@keyframes scaleIn {
    0% {
        transform: scale(0.9);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.swipe-right {
    animation: swipeRight 0.5s forwards ease-in-out;
}

.swipe-left {
    animation: swipeLeft 0.5s forwards ease-in-out;
}

.card-enter {
    animation: scaleIn 0.4s forwards cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* =========================================
   MOBILE RESPONSIVENESS
   ========================================= */

/* Tablet & Mobile (Max Width 1024px) */
@media screen and (max-width: 1024px) {
    .container {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding-top: 100px;
        /* create space for header */
        padding-bottom: 60px;
    }

    .hero {
        height: auto;
        /* Allow scroll */
        min-height: 100vh;
        padding-top: 0;
        display: block;
        /* Remove flex constraint to allow stacking */
    }

    .hero-text {
        max-width: 100%;
        margin-bottom: 60px;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0 20px;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

    .cta-group {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-image {
        justify-content: center;
        transform: scale(0.9);
        margin-bottom: 40px;
    }

    .phone-mockup {
        animation: none;
        /* Disable heavy animation on mobile */
        transform: rotateY(0) rotateX(0);
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    }
}

/* Mobile (Max Width 768px) */
@media screen and (max-width: 768px) {
    .header {
        padding: 15px 20px;
        background: rgba(0, 0, 0, 0.8);
        /* Darker bg for readability */
    }

    .logo {
        font-size: 24px;
    }

    .social-btn {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .hero h1 {
        font-size: 2.8rem;
        line-height: 1.2;
    }

    .hero p {
        font-size: 1rem;
        padding: 0 10px;
    }

    .store-btn {
        width: 100%;
        /* Full width buttons on mobile */
        max-width: 280px;
        min-width: unset;
        font-size: 0.9rem;
    }

    .hero-image {
        transform: scale(0.85);
        margin-top: -20px;
    }
}

/* Small Mobile (Max Width 480px) */
@media screen and (max-width: 480px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .badge {
        font-size: 0.7rem;
        padding: 8px 16px;
    }

    .phone-mockup {
        width: 280px;
        height: 580px;
    }

    footer {
        padding: 30px 20px;
    }

    .footer-links a {
        display: block;
        margin: 10px 0;
    }
}