/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    --bg-color: #0d0d12;
    --text-main: #ffffff;
    --text-muted: #a0a0b0;
    --primary: #6c5ce7;
    --primary-glow: rgba(108, 92, 231, 0.4);
    --secondary: #e84393;
    --secondary-glow: rgba(232, 67, 147, 0.4);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --card-hover: rgba(255, 255, 255, 0.1);

    --font-main: 'Outfit', sans-serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background Gradients */
body::before {
    content: '';
    position: fixed;
    top: -20%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-glow), transparent 70%);
    filter: blur(80px);
    z-index: -1;
    opacity: 0.6;
}

body::after {
    content: '';
    position: fixed;
    bottom: -10%;
    right: -5%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, var(--secondary-glow), transparent 70%);
    filter: blur(100px);
    z-index: -1;
    opacity: 0.5;
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 4rem;
    font-size: 1.1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Glassmorphism Card */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2rem;
    transition: transform 0.3s ease, background 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    background: var(--card-hover);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: background 0.3s ease, padding 0.3s ease;
}

header.scrolled {
    background: rgba(13, 13, 18, 0.8);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--text-main);
}

.cta-btn {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.cta-btn:hover {
    opacity: 0.9;
    transform: scale(1.05);
}

.mobile-menu-btn {
    display: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 3rem;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.secondary-btn {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.secondary-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.hero-image {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    perspective: 1000px;
}

.app-mockup {
    width: 100%;
    border-radius: 20px;
    border: 4px solid var(--glass-border);
    box-shadow: 0 20px 80px -20px rgba(108, 92, 231, 0.3);
    transform: rotateX(5deg);
    transition: transform 0.5s ease;
    background: rgba(20, 20, 30, 0.8);
    aspect-ratio: 16/9;
    /* Placeholder ratio */
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1.5rem;
}

.hero-image:hover .app-mockup {
    transform: rotateX(0deg);
}

/* Features Grid */
.features {
    padding: 100px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 16px;
    color: var(--primary);
}

.feature-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.feature-desc {
    color: var(--text-muted);
}

/* AI Section */
.ai-section {
    padding: 100px 0;
    position: relative;
}

.ai-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.ai-content h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.ai-content p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.ai-tags {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.tag {
    background: rgba(108, 92, 231, 0.1);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(108, 92, 231, 0.2);
}

.ai-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    border-radius: 30px;
    padding: 2rem;
    position: relative;
    border: 1px solid var(--glass-border);
}

.ai-chat-bubble {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem 1.5rem;
    border-radius: 20px;
    margin-bottom: 1rem;
    max-width: 80%;
}

.ai-chat-bubble.right {
    margin-left: auto;
    background: var(--primary);
    color: white;
}

/* Platforms */
.platforms {
    padding: 60px 0;
    text-align: center;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.02);
}

.platform-icons {
    display: flex;
    justify-content: center;
    gap: 3rem;
    font-size: 2rem;
    color: var(--text-muted);
    flex-wrap: wrap;
}

.platform-icons i {
    transition: color 0.3s ease;
}

.platform-icons i:hover {
    color: white;
}

/* Footer */
footer {
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--glass-border);
    text-align: center;
    color: var(--text-muted);
}

.footer-links {
    margin-bottom: 2rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    margin: 0 1rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.8rem;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .ai-grid {
        grid-template-columns: 1fr;
    }


    .platform-icons {
        gap: 2rem;
        font-size: 1.5rem;
    }
}

/* Sub-page Styles */
.page-hero {
    padding: 120px 0 60px;
    background: linear-gradient(to bottom, rgba(13, 13, 18, 0.9), var(--bg-color));
    text-align: center;
}

.page-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.breadcrumb {
    color: var(--primary);
    margin-bottom: 2rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: white;
}

.detail-section {
    padding: 60px 0;
}

.media-placeholder {
    width: 100%;
    aspect-ratio: 16/9;
    background: rgba(255, 255, 255, 0.05);
    border: 2px dashed var(--glass-border);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: var(--text-muted);
    margin: 2rem 0;
    transition: all 0.3s ease;
}

.media-placeholder:hover {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
}

.media-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.feature-spec-list {
    list-style: none;
    margin-top: 1.5rem;
}

.feature-spec-list li {
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
    color: var(--text-muted);
}

.feature-spec-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--secondary);
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
}

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

.split-layout.reverse .text-content {
    direction: ltr;
    /* Reset text direction */
}

@media (max-width: 768px) {
    .split-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
        direction: ltr !important;
    }
}