/* Home Page Specific Styles */

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 120px 60px 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
    z-index: 0;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(197, 151, 62, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(197, 151, 62, 0.015) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 1;
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.35;
    z-index: 0;
}

.hero-glow-1 {
    top: -200px;
    right: -200px;
    width: 800px;
    height: 800px;
    background: var(--primary);
}

.hero-glow-2 {
    bottom: -200px;
    left: -200px;
    width: 700px;
    height: 700px;
    background: var(--accent);
}

.hero-glow-3 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: var(--accent-alt);
    opacity: 0.15;
}

/* Hero Visual */
.hero-visual {
    position: absolute;
    right: 8%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    opacity: 0.7;
}

.chip-visual {
    width: 380px;
    height: 380px;
    animation: float 8s ease-in-out infinite;
}

.chip-svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 40px rgba(197, 62, 58, 0.25));
}

@media (max-width: 1200px) {
    .hero-visual { display: none; }
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 10;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(197, 62, 58, 0.08);
    border: 1px solid rgba(197, 151, 62, 0.25);
    border-radius: 50px;
    font-size: 13px;
    color: var(--accent);
    margin-bottom: 32px;
    animation: fadeInUp 0.8s ease;
    letter-spacing: 2px;
}

.hero-badge-dot {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.hero-title {
    font-family: 'Noto Serif SC', 'SimSun', serif;
    font-size: clamp(48px, 8vw, 76px);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 28px;
    animation: fadeInUp 0.8s ease 0.1s both;
    letter-spacing: 6px;
}

.hero-title-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(16px, 2.2vw, 20px);
    color: var(--gray-400);
    max-width: 600px;
    margin: 0 auto 48px;
    font-weight: 300;
    line-height: 1.9;
    letter-spacing: 1px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--gray-500);
    font-size: 11px;
    animation: fadeIn 1s ease 1s both;
    letter-spacing: 2px;
}

.scroll-mouse {
    width: 22px;
    height: 36px;
    border: 1px solid var(--gray-500);
    border-radius: 12px;
    position: relative;
}

.scroll-wheel {
    width: 3px;
    height: 6px;
    background: var(--gray-500);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollBounce 1.8s infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
    50% { transform: translateX(-50%) translateY(8px); opacity: 0.4; }
}

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

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Stats Section */
.stats-section {
    padding: 80px 60px;
    background: var(--dark-secondary);
    position: relative;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(197, 151, 62, 0.2), transparent);
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.stat-item {
    text-align: center;
    padding: 32px 20px;
    background: linear-gradient(145deg, rgba(197, 151, 62, 0.03), transparent);
    border: 1px solid rgba(197, 151, 62, 0.08);
    border-radius: var(--border-radius-md);
    transition: all var(--transition-normal);
}

.stat-item:hover {
    transform: translateY(-4px);
    border-color: rgba(197, 151, 62, 0.2);
    box-shadow: 0 8px 30px rgba(197, 62, 58, 0.08);
}

.stat-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    color: var(--accent);
}

.stat-icon svg { width: 100%; height: 100%; }

.stat-value {
    font-family: 'Noto Serif SC', serif;
    font-size: 36px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 8px;
    letter-spacing: 2px;
}

.stat-label {
    font-size: 14px;
    color: var(--gray-300);
    font-weight: 500;
    letter-spacing: 2px;
    margin-bottom: 6px;
}

.stat-desc {
    font-size: 12px;
    color: var(--gray-500);
    letter-spacing: 1px;
}

/* Products Section */
.products-section {
    padding: 120px 60px;
    position: relative;
    background: var(--dark);
}

.product-visual {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.product-svg {
    width: 130px;
    height: 130px;
    transition: transform 0.5s ease;
}

.product-card:hover .product-svg {
    transform: scale(1.08);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 28px;
    max-width: 1400px;
    margin: 0 auto;
}

.product-card {
    background: linear-gradient(145deg, rgba(197, 151, 62, 0.03), rgba(197, 151, 62, 0.01));
    border: 1px solid rgba(197, 151, 62, 0.08);
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    transition: all var(--transition-normal);
}

.product-card:hover {
    transform: translateY(-6px);
    border-color: rgba(197, 62, 58, 0.25);
    box-shadow: 0 16px 40px rgba(199, 62, 58, 0.1);
}

.product-image {
    height: 200px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-content {
    padding: 28px;
}

.product-category {
    display: inline-block;
    padding: 4px 14px;
    background: rgba(197, 62, 58, 0.08);
    border: 1px solid rgba(197, 62, 58, 0.15);
    border-radius: 50px;
    font-size: 11px;
    color: var(--primary-light);
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.product-title {
    font-family: 'Noto Serif SC', serif;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.product-desc {
    color: var(--gray-400);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 16px;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.product-features span {
    padding: 4px 12px;
    background: rgba(197, 151, 62, 0.06);
    border: 1px solid rgba(197, 151, 62, 0.1);
    border-radius: 50px;
    font-size: 11px;
    color: var(--gray-400);
    letter-spacing: 1px;
}

.product-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--accent);
    font-size: 13px;
    font-weight: 500;
    transition: all var(--transition-fast);
    letter-spacing: 1px;
}

.product-link:hover {
    gap: 12px;
    color: var(--primary-light);
}

.products-cta {
    text-align: center;
    margin-top: 50px;
}

/* Technology Section */
.tech-section {
    padding: 120px 60px;
    background: var(--dark-secondary);
    position: relative;
    overflow: hidden;
}

.tech-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C5973E' fill-opacity='0.03'%3E%3Cpath d='M0 0h40v40H0V0zm40 40h40v40H40V40zm0-40h2l-2 2V0zm0 4l-1-1-2 2-1-1-1 2v40L33 80H0V40l4-1 2 2 1-1 2-2-2-2-1 1-2-2-2 2v2L20 33 33 20v-2l-2 2 1 1 2-2 1 1 2-2-2-2V0z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.6;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.tech-card {
    background: linear-gradient(145deg, rgba(197, 151, 62, 0.03), transparent);
    border: 1px solid rgba(197, 151, 62, 0.08);
    border-radius: var(--border-radius-lg);
    padding: 36px 28px;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.tech-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.tech-card:hover {
    transform: translateY(-6px);
    border-color: rgba(197, 151, 62, 0.2);
}

.tech-card:hover::before {
    opacity: 1;
}

.tech-icon {
    width: 60px;
    height: 60px;
    background: rgba(197, 62, 58, 0.08);
    border: 1px solid rgba(197, 62, 58, 0.12);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.tech-icon svg {
    width: 28px;
    height: 28px;
    color: var(--primary-light);
}

.tech-card h3 {
    font-family: 'Noto Serif SC', serif;
    font-size: 18px;
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.tech-card > p {
    font-size: 13px;
    color: var(--gray-400);
    line-height: 1.7;
    margin-bottom: 20px;
}

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

.tech-list li {
    padding: 6px 0;
    font-size: 13px;
    color: var(--gray-400);
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 1px;
}

.tech-list li::before {
    content: '◆';
    color: var(--accent);
    font-size: 8px;
}

.tech-link {
    color: var(--accent);
    font-size: 13px;
    font-weight: 500;
    transition: color var(--transition-fast);
    letter-spacing: 1px;
}

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

.tech-cta {
    text-align: center;
    margin-top: 50px;
}

/* Responsive */
@media (max-width: 1200px) {
    .tech-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
    .hero { padding: 100px 30px 60px; }
    .stats-section { padding: 60px 30px; }
    .stats-container { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .products-section, .tech-section { padding: 80px 30px; }
    .products-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
}

@media (max-width: 768px) {
    .hero { padding: 80px 20px 40px; }
    .hero-scroll { display: none; }
    .stats-container { grid-template-columns: 1fr; }
    .products-grid, .tech-grid { grid-template-columns: 1fr; }
}
