/* Technical Page Specific Styles */

/* Tech Hero Section */
.tech-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0 80px;
    overflow: hidden;
    background: #fafbfc;
}

/* Animated Background */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 20s infinite ease-in-out;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, #1e3a8a 0%, #06438c 100%);
    top: -300px;
    right: -200px;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #06438c 0%, #dbeafe 100%);
    bottom: -200px;
    left: -100px;
    animation-delay: 5s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #dbeafe 0%, #1e3a8a 100%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -50px) scale(1.1); }
    50% { transform: translate(-20px, 30px) scale(0.9); }
    75% { transform: translate(40px, 20px) scale(1.05); }
}

/* Hero Wrapper */
.tech-hero-wrapper {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* Hero Content */
.tech-hero-content {
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(30, 58, 138, 0.1);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 30px;
    margin-bottom: 24px;
    font-size: 14px;
    font-weight: 600;
    color: var(--robert-blue);
}

.badge-icon {
    width: 16px;
    height: 16px;
}

.tech-hero-title {
    font-size: 56px;
    font-weight: bold;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.tech-hero-description {
    font-size: 20px;
    color: var(--text-gray);
    margin-bottom: 40px;
    line-height: 1.6;
}

/* Hero Actions */
.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hero-button.primary {
    background: var(--robert-accent);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(6, 67, 140, 0.3);
}

.hero-button.primary:hover {
    background: var(--robert-blue);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(6, 67, 140, 0.4);
}

.hero-button.secondary {
    background: white;
    color: var(--robert-accent);
    border: 2px solid #e5e7eb;
}

.hero-button.secondary:hover {
    border-color: var(--robert-accent);
    background: rgba(6, 67, 140, 0.05);
}

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

/* Hero Visual */
.tech-hero-visual {
    position: relative;
}

.visual-wrapper {
    position: relative;
}

.tech-hero-image {
    width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
    object-fit: cover;
    max-height: 600px;
}

/* Floating Stats */
.floating-stats {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.stat-card {
    position: absolute;
    background: white;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 16px;
    animation: floatCard 3s infinite ease-in-out;
}

.stat-1 {
    top: 20px;
    right: -40px;
    animation-delay: 0s;
}

.stat-2 {
    bottom: 100px;
    left: -40px;
    animation-delay: 1s;
}

.stat-3 {
    bottom: 20px;
    right: 40px;
    animation-delay: 2s;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(2deg); }
}

.stat-icon {
    width: 32px;
    height: 32px;
    color: var(--robert-accent);
}

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

.stat-content {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 24px;
    font-weight: bold;
    color: var(--robert-accent);
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    color: var(--text-gray);
    margin-top: 4px;
}

/* Hero section specific stat label color */
.tech-hero .stat-label {
    color: #6b7280;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator svg {
    width: 24px;
    height: 24px;
    color: var(--robert-accent);
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* Mobile Stats - Hidden on Desktop */
.mobile-stats {
    display: none;
}

.mobile-stat-item {
    text-align: center;
    background: white;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.mobile-stat-icon {
    width: 28px;
    height: 28px;
    margin: 0 auto 8px;
    color: var(--robert-accent);
}

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

.mobile-stat-number {
    font-size: 20px;
    font-weight: bold;
    color: var(--robert-accent);
    margin-bottom: 4px;
}

.mobile-stat-label {
    font-size: 14px;
    color: var(--text-gray);
}

/* Tech Sections */
.tech-section {
    padding: 80px 0;
}

.tech-section.dark-section {
    background: var(--bg-gray-900);
    color: white;
}

.tech-section.gradient-section {
    background: linear-gradient(135deg, var(--robert-blue) 0%, var(--robert-accent) 100%);
    color: white;
}

.section-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.section-split.reverse {
    direction: rtl;
}

.section-split.reverse > * {
    direction: ltr;
}

.split-content {
    max-width: 500px;
}

.section-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(30, 58, 138, 0.1);
    color: var(--robert-blue);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}

.section-badge.light {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.section-title {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
}

.section-title.center {
    text-align: center;
}

.section-title.white {
    color: white;
}

.gradient-text {
    background: linear-gradient(135deg, var(--robert-blue) 0%, var(--robert-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-light {
    background: linear-gradient(135deg, #dbeafe 0%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-description {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 32px;
    line-height: 1.6;
}

.section-description.center {
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.dark-section .section-description {
    color: #e5e7eb;
}

.tech-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tech-feature-list li {
    display: flex;
    align-items: start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 16px;
}

.feature-check {
    width: 20px;
    height: 20px;
    color: var(--robert-accent);
    flex-shrink: 0;
    margin-top: 2px;
}

/* ROS Diagram */
.ros-diagram {
    position: relative;
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    border-radius: 20px;
    padding: 40px;
}

.ros-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: var(--robert-accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
    z-index: 2;
}

.ros-node {
    position: absolute;
    background: white;
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    font-size: 14px;
    font-weight: 500;
}

.node-1 { top: 20px; left: 50%; transform: translateX(-50%); }
.node-2 { top: 50%; right: 20px; transform: translateY(-50%); }
.node-3 { bottom: 20px; left: 50%; transform: translateX(-50%); }
.node-4 { top: 50%; left: 20px; transform: translateY(-50%); }

.ros-connection {
    position: absolute;
    background: #d1d5db;
    z-index: 1;
}

.con-1, .con-3 { width: 2px; height: 100px; left: 50%; transform: translateX(-50%); }
.con-1 { top: 140px; }
.con-3 { bottom: 140px; }

.con-2, .con-4 { height: 2px; width: 100px; top: 50%; transform: translateY(-50%); }
.con-2 { right: 140px; }
.con-4 { left: 140px; }

/* Emotion Grid */
.emotion-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 32px 0;
}

.emotion-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s;
}

.emotion-card:hover {
    transform: translateY(-4px);
}

.emotion-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 12px auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.emotion-icon img {
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease;
}

.emotion-card:hover .emotion-icon img {
    transform: scale(1.15);
}

.emotion-label {
    font-size: 14px;
    color: #e5e7eb;
}

.tech-note {
    font-size: 14px;
    color: #9ca3af;
    font-style: italic;
    margin-top: 24px;
}

/* Face Screen Demo */
.face-screen-demo {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.screen-frame {
    background: #1f2937;
    border-radius: 30px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.screen-display {
    background: #000;
    border-radius: 20px;
    height: 300px;
    position: relative;
    overflow: hidden;
}

.face-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.eye {
    position: absolute;
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    top: 40%;
}

.left-eye { left: 30%; }
.right-eye { right: 30%; }

.mouth {
    position: absolute;
    width: 100px;
    height: 20px;
    background: white;
    border-radius: 0 0 50px 50px;
    bottom: 30%;
    left: 50%;
    transform: translateX(-50%);
}

.screen-features {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
}

.feature-tag {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    color: #e5e7eb;
}

/* AI Features Grid */
.ai-header {
    text-align: center;
    margin-bottom: 60px;
}

.ai-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.ai-feature-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 32px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.ai-feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.ai-icon-wrapper {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--robert-blue) 0%, var(--robert-accent) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.ai-icon {
    width: 30px;
    height: 30px;
    color: white;
}

.ai-feature-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 12px;
}

.ai-feature-description {
    color: var(--text-gray);
    margin-bottom: 20px;
    line-height: 1.6;
}

.ai-specs {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ai-specs li {
    padding: 8px 0;
    border-top: 1px solid #e5e7eb;
    font-size: 14px;
    color: var(--text-gray);
}

.ai-specs li:first-child {
    border-top: none;
    padding-top: 0;
}

/* Financial AI Section */
.financial-ai-content {
    max-width: 1000px;
    margin: 0 auto;
}

.robotbulls-showcase {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 48px;
    margin-top: 40px;
}

.showcase-header {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-bottom: 48px;
}

.robotbulls-logo {
    width: 80px;
    height: 80px;
    border-radius: 20px;
}

.showcase-title {
    font-size: 28px;
    color: white;
    margin-bottom: 8px;
}

.showcase-description {
    color: #e5e7eb;
    font-size: 16px;
    line-height: 1.6;
}

.trading-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 48px;
}

.trading-feature {
    text-align: center;
}

.trading-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.trading-icon svg {
    width: 30px;
    height: 30px;
    color: white;
}

.trading-title {
    font-size: 18px;
    color: white;
    margin-bottom: 8px;
}

.trading-description {
    font-size: 14px;
    color: #e5e7eb;
    line-height: 1.6;
}

.ai-model-stats {
    display: flex;
    justify-content: space-around;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.ai-model-stats .stat-icon {
    color: white;
}

.model-stat {
    display: flex;
    align-items: center;
    gap: 16px;
}

.stat-icon {
    width: 32px;
    height: 32px;
    color: var(--robert-accent);
}

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

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 24px;
    font-weight: bold;
    color: white;
}

.stat-label {
    font-size: 14px;
    color: #e5e7eb;
}

/* Technical Specifications */
.specs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 60px;
}

.spec-category {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 32px;
}

.spec-category-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 24px;
    color: var(--robert-blue);
}

.spec-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.spec-list li {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #f3f4f6;
}

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

.spec-label {
    font-weight: 600;
    color: #374151;
}

.spec-value {
    color: var(--text-gray);
    text-align: right;
}

/* CTA Section */
.tech-cta-section {
    background: linear-gradient(135deg, var(--bg-gray-50) 0%, var(--bg-blue-50) 100%);
    padding: 80px 0;
}

.tech-cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 20px;
}

.cta-description {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 40px;
    line-height: 1.6;
}

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

.primary-button {
    background: var(--robert-accent);
    color: white;
}

.primary-button:hover {
    background: var(--robert-blue);
}

.secondary-button {
    background: white;
    color: var(--robert-accent);
    border: 2px solid var(--robert-accent);
}

.secondary-button:hover {
    background: var(--robert-accent);
    color: white;
}

/* Tablet Responsive */
@media (max-width: 992px) {
    .tech-hero-wrapper {
        gap: 50px;
    }
    
    .tech-hero-title {
        font-size: 48px;
    }
    
    .tech-hero-description {
        font-size: 18px;
        margin-bottom: 32px;
    }
    
    .section-split {
        gap: 50px;
    }
    
    .ai-features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .trading-features-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .specs-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .emotion-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .robotbulls-showcase {
        padding: 32px;
    }
    
    .ai-model-stats {
        flex-wrap: wrap;
        gap: 24px;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .tech-hero-wrapper {
        grid-template-columns: 1fr;
    }
    
    .tech-hero-content {
        text-align: center;
        max-width: 100%;
    }
    
    .hero-badge {
        margin: 0 auto 24px;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .tech-hero-visual {
        order: -1;
    }
    
    .floating-stats {
        display: none;
    }
    
    /* Show inline stats on tablet/mobile */
    .mobile-stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
        margin-top: 40px;
    }
    
    .section-split,
    .ai-features-grid,
    .trading-features-grid,
    .specs-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .section-split.reverse {
        direction: ltr;
    }
    
    .ros-diagram {
        height: 300px;
    }
    
    .tech-hero {
        padding: 100px 0 60px;
        min-height: auto;
    }
    
    .gradient-orb {
        filter: blur(60px);
    }
    
    .orb-1 {
        width: 300px;
        height: 300px;
        top: -150px;
        right: -100px;
    }
    
    .orb-2 {
        width: 250px;
        height: 250px;
        bottom: -100px;
        left: -50px;
    }
    
    .orb-3 {
        width: 200px;
        height: 200px;
    }
    
    .tech-hero-title {
        font-size: 40px;
    }
    
    .tech-hero-description {
        font-size: 18px;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-button {
        width: 100%;
        justify-content: center;
    }
    
    .tech-hero-image {
        border-radius: 16px;
    }
    
    .scroll-indicator {
        bottom: 20px;
    }
    
    .emotion-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .ai-model-stats {
        flex-direction: column;
        gap: 24px;
    }
    
    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cta-button {
        width: 100%;
    }
    
    .robotbulls-showcase {
        padding: 32px 24px;
    }
    
    .showcase-header {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .tech-hero {
        padding: 80px 0 40px;
    }
    
    .tech-hero-title {
        font-size: 32px;
    }
    
    .tech-hero-description {
        font-size: 16px;
        margin-bottom: 32px;
    }
    
    .hero-badge {
        font-size: 12px;
        padding: 6px 16px;
    }
    
    .hero-button {
        padding: 14px 24px;
        font-size: 15px;
    }
    
    .mobile-stats {
        gap: 12px;
    }
    
    .mobile-stat-item {
        padding: 16px;
    }
    
    .mobile-stat-icon {
        width: 24px;
        height: 24px;
    }
    
    .mobile-stat-number {
        font-size: 18px;
    }
    
    .mobile-stat-label {
        font-size: 12px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .tech-section {
        padding: 60px 0;
    }
    
    .face-screen-demo {
        max-width: 300px;
    }
    
    .screen-frame {
        padding: 30px;
    }
    
    .screen-display {
        height: 250px;
    }
}