/* 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.5;
    color: #1f2937;
    background-color: #fefefe;
}

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

/* Header */
.header {
    padding: 20px 0;
    background-color: #ffffff;
    border-bottom: 1px solid #f3f4f6;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-image {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(233, 30, 99, 0.2);
}

.logo h1 {
    font-size: 24px;
    font-weight: 700;
    color: #e91e63;
    letter-spacing: -0.02em;
}

.get-started-btn {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 25%, #ff9ff3 50%, #54a0ff 75%, #5f27cd 100%);
    background-size: 300% 300%;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-position 0.5s ease;
    box-shadow: 0 4px 20px rgba(255, 107, 107, 0.3);
    animation: gradientShift 3s ease infinite;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.get-started-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.get-started-btn:hover::before {
    left: 100%;
}

.get-started-btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.5);
    background-position: 100% 0;
}

/* Hero Section */
.hero {
    padding: 40px 0 60px;
    background: linear-gradient(135deg, #fefefe 0%, #fafafa 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 16px;
    letter-spacing: -0.025em;
    color: #111827;
}

.highlight {
    background: linear-gradient(135deg, #e91e63 0%, #9c27b0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 16px;
    color: #6b7280;
    margin-bottom: 24px;
    line-height: 1.5;
    max-width: 480px;
}

.cta-button {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 25%, #ff9ff3 50%, #54a0ff 75%, #5f27cd 100%);
    background-size: 300% 300%;
    color: white;
    border: none;
    padding: 18px 36px;
    border-radius: 16px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-position 0.5s ease;
    box-shadow: 0 8px 32px rgba(255, 107, 107, 0.4);
    animation: gradientShift 3s ease infinite;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 40px rgba(255, 107, 107, 0.6);
    background-position: 100% 0;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Typing cursor animation */
.typing-cursor {
    display: inline-block;
    width: 3px;
    height: 1.2em;
    background-color: #e91e63;
    margin-left: 2px;
    animation: blink 1s infinite;
    will-change: opacity; /* Hardware acceleration */
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

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

.device-mockup {
    background: linear-gradient(135deg, #e91e63 0%, #ff9800 100%);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(233, 30, 99, 0.3);
    transform: rotate(-5deg);
}

.extension-preview {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border-radius: 12px;
    padding: 20px;
    width: 320px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: rotate(5deg);
}

.extension-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 12px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.extension-title {
    font-weight: 600;
    color: #f1f5f9;
    font-size: 16px;
}

.extension-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.category-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
    font-size: 14px;
}

.category-emoji {
    font-size: 16px;
}

.category-name {
    font-weight: 500;
    color: #374151;
    font-size: 14px;
}

.achievements-preview {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 8px 12px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: 8px;
}

.achievement-badge {
    font-size: 16px;
}

.achievement-text {
    font-size: 12px;
    font-weight: 600;
    color: #f59e0b;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Screenshots Section */
.screenshots {
    padding: 40px 0;
    background: white;
}

.screenshots-header {
    text-align: center;
    margin-bottom: 40px;
}

.screenshots-header h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #111827;
    letter-spacing: -0.02em;
}

.screenshots-header p {
    font-size: 16px;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}

.screenshots-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.screenshot-item {
    margin-bottom: 50px;
    text-align: center;
}

.screenshot-item:last-child {
    margin-bottom: 0;
}

.screenshot-image {
    display: inline-block;
    max-width: 100%;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 20px;
    overflow: hidden;
}

.screenshot-image:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.screenshot-img {
    max-width: 100%;
    height: auto;
    display: block;
}

.screenshot-caption {
    max-width: 500px;
    margin: 0 auto;
}

.screenshot-caption h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #111827;
}

.screenshot-caption p {
    font-size: 16px;
    color: #6b7280;
    line-height: 1.6;
}

/* Tab Groups Demo */
.tab-groups-demo {
    width: 100%;
}

.browser-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.tab-group {
    padding: 12px 24px;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.tab-group.sports {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.tab-group.social {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}

.tab-group.work {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.tab-group.entertainment {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

/* Achievements Demo */
.achievements-demo {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 280px;
}

.achievement-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    color: #f59e0b;
    font-weight: 600;
}

.achievement-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.stat {
    text-align: center;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.stat-number {
    display: block;
    font-size: 20px;
    font-weight: bold;
    color: #f59e0b;
}

.stat-label {
    font-size: 10px;
    color: #cbd5e1;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.achievement-badges {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(59, 130, 246, 0.2);
    border-radius: 8px;
    color: #3b82f6;
    font-size: 12px;
    font-weight: 600;
}

/* Quick Open Demo */
.quick-open-demo {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 280px;
}

.quick-open-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    color: #48bb78;
    font-weight: 600;
}

.quick-open-categories {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.quick-category {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

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

.category-dot.green { background: #10b981; }
.category-dot.red { background: #ef4444; }
.category-dot.blue { background: #3b82f6; }
.category-dot.orange { background: #f59e0b; }

.category-name {
    flex: 1;
    color: #f1f5f9;
    font-weight: 500;
}

.category-count {
    color: #94a3b8;
    font-size: 12px;
}

/* Tab Management Demo */
.tab-management-demo {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 280px;
}

.management-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    color: #64748b;
    font-weight: 600;
}

.organize-btn {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: 600;
    margin-bottom: 16px;
    width: 100%;
    cursor: pointer;
}

.checkbox-option {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.checkbox {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    background: #10b981;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.option-text {
    color: #e2e8f0;
    font-size: 14px;
}

/* Time Tracking Demo */
.time-tracking-demo {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 280px;
}

.tracking-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    color: #f1f5f9;
    font-weight: 600;
}

.time-summary {
    text-align: center;
    margin-bottom: 20px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.total-time {
    display: block;
    font-size: 24px;
    font-weight: bold;
    color: #10b981;
}

.time-period {
    font-size: 12px;
    color: #cbd5e1;
}

.time-categories {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.time-category {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
}

.time-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.time-dot.other { background: #64748b; }
.time-dot.social { background: #3b82f6; }
.time-dot.work { background: #f59e0b; }

.time-name {
    flex: 1;
    color: #f1f5f9;
    font-size: 12px;
}

.time-duration {
    color: #10b981;
    font-size: 12px;
    font-weight: 600;
}

/* Hidden Tabs Demo */
.hidden-tabs-demo {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 280px;
}

.hidden-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    color: #fbbf24;
    font-weight: 600;
}

.no-hidden-message {
    text-align: center;
    color: #cbd5e1;
    font-style: italic;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 14px;
}

.hidden-actions {
    display: flex;
    gap: 8px;
}

.refresh-btn, .show-all-btn {
    flex: 1;
    padding: 8px 12px;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.refresh-btn {
    background: #64748b;
    color: white;
}

.show-all-btn {
    background: #10b981;
    color: white;
}

/* Features Section */
.features {
    padding: 60px 0;
    background: white;
}

.features-header {
    text-align: center;
    margin-bottom: 40px;
}

.features-header h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #111827;
    letter-spacing: -0.02em;
}

.features-header p {
    font-size: 16px;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}

.feature-icons {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: #f9fafb;
    border: 1px solid #f3f4f6;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: transform 0.2s ease;
}

.feature-icon:hover {
    transform: translateY(-2px);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-card {
    border-radius: 16px;
    padding: 24px;
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-8px);
}

.card-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: white;
}

.card-content p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
}

/* Card Color Schemes */
.card-1 {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}

.card-2 {
    background: linear-gradient(135deg, #f9fafb 0%, #e5e7eb 100%);
}

.card-2 .card-content h3,
.card-2 .card-content p {
    color: #374151;
}

.card-3 {
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
}

.card-4 {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.card-5 {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.card-6 {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.card-7 {
    background: linear-gradient(135deg, #f9fafb 0%, #e5e7eb 100%);
}

.card-7 .card-content h3,
.card-7 .card-content p {
    color: #374151;
}

.card-8 {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
}

.card-9 {
    background: linear-gradient(135deg, #84cc16 0%, #65a30d 100%);
}

/* Grid Layout Adjustments */
.card-1 {
    grid-column: span 2;
}

.card-4 {
    grid-column: span 2;
}

.card-7 {
    grid-column: span 2;
}

/* CTA Section */
.cta-section {
    padding: 60px 0;
    background: #fafafa;
    text-align: center;
}

.cta-section h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #111827;
    letter-spacing: -0.02em;
}

.cta-section p {
    font-size: 16px;
    color: #6b7280;
    margin-bottom: 24px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

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

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

.footer-section h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: white;
}

.footer-section h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    color: white;
}

.footer-section p {
    font-size: 14px;
    color: #9ca3af;
    line-height: 1.6;
    margin-bottom: 8px;
}

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

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

.footer-section ul li a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    color: #9ca3af;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 48px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .card-1,
    .card-4,
    .card-7 {
        grid-column: span 1;
    }
    
    .device-mockup {
        padding: 20px;
    }
    
    .extension-preview {
        width: 280px;
    }
    
    .screenshots-container {
        padding: 0 16px;
    }
    
    .screenshot-item {
        margin-bottom: 40px;
    }
    
    .screenshots-header h2 {
        font-size: 32px;
    }
    
    .screenshot-caption h3 {
        font-size: 20px;
    }
    
    .screenshot-caption p {
        font-size: 15px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer {
        padding: 40px 0 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 36px;
    }
    
    .features-header h2,
    .cta-section h2 {
        font-size: 36px;
    }
    
    .container {
        padding: 0 16px;
    }
}
