/* ============================================
   Global Styles & Variables
   ============================================ */

:root {
    --primary-color: #2a46ff;
    --primary-dark: #1e34cc;
    --primary-light: #4a62ff;
    --secondary-color: #6c63ff;
    --accent-color: #00d4ff;
    --dark-bg: #0a0e27;
    --card-bg: #131838;
    --text-primary: #ffffff;
    --text-secondary: #a0a7c4;
    --gradient-1: linear-gradient(135deg, #2a46ff 0%, #6c63ff 100%);
    --gradient-2: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-3: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --shadow-sm: 0 2px 10px rgba(42, 70, 255, 0.1);
    --shadow-md: 0 4px 20px rgba(42, 70, 255, 0.2);
    --shadow-lg: 0 10px 40px rgba(42, 70, 255, 0.3);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

/* ============================================
   Navbar
   ============================================ */

.navbar {
    padding: 1.5rem 0;
    transition: var(--transition);
    z-index: 1000;
}

.navbar.scrolled {
    background: rgba(10, 14, 39, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(42, 70, 255, 0.1);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary) !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.brand-icon {
    font-size: 1.8rem;
}

.navbar-nav .nav-link {
    color: var(--text-secondary) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: var(--transition);
}

.navbar-nav .nav-link:hover {
    color: var(--primary-light) !important;
}

.cta-btn {
    background: var(--gradient-1);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ============================================
   Hero Section
   ============================================ */

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(42, 70, 255, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(108, 99, 255, 0.15) 0%, transparent 50%);
}

.animated-bg .circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: float 20s ease-in-out infinite;
}

.circle-1 {
    width: 500px;
    height: 500px;
    background: rgba(42, 70, 255, 0.2);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.circle-2 {
    width: 400px;
    height: 400px;
    background: rgba(108, 99, 255, 0.15);
    top: 50%;
    right: 20%;
    animation-delay: 5s;
}

.circle-3 {
    width: 300px;
    height: 300px;
    background: rgba(0, 212, 255, 0.1);
    bottom: 20%;
    left: 50%;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-30px, 30px) scale(0.9); }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(42, 70, 255, 0.2);
    border: 1px solid rgba(42, 70, 255, 0.3);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

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

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.cta-btn-large {
    background: var(--gradient-1);
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.cta-btn-large:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--text-primary);
    background: transparent;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--text-primary);
}

.hero-stats {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

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

.stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* Hero Image */
.hero-image {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-device {
    position: relative;
    z-index: 2;
}

.device-frame {
    width: 300px;
    height: 300px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 60px rgba(42, 70, 255, 0.4);
    animation: pulse 3s ease-in-out infinite;
}

.device-icon {
    font-size: 8rem;
    color: white;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 20px 60px rgba(42, 70, 255, 0.4); }
    50% { transform: scale(1.05); box-shadow: 0 25px 80px rgba(42, 70, 255, 0.6); }
}

.floating-card {
    position: absolute;
    background: var(--card-bg);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 1rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.card-text {
    font-weight: 600;
    font-size: 1rem;
}

.card-1 {
    top: 10%;
    left: 0;
    animation: float 4s ease-in-out infinite;
}

.card-2 {
    top: 15%;
    right: 0;
    animation: float 5s ease-in-out infinite 1s;
}

.card-3 {
    bottom: 20%;
    left: -10%;
    animation: float 4.5s ease-in-out infinite 2s;
}

.card-4 {
    bottom: 15%;
    right: -10%;
    animation: float 5.5s ease-in-out infinite 1.5s;
}

/* ============================================
   Section Common Styles
   ============================================ */

section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

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

/* ============================================
   Features Section
   ============================================ */

.features-section {
    background: linear-gradient(180deg, var(--dark-bg) 0%, #0f1331 100%);
}

.feature-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 2.5rem;
    height: 100%;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(42, 70, 255, 0.3);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0;
}

/* ============================================
   AI Models Section
   ============================================ */

.ai-models-section {
    background: #0f1331;
}

.ai-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 2rem;
    height: 100%;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.ai-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transition: var(--transition);
}

.ai-card:hover::before {
    transform: scaleX(1);
}

.ai-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(42, 70, 255, 0.3);
}

a:has(.ai-card) {
    color: inherit;
}

a:has(.ai-card):hover .ai-name {
    color: var(--primary-light);
}

.ai-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.2rem;
}

.ai-icon {
    font-size: 3rem;
}

.ai-category {
    background: rgba(42, 70, 255, 0.2);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.ai-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.85rem;
}

.ai-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.2rem;
}

.ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #00ff88;
    font-weight: 600;
    font-size: 0.95rem;
}

/* ============================================
   Stats Section
   ============================================ */

.stats-section {
    background: var(--dark-bg);
}

.stats-wrapper {
    background: var(--card-bg);
    border-radius: 30px;
    padding: 4rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-box {
    padding: 1rem;
}

.stat-icon {
    font-size: 3rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-text {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin: 0;
}

/* ============================================
   CTA Section
   ============================================ */

.cta-section {
    background: linear-gradient(180deg, #0f1331 0%, var(--dark-bg) 100%);
}

.cta-wrapper {
    background: var(--gradient-1);
    border-radius: 30px;
    padding: 4rem 3rem;
    box-shadow: var(--shadow-lg);
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta-description {
    font-size: 1.25rem;
    opacity: 0.9;
    margin: 0;
}

.pulse-animation {
    animation: pulse-button 2s ease-in-out infinite;
}

@keyframes pulse-button {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); }
    50% { box-shadow: 0 0 0 20px rgba(255, 255, 255, 0); }
}

/* ============================================
   Footer
   ============================================ */

.footer {
    background: #0a0d1f;
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-brand {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 45px;
    height: 45px;
    background: var(--card-bg);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.social-link:hover {
    background: var(--gradient-1);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.footer-heading {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-secondary);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.copyright,
.made-with {
    color: var(--text-secondary);
    margin: 0;
}

.heart {
    color: #ff6b6b;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* ============================================
   Scroll to Top Button
   ============================================ */

.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-1);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1000;
    box-shadow: var(--shadow-md);
}

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

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2.25rem;
    }
    
    .hero-image {
        height: 400px;
        margin-top: 3rem;
    }
    
    .device-frame {
        width: 200px;
        height: 200px;
    }
    
    .device-icon {
        font-size: 5rem;
    }
    
    .floating-card {
        padding: 1rem;
    }
    
    .card-text {
        font-size: 0.85rem;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
        margin: 0;
    }
    
    .cta-btn-large {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .stat-value {
        font-size: 2rem;
    }
    
    .cta-wrapper {
        padding: 2.5rem 1.5rem;
    }
    
    .cta-title {
        font-size: 1.75rem;
    }
    
    .cta-description {
        font-size: 1rem;
    }
    
    section {
        padding: 60px 0;
    }
}

/* ============================================
   Loading Animation
   ============================================ */

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* ============================================
   Model Tags
   ============================================ */

.model-tag {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    text-align: center;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
}

.model-tag:hover {
    background: rgba(42, 70, 255, 0.1);
    border-color: rgba(42, 70, 255, 0.3);
    transform: translateY(-2px);
}

.model-tag-link {
    cursor: pointer;
}

.model-tag-link:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(42, 70, 255, 0.4);
}

.category-title {
    position: relative;
    padding-bottom: 0.5rem;
}

.category-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--gradient-1);
    border-radius: 3px;
}

