/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 20px;
    color: #1a1a1a;
    text-decoration: none;
}

.logo {
    font-size: 24px;
}

.logo-img {
    width: 32px;
    height: 32px;
    border-radius: 6px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: #4a4a4a;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #6366f1;
}

.cta-button {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white !important;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: #1a1a1a;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f8faff 0%, #f0f4ff 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
    animation: gradient-shift 3s ease-in-out infinite;
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-subtitle {
    font-size: 20px;
    color: #6b7280;
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.primary-button, .secondary-button {
    padding: 16px 32px;
    border-radius: 16px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.primary-button {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.primary-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.4);
}

.secondary-button {
    background: white;
    color: #6366f1;
    border: 2px solid #e5e7eb;
}

.secondary-button:hover {
    border-color: #6366f1;
    background: #f8faff;
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 32px;
    font-weight: 800;
    color: #6366f1;
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    color: #6b7280;
    font-weight: 500;
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    position: relative;
}

.phone-mockup {
    position: relative;
    transform: perspective(1000px) rotateY(-15deg) rotateX(5deg);
    transition: transform 0.3s ease;
}

.phone-mockup:hover {
    transform: perspective(1000px) rotateY(-10deg) rotateX(2deg);
}

.phone-screen {
    width: 280px;
    height: 560px;
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    border-radius: 40px;
    padding: 20px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
    position: relative;
}

.phone-screen::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: #374151;
    border-radius: 2px;
}

.app-preview {
    background: #f8faff;
    border-radius: 20px;
    height: 100%;
    padding: 24px;
    overflow: hidden;
}

.scan-result {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 40px;
}

.product-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-radius: 12px;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    animation: slide-up 0.6s ease-out;
}

.product-card.good {
    border-left: 4px solid #10b981;
}

.product-card.avoid {
    border-left: 4px solid #ef4444;
}

.product-card .emoji {
    font-size: 24px;
}

.product-info strong {
    font-size: 16px;
    font-weight: 600;
    display: block;
}

.score {
    font-size: 14px;
    font-weight: 600;
    color: #6366f1;
}

.product-info p {
    font-size: 12px;
    color: #6b7280;
    margin-top: 4px;
}

@keyframes slide-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Features Section */
.features {
    padding: 100px 0;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 16px;
    color: #1a1a1a;
}

.section-header p {
    font-size: 18px;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.feature-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f3f4f6;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 24px;
}

.feature-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #1a1a1a;
}

.feature-card p {
    color: #6b7280;
    line-height: 1.7;
    font-size: 16px;
}

/* How It Works Section */
.how-it-works {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8faff 0%, #f0f4ff 100%);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 60px;
    margin-top: 80px;
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    border-radius: 50%;
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 32px;
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
}

.step-content h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #1a1a1a;
}

.step-content p {
    color: #6b7280;
    margin-bottom: 24px;
    line-height: 1.7;
}

.step-visual {
    margin-top: 24px;
}

.demo-card {
    background: white;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid #f3f4f6;
}

.camera-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #f3f4f6;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 12px;
}

.progress {
    height: 100%;
    background: linear-gradient(90deg, #6366f1 0%, #8b5cf6 100%);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.result {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 8px;
    text-align: left;
}

.result.good {
    color: #10b981;
}

.result.avoid {
    color: #ef4444;
}

.result small {
    color: #6b7280;
    font-size: 12px;
}

/* Values Section */
.values {
    padding: 100px 0;
    background: white;
}

.values-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.values-text h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 24px;
    color: #1a1a1a;
}

.values-text p {
    font-size: 18px;
    color: #6b7280;
    margin-bottom: 32px;
    line-height: 1.7;
}

.values-list {
    list-style: none;
    margin-bottom: 32px;
}

.values-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 16px;
}

.values-note {
    font-size: 16px;
    color: #374151;
    font-weight: 500;
}

.settings-mockup {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid #f3f4f6;
}

.setting-item {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
}

.setting-item span:first-child {
    min-width: 140px;
    font-weight: 500;
}

.slider {
    flex: 1;
    position: relative;
}

.slider-track {
    height: 8px;
    background: #f3f4f6;
    border-radius: 4px;
    position: relative;
}

.slider-thumb {
    position: absolute;
    top: -4px;
    width: 16px;
    height: 16px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-thumb:hover {
    transform: scale(1.2);
}

.setting-value {
    min-width: 120px;
    font-weight: 600;
    color: #6366f1;
    text-align: right;
}

/* Coming Soon Section */
.coming-soon {
    padding: 100px 0;
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    color: white;
}

.coming-soon .section-header h2,
.coming-soon .section-header p {
    color: white;
}

.coming-soon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 80px;
}

.coming-soon-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.coming-soon-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.08);
}

.coming-soon-card.featured {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(139, 92, 246, 0.2) 100%);
    border: 1px solid rgba(99, 102, 241, 0.3);
}

.coming-soon-icon {
    font-size: 48px;
    margin-bottom: 24px;
}

.coming-soon-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.coming-soon-card p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 24px;
    line-height: 1.7;
}

.coming-soon-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.feature-tag {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 500;
}

.coming-soon-status {
    display: flex;
    justify-content: flex-end;
}

.status-badge {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

/* Download Section */
.download {
    padding: 100px 0;
    background: white;
}

.download-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.download-text h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 24px;
    color: #1a1a1a;
}

.download-text p {
    font-size: 18px;
    color: #6b7280;
    margin-bottom: 40px;
    line-height: 1.7;
}

.download-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.download-button {
    display: block;
    transition: transform 0.3s ease;
}

.download-button:hover {
    transform: translateY(-3px);
}

.download-button img {
    height: 60px;
    width: auto;
}

.download-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.download-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    color: #374151;
}

.check {
    color: #10b981;
    font-weight: 600;
}

.phone-showcase {
    display: flex;
    justify-content: center;
}

.phone-frame {
    width: 250px;
    height: 500px;
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    border-radius: 35px;
    padding: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
}

.phone-frame::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: #374151;
    border-radius: 2px;
}

.phone-content {
    background: #f8faff;
    border-radius: 20px;
    height: 100%;
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.app-header {
    text-align: center;
    margin-bottom: 20px;
}

.app-title {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
}

.scan-interface {
    text-align: center;
    margin-bottom: 20px;
}

.scan-button {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-size: 28px;
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 12px 35px rgba(99, 102, 241, 0.4);
    }
}

.scan-interface p {
    color: #6b7280;
    font-weight: 500;
}

.recent-scans {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    min-height: 0;
}

.scan-item {
    padding: 10px;
    border-radius: 8px;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    font-size: 12px;
    font-weight: 500;
}

.scan-item.good {
    border-left: 3px solid #10b981;
}

.scan-item.mixed {
    border-left: 3px solid #f59e0b;
}

.scan-item.avoid {
    border-left: 3px solid #ef4444;
}

/* Footer */
.footer {
    background: #1f2937;
    color: white;
    padding: 80px 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-weight: 700;
    font-size: 20px;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom p {
    margin-bottom: 8px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-links {
        display: none;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 40px;
    }
    
    .section-header h2 {
        font-size: 32px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-card {
        padding: 32px;
    }
    
    .steps {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .values-content,
    .download-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .primary-button,
    .secondary-button {
        padding: 14px 24px;
        font-size: 14px;
    }
    
    .container {
        padding: 0 16px;
    }
    
    .phone-mockup {
        transform: none;
    }
    
    .phone-screen {
        width: 250px;
        height: 500px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .values-text h2,
    .download-text h2 {
        font-size: 32px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .primary-button,
    .secondary-button {
        width: 100%;
        max-width: 280px;
        text-align: center;
        justify-content: center;
    }
}