/* Landing Page Specific Styles */

/* Hero Section */
.hero {
    background: var(--hero-bg);
    color: var(--hero-text-color);
    padding: 6rem 0;
    text-align: left;
    position: relative;
    overflow: hidden;
    transition: background 0.3s ease;
}



.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    text-align: left;
}

.hero-content p {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 40px;
    line-height: 1.6;
    text-align: left;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
}

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

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Extension Preview */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.extension-preview {
    position: relative;
    transform: perspective(1000px) rotateY(-15deg) rotateX(10deg);
    transition: transform 0.3s ease;
}

.extension-preview:hover {
    transform: perspective(1000px) rotateY(-10deg) rotateX(5deg);
}

.browser-frame {
    background: var(--browser-frame-bg);
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    width: 400px;
    transition: background-color 0.3s ease;
}

.browser-header {
    background: var(--browser-header-bg);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    transition: background-color 0.3s ease;
}

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

.browser-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--browser-dot-bg);
}

.browser-dots span:nth-child(1) { background: #ff5f56; }
.browser-dots span:nth-child(2) { background: #ffbd2e; }
.browser-dots span:nth-child(3) { background: #27ca3f; }

.extension-content {
    background: var(--card-bg);
    padding: 24px;
    min-height: 300px;
    transition: background-color 0.3s ease;
}

.calendar-preview {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.event-item {
    background: #f8f9fa;
    padding: 12px 16px;
    border-radius: 8px;
    border-left: 4px solid #1a73e8;
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.event-item:nth-child(1) {
    background: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 100%);
    border-left-color: #2196f3;
    color: #1565c0;
}

.event-item:nth-child(2) {
    background: linear-gradient(135deg, #fff3e0 0%, #fce4ec 100%);
    border-left-color: #ff9800;
    color: #e65100;
}

.event-item.creating {
    background: linear-gradient(135deg, #e8f5e8 0%, #f1f8e9 100%);
    border-left-color: #4caf50;
    color: #2e7d32;
    animation: pulse 2s infinite;
}

.event-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: inherit;
    border-radius: 0 4px 4px 0;
}

.event-item:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Features Section */
.features {
    padding: 5rem 0;
    background: var(--hero-bg);
    backdrop-filter: blur(10px);
    transition: background-color 0.3s ease;
}

.features .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.features .section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--hero-text-color);
}

.features .section-header p {
    font-size: 1.2rem;
    color: var(--hero-text-color);
    opacity: 0.9;
    padding-bottom: 1rem;
}

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

.feature-card {
    background: var(--feature-card-bg);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px var(--shadow-color);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1a73e8 0%, #34a853 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    color: white;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-color);
}

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

/* Pricing Preview */
.pricing-preview {
    padding: 100px 0;
    background: var(--hero-bg);
    backdrop-filter: blur(10px);
    transition: background-color 0.3s ease;
}

.pricing-preview .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.pricing-preview .section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--hero-text-color);
}

.pricing-preview .section-header p {
    font-size: 1.2rem;
    color: var(--hero-text-color);
    opacity: 0.9;
    padding-bottom: 1rem;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 40px 32px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    color: var(--text-color);
}

.pricing-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.15);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
    transform: scale(1.05);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.plan-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #4caf50;
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.plan-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: 32px;
}

.currency {
    font-size: 1.2rem;
    font-weight: 500;
}

.amount {
    font-size: 3rem;
    font-weight: 700;
}

.period {
    font-size: 1rem;
    opacity: 0.7;
}

.plan-features {
    list-style: none;
    margin-bottom: 32px;
}

.plan-features li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.pricing-card.featured .plan-features li {
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

.plan-features li:last-child {
    border-bottom: none;
}

/* Download Section */
.download {
    background: var(--hero-bg);
    backdrop-filter: blur(10px);
    color: var(--hero-text-color);
    padding: 80px 0;
    text-align: center;
    transition: background-color 0.3s ease;
}

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

.download-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 40px;
}

.download-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.download-note {
    font-size: 0.9rem;
    opacity: 0.8;
    margin: 0;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 16px;
}

.footer-logo img {
    width: 32px;
    height: 32px;
}

.footer-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--footer-heading-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: var(--footer-link-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid var(--footer-border-color);
    padding-top: 20px;
    text-align: center;
    color: var(--footer-text-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .browser-frame {
        width: 350px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 80px 0 60px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
        line-height: 1.2;
        margin-bottom: 20px;
    }
    
    .hero-content p {
        font-size: 1.1rem;
        line-height: 1.6;
        margin-bottom: 32px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 16px;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        min-height: 52px;
        font-size: 16px;
        font-weight: 600;
        touch-action: manipulation;
    }
    
    .hero-buttons .btn:active {
        transform: scale(0.98);
    }
    
    .hero-stats {
        justify-content: center;
        gap: 24px;
        margin-top: 40px;
        flex-wrap: wrap;
    }
    
    .hero-stat {
        min-width: 120px;
        text-align: center;
    }
    
    .browser-frame {
        width: 300px;
        margin: 40px auto 0;
        border-radius: 12px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 0 16px;
    }
    
    .feature-card {
        padding: 32px 24px;
        border-radius: 16px;
        transition: all 0.3s ease;
        touch-action: manipulation;
    }
    
    .feature-card:active {
        transform: scale(0.98);
    }
    
    .pricing-cards {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 16px;
    }
    
    .pricing-card {
        border-radius: 16px;
        transition: all 0.3s ease;
    }
    
    .pricing-card.featured {
        transform: none;
        border: 2px solid var(--primary-color);
    }
    
    .pricing-card:active {
        transform: scale(0.98);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .browser-frame {
        width: 280px;
    }
    
    .feature-card {
        padding: 30px 24px;
    }
    
    .pricing-card {
        padding: 30px 24px;
    }
}

/* Landing Page CSS Variables */
:root {
    --section-bg: #ffffff;
    --feature-card-bg: #ffffff;
    --testimonial-bg: #f8f9fa;
}

body.dark-mode {
    --section-bg: #202124;
    --feature-card-bg: #2d2e30;
    --testimonial-bg: #303134;
}

.testimonials {
    padding: 5rem 0;
    background: var(--testimonial-bg);
    transition: background-color 0.3s ease;
}