/* ============================================================================
   AiTi - Landing Page Styles
   Estilo glassmorphism similar al producto
   ============================================================================ */

:root {
    --primary: #4299e1;
    --primary-dark: #3182ce;
    --primary-light: #63b3ed;
    --gradient-start: #667eea;
    --gradient-end: #764ba2;
}

/* General */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #4a5568;
}

/* Navbar */
#mainNav {
    background: transparent;
    transition: all 0.3s ease;
    padding: 1rem 0;
}

#mainNav.scrolled {
    background: rgba(45, 55, 72, 0.95) !important;
    backdrop-filter: blur(10px);
    padding: 0.5rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.navbar-brand {
    letter-spacing: 1px;
}

/* Hero */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* Hero Mockup */
.hero-mockup {
    perspective: 1000px;
}

.mockup-window {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: rotateY(-5deg) rotateX(2deg);
    transition: transform 0.3s ease;
}

.mockup-window:hover {
    transform: rotateY(0) rotateX(0);
}

.mockup-header {
    background: rgba(0, 0, 0, 0.3);
    padding: 10px 15px;
    display: flex;
    gap: 6px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.mockup-body {
    display: flex;
    min-height: 250px;
    padding: 15px;
    gap: 15px;
}

.mockup-sidebar {
    width: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.mockup-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mockup-card {
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
}

.mockup-table {
    flex: 1;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
}

/* Feature Cards */
.feature-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

/* Feature Modal Image Carousel */
#featureCurrentImg {
    transition: opacity 0.15s ease;
}

#featureModal .btn-dark.rounded-circle:hover {
    opacity: 1 !important;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(66, 153, 225, 0.15);
    border-color: var(--primary-light);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: white;
    font-size: 1.3rem;
}

/* Benefit Cards */
.benefit-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem 1.5rem;
    height: 100%;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

/* Download Card */
.download-card {
    background: #fff;
    border-radius: 16px;
    padding: 2.5rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* Buttons */
.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    border-radius: 8px;
    font-weight: 500;
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-outline-light:hover {
    transform: translateY(-1px);
}

/* Table */
.table-primary {
    background-color: rgba(66, 153, 225, 0.1) !important;
}

.table-primary th {
    color: #2d3748;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        padding-top: 100px;
        text-align: center;
    }
    
    .hero-section .d-flex {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .display-4 {
        font-size: 2rem;
    }
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Section spacing */
section {
    scroll-margin-top: 70px;
}
