.ai-tech-page {
    background: var(--bg-light);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 2rem 0 0;
    font-size: 0.9rem;
    color: var(--medium-gray);
}

.breadcrumb a {
    color: var(--medium-gray);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb a:hover { color: var(--primary-color); }
.breadcrumb .separator { color: var(--border-color); font-size: 0.7rem; }
.breadcrumb .current { color: var(--dark-color); font-weight: 500; }

.hero-ai {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0a0e1a 0%, #1a1f35 50%, #0d111c 100%);
    overflow: hidden;
    margin-top: -80px;
    padding-top: 80px;
}

.hero-ai-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(0, 102, 204, 0.15) 0%, transparent 60%);
}

.hero-ai-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-ai-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.5rem;
    background: rgba(0, 102, 204, 0.15);
    border: 1px solid rgba(0, 102, 204, 0.3);
    border-radius: 50px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.hero-badge i {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    color: white;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: linear-gradient(135deg, #4D94FF 0%, #0066CC 50%, #00A86B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 700px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.btn-ai-primary {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #0066CC 0%, #4D94FF 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s;
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.3);
}

.btn-ai-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 102, 204, 0.4);
}

.btn-ai-secondary {
    padding: 1rem 2rem;
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

.btn-ai-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

.features-ai {
    padding: 6rem 0;
    background: var(--bg-white);
}

.section-header-ai {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-tag {
    display: inline-block;
    padding: 0.3rem 1rem;
    background: var(--gradient-subtle);
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    margin-bottom: 1rem;
}

.section-header-ai h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.section-header-ai p {
    font-size: 1.1rem;
    color: var(--medium-gray);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card-ai {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 1.5rem;
    padding: 2rem;
    transition: all 0.3s;
}

.feature-card-ai:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-subtle);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon i {
    font-size: 28px;
    color: var(--primary-color);
}

.feature-card-ai h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.75rem;
}

.feature-card-ai p {
    color: var(--medium-gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.feature-progress {
    height: 6px;
    background: var(--border-color);
    border-radius: 3px;
    margin-bottom: 0.5rem;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--success-color));
    border-radius: 3px;
}

.feature-stat {
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 600;
}

.feature-models {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.feature-models i {
    color: var(--primary-color);
    font-size: 0.5rem;
}

.feature-ar i {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.upload-section {
    padding: 4rem 0;
    background: var(--gradient-subtle);
}

.upload-card {
    background: var(--bg-white);
    border-radius: 2rem;
    padding: 3rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.upload-header {
    text-align: center;
    margin-bottom: 2rem;
}

.upload-header i {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.upload-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.upload-header p {
    color: var(--medium-gray);
}

.upload-area {
    border: 2px dashed var(--border-color);
    border-radius: 1.5rem;
    padding: 3rem;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
}

.upload-area:hover {
    border-color: var(--primary-color);
    background: rgba(0, 102, 204, 0.02);
}

.upload-placeholder i {
    font-size: 48px;
    color: var(--border-color);
    margin-bottom: 1rem;
}

.upload-placeholder span {
    display: block;
    color: var(--medium-gray);
    margin-bottom: 0.5rem;
}

.upload-link {
    background: none;
    border: none;
    color: var(--primary-color);
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
}

.upload-placeholder small {
    color: var(--medium-gray);
    font-size: 0.8rem;
}

.upload-preview {
    text-align: center;
}

.upload-preview img {
    max-width: 100%;
    max-height: 300px;
    border-radius: 1rem;
    margin-bottom: 1.5rem;
}

.preview-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.upload-tips {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1.5rem;
}

.tip-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--medium-gray);
    font-size: 0.9rem;
}

.tip-item i {
    color: var(--success-color);
}

.analysis-section {
    padding: 4rem 0;
}

.analysis-card {
    background: var(--bg-white);
    border-radius: 2rem;
    padding: 3rem;
}

.analysis-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.analysis-header i {
    font-size: 32px;
    color: var(--primary-color);
}

.analysis-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-color);
    margin: 0;
}

.ai-loader {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.ai-loader-circle {
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: loaderPulse 1.4s infinite;
}

.ai-loader-circle:nth-child(2) { animation-delay: 0.2s; }
.ai-loader-circle:nth-child(3) { animation-delay: 0.4s; }

@keyframes loaderPulse {
    0%, 60%, 100% { transform: scale(1); opacity: 0.5; }
    30% { transform: scale(1.3); opacity: 1; }
}

.analysis-loading p {
    text-align: center;
    color: var(--medium-gray);
}

.result-header {
    margin-bottom: 1.5rem;
}

.result-confidence {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(0, 168, 107, 0.1);
    color: var(--success-color);
    border-radius: 50px;
    font-weight: 600;
}

.result-matches {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.ar-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #0a0e1a 0%, #1a1f35 100%);
}

.ar-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.ar-content .section-tag {
    background: rgba(0, 102, 204, 0.2);
    color: var(--primary-color);
}

.ar-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin: 1rem 0;
}

.ar-content p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.ar-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
}

.ar-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.75rem;
}

.ar-features li i {
    color: var(--success-color);
}

.ar-preview {
    display: flex;
    justify-content: center;
}

.ar-phone-mockup {
    width: 300px;
    height: 600px;
    background: #1a1a2e;
    border-radius: 40px;
    padding: 15px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a0e1a 0%, #16213e 100%);
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
}

.phone-screen i {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.phone-screen span {
    color: rgba(255, 255, 255, 0.5);
}

.tech-stats {
    padding: 4rem 0;
    background: var(--bg-white);
}

.tech-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.tech-stat-card {
    text-align: center;
    padding: 2rem;
    background: var(--gradient-subtle);
    border-radius: 1.5rem;
}

.tech-stat-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.tech-stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--dark-color);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.tech-stat-label {
    color: var(--medium-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
}

.modal-ar {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.modal-ar-content {
    position: relative;
    width: 90%;
    max-width: 800px;
    background: var(--bg-white);
    border-radius: 2rem;
    padding: 2rem;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--medium-gray);
    cursor: pointer;
}

.ar-modal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.ar-modal-header i {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.ar-modal-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
}

.ar-camera-placeholder {
    text-align: center;
    padding: 4rem;
    background: var(--bg-light);
    border-radius: 1.5rem;
}

.ar-camera-placeholder i {
    font-size: 64px;
    color: var(--border-color);
    margin-bottom: 1.5rem;
}

.ar-camera-placeholder span {
    display: block;
    color: var(--medium-gray);
    margin-bottom: 1.5rem;
}

#arVideo, #arCanvas {
    width: 100%;
    border-radius: 1.5rem;
}

@media (max-width: 1024px) {
    .hero-title { font-size: 3rem; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .ar-card { grid-template-columns: 1fr; text-align: center; }
    .ar-features { display: inline-block; text-align: left; }
    .tech-stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .hero-title { font-size: 2rem; }
    .hero-stats { flex-direction: column; gap: 1rem; }
    .features-grid { grid-template-columns: 1fr; }
    .upload-tips { flex-direction: column; align-items: center; gap: 0.5rem; }
    .tech-stats-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .hero-actions { flex-direction: column; }
    .hero-title { font-size: 1.8rem; }
}