/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* App Colors - Dark Theme with Golden Accents */
    --background: #0B0B0D;
    --surface: #16171A;
    --primary-accent: #BFA181;
    --secondary-accent: #6E6E73;
    --highlight: #D4AF37;
    --text-primary: #FFFFFF;
    --text-secondary: #C0C0C0;
    
    /* Gradients matching app */
    --primary-gradient-start: #0B0B0D;
    --primary-gradient-end: #16171A;
    --accent-gradient-start: #BFA181;
    --accent-gradient-end: #D4AF37;
    
    /* UI Colors */
    --text-light: #9ca3af;
    --bg-primary: #0B0B0D;
    --bg-secondary: #16171A;
    --surface-elevated: rgba(22, 23, 26, 0.8);
    --border: rgba(191, 161, 129, 0.2);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.6);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

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

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(11, 11, 13, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
}

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

.logo-text {
    background: linear-gradient(135deg, var(--accent-gradient-start), var(--accent-gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-icon {
    font-size: 24px;
}

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

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.2s ease;
}

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

.btn-download {
    background: linear-gradient(135deg, var(--accent-gradient-start), var(--accent-gradient-end));
    color: var(--background) !important;
    padding: 10px 20px;
    border-radius: var(--radius-md);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    font-weight: 600;
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

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

.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(7px, -6px);
}

@media (max-width: 640px) {
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--surface);
        flex-direction: column;
        padding: 24px;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-links a {
        padding: 12px 0;
        border-bottom: 1px solid var(--border);
    }

    .nav-links a:last-child {
        border-bottom: none;
    }
}

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

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-gradient-start) 0%, var(--primary-gradient-end) 100%);
    z-index: -1;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(191, 161, 129, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(212, 175, 55, 0.15) 0%, transparent 50%);
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    color: white;
}

.hero-title {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent-gradient-start) 0%, var(--accent-gradient-end) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 20px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    max-width: 540px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 64px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-gradient-start), var(--accent-gradient-end));
    color: var(--background);
    box-shadow: 0 10px 15px -3px rgba(191, 161, 129, 0.3);
    font-weight: 600;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(191, 161, 129, 0.4);
}

.btn-secondary {
    background: rgba(191, 161, 129, 0.1);
    color: var(--text-primary);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(191, 161, 129, 0.3);
}

.btn-secondary:hover {
    background: rgba(191, 161, 129, 0.2);
    border-color: rgba(191, 161, 129, 0.5);
}

.hero-stats {
    display: flex;
    gap: 48px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: left;
}

.stat-number {
    font-size: 36px;
    font-weight: 800;
    color: white;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* Phone Mockup */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    width: 320px;
    height: 640px;
    background: var(--surface);
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(191, 161, 129, 0.1);
    position: relative;
    animation: float 6s ease-in-out infinite;
    border: 1px solid rgba(191, 161, 129, 0.2);
}

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

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-gradient-start) 0%, var(--primary-gradient-end) 100%);
    border-radius: 32px;
    overflow: hidden;
    position: relative;
}

.app-preview {
    width: 100%;
    height: 100%;
    position: relative;
}

.preview-header {
    display: flex;
    gap: 6px;
    padding: 20px 24px 16px;
    justify-content: center;
}

.preview-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
}

.preview-content {
    padding: 24px;
    height: calc(100% - 60px);
    position: relative;
}

.preview-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 40%, rgba(191, 161, 129, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(212, 175, 55, 0.2) 0%, transparent 50%);
}

.preview-card {
    position: relative;
    width: 100%;
    height: 200px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 40px;
    overflow: hidden;
}

.card-shine {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.3) 50%, transparent 70%);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

/* Features Section */
.features {
    padding: 120px 0;
    background: var(--bg-secondary);
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-title {
    font-size: 48px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-description {
    font-size: 20px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

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

.feature-card {
    background: var(--surface);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid var(--border);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(191, 161, 129, 0.4);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--accent-gradient-start), var(--accent-gradient-end));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--background);
    margin-bottom: 24px;
}

.feature-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.feature-description {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* App Showcase Section */
.app-showcase {
    padding: 120px 0;
    background: var(--bg-primary);
}

.showcase-grid {
    display: flex;
    flex-direction: column;
    gap: 120px;
}

.showcase-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.showcase-item.reverse {
    direction: rtl;
}

.showcase-item.reverse > * {
    direction: ltr;
}

.showcase-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-frame {
    width: 280px;
    height: 560px;
    background: var(--surface);
    border-radius: 36px;
    padding: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(191, 161, 129, 0.15);
    border: 1px solid rgba(191, 161, 129, 0.2);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.phone-frame:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7), 0 0 40px rgba(191, 161, 129, 0.25);
    border-color: rgba(191, 161, 129, 0.4);
}

.phone-screen-content {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-gradient-start) 0%, var(--primary-gradient-end) 100%);
    border-radius: 28px;
    overflow: hidden;
    position: relative;
}

.screen-header {
    padding: 20px 24px 12px;
    display: flex;
    justify-content: center;
}

.screen-dots {
    display: flex;
    gap: 6px;
}

.screen-dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
}

.screen-body {
    padding: 20px;
    height: calc(100% - 60px);
}

/* Scan Screen */
.scan-screen .screen-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.camera-view {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 16px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scan-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scan-frame {
    width: 200px;
    height: 300px;
    border: 2px solid rgba(191, 161, 129, 0.6);
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(191, 161, 129, 0.3);
}

.scan-controls {
    position: absolute;
    bottom: 30px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.scan-button {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-gradient-start), var(--accent-gradient-end));
    border: 4px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 20px rgba(191, 161, 129, 0.4);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(191, 161, 129, 0.4);
    }
    50% {
        box-shadow: 0 0 30px rgba(191, 161, 129, 0.6);
    }
}

/* Detail Screen */
.detail-screen .screen-body {
    overflow-y: auto;
}

.perfume-detail {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.detail-image {
    width: 100%;
    height: 200px;
    background: rgba(191, 161, 129, 0.2);
    border-radius: 12px;
    border: 1px solid rgba(191, 161, 129, 0.3);
}

.detail-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.info-line {
    height: 12px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    width: 100%;
}

.info-line.short {
    width: 60%;
}

.detail-notes {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.note-tag {
    height: 24px;
    width: 60px;
    background: rgba(191, 161, 129, 0.3);
    border-radius: 12px;
    border: 1px solid rgba(191, 161, 129, 0.4);
}

/* Home Screen */
.home-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.home-card {
    width: 100%;
    height: 120px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Favorites Screen */
.favorites-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.favorite-item {
    display: flex;
    gap: 12px;
    background: rgba(255, 255, 255, 0.08);
    padding: 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.item-image {
    width: 60px;
    height: 60px;
    background: rgba(191, 161, 129, 0.2);
    border-radius: 8px;
    border: 1px solid rgba(191, 161, 129, 0.3);
    flex-shrink: 0;
}

.item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    justify-content: center;
}

.item-line {
    height: 10px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 5px;
    width: 100%;
}

.item-line.short {
    width: 70%;
}

.showcase-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.showcase-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--accent-gradient-start), var(--accent-gradient-end));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--background);
}

.showcase-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

.showcase-description {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* How It Works Section */
.how-it-works {
    padding: 120px 0;
    background: var(--bg-secondary);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 48px;
    max-width: 1000px;
    margin: 0 auto;
}

.step-item {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.step-number {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--accent-gradient-start), var(--accent-gradient-end));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 800;
    color: var(--background);
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.step-description {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Download Section */
.download {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--primary-gradient-start), var(--primary-gradient-end));
    color: var(--text-primary);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.download::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(191, 161, 129, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(212, 175, 55, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.download-content {
    max-width: 800px;
    margin: 0 auto;
}

.download-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.download-description {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 48px;
}

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

.download-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: rgba(191, 161, 129, 0.15);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(191, 161, 129, 0.3);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
    min-width: 180px;
}

.download-btn:hover {
    background: rgba(191, 161, 129, 0.25);
    border-color: rgba(191, 161, 129, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(191, 161, 129, 0.3);
}

.download-btn-label {
    font-size: 12px;
    opacity: 0.9;
}

.download-btn-name {
    font-size: 18px;
    font-weight: 600;
}

/* Footer */
.footer {
    background: var(--surface);
    color: var(--text-primary);
    padding: 64px 0 32px;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 64px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.footer-brand .logo {
    color: var(--text-primary);
    margin-bottom: 16px;
}

.footer-description {
    color: var(--text-secondary);
    font-size: 15px;
}

.footer-links {
    display: flex;
    flex-direction: row;
    gap: 48px;
    flex-wrap: wrap;
}

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

.footer-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.footer-link-items {
    display: flex;
    flex-direction: row;
    gap: 24px;
    flex-wrap: wrap;
    align-items: center;
}

.footer-link-items a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 15px;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.footer-link-items a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--text-secondary);
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }

    .hero-title {
        font-size: 48px;
    }

    .hero-description {
        max-width: 100%;
    }

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

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

    .phone-mockup {
        width: 280px;
        height: 560px;
    }

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

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

    .footer-content {
        flex-direction: column;
        gap: 48px;
    }

    .footer-links {
        flex-direction: column;
        gap: 32px;
        width: 100%;
    }

    .footer-link-items {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }

    .showcase-item {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .showcase-item.reverse {
        direction: ltr;
    }

    .phone-frame {
        width: 240px;
        height: 480px;
    }
}

@media (max-width: 640px) {
    .nav-links {
        display: none;
    }

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

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

    .hero-title {
        font-size: 36px;
    }

    .hero-description {
        font-size: 18px;
    }

    .section-title {
        font-size: 36px;
    }

    .download-title {
        font-size: 36px;
    }

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

    .btn {
        width: 100%;
        justify-content: center;
    }

    .download-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .download-btn {
        width: 100%;
        justify-content: center;
    }

    .showcase-title {
        font-size: 24px;
    }

    .showcase-description {
        font-size: 16px;
    }

    .phone-frame {
        width: 200px;
        height: 400px;
    }

    .showcase-grid {
        gap: 80px;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Fade In Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

