/**
 * Landing Page Styles
 * Modern, clean design inspired by product pages
 */

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.hero-title {
    color: var(--yh-dark);
    line-height: 1.2;
    font-weight: 800;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--yh-secondary);
    line-height: 1.6;
}

/* CTA Buttons */
.btn-cta-main {
    padding: 1.25rem 3rem;
    font-size: 1.4rem;
    font-weight: 700;
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.4);
    transition: all 0.3s ease;
    border-width: 2px;
}

.btn-cta-main:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 102, 204, 0.5);
}

.btn-cta-secondary {
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-cta-secondary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.2);
}

/* Hero Visual - Browser Window Mockup */
.hero-visual {
    perspective: 1000px;
}

.browser-window {
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    transform: rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.browser-window:hover {
    transform: rotateY(0deg) rotateX(0deg);
}

.browser-header {
    background: #f1f3f4;
    padding: 12px;
    border-bottom: 1px solid #ddd;
}

.browser-buttons {
    display: flex;
    gap: 8px;
}

.browser-buttons .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.browser-buttons .dot.red { background: #ff5f56; }
.browser-buttons .dot.yellow { background: #ffbd2e; }
.browser-buttons .dot.green { background: #27c93f; }

.browser-content {
    padding: 24px;
    background: #fafafa;
}

.bookmark-preview {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.bookmark-item {
    background: white;
    border-radius: 8px;
    height: 80px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
}

.bookmark-item:nth-child(1) { animation-delay: 0.1s; }
.bookmark-item:nth-child(2) { animation-delay: 0.2s; }
.bookmark-item:nth-child(3) { animation-delay: 0.3s; }
.bookmark-item:nth-child(4) { animation-delay: 0.4s; }
.bookmark-item:nth-child(5) { animation-delay: 0.5s; }
.bookmark-item:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
    from {
        opacity: 0;
        transform: translateY(20px);
    }
}

/* Features Section */
.features-section {
    background: white;
}

.feature-row {
    padding: 2rem 0;
    min-height: 400px;
    margin-bottom: 1rem;
}

.feature-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--yh-dark);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.feature-description {
    font-size: 1.25rem;
    color: var(--yh-secondary);
    line-height: 1.8;
}

/* Feature Image Placeholders */
.feature-image-placeholder {
    width: 100%;
    height: 380px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    margin-bottom: 2rem;
}

.feature-image-placeholder i {
    font-size: 8rem;
    opacity: 0.9;
}

.sync-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.organize-icon {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.share-icon {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
}

.privacy-icon {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    color: white;
}

.free-icon {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    color: white;
}

.browser-icon {
    background: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
    color: white;
}

.feature-image-placeholder:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Final CTA Section */
.final-cta-section {
    background: linear-gradient(135deg, var(--yh-primary) 0%, #0052a3 100%);
    color: white;
}

.final-cta-section h2 {
    color: white;
}

.final-cta-section .lead {
    color: rgba(255, 255, 255, 0.9);
}

.final-cta-section .btn-primary {
    background: white;
    color: var(--yh-primary);
    border: none;
}

.final-cta-section .btn-primary:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 991px) {
    .feature-row {
        padding: 2rem 0;
        min-height: auto;
    }

    .feature-title {
        font-size: 2rem;
        text-align: center;
    }

    .feature-description {
        font-size: 1.1rem;
        text-align: center;
    }

    .feature-image-placeholder {
        height: 250px;
        margin-bottom: 2rem;
    }

    .feature-image-placeholder i {
        font-size: 5rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .btn-cta-main {
        padding: 0.875rem 2rem;
        font-size: 1.1rem;
    }

    .feature-title {
        font-size: 1.75rem;
    }

    .feature-description {
        font-size: 1rem;
    }
}

/* Feature Lists */
.feature-list {
    list-style: none;
    padding-left: 0;
}

.feature-list li {
    padding: 0.5rem 0;
    font-size: 1.1rem;
    color: var(--yh-secondary);
    line-height: 1.6;
}

.feature-list li strong {
    color: var(--yh-primary);
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 4rem 0;
}

.stat-card {
    text-align: center;
    padding: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--yh-primary);
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--yh-secondary);
    font-weight: 500;
}

/* Use Cases Section */
.use-cases-section {
    background: white;
    padding: 4rem 0;
}

.use-case-card {
    padding: 2rem;
    border-radius: 12px;
    background: #f8f9fa;
    transition: all 0.3s ease;
    height: 100%;
}

.use-case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.use-case-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--yh-primary);
}

.use-case-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--yh-dark);
}

.use-case-description {
    color: var(--yh-secondary);
    line-height: 1.6;
}

/* How It Works Section */
.how-it-works-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 4rem 0;
}

.step-card {
    text-align: center;
    padding: 2rem 1rem;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--yh-primary);
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.step-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--yh-dark);
}

.step-description {
    color: var(--yh-secondary);
    line-height: 1.6;
}

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

/* Animations */
.hero-section > * {
    animation: fadeIn 0.8s ease-out;
}

.feature-row {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
    animation-timeline: view();
    animation-range: entry 0% cover 30%;
}
