:root {
    --primary-color: #7C3AED;
    --primary-dark: #6D28D9;
    --primary-light: #8B5CF6;
    --accent-color: #EC4899;
    --text-main: #1F2937;
    --text-muted: #4B5563;
    --bg-light: #F9FAFB;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-shadow: 0 8px 32px rgba(124, 58, 237, 0.1);
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-light);
    overflow-x: hidden;
    position: relative;
}

h1, h2, h3, h4, h5, h6, .logo {
    font-family: 'Poppins', sans-serif;
}

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

.text-purple {
    color: var(--primary-color);
}

/* Background Shapes */
.bg-shape {
    position: absolute;
    filter: blur(80px);
    z-index: -1;
    border-radius: 50%;
    opacity: 0.6;
    animation: float 10s infinite alternate ease-in-out;
}

.shape-1 {
    top: -10%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--primary-light) 0%, rgba(139, 92, 246, 0) 70%);
}

.shape-2 {
    bottom: 20%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--accent-color) 0%, rgba(236, 72, 153, 0) 70%);
    animation-delay: -5s;
}

.shape-3 {
    top: 40%;
    right: 15%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.8) 0%, rgba(99, 102, 241, 0) 70%);
    animation-delay: -2s;
}

@keyframes float {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(30px) scale(1.05); }
}

/* Container & Grid */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-sm {
    max-width: 800px;
}

.section {
    padding: 100px 0;
}

/* Glassmorphism utility */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: var(--glass-shadow);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    gap: 8px;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    box-shadow: 0 4px 14px rgba(124, 58, 237, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.6);
}

.btn-secondary {
    background: white;
    color: var(--text-main);
    border: 1px solid #E5E7EB;
}

.btn-secondary:hover {
    background: #F3F4F6;
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* Navbar */
.navbar {
    padding: 20px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.nav-links a {
    font-weight: 500;
    color: var(--text-muted);
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    gap: 60px;
    padding-top: 120px;
    padding-bottom: 60px;
}

.hero-content {
    flex: 1;
}

.badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(124, 58, 237, 0.1);
    color: var(--primary-dark);
    border-radius: 99px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text-main);
}

.hero-title span {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.stats {
    display: flex;
    gap: 40px;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    color: var(--text-main);
}

.stat-text {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.hero-images {
    flex: 1;
    position: relative;
    height: 600px;
    perspective: 1000px;
}

.phone-mockup {
    position: absolute;
    width: 280px;
    height: 580px;
    border-radius: 40px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.4);
    border: 8px solid white;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.main-mockup {
    right: 10%;
    top: 0;
    z-index: 2;
    transform: rotate3d(0, 1, 0, -15deg) translateY(0);
    animation: float-mockup 6s ease-in-out infinite alternate;
}

.secondary-mockup {
    left: 10%;
    top: 80px;
    z-index: 1;
    transform: rotate3d(0, 1, 0, 15deg) scale(0.9);
    opacity: 0.9;
    filter: blur(1px);
    animation: float-mockup 7s ease-in-out infinite alternate-reverse;
}

@keyframes float-mockup {
    0% { transform: rotate3d(0, 1, 0, -15deg) translateY(0); }
    100% { transform: rotate3d(0, 1, 0, -15deg) translateY(-20px); }
}

.secondary-mockup {
    animation-name: float-mockup-2;
}
@keyframes float-mockup-2 {
    0% { transform: rotate3d(0, 1, 0, 15deg) scale(0.9) translateY(0); }
    100% { transform: rotate3d(0, 1, 0, 15deg) scale(0.9) translateY(-15px); }
}

.notch {
    width: 120px;
    height: 30px;
    background: white;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    margin: -16px auto 16px;
}

.app-ui-header {
    margin-bottom: 24px;
}

.app-ui-header h3 {
    font-size: 1.25rem;
    margin-bottom: 4px;
}

.app-ui-header p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.app-ui-card {
    background: white;
    padding: 16px;
    border-radius: 16px;
    margin-bottom: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.app-ui-card i {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.app-ui-card h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.app-ui-card p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.app-ui-outfit {
    display: flex;
    gap: 12px;
}

.outfit-item {
    flex: 1;
    height: 120px;
    background: linear-gradient(135deg, #F3E8FF, #FCE7F3);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-color);
}

.app-ui-feed .feed-item {
    height: 140px;
    background: linear-gradient(to bottom right, rgba(255,255,255,0.8), rgba(255,255,255,0.4));
    border-radius: 16px;
    margin-bottom: 12px;
}

/* Features Section */
.section-header {
    margin-bottom: 64px;
}

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

.section-header p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

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

.feature-card {
    padding: 32px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(124, 58, 237, 0.15);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: white;
    margin-bottom: 24px;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

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

/* Download Section */
.download-card {
    padding: 64px;
    background: linear-gradient(135deg, rgba(255,255,255,0.8), rgba(255,255,255,0.9));
    border: 1px solid rgba(124, 58, 237, 0.2);
}

.download-card h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.download-card p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 24px;
}

.store-badge {
    display: flex;
    align-items: center;
    gap: 16px;
    backgroundColor: black;
    color: white;
    padding: 12px 24px;
    border-radius: 12px;
    background: #000;
}

.store-badge i {
    font-size: 2rem;
}

.store-info {
    text-align: left;
    display: flex;
    flex-direction: column;
}

.store-info span {
    font-size: 0.7rem;
}

.store-info strong {
    font-size: 1.1rem;
    font-family: 'Poppins', sans-serif;
}

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

/* Footer */
footer {
    background: white;
    padding: 80px 0 32px;
    border-top: 1px solid #E5E7EB;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 64px;
}

.footer-brand {
    flex: 1;
    max-width: 300px;
}

.footer-brand .logo {
    margin-bottom: 16px;
    display: inline-flex;
}

.footer-brand p {
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-light);
    color: var(--text-muted);
}

.social-links a:hover {
    background: var(--primary-color);
    color: white;
}

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

.link-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.link-group h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.link-group a {
    color: var(--text-muted);
}

.link-group a:hover {
    color: var(--primary-color);
    padding-left: 4px;
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid #E5E7EB;
    color: var(--text-muted);
    font-size: 0.9rem;
}

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

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

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

    .stats {
        justify-content: center;
    }

    .hero-images {
        height: 500px;
        width: 100%;
    }

    .main-mockup {
        right: 50%;
        transform: translateX(50%) rotate3d(0,0,0,0);
        animation: float-mobile 6s ease-in-out infinite alternate;
    }

    .secondary-mockup {
        display: none;
    }

    @keyframes float-mobile {
        0% { transform: translateX(50%) translateY(0); }
        100% { transform: translateX(50%) translateY(-20px); }
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* Add hamburger menu in real app */
    }

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

    .footer-content {
        flex-direction: column;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 40px;
    }

    .download-buttons {
        flex-direction: column;
    }
}
