/* ==========================================
   ??API - ??????
   ========================================== */

/* CSS???? */
:root {
    --primary-color: #2563eb;
    --secondary-color: #10b981;
    --accent-color: #8b5cf6;
    --text-primary: #111827;
    --text-secondary: #6b7280;
    --text-tertiary: #9ca3af;
    --bg-primary: #f9fafb;
    --bg-secondary: #ffffff;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* ???? */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    overflow-x: hidden;
}

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

/* ==========================================
   ?????
   ========================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: transform 0.3s ease;
}

.navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
}

.navbar-brand .logo {
    height: 40px;
    width: auto;
}

.navbar-menu {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s;
}

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

.navbar-actions {
    display: flex;
    gap: 16px;
    align-items: center;
}

/* ??????? */
.navbar-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 12px;
    z-index: 1001;
    position: relative;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.navbar-toggle span {
    width: 24px;
    height: 3px;
    background: var(--text-primary);
    transition: all 0.3s;
    border-radius: 2px;
    display: block;
}

.navbar-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.navbar-toggle.active span:nth-child(2) {
    opacity: 0;
}

.navbar-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* ???? */
.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(37, 99, 235, 0.3);
    color: white;
}

.btn-text {
    background: transparent;
    color: var(--text-primary);
}

.btn-text:hover {
    color: var(--primary-color);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

.btn-lg {
    padding: 14px 32px;
    font-size: 16px;
}

.btn-block {
    display: block;
    width: 100%;
}

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

.hero-title {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 20px;
    opacity: 0.95;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

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

.stat-number {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 16px;
    opacity: 0.9;
}

/* ==========================================
   Section??
   ========================================== */
.features-section,
.api-section,
.pricing-section {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
}

/* ==========================================
   ????
   ========================================== */
.features-grid,
.api-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.feature-card,
.api-card {
    background: var(--bg-secondary);
    border-radius: 16px;
    padding: 32px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s;
    border: 1px solid var(--border-color);
}

.feature-card:hover,
.api-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(16, 185, 129, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.feature-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* API?? */
.api-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.api-card-header h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-primary);
}

.api-badge {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.api-list {
    list-style: none;
    margin-bottom: 24px;
}

.api-list li {
    padding: 8px 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 20px;
}

.api-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

.api-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: transform 0.3s;
}

.api-link:hover {
    transform: translateX(4px);
}

/* ==========================================
   ????
   ========================================== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--bg-secondary);
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s;
    border: 2px solid transparent;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.pricing-header {
    text-align: center;
    margin-bottom: 32px;
}

.pricing-header h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

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

.currency {
    font-size: 24px;
    color: var(--text-secondary);
}

.amount {
    font-size: 56px;
    font-weight: 700;
    color: var(--primary-color);
}

.period {
    font-size: 16px;
    color: var(--text-secondary);
}

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

.pricing-features li {
    padding: 12px 0;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}

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

/* ==========================================
   ????
   ========================================== */
.footer {
    background: #1f2937;
    color: #d1d5db;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

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

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

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

.footer-section a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s;
}

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

.qrcode {
    text-align: center;
}

.qrcode img {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    margin-bottom: 8px;
}

.qrcode p {
    font-size: 14px;
    color: #9ca3af;
}

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

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

.footer-bottom a {
    color: #9ca3af;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: var(--primary-color);
}

.disclaimer {
    font-size: 12px !important;
    color: #6b7280 !important;
    margin-top: 16px !important;
}

/* ==========================================
   ??????
   ========================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

/* ==========================================
   ?????
   ========================================== */
.floating-qrcode {
    position: fixed;
    bottom: 100px;
    right: 30px;
    z-index: 998;
}

.qr-toggle {
    min-width: 70px;
    height: 80px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s;
    padding: 12px 8px;
}

.qr-toggle:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
}

.qr-toggle-text {
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.qr-content {
    position: absolute;
    bottom: 70px;
    right: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s;
    display: none;
}

.floating-qrcode.active .qr-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    display: block;
}

.qr-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--shadow-xl);
    width: 240px;
}

.qr-header {
    text-align: center;
    margin-bottom: 16px;
    color: var(--primary-color);
}

.qr-image {
    width: 180px;
    height: 180px;
    border-radius: 8px;
    margin-bottom: 16px;
}

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

.qr-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.qr-desc {
    font-size: 13px;
    color: var(--text-secondary);
}

/* ==========================================
   ????? - ???
   ========================================== */
@media (max-width: 768px) {
    .navbar-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease-in-out;
        gap: 16px;
        z-index: 1000;
        max-height: calc(100vh - 72px);
        overflow-y: auto;
    }

    .navbar-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .navbar-menu .nav-link {
        padding: 12px 16px;
        border-radius: 8px;
        transition: all 0.2s;
    }

    .navbar-menu .nav-link:hover {
        background: var(--bg-primary);
        color: var(--primary-color);
    }

    .navbar-toggle {
        display: flex;
    }

    .navbar-actions {
        display: none;
    }

    .hero-title {
        font-size: 40px;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .section-title {
        font-size: 32px;
    }

    .features-grid,
    .api-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    .section-title {
        font-size: 28px;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
    }
    
    .floating-qrcode {
        bottom: 80px;
        right: 20px;
    }
    
    .qr-toggle {
        min-width: 60px;
        height: 70px;
        padding: 10px 6px;
    }
    
    .qr-toggle svg {
        width: 24px;
        height: 24px;
    }
    
    .qr-toggle-text {
        font-size: 12px;
    }
    
    .qr-card {
        width: 200px;
        padding: 20px;
    }
    
    .qr-image {
        width: 150px;
        height: 150px;
    }
}

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

.product-hero .hero-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.product-hero .hero-desc {
    font-size: 1.125rem;
    opacity: 0.95;
}

.product-nav-section {
    background: var(--bg-secondary);
    padding: 40px 0;
    border-bottom: 1px solid var(--border-color);
}

.product-nav {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 8px;
}

.product-nav-item {
    padding: 12px 24px;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.3s;
    font-weight: 500;
}

.product-nav-item:hover,
.product-nav-item.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
}

.product-category {
    padding: 80px 0;
}

.category-header {
    text-align: center;
    margin-bottom: 60px;
}

.category-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.category-header p {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

.api-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.api-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s;
}

.api-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.api-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.api-icon {
    font-size: 2rem;
}

.api-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
}

.api-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.api-features {
    list-style: none;
    padding: 0;
    margin: 0 0 16px 0;
}

.api-features li {
    padding: 6px 0;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.api-features li::before {
    content: '?';
    color: var(--secondary-color);
    font-weight: 700;
    margin-right: 8px;
}

.api-card .btn {
    width: 100%;
}

.product-features-section {
    padding: 80px 0;
    background: var(--bg-primary);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

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

.feature-item {
    text-align: center;
    padding: 32px;
    background: var(--bg-secondary);
    border-radius: 12px;
    transition: all 0.3s;
}

.feature-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.feature-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

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

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

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

.cta-content p {
    font-size: 1.125rem;
    margin-bottom: 32px;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

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

.doc-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.doc-hero p {
    font-size: 1.125rem;
    opacity: 0.95;
}

.doc-section {
    padding: 80px 0;
}

.doc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.doc-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 32px;
    transition: all 0.3s;
    text-align: center;
}

.doc-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.doc-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

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

.doc-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
}

.doc-card .btn {
    width: 100%;
}

/* ????? */
@media (max-width: 768px) {
    .product-hero .hero-content h1,
    .doc-hero h1,
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .product-nav {
        flex-wrap: nowrap;
        overflow-x: auto;
    }
    
    .api-grid,
    .doc-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

 
 