/* /root/khan/static/css/style.css */
:root {
    --primary: #1a237e;
    --primary-light: #3949ab;
    --primary-dark: #0d1642;
    --secondary: #00bcd4;
    --secondary-light: #4dd0e1;
    --accent: #ffc107;
    --success: #4caf50;
    --danger: #e53935;
    --white: #fff;
    --light: #f5f7fa;
    --gray: #9e9e9e;
    --gray-light: #e0e0e0;
    --dark: #212121;
    --gradient-primary: linear-gradient(135deg, #1a237e 0%, #3949ab 100%);
    --gradient-secondary: linear-gradient(135deg, #00bcd4 0%, #26c6da 100%);
    --gradient-hero: linear-gradient(180deg, #1a237e 0%, #283593 50%, #3949ab 100%);
    --gradient-accent: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, .15);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, .2);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --transition: .3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito', sans-serif;
    background: var(--white);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}

.btn-secondary {
    background: var(--gradient-secondary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 188, 212, .4);
}

.btn-secondary:hover {
    transform: translateY(-3px);
}

.btn-accent {
    background: var(--gradient-accent);
    color: var(--dark);
    box-shadow: 0 4px 15px rgba(255, 193, 7, .4);
}

.btn-accent:hover {
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, .5);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, .1);
}

/* Navbar - katta logo */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 12px 0;
    transition: all var(--transition);
}

.navbar.scrolled {
    background: rgba(26, 35, 126, .98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    padding: 8px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo img {
    height: 80px;
    width: auto;
    transition: height var(--transition);
}

.navbar.scrolled .logo img {
    height: 60px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav-links a {
    color: rgba(255, 255, 255, .9);
    text-decoration: none;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: all var(--transition);
}

.nav-links a:hover {
    color: var(--white);
    background: rgba(255, 255, 255, .15);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.mobile-toggle span {
    width: 24px;
    height: 2.5px;
    background: var(--white);
    border-radius: 2px;
    transition: all var(--transition);
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.hero {
    min-height: 100vh;
    background: var(--gradient-hero);
    position: relative;
    display: flex;
    align-items: center;
    padding: 120px 0 60px;
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    animation: fadeInUp .8s ease forwards;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(0, 188, 212, .2);
    border: 1px solid rgba(0, 188, 212, .3);
    border-radius: 50px;
    color: var(--secondary-light);
    font-size: .9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero h1 {
    font-family: 'Comfortaa', cursive;
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero h1 span {
    color: var(--secondary-light);
}

.hero-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, .85);
    margin-bottom: 32px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 48px;
}

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

.stat-number {
    font-family: 'Comfortaa', cursive;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--accent);
}

.stat-label {
    font-size: .9rem;
    color: rgba(255, 255, 255, .7);
}

.hero-visual {
    position: relative;
    animation: fadeInUp .8s ease .2s forwards;
    opacity: 0;
}

.hero-image {
    position: relative;
    z-index: 2;
}

.hero-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .3));
    animation: float 5s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.countdown-section {
    padding: 50px 0;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.countdown-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.countdown-title {
    font-family: 'Comfortaa', cursive;
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.countdown-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, .8);
    margin-bottom: 24px;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.countdown-item {
    background: rgba(255, 255, 255, .15);
    backdrop-filter: blur(10px);
    padding: 16px 24px;
    border-radius: var(--radius-md);
    min-width: 90px;
    border: 1px solid rgba(255, 255, 255, .2);
}

.countdown-number {
    font-family: 'Comfortaa', cursive;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}

.countdown-label {
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, .7);
    margin-top: 6px;
}

/* Product Slider - 3 sekund animatsiya */
.product-section {
    padding: 80px 0;
    background: var(--light);
}

.product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.product-slider {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--dark);
    aspect-ratio: 4/3;
}

.product-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity .5s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.product-slide.active {
    opacity: 1;
}

.product-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-slide video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Video play button */
.video-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-play-btn {
    position: absolute;
    width: 80px;
    height: 80px;
    background: rgba(255, 193, 7, .95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition);
    z-index: 5;
    border: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .3);
}

.video-play-btn:hover {
    transform: scale(1.1);
    background: var(--accent);
}

.video-play-btn i {
    color: var(--dark);
    margin-left: 4px;
}

.video-play-btn.hidden {
    opacity: 0;
    pointer-events: none;
}

.product-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.product-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gray-light);
    cursor: pointer;
    transition: all var(--transition);
}

.product-indicator.active {
    background: var(--secondary);
    transform: scale(1.2);
}

.product-indicator.video-indicator {
    background: linear-gradient(135deg, var(--accent) 0%, #ff9800 100%);
}

.product-indicator.video-indicator.active {
    background: var(--accent);
}

/* Progress bar */
.slide-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    background: var(--secondary);
    width: 0;
    z-index: 10;
    transition: width linear;
}

.product-info {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 32px;
    box-shadow: var(--shadow-md);
}

.product-title {
    font-family: 'Comfortaa', cursive;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
}

.product-description {
    color: var(--gray);
    margin-bottom: 24px;
    font-size: 1rem;
}

.price-container {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8eaf6 100%);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 24px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px dashed var(--gray-light);
}

.price-row:last-child {
    border-bottom: none;
}

.price-label {
    font-size: .9rem;
    color: var(--gray);
    font-weight: 600;
}

.price-value {
    font-family: 'Comfortaa', cursive;
    font-weight: 700;
}

.price-original {
    font-size: 1.2rem;
    color: var(--gray);
    text-decoration: line-through;
}

.price-discount {
    font-size: 1.5rem;
    color: var(--danger);
}

.price-save {
    font-size: 1.1rem;
    color: var(--success);
}

.discount-badge {
    display: inline-block;
    background: var(--danger);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: .8rem;
    font-weight: 700;
    margin-left: 8px;
}

.product-features {
    display: grid;
    gap: 12px;
    margin-bottom: 24px;
}

.product-feature {
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-feature-icon {
    width: 28px;
    height: 28px;
    background: rgba(0, 188, 212, .15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    flex-shrink: 0;
}

.product-feature span {
    font-weight: 600;
    color: var(--dark);
    font-size: .95rem;
}

.features {
    padding: 80px 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 50px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: linear-gradient(135deg, rgba(26, 35, 126, .1) 0%, rgba(0, 188, 212, .1) 100%);
    border-radius: 50px;
    color: var(--primary);
    font-size: .9rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.section-title {
    font-family: 'Comfortaa', cursive;
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
}

.section-subtitle {
    color: var(--gray);
    font-size: 1.05rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .1);
    border: 1px solid rgba(0, 0, 0, .05);
    transition: all var(--transition);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: var(--gradient-secondary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: var(--white);
}

.feature-card h3 {
    font-family: 'Comfortaa', cursive;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--gray);
    font-size: .9rem;
}

.order-section {
    padding: 80px 0;
    background: var(--gradient-hero);
    position: relative;
}

.order-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.order-content {
    color: var(--white);
}

.order-content h2 {
    font-family: 'Comfortaa', cursive;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.order-content p {
    opacity: .9;
    margin-bottom: 28px;
    font-size: 1.05rem;
}

.order-benefits {
    display: grid;
    gap: 14px;
}

.order-benefit {
    display: flex;
    align-items: center;
    gap: 12px;
}

.order-benefit-icon {
    width: 40px;
    height: 40px;
    background: rgba(0, 188, 212, .2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-light);
    flex-shrink: 0;
}

.order-benefit span {
    font-weight: 600;
}

.order-form-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 36px;
    box-shadow: var(--shadow-lg);
}

.form-title {
    font-family: 'Comfortaa', cursive;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    text-align: center;
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 18px;
}

.form-label {
    display: block;
    font-size: .9rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--gray-light);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    transition: all var(--transition);
    background: var(--white);
}

.form-input:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 4px rgba(0, 188, 212, .1);
}

.phone-input-wrapper {
    display: flex;
    align-items: center;
    border: 2px solid var(--gray-light);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: all var(--transition);
}

.phone-input-wrapper:focus-within {
    border-color: var(--secondary);
    box-shadow: 0 0 0 4px rgba(0, 188, 212, .1);
}

.phone-prefix {
    padding: 14px 12px;
    background: var(--light);
    font-weight: 700;
    color: var(--primary);
    border-right: 2px solid var(--gray-light);
    white-space: nowrap;
}

.phone-input {
    flex: 1;
    padding: 14px 12px;
    border: none;
    font-family: inherit;
    font-size: 1rem;
    letter-spacing: 1px;
}

.phone-input:focus {
    outline: none;
}

.form-btn {
    width: 100%;
    padding: 16px;
    font-size: 1.1rem;
    margin-top: 8px;
}

.form-note {
    text-align: center;
    font-size: .85rem;
    color: var(--gray);
    margin-top: 14px;
}

.footer {
    padding: 50px 0 24px;
    background: var(--primary-dark);
    color: var(--white);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .logo img {
    height: 70px;
}

.footer-brand p {
    color: rgba(255, 255, 255, .7);
    margin-top: 14px;
    max-width: 280px;
    font-size: .95rem;
}

.footer-title {
    font-family: 'Comfortaa', cursive;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 18px;
}

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

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, .7);
    text-decoration: none;
    transition: color var(--transition);
    font-size: .95rem;
}

.footer-links a:hover {
    color: var(--secondary-light);
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

.social-link {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, .1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all var(--transition);
}

.social-link:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    color: rgba(255, 255, 255, .6);
    font-size: .875rem;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--primary-dark);
    z-index: 999;
    padding: 100px 24px 40px;
    transform: translateX(-100%);
    transition: transform var(--transition);
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu-links {
    list-style: none;
}

.mobile-menu-links li {
    margin-bottom: 8px;
}

.mobile-menu-links a {
    display: block;
    padding: 14px;
    color: var(--white);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: background var(--transition);
}

.mobile-menu-links a:hover {
    background: rgba(255, 255, 255, .1);
}

.scroll-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
    z-index: 100;
    box-shadow: var(--shadow-md);
}

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

.scroll-top:hover {
    transform: translateY(-4px);
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all .6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile responsive - katta logo va slider */
@media (max-width: 1024px) {
    .hero .container,
    .product-grid,
    .order-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        order: 2;
    }

    .hero-visual {
        order: 1;
    }

    .hero-image img {
        max-width: 350px;
    }

    .hero-text {
        margin: 0 auto 32px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-info {
        max-width: 500px;
        margin: 0 auto;
    }

    .logo img {
        height: 70px;
    }

    .navbar.scrolled .logo img {
        height: 55px;
    }
}

@media (max-width: 768px) {
    .nav-links,
    .nav-right .btn {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .mobile-menu {
        display: block;
    }

    .hero {
        padding: 120px 0 50px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

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

    .countdown-item {
        min-width: 70px;
        padding: 12px 16px;
    }

    .countdown-number {
        font-size: 1.8rem;
    }

    .order-form-card {
        padding: 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand p {
        margin: 14px auto 0;
    }

    .social-links {
        justify-content: center;
    }

    .logo img {
        height: 65px;
    }

    .navbar.scrolled .logo img {
        height: 50px;
    }

    .product-slider {
        aspect-ratio: 1/1;
    }

    .video-play-btn {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .btn {
        padding: 12px 20px;
        font-size: .9rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .price-discount {
        font-size: 1.3rem;
    }

    .logo img {
        height: 55px;
    }

    .navbar.scrolled .logo img {
        height: 45px;
    }

    .product-slider {
        aspect-ratio: 3/4;
    }

    .video-play-btn {
        width: 50px;
        height: 50px;
    }
}