/* 
    AI DAROMAD - Premium Design System
    Theme: Modern Dark Glassmorphism
*/

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

:root {
    --primary: #7c3aed;
    --primary-glow: rgba(124, 58, 237, 0.5);
    --secondary: #2dd4bf;
    --background: #030712;
    --card-bg: rgba(17, 24, 39, 0.7);
    --card-border: rgba(255, 255, 255, 0.1);
    --text-main: #f9fafb;
    --text-muted: #9ca3af;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-blur: blur(12px);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, .brand {
    font-family: 'Outfit', sans-serif;
}

/* Background Gradients */
.bg-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    animation: move 20s infinite alternate;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: var(--primary);
    top: -100px;
    left: -100px;
}

.blob-2 {
    width: 350px;
    height: 350px;
    background: var(--secondary);
    bottom: -50px;
    right: -50px;
    animation-delay: -5s;
}

@keyframes move {
    from { transform: translate(0, 0); }
    to { transform: translate(100px, 100px); }
}

/* Navbar */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 10%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    background: rgba(3, 7, 18, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--card-border);
}

.brand {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

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

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

.nav-btn {
    background: var(--primary);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 15px var(--primary-glow);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 10% 60px;
    gap: 4rem;
}

.hero-content {
    flex: 1;
}

.hero-tag {
    display: inline-block;
    background: var(--glass);
    border: 1px solid var(--card-border);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
}

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

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.cta-group {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.btn-primary {
    background: var(--primary);
    color: white;
    padding: 1.2rem 2.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: 0.3s ease;
    box-shadow: 0 10px 20px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px var(--primary-glow);
}

.btn-secondary {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

.book-mockup {
    width: 100%;
    max-width: 450px;
    transform: rotateY(-15deg) rotateX(5deg);
    transition: 0.5s;
    /* User yuborgan tiniq book.png ishlatilmoqda */
}

.book-mockup:hover {
    transform: rotateY(0deg) scale(1.05);
}

/* Features Section */
.features {
    padding: 100px 10%;
    text-align: center;
}

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

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

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

.card {
    background: var(--glass);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--card-border);
    padding: 3rem 2rem;
    border-radius: 24px;
    text-align: left;
    transition: 0.3s;
}

.card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
    transform: translateY(-10px);
}

.icon {
    width: 60px;
    height: 60px;
    background: var(--primary-glow);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary);
    font-size: 1.5rem;
}

/* Pricing/CTA */
.final-cta {
    padding: 100px 10%;
    display: flex;
    justify-content: center;
}

.price-box {
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.old-price {
    font-size: 2.5rem;
    font-weight: 700;
    text-decoration: line-through;
    opacity: 0.5;
}

.new-price {
    font-size: 4rem;
    font-weight: 900;
    background: white;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.3));
}

.cta-card {
    width: 100%;
    max-width: 1000px;
    background: linear-gradient(135deg, var(--primary), #4f46e5);
    padding: 4rem;
    border-radius: 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(124, 58, 237, 0.4);
}

/* Detailed Section Styles */
.details-section {
    padding: 80px 10%;
}

.glass-panel {
    background: var(--glass);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--card-border);
    border-radius: 40px;
    padding: 4rem;
}

.details-content h2 {
    font-size: 3rem;
    margin-bottom: 3rem;
    text-align: center;
}

.chapters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.chapter {
    position: relative;
    padding-left: 60px;
}

.chapter-num {
    position: absolute;
    left: 0;
    top: 5px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    opacity: 0.8;
}

.chapter h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.chapter p {
    font-size: 1rem;
    color: var(--text-muted);
}

.white-btn {
    background: white;
    color: var(--primary);
    padding: 1.2rem 3rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.2rem;
    transition: 0.3s;
}

.white-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 40px rgba(255,255,255,0.3);
}

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

@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 150px;
    }
    .hero h1 { font-size: 3.5rem; }
    .hero-content { display: flex; flex-direction: column; align-items: center; }
}

@media (max-width: 600px) {
    .hero h1 { font-size: 2.5rem; }
    .cta-group { flex-direction: column; width: 100%; }
    nav ul { display: none; }
}
