/* 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: #0D141C;
    background-color: #FFFFFF;
}

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

/* Header */
.header {
    background-color: #F7FAFC;
    border-bottom: 1px solid #E5E8EB;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 40px;
    min-height: 64px;
    position: relative;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s ease;
}

.logo-section:hover {
    opacity: 0.8;
}

.logo-icon {
    width: 32px;
    height: 32px;
    color: #5865F2;
}

.logo-text {
    font-weight: 700;
    font-size: 18px;
    color: #0D141C;
}

/* Mobile hamburger menu */
.mobile-menu-toggle {
    display: none; /* 桌面版隱藏 */
    flex-direction: column;
    justify-content: space-around;
    width: 24px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: relative;
}

.hamburger-line {
    width: 100%;
    height: 2px;
    background-color: #0D141C;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 36px;
    transition: all 0.3s ease;
}

/* 當選單被激活時的樣式 - 只在桌面版生效 */
@media (min-width: 769px) {
    .nav-menu.active {
        /* 在桌面版也顯示下拉效果以便測試 */
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        background-color: #F7FAFC;
        border-bottom: 1px solid #E5E8EB;
        flex-direction: column;
        gap: 0;
        padding: 20px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        display: flex;
    }
    
    /* 當選單激活時的連結樣式 - 只在桌面版生效 */
    .nav-menu.active .nav-link {
        font-size: 16px;
        padding: 12px 0;
        border-bottom: 1px solid #E5E8EB;
        width: 100%;
        text-align: center;
        display: block;
    }
    
    .nav-menu.active .nav-link:last-child {
        border-bottom: none;
    }
}

.nav-link {
    font-weight: 500;
    font-size: 14px;
    color: #0D141C;
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: #0D78F2;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    height: 40px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary {
    background-color: #0D78F2;
    color: #FFFFFF;
}

.btn-primary:hover {
    background-color: #0B6BD9;
}

.btn-secondary {
    background-color: #0D78F2;
    color: #FFFFFF;
}

.btn-secondary:hover {
    background-color: #0B6BD9;
}

.btn-outline {
    background-color: #E8EDF5;
    color: #0D141C;
    border: 1px solid #CFD9E8;
}

.btn-outline:hover {
    background-color: #D1DCE8;
}

.btn-large {
    height: 48px;
    padding: 0 20px;
    font-size: 16px;
}

.btn-full {
    width: 100%;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #FFFFFF;
    padding: 80px 0;
    text-align: center;
}

.hero-content {
    max-width: 896px;
    margin: 0 auto;
}

.hero-title {
    font-weight: 900;
    font-size: 48px;
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.hero-description {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 32px;
    opacity: 0.9;
}

/* Extension Info Section */
.extension-info {
    padding: 60px 0;
    background-color: #FFFFFF;
}

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

.extension-info-title {
    font-weight: 900;
    font-size: 32px;
    line-height: 1.25;
    letter-spacing: -0.01em;
    color: #0D141C;
    margin-bottom: 16px;
}

.extension-info-description {
    font-size: 16px;
    line-height: 1.6;
    color: #4A709C;
    margin-bottom: 32px;
}

.extension-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.extension-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 500;
    color: #0D141C;
}

.extension-feature .feature-icon {
    font-size: 18px;
}

.browser-mockup {
    background-color: #F7FAFC;
    border: 1px solid #E5E8EB;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    margin: 0 auto;
}

.browser-header {
    background-color: #E5E8EB;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.browser-button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.browser-button.red {
    background-color: #FF5F57;
}

.browser-button.yellow {
    background-color: #FFBD2E;
}

.browser-button.green {
    background-color: #28CA42;
}

.browser-url {
    background-color: #FFFFFF;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    color: #4A709C;
    flex: 1;
}

.browser-content {
    padding: 30px 20px;
    text-align: center;
    background-color: #FFFFFF;
}

.extension-icon {
    margin-bottom: 16px;
}

.browser-content p {
    font-size: 14px;
    color: #4A709C;
}

/* Product Showcase Section */
.product-showcase {
    padding: 80px 0;
    background-color: #F7FAFC;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 32px;
    margin-top: 40px;
}

.showcase-item {
    background-color: #FFFFFF;
    border: 1px solid #E5E8EB;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.showcase-image {
    width: 100%;
    height: 350px;
    overflow: hidden;
    background-color: #F7FAFC;
}

.showcase-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.showcase-content {
    padding: 24px;
}

.showcase-title {
    font-weight: 700;
    font-size: 20px;
    line-height: 1.3;
    color: #0D141C;
    margin-bottom: 12px;
    letter-spacing: 0.01em;
}

.showcase-description {
    font-size: 14px;
    line-height: 1.5;
    color: #4A709C;
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    font-weight: 900;
    font-size: 36px;
    line-height: 1.25;
    letter-spacing: -0.01em;
    color: #0D141C;
    margin-bottom: 16px;
}

.section-description {
    font-size: 16px;
    line-height: 1.5;
    color: #4A709C;
    max-width: 720px;
    margin: 0 auto;
}

/* Features Section */
.features {
    padding: 80px 0;
    background-color: #FFFFFF;
}

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

.feature-card {
    background-color: #F7FAFC;
    border: 1px solid #CFD9E8;
    border-radius: 8px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background-color: #E8EDF5;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0D141C;
}

.feature-title {
    font-weight: 700;
    font-size: 18px;
    color: #0D141C;
    margin-bottom: 8px;
    letter-spacing: 0.01em;
}

.feature-description {
    font-size: 14px;
    line-height: 1.5;
    color: #4A709C;
}

/* Benefits Section */
.benefits {
    padding: 80px 0;
    background-color: #F7FAFC;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.benefit-card {
    background-color: #FFFFFF;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.benefit-image {
    height: 200px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-icon {
    font-size: 64px;
}

.benefit-icon svg {
    display: block;
    margin: 0 auto;
}

.benefit-content {
    padding: 24px;
}

.benefit-title {
    font-weight: 600;
    font-size: 18px;
    color: #0D141C;
    margin-bottom: 12px;
    letter-spacing: 0.01em;
}

.benefit-description {
    font-size: 14px;
    line-height: 1.5;
    color: #4A709C;
}

/* Pricing Section */
.pricing {
    padding: 80px 0;
    background-color: #FFFFFF;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.pricing-card {
    background-color: #F7FAFC;
    border: 1px solid #CFD9E8;
    border-radius: 8px;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: relative;
}

.pricing-card-popular {
    border-color: #0D78F2;
    transform: scale(1.05);
}

.pricing-header {
    text-align: center;
}

.pricing-badge {
    margin-bottom: 16px;
}

.popular-badge {
    background-color: #0D78F2;
    color: #FFFFFF;
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
}

.pricing-title {
    font-weight: 700;
    font-size: 18px;
    color: #0D141C;
    margin-bottom: 8px;
    letter-spacing: 0.01em;
}

.pricing-price {
    font-weight: 900;
    font-size: 36px;
    color: #0D141C;
}

.pricing-price-wrapper {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}

.pricing-period {
    font-size: 16px;
    color: #4A709C;
}

.pricing-savings {
    font-size: 14px;
    color: #0D78F2;
    font-weight: 500;
    margin-top: 4px;
}

.pricing-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pricing-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #0D141C;
}

.pricing-feature svg {
    color: #0D78F2;
    flex-shrink: 0;
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #FFFFFF;
    text-align: center;
}

.cta-content {
    max-width: 720px;
    margin: 0 auto;
}

.cta-title {
    font-weight: 900;
    font-size: 36px;
    line-height: 1.25;
    letter-spacing: -0.01em;
    margin-bottom: 16px;
}

.cta-description {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 32px;
    opacity: 0.9;
}

/* Footer */
.footer {
    background-color: #F7FAFC;
    padding: 40px 0;
    border-top: 1px solid #E5E8EB;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 40px 0;
}

.footer-links {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-link {
    font-size: 16px;
    color: #4A709C;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: #0D141C;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.social-link {
    width: 40px;
    height: 40px;
    background-color: #E8EDF5;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4A709C;
    text-decoration: none;
    transition: all 0.2s ease;
}

.social-link:hover {
    background-color: #0D78F2;
    color: #FFFFFF;
}

.footer-copyright {
    text-align: center;
}

.footer-copyright p {
    font-size: 16px;
    color: #4A709C;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-wrapper {
        padding: 16px 20px;
    }
    
    .mobile-menu-toggle {
        display: flex !important;
        z-index: 1001 !important;
    }
    
    .nav-menu {
        position: fixed !important;
        top: 64px !important;
        left: 0 !important;
        right: 0 !important;
        background-color: #F7FAFC !important;
        border-bottom: 1px solid #E5E8EB !important;
        flex-direction: column !important;
        gap: 0 !important;
        padding: 20px !important;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
        z-index: 1000 !important;
        display: flex !important;
        
        /* 隱藏狀態 */
        transform: translateY(-100%) !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transition: all 0.3s ease !important;
    }
    
    .nav-menu.active {
        /* 顯示狀態 */
        transform: translateY(0) !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    .nav-link {
        font-size: 16px !important;
        padding: 12px 0 !important;
        border-bottom: 1px solid #E5E8EB !important;
        width: 100% !important;
        text-align: center !important;
        display: block !important;
    }
    
    .nav-link:last-child {
        border-bottom: none !important;
        margin-bottom: 0 !important;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .extension-info-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .extension-info-title {
        font-size: 24px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .showcase-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .showcase-image {
        height: 280px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card-popular {
        transform: none;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .nav-wrapper {
        padding: 12px 16px;
    }
    
    .logo-text {
        font-size: 16px;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        top: 60px;
        padding: 16px;
    }
    
    .nav-link {
        font-size: 14px;
        padding: 10px 0;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .features,
    .benefits,
    .pricing,
    .cta {
        padding: 60px 0;
    }
    
    .product-showcase {
        padding: 60px 0;
    }
    
    .extension-info {
        padding: 60px 0;
    }
    
    .extension-info-content {
        gap: 30px;
    }
    
    .browser-mockup {
        max-width: 100%;
    }
    
    .browser-content {
        padding: 30px 20px;
    }
    
    .showcase-grid {
        gap: 20px;
    }
    
    .showcase-image {
        height: 200px;
    }
    
    .showcase-content {
        padding: 20px;
    }
    
    .feature-card,
    .pricing-card {
        padding: 20px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .extension-info-title {
        font-size: 24px;
    }
}

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

/* Privacy Policy Specific Styles */
.privacy-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #FFFFFF;
    padding: 60px 0;
    text-align: center;
}

.privacy-content {
    padding: 80px 0;
    background-color: #FFFFFF;
}

.privacy-section {
    margin-bottom: 60px;
}

.privacy-title {
    font-weight: 900;
    font-size: 32px;
    line-height: 1.25;
    letter-spacing: -0.01em;
    color: #0D141C;
    margin-bottom: 16px;
}

.privacy-subtitle {
    font-weight: 700;
    font-size: 24px;
    line-height: 1.3;
    color: #0D141C;
    margin-bottom: 24px;
    margin-top: 40px;
    letter-spacing: 0.01em;
}

.privacy-text {
    font-size: 16px;
    line-height: 1.6;
    color: #4A709C;
    margin-bottom: 20px;
}

.summary-box {
    background-color: #F7FAFC;
    border: 2px solid #0D78F2;
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 40px;
}

.summary-box h3 {
    color: #0D78F2;
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
}

.summary-box h3::before {
    content: "🔒";
    margin-right: 12px;
    font-size: 24px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin: 32px 0;
}

.info-card {
    background-color: #F7FAFC;
    border: 1px solid #CFD9E8;
    border-radius: 12px;
    padding: 24px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.info-card h3 {
    color: #0D141C;
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 16px;
}

.info-list {
    list-style: none;
    padding: 0;
}

.info-list li {
    padding: 8px 0;
    border-bottom: 1px solid #E5E8EB;
    position: relative;
    padding-left: 24px;
    font-size: 14px;
    line-height: 1.5;
    color: #4A709C;
}

.info-list li:last-child {
    border-bottom: none;
}

.info-list li::before {
    content: "✓";
    color: #0D78F2;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 8px;
}

.permission-grid {
    display: grid;
    gap: 20px;
    margin: 32px 0;
}

.permission-card {
    background-color: #FFFFFF;
    border: 1px solid #E5E8EB;
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s ease;
}

.permission-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-color: #0D78F2;
}

.permission-title {
    color: #0D141C;
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.permission-title::before {
    content: "⚡";
    margin-right: 8px;
    font-size: 18px;
}

.permission-details {
    color: #4A709C;
    font-size: 14px;
    line-height: 1.5;
}

.contact-section {
    background-color: #F7FAFC;
    border-radius: 12px;
    padding: 40px;
    margin-top: 60px;
    text-align: center;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.contact-link {
    background-color: #0D78F2;
    color: #FFFFFF;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.2s ease;
}

.contact-link:hover {
    background-color: #0B6BD9;
    transform: translateY(-2px);
}

.back-link {
    display: inline-flex;
    align-items: center;
    color: #0D78F2;
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 20px;
    transition: color 0.2s ease;
}

.back-link:hover {
    color: #0B6BD9;
}

.back-link::before {
    content: "←";
    margin-right: 8px;
    font-size: 18px;
}

@media (max-width: 768px) {
    .privacy-hero {
        padding: 40px 0;
    }
    
    .privacy-content {
        padding: 60px 0;
    }
    
    .privacy-title {
        font-size: 28px;
    }
    
    .privacy-subtitle {
        font-size: 20px;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-links {
        flex-direction: column;
        align-items: center;
    }
}
