﻿/* Hero Section */
.hero {
    min-height: 20vh;
    display: flex;
    align-items: center;
    padding: 8rem 2rem 1rem;
    position: relative;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    animation: slideInRight 0.8s ease-out;
}

a,
a:hover,
a:focus,
a:active {
    text-decoration: none;
}

.ai-info h3 {
    color: antiquewhite !important;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.25);
    padding: 0.5rem 1.1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--primary-light);
    margin-bottom: 1.5rem;
}

    .hero-badge::before {
        content: '';
        width: 8px;
        height: 8px;
        background: var(--accent);
        border-radius: 50%;
        animation: pulse 2s infinite;
    }

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.3);
    }
}

.hero-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 900;
    line-height: 1.4;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

    .hero-title span {
        background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent) 100%);
        -webkit-background-clip: text;
        background-clip: text;
    }

.hero-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.85;
    margin-bottom: 2.5rem;
    max-width: 520px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 0.95rem 1.85rem;
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
}

.btn-primary {
    background: var(--gradient-1);
    color: white;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.35);
}

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 30px rgba(99, 102, 241, 0.45);
    }

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid var(--border);
}

    .btn-secondary:hover {
        border-color: var(--primary-light);
        background: rgba(99, 102, 241, 0.1);
    }

.hero-visual {
    position: relative;
    animation: slideInLeft 0.8s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-card {
    background: var(--gradient-hero);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

    .hero-card::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: conic-gradient(from 0deg, transparent 0deg, var(--accent-glow) 45deg, transparent 90deg);
        animation: rotate 12s linear infinite;
        opacity: 0.2;
    }

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.hero-card-content {
    position: relative;
    z-index: 1;
}

.hero-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.hero-ai-logo {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 8px 24px rgba(217, 119, 6, 0.3);
    flex-shrink: 0;
}

.hero-ai-info h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.15rem;
}

.hero-ai-company {
    color: var(--accent);
    font-size: 0.85rem;
}

.hero-screenshot {
    width: 100%;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #1e1e2e 0%, #2d2d3d 100%);
    border-radius: var(--radius-lg);
    margin: 1.25rem 0;
    overflow: hidden;
    border: 1px solid var(--border);
    position: relative;
}

    .hero-screenshot img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: top;
    }

.hero-screenshot-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    gap: 0.75rem;
}

    .hero-screenshot-placeholder svg {
        width: 56px;
        height: 56px;
        opacity: 0.5;
    }

.hero-ai-desc {
    color: var(--text-secondary);
    line-height: 1.75;
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border);
}

.stat {
    text-align: center;
}

.stat-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent);
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.15rem;
}

/* AI Grid Section */
.ai-section {
    padding: 6rem 2rem;
    position: relative;
}

.section-header {
    max-width: 1400px;
    margin: 0 auto 4rem;
    text-align: center;
    position: relative;
    margin-top: 30px;
}

    .section-header::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 400px;
        height: 400px;
        background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
        pointer-events: none;
        z-index: -1;
    }

.section-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.3);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fff 0%, #e2e8f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.7;
}

.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

    .section-divider span {
        width: 60px;
        height: 3px;
        background: var(--gradient-1);
        border-radius: 3px;
    }

    .section-divider .dot {
        width: 8px;
        height: 8px;
        background: var(--accent);
        border-radius: 50%;
    }

.ai-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2rem;
}

.ai-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s ease-out backwards;
}

    .ai-card:nth-child(1) {
        animation-delay: 0.1s;
    }

    .ai-card:nth-child(2) {
        animation-delay: 0.15s;
    }

    .ai-card:nth-child(3) {
        animation-delay: 0.2s;
    }

    .ai-card:nth-child(4) {
        animation-delay: 0.25s;
    }

    .ai-card:nth-child(5) {
        animation-delay: 0.3s;
    }

    .ai-card:nth-child(6) {
        animation-delay: 0.35s;
    }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ai-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}

.ai-card:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.ai-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    box-shadow: var(--shadow-lg);
}

.ai-card-header {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1rem;
}

.ai-logo {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.ai-card:hover .ai-logo {
    transform: scale(1.08);
}

.ai-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.ai-info h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.1rem;
}

.ai-company {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.ai-screenshot {
    width: 100%;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #1a1a2e 0%, #252538 100%);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.ai-card:hover .ai-screenshot {
    border-color: var(--border-hover);
}

.ai-screenshot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.5s ease;
}

.ai-card:hover .ai-screenshot img {
    transform: scale(1.03);
}

.ai-screenshot-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    gap: 0.5rem;
    font-size: 0.8rem;
}

    .ai-screenshot-placeholder svg {
        width: 40px;
        height: 40px;
        opacity: 0.4;
    }

.ai-description {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
    font-size: 0.85rem;
}

.ai-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.ai-tag {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-light);
    padding: 0.25rem 0.65rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 500;
}

.ai-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

    .ai-link:hover {
        gap: 0.75rem;
    }

    .ai-link svg {
        transition: transform 0.3s ease;
    }

    .ai-link:hover svg {
        transform: translateX(-4px);
    }

/* Responsive */
@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        order: 2;
    }

    .hero-visual {
        order: 1;
        max-width: 600px;
        margin: 0 auto;
    }

    .hero-description {
        margin: 0 auto 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    nav {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .header-cta .search-btn {
        display: none;
    }
}

@media (max-width: 768px) {
    header {
        padding: 0.85rem 1.25rem;
    }

        header nav[role="navigation"] {
            display: none;
        }

    .mobile-menu-btn {
        display: flex;
    }

    .hero {
        padding: 7rem 1.25rem 3rem;
        min-height: auto;
    }

    .hero-card {
        padding: 1.25rem;
    }

    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }

    .stat-value {
        font-size: 1rem;
    }

    .stat-label {
        font-size: 0.65rem;
    }

    .ai-section {
        padding: 4rem 1.25rem;
    }

    .ai-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .cta-container {
        padding: 2.5rem 1.5rem;
    }

    .cta-title {
        font-size: 1.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}

@media (max-width: 420px) {
    .ai-grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
}
