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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    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: 1rem 20px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.nav-logo {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.nav-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #667eea;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #666;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #667eea;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #667eea;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.nav-mobile-toggle span {
    width: 24px;
    height: 2px;
    background: #333;
    transition: all 0.3s ease;
}

/* Language Switcher */
.language-switcher {
    display: flex;
    gap: 4px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 20px;
    padding: 4px;
    margin-left: 1rem;
}

.lang-btn {
    padding: 6px 12px;
    border: none;
    border-radius: 16px;
    background: transparent;
    color: #666;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.lang-btn.active {
    background: #667eea;
    color: white;
    box-shadow: 0 2px 4px rgba(102, 126, 234, 0.3);
}

.lang-btn:hover:not(.active) {
    background: rgba(102, 126, 234, 0.2);
    color: #667eea;
}

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

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    background-size: 100px 100px;
    animation: patternMove 20s linear infinite;
}

@keyframes patternMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(100px, 100px); }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 6rem 0;
}

.hero-text {
    color: white;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.title-main {
    display: block;
    opacity: 0.9;
}

.title-highlight {
    display: block;
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: white;
    color: #667eea;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

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

.btn-icon {
    font-size: 1.2rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
}

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

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #ffd700;
}

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

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

.hero-animation {
    position: relative;
    width: 400px;
    height: 400px;
    animation: float 6s ease-in-out infinite;
}

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

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.floating-tab {
    position: absolute;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.favicon {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    transition: transform 0.3s ease;
}

.floating-tab:hover .favicon {
    transform: scale(1.1);
}



/* 所有图标使用统一的8秒动画周期，通过延迟创建波浪效果 */

/* GitHub - 第一行第一个 */
.floating-tab:nth-child(1) {
    --chaos-top: 20px; --chaos-left: 50px;
    --order-top: 180px; --order-left: 50px;
    animation: organizeTab 0.8s ease-out forwards;
    animation-delay: 0s;
}

/* 为所有图标创建统一的动画，使用CSS变量来定义位置 */

/* Claude - 第一行第二个 */
.floating-tab:nth-child(2) {
    --chaos-top: 10px; --chaos-left: 270px;
    --order-top: 180px; --order-left: 110px;
    animation: organizeTab 0.8s ease-out forwards;
    animation-delay: 0.01s;
}

/* Google - 第一行第三个 */
.floating-tab:nth-child(3) {
    --chaos-top: 80px; --chaos-left: 10px;
    --order-top: 180px; --order-left: 170px;
    animation: organizeTab 0.8s ease-out forwards;
    animation-delay: 0.02s;
}

/* X (Twitter) - 第一行第四个 */
.floating-tab:nth-child(4) {
    --chaos-top: 60px; --chaos-left: 330px;
    --order-top: 180px; --order-left: 230px;
    animation: organizeTab 0.8s ease-out forwards;
    animation-delay: 0.03s;
}

/* YouTube - 第一行第五个 */
.floating-tab:nth-child(5) {
    --chaos-top: 140px; --chaos-left: 25px;
    --order-top: 180px; --order-left: 290px;
    animation: organizeTab 0.8s ease-out forwards;
    animation-delay: 0.04s;
}

/* Stack Overflow - 第二行第一个 */
.floating-tab:nth-child(6) {
    --chaos-top: 120px; --chaos-left: 310px;
    --order-top: 240px; --order-left: 50px;
    animation: organizeTab 0.8s ease-out forwards;
    animation-delay: 0.05s;
}

/* Reddit - 第二行第二个 */
.floating-tab:nth-child(7) {
    --chaos-top: 260px; --chaos-left: 15px;
    --order-top: 240px; --order-left: 110px;
    animation: organizeTab 0.8s ease-out forwards;
    animation-delay: 0.06s;
}

/* Notion - 第二行第三个 */
.floating-tab:nth-child(8) {
    --chaos-top: 240px; --chaos-left: 325px;
    --order-top: 240px; --order-left: 170px;
    animation: organizeTab 0.8s ease-out forwards;
    animation-delay: 0.07s;
}

/* Figma - 第二行第四个 */
.floating-tab:nth-child(9) {
    --chaos-top: 300px; --chaos-left: 45px;
    --order-top: 240px; --order-left: 230px;
    animation: organizeTab 0.8s ease-out forwards;
    animation-delay: 0.08s;
}

/* Discord - 第二行第五个 */
.floating-tab:nth-child(10) {
    --chaos-top: 320px; --chaos-left: 295px;
    --order-top: 240px; --order-left: 290px;
    animation: organizeTab 0.8s ease-out forwards;
    animation-delay: 0.09s;
}

/* Spotify - 第三行第一个 */
.floating-tab:nth-child(11) {
    --chaos-top: 360px; --chaos-left: 80px;
    --order-top: 300px; --order-left: 50px;
    animation: organizeTab 0.8s ease-out forwards;
    animation-delay: 0.1s;
}

/* ChatGPT - 第三行第二个 */
.floating-tab:nth-child(12) {
    --chaos-top: 370px; --chaos-left: 250px;
    --order-top: 300px; --order-left: 110px;
    animation: organizeTab 0.8s ease-out forwards;
    animation-delay: 0.11s;
}

/* Amazon - 第三行第三个 */
.floating-tab:nth-child(13) {
    --chaos-top: 180px; --chaos-left: 5px;
    --order-top: 300px; --order-left: 170px;
    animation: organizeTab 0.8s ease-out forwards;
    animation-delay: 0.12s;
}

/* LinkedIn - 第三行第四个 */
.floating-tab:nth-child(14) {
    --chaos-top: 200px; --chaos-left: 335px;
    --order-top: 300px; --order-left: 230px;
    animation: organizeTab 0.8s ease-out forwards;
    animation-delay: 0.13s;
}

/* Medium - 第三行第五个 */
.floating-tab:nth-child(15) {
    --chaos-top: 40px; --chaos-left: 180px;
    --order-top: 300px; --order-left: 290px;
    animation: organizeTab 0.8s ease-out forwards;
    animation-delay: 0.14s;
}

/* 闪电般的整理动画 - 1秒内完成 */
@keyframes organizeTab {
    /* 0%: 凌乱状态 */
    0% {
        top: var(--chaos-top);
        left: var(--chaos-left);
        transform: translateY(0px) rotate(0deg) scale(1);
        opacity: 1;
    }
    
    /* 30%: 快速移动 */
    30% {
        top: calc((var(--chaos-top) + var(--order-top)) / 2);
        left: calc((var(--chaos-left) + var(--order-left)) / 2);
        transform: translateY(-5px) rotate(2deg) scale(0.95);
        opacity: 0.9;
    }
    
    /* 100%: 立即到达最终位置 */
    100% {
        top: var(--order-top);
        left: var(--order-left);
        transform: translateY(0px) rotate(0deg) scale(1);
        opacity: 1;
    }
}

.onetab-logo {
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 100px;
    background: white;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: pulse 3s ease-in-out infinite;
    z-index: 10;
}

@keyframes pulse {
    0%, 100% { 
        transform: translateX(-50%) scale(1);
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3), 0 0 0 0 rgba(102, 126, 234, 0.4);
    }
    50% { 
        transform: translateX(-50%) scale(1.08);
        box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4), 0 0 0 20px rgba(102, 126, 234, 0.1);
    }
}

.onetab-logo img {
    width: 60px;
    height: 60px;
}

/* Features Section */
.features {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

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

.features .section-title {
    color: #2d3748;
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.features .section-subtitle {
    color: #4a5568;
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(102, 126, 234, 0.1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.2);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.2);
}

.feature-icon svg {
    width: 28px;
    height: 28px;
    color: white;
    stroke-width: 2;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.feature-description {
    color: #4a5568;
    line-height: 1.6;
    font-size: 1rem;
    font-weight: 400;
}

/* How It Works Section */
.how-it-works {
    padding: 6rem 0;
    background: #f8f9fa;
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.step {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 3rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.step:nth-child(even) {
    grid-template-columns: auto 1fr auto;
}

.step:nth-child(even) .step-content {
    order: 2;
    text-align: left;
}

.step:nth-child(even) .step-visual {
    order: 3;
}

.step:nth-child(even) .step-number {
    order: 1;
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

.step-content {
    max-width: 400px;
    min-width: 300px;
}

.step-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
}

.step-description {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
}

.step-visual {
    width: 280px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 12px;
    flex-shrink: 0;
}

/* Step Animations */
.install-animation {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
    width: 100%;
}

.browser-icon {
    width: 48px;
    height: 48px;
    color: #667eea;
    flex-shrink: 0;
}

.browser-icon svg {
    width: 100%;
    height: 100%;
    stroke-width: 1.5;
}

.plus-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #28a745, #20c997);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
    animation: plusPulse 2s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.plus-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s ease-in-out infinite;
}

@keyframes plusPulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3), 0 0 0 0 rgba(40, 167, 69, 0.4);
    }
    50% { 
        transform: scale(1.1);
        box-shadow: 0 6px 16px rgba(40, 167, 69, 0.4), 0 0 0 8px rgba(40, 167, 69, 0.1);
    }
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.extension-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 2px solid #667eea;
}

.extension-icon {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    overflow: hidden;
}

.mini-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.extension-name {
    font-size: 0.8rem;
    font-weight: 600;
    color: #667eea;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.save-animation {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.browser-mockup {
    background: #f5f5f5;
    border-radius: 8px;
    padding: 0.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #ddd;
    position: relative;
    width: 240px;
}

.browser-tabs {
    display: flex;
    gap: 2px;
    margin-bottom: 0.5rem;
}

.tab {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0.5rem;
    background: #e0e0e0;
    border-radius: 4px 4px 0 0;
    font-size: 0.65rem;
    color: #666;
    min-width: 65px;
    flex: 1;
    animation: tabFade 3s infinite;
}

.tab.active {
    background: white;
    color: #333;
}

.tab-favicon {
    font-size: 0.8rem;
}

.onetab-button {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 32px;
    height: 32px;
    background: white;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    border: 2px solid #667eea;
    cursor: pointer;
    animation: buttonPulse 2s infinite;
}

.button-icon {
    width: 20px;
    height: 20px;
    border-radius: 4px;
}

.click-indicator {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 6px;
    background: rgba(102, 126, 234, 0.3);
    animation: clickRipple 2s infinite;
}

@keyframes tabFade {
    0%, 50% { opacity: 1; }
    100% { opacity: 0.5; }
}

@keyframes buttonPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes clickRipple {
    0% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.2); opacity: 0.1; }
    100% { transform: scale(1); opacity: 0.3; }
}

.manage-animation {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.onetab-mini {
    background: white;
    border-radius: 8px;
    padding: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    width: 240px;
}

.mini-header {
    font-size: 0.9rem;
    font-weight: 600;
    color: #667eea;
    margin-bottom: 8px;
    text-align: center;
}

.mini-group {
    background: #f8f9fa;
    border-radius: 4px;
    padding: 6px;
}

.group-header {
    font-size: 0.7rem;
    color: #666;
    margin-bottom: 4px;
}

.group-items {
    display: flex;
    gap: 2px;
}

.mini-item {
    width: 16px;
    height: 12px;
    background: white;
    border-radius: 2px;
    font-size: 0.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e0e0e0;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Benefits Section */
.benefits {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.benefits-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.benefits-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 2rem;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.benefit-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.benefit-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.benefit-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.benefit-content p {
    color: #666;
    line-height: 1.6;
}

.benefits-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.performance-chart {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 300px;
}

.chart-title {
    text-align: center;
    font-weight: 600;
    color: #333;
    margin-bottom: 1.5rem;
}

.chart-bars {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.bar-group {
    display: flex;
    gap: 1rem;
    align-items: end;
}

.bar {
    width: 60px;
    border-radius: 4px 4px 0 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 0.8rem;
}

.bar.before {
    height: 150px;
    background: linear-gradient(to top, #dc3545, #ff6b7a);
    animation: growBefore 2s ease-out;
}

.bar.after {
    height: 15px;
    background: linear-gradient(to top, #28a745, #5cb85c);
    animation: growAfter 2s ease-out 0.5s both;
}

.bar-value {
    position: absolute;
    top: -1.5rem;
    font-size: 0.9rem;
    font-weight: 700;
    color: #333;
    text-shadow: none;
    white-space: nowrap;
}

@keyframes growBefore {
    from { height: 0; }
    to { height: 150px; }
}

@keyframes growAfter {
    from { height: 0; }
    to { height: 15px; }
}

.bar-label {
    position: absolute;
    bottom: -1.5rem;
    font-size: 0.7rem;
    color: #666;
    white-space: nowrap;
}



/* Download Section */
.download {
    padding: 6rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.download-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.download-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.download-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2.5rem;
}

.download-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    color: #333;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.download-btn.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.download-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.download-btn .btn-icon {
    width: 48px;
    height: 48px;
    background: #667eea;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.download-btn.secondary .btn-icon {
    background: rgba(255, 255, 255, 0.2);
}

.download-btn .btn-icon svg {
    width: 24px;
    height: 24px;
}

.btn-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.btn-title {
    font-weight: 600;
    font-size: 1.1rem;
}

.btn-subtitle {
    font-size: 0.9rem;
    opacity: 0.7;
}

.download-info {
    display: flex;
    gap: 1.5rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.info-icon {
    font-size: 1.1rem;
}



/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 1.5rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-logo {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #667eea;
}

.footer-description {
    color: #999;
    font-size: 0.9rem;
}

.footer-bottom {
    color: #999;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .benefits-content,
    .download-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .nav-mobile-toggle {
        display: flex;
    }
    
    .language-switcher {
        margin-left: 0;
        margin-top: 1rem;
        justify-content: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-card {
        padding: 2rem;
    }
    
    .step {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .step:nth-child(even) {
        grid-template-columns: 1fr;
    }
    
    .step:nth-child(even) .step-content {
        order: initial;
        text-align: center;
    }
    
    .step:nth-child(even) .step-visual {
        order: initial;
    }
    
    .step:nth-child(even) .step-number {
        order: initial;
    }
    
    .step-content {
        max-width: none;
    }
    
    .download-options {
        gap: 0.8rem;
    }
    
    .download-info {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        padding: 0 16px;
    }
    
    .footer-brand {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .footer-bottom {
        text-align: center;
    }
    

}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .download-btn {
        padding: 1rem;
    }
}

/* Smooth Animations */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}