/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --midnight-indigo: #1e1b4b;
    --sakura-pink: #f8bbd9;
    --pearl-white: #fefefe;
    --light-gray: #f8fafc;
    --medium-gray: #64748b;
    --dark-gray: #334155;
    --shadow-light: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-medium: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-large: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--pearl-white);
}

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

/* Header */
.header {
    background: var(--pearl-white);
    padding: 20px 0;
    box-shadow: var(--shadow-light);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    width: 40px;
    height: 40px;
}

.brand-name {
    font-size: 28px;
    font-weight: 700;
    color: var(--midnight-indigo);
    letter-spacing: -0.025em;
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--pearl-white) 100%);
}

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

.hero-content.centered-content {
    grid-template-columns: 1fr;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    color: var(--midnight-indigo);
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--medium-gray);
    margin-bottom: 32px;
    line-height: 1.5;
}

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

.hero-image {
    position: relative;
}

.hero-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: var(--shadow-large);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 140px;
}

.btn-primary {
    background: var(--midnight-indigo);
    color: var(--pearl-white);
}

.btn-primary:hover {
    background: #312e81;
    transform: translateY(-1px);
    box-shadow: var(--shadow-medium);
}

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

.btn-secondary:hover {
    background: var(--midnight-indigo);
    color: var(--pearl-white);
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: var(--midnight-indigo);
    border: 2px solid var(--midnight-indigo);
}

.btn-outline:hover {
    background: var(--midnight-indigo);
    color: var(--pearl-white);
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--midnight-indigo);
    text-align: center;
    margin-bottom: 48px;
}

/* Featured Products */
.featured-products {
    background: var(--light-gray);
}

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

.product-card {
    background: var(--pearl-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-large);
}

.product-image {
    position: relative;
    overflow: hidden;
}

.product-img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.product-info {
    padding: 24px;
}

.product-info h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--midnight-indigo);
    margin-bottom: 8px;
}

.product-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--sakura-pink);
    margin-bottom: 12px;
}

.product-description {
    color: var(--medium-gray);
    margin-bottom: 20px;
    line-height: 1.5;
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.feature-card {
    text-align: center;
    padding: 32px 24px;
    background: var(--pearl-white);
    border-radius: 16px;
    box-shadow: var(--shadow-light);
}

.feature-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--midnight-indigo);
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--medium-gray);
    line-height: 1.5;
}

/* Categories */
.categories {
    background: var(--light-gray);
}

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

.category-card {
    background: var(--pearl-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    text-align: center;
    padding: 24px;
}

.category-image {
    margin-bottom: 20px;
}

.category-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
}

.category-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--midnight-indigo);
    margin-bottom: 8px;
}

.category-card p {
    color: var(--medium-gray);
    margin-bottom: 20px;
}

/* Services */
.services-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.services-text h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--midnight-indigo);
    margin-bottom: 32px;
}

.service-list {
    margin-bottom: 32px;
}

.service-item {
    margin-bottom: 24px;
}

.service-item h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--midnight-indigo);
    margin-bottom: 8px;
}

.service-item p {
    color: var(--medium-gray);
    line-height: 1.5;
}

.services-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: var(--shadow-large);
}

/* Corporate */
.corporate {
    background: var(--light-gray);
}

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

.corporate-text h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--midnight-indigo);
    margin-bottom: 20px;
}

.corporate-text p {
    color: var(--medium-gray);
    margin-bottom: 24px;
    line-height: 1.6;
}

.corporate-benefits {
    list-style: none;
    margin-bottom: 32px;
}

.corporate-benefits li {
    padding: 8px 0;
    color: var(--medium-gray);
    position: relative;
    padding-left: 24px;
}

.corporate-benefits li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--sakura-pink);
    font-weight: bold;
}

.corporate-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: var(--shadow-large);
}

/* Trade-in */
.trade-in-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.trade-in-text h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--midnight-indigo);
    margin-bottom: 20px;
}

.trade-in-text p {
    color: var(--medium-gray);
    margin-bottom: 32px;
    line-height: 1.6;
}

.trade-benefits {
    margin-bottom: 32px;
}

.benefit {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.benefit strong {
    color: var(--midnight-indigo);
    font-weight: 600;
    margin-bottom: 4px;
}

.benefit span {
    color: var(--medium-gray);
    font-size: 14px;
}

.trade-in-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: var(--shadow-large);
}

/* Trust */
.trust {
    background: var(--light-gray);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
}

.trust-stat {
    text-align: center;
    padding: 32px 20px;
    background: var(--pearl-white);
    border-radius: 16px;
    box-shadow: var(--shadow-light);
}

.stat-number {
    font-size: 36px;
    font-weight: 800;
    color: var(--midnight-indigo);
    margin-bottom: 8px;
}

.stat-label {
    color: var(--medium-gray);
    font-weight: 500;
}

/* Contacts */
.contacts-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 32px;
}

.contact-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--light-gray);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-details h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--midnight-indigo);
    margin-bottom: 4px;
}

.contact-details p {
    color: var(--medium-gray);
    line-height: 1.5;
}

.store-hours {
    background: var(--light-gray);
    padding: 32px;
    border-radius: 16px;
}

.store-hours h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--midnight-indigo);
    margin-bottom: 20px;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #e2e8f0;
}

.hours-item:last-child {
    border-bottom: none;
}

.hours-item span:first-child {
    color: var(--medium-gray);
}

.hours-item span:last-child {
    color: var(--midnight-indigo);
    font-weight: 500;
}

/* Footer */
.footer {
    background: var(--midnight-indigo);
    color: var(--pearl-white);
    padding: 60px 0 20px;
}

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

.footer-brand .logo-section {
    margin-bottom: 20px;
}

.footer-brand .brand-name {
    color: var(--pearl-white);
}

.footer-description {
    color: #cbd5e1;
    line-height: 1.6;
}

.footer-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column h4 {
    color: var(--pearl-white);
    font-weight: 600;
    margin-bottom: 16px;
}

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

.footer-column li {
    margin-bottom: 8px;
}

.footer-column a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-column a:hover {
    color: var(--sakura-pink);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #475569;
    color: #cbd5e1;
}


/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--pearl-white);
    border-radius: 16px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-header {
    padding: 24px 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--midnight-indigo);
}

.modal-close {
    font-size: 24px;
    cursor: pointer;
    color: var(--medium-gray);
}

.modal-body {
    padding: 24px;
}

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

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: var(--midnight-indigo);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--midnight-indigo);
}

.form-group input[readonly] {
    background: #f8fafc;
    color: var(--medium-gray);
}

.form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 24px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .services-content,
    .corporate-content,
    .trade-in-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contacts-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-nav {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .cookie-actions {
        width: 100%;
        justify-content: space-between;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .trust-grid {
        grid-template-columns: 1fr;
    }
    
    .btn {
        min-width: 120px;
        padding: 10px 20px;
        font-size: 14px;
    }
}