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

:root {
    --red: #E31E24;
    --dark-red: #B91C1C;
    --white: #FFF;
    --dark: #111827;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--white);
    color: var(--dark);
    overflow-x: hidden;
}

/* ============================================
   HEADER & NAVIGATION
============================================ */
header {
    position: fixed;
    width: 100%;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(227, 30, 36, 0.1);
    z-index: 1000;
}

nav {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
}

.logo-circle {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--red), var(--dark-red));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--white);
    box-shadow: 0 10px 30px rgba(227, 30, 36, 0.4);
}

.logo-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 10px;
}

.logo-text { 
    display: flex; 
    flex-direction: column; 
    line-height: 1.2; 
}

.logo-main {
    font-size: 1.4rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--red), var(--dark-red));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.logo-sub { 
    font-size: 0.7rem; 
    font-weight: 600; 
    color: #6B7280; 
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    width: 30px;
    height: 3px;
    background: var(--red);
    border-radius: 2px;
    transition: all 0.3s;
}

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

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

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

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

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    transition: color 0.3s;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--red);
    transition: width 0.3s;
}

.nav-links a:hover::after, 
.nav-links a.active::after { 
    width: 100%; 
}

.nav-links a:hover, 
.nav-links a.active { 
    color: var(--red); 
}

/* ============================================
   HERO SECTION
============================================ */
.hero {
    margin-top: 80px;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--red), var(--dark-red));
}

.hero::before, 
.hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.15), transparent);
    animation: float 20s infinite ease-in-out;
}

.hero::before { 
    width: 800px; 
    height: 800px; 
    top: -400px; 
    right: -200px; 
}

.hero::after { 
    width: 600px; 
    height: 600px; 
    bottom: -300px; 
    left: -150px; 
    animation-direction: reverse; 
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(50px, -50px) rotate(180deg); }
}

.hero-content {
    text-align: center;
    color: var(--white);
    z-index: 1;
    padding: 2rem;
    max-width: 1000px;
}

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    margin-bottom: 2rem;
    border: 2px solid rgba(255,255,255,0.3);
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

.hero-features {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.hero-feature {
    font-size: 1.1rem;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    border-radius: 50px;
    border: 2px solid rgba(255,255,255,0.3);
    font-weight: 700;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.btn-primary, 
.btn-secondary {
    padding: 1.3rem 3rem;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    text-transform: uppercase;
}

.btn-primary {
    background: var(--white);
    color: var(--red);
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.btn-primary:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 15px 50px rgba(0,0,0,0.4); 
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover { 
    background: var(--white); 
    color: var(--red); 
}

/* ============================================
   CONTAINER & PAGE
============================================ */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 5rem 2rem;
}

.page { 
    display: none; 
}

.page.active { 
    display: block; 
}

/* ============================================
   MEGA BANNER
============================================ */
.mega-banner {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    padding: 3rem 2rem;
    border-radius: 30px;
    text-align: center;
    margin: 4rem 0;
    box-shadow: 0 20px 60px rgba(255, 165, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.mega-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(
        45deg, 
        transparent, 
        transparent 15px, 
        rgba(255,255,255,0.1) 15px, 
        rgba(255,255,255,0.1) 30px
    );
    animation: slide 20s linear infinite;
}

@keyframes slide {
    from { transform: translate(0, 0); }
    to { transform: translate(50px, 50px); }
}

.mega-banner h2 {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--dark-red);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.mega-banner p {
    font-size: 1.3rem;
    color: var(--dark);
    font-weight: 700;
    position: relative;
    z-index: 1;
}

/* ============================================
   SECTION HEADER
============================================ */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 900;
    color: var(--dark);
    margin-bottom: 1rem;
}

.section-title span {
    background: linear-gradient(135deg, var(--red), var(--dark-red));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.section-subtitle {
    font-size: 1.3rem;
    color: #6B7280;
}

/* ============================================
   GRID & CARDS
============================================ */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.card {
    background: var(--white);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: all 0.4s;
    position: relative;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--red), var(--dark-red));
    transform: scaleX(0);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-20px) scale(1.02);
    box-shadow: 0 25px 60px rgba(227, 30, 36, 0.2);
}

.card:hover::before { 
    transform: scaleX(1); 
}

.card-img {
    height: 280px;
    position: relative;
    overflow: hidden;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.card:hover .card-img img { 
    transform: scale(1.15) rotate(2deg); 
}

.card-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.95);
    color: var(--red);
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    font-weight: 800;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    z-index: 2;
}

.card-content { 
    padding: 2.5rem; 
}

.card-content h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 1rem;
}

.card-content p {
    color: #6B7280;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 2px solid #F3F4F6;
}

.price {
    font-size: 1.3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--red), var(--dark-red));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.btn-small {
    padding: 0.8rem 1.8rem;
    background: var(--red);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.btn-small:hover {
    background: var(--dark-red);
    transform: scale(1.05);
}

/* ============================================
   STATS
============================================ */
.stats {
    background: linear-gradient(135deg, #FEE2E2, var(--white));
    padding: 5rem 2rem;
    border-radius: 40px;
    margin: 5rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 25px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(227, 30, 36, 0.15);
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--red), var(--dark-red));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.2rem;
    color: #6B7280;
    font-weight: 600;
}

/* ============================================
   TAGS
============================================ */
.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.tag {
    background: #FEE2E2;
    color: var(--red);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    transition: all 0.3s;
}

.tag:hover {
    background: var(--red);
    color: var(--white);
    transform: translateY(-2px);
}

/* ============================================
   FORM
============================================ */
.form-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.form-container {
    background: var(--white);
    padding: 3rem;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.form-container h3 {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--dark);
    margin-bottom: 2rem;
}

.form-container h3 span {
    background: linear-gradient(135deg, var(--red), var(--dark-red));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.form-group { 
    margin-bottom: 1.8rem; 
}

.form-group label {
    display: block;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.7rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1.2rem;
    border: 2px solid #E5E7EB;
    border-radius: 15px;
    font-size: 1rem;
    transition: all 0.3s;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--red);
    box-shadow: 0 0 0 4px #FEE2E2;
}

.form-group textarea { 
    min-height: 120px; 
    resize: vertical; 
}

.submit-btn {
    width: 100%;
    padding: 1.4rem;
    background: linear-gradient(135deg, var(--red), var(--dark-red));
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 10px 40px rgba(227, 30, 36, 0.3);
    text-transform: uppercase;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(227, 30, 36, 0.4);
}

.info-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s;
}

.info-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 35px rgba(227, 30, 36, 0.15);
}

.info-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--red), var(--dark-red));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
}

.info-content h4 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 0.3rem;
}

.info-content p {
    color: #6B7280;
    line-height: 1.6;
}

.info-content a {
    color: #6B7280;
    text-decoration: none;
    transition: color 0.3s;
}

.info-content a:hover {
    color: var(--red);
}

/* ============================================
   FOOTER
============================================ */
footer {
    background: var(--dark);
    color: var(--white);
    padding: 4rem 2rem 2rem;
    margin-top: 6rem;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--red), var(--dark-red), var(--red));
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 2.5rem;
}

.footer-section h4 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--red);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.footer-section p {
    color: rgba(255,255,255,0.8);
    line-height: 1.8;
}

.footer-section a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: all 0.3s;
}

.footer-section a:hover {
    color: var(--red);
    padding-left: 5px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    opacity: 0.7;
}

.go-btn {
    display: inline-block;
    margin-top: 8px;
    padding: 8px 16px;
    background: #007bff;
    color: #fff;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.25s ease;
}

.go-btn:hover {
    background: #005fcc;
    transform: translateY(-2px);
}

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 968px) {
    .mobile-menu-btn { display: flex; }
    
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 3rem 2rem;
        gap: 2rem;
        transition: left 0.3s ease;
    }
    
    .nav-links.active { left: 0; }
    .nav-links a { font-size: 1.5rem; text-align: center; }
    .hero h1 { font-size: 2.5rem; }
    .hero-features { flex-direction: column; }
    .form-section { grid-template-columns: 1fr; }
    .grid { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: 1fr; }
    .mega-banner h2 { font-size: 2rem; }
    .section-title { font-size: 2.5rem; }
}

@media (max-width: 600px) {
    .hero h1 { font-size: 2rem; }
    .hero-subtitle { font-size: 1.2rem; }
    .cta-buttons { flex-direction: column; }
    .btn-primary, .btn-secondary { width: 100%; }
    .section-title { font-size: 1.5rem; font-weight: 700; }
    .stat-number { font-size: 2rem; }
    .price { font-size: 0.8rem;}
    .card-footer {
        flex-direction: column;
        gap: 1rem; /* itemlar orasiga masofa uchun, xohlasangiz */
        align-items: flex-start; /* yoki center, dizayningizga qarab */
    }
    .card-content h3 {
        font-size: 1rem;
    }
    .nav-links a {
        font-size: 0.8rem;  
    }


}