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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1e293b;
    background-color: #ffffff;
}

/* Color Variables */
:root {
    --primary-indigo: #4f46e5;
    --accent-sakura: #f3b5d1;
    --slate-gray: #64748b;
    --slate-light: #f1f5f9;
    --slate-dark: #334155;
    --white: #ffffff;
    --black: #0f172a;
}

/* Container and Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.header {
    background: var(--white);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    padding: 16px 0;
}

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

.logo {
    flex-shrink: 0;
}

.brand-name {
    font-size: 24px;
    font-weight: 700;
    color: var(--slate-dark);
    letter-spacing: -0.025em;
}

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

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.hero-title {
    font-size: 52px;
    font-weight: 700;
    color: var(--slate-dark);
    line-height: 1.2;
    max-width: 700px;
}

.hero-subtitle {
    font-size: 22px;
    color: var(--slate-gray);
    line-height: 1.5;
    max-width: 600px;
}

.hero-cta {
    margin-top: 16px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

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

.btn-primary:hover {
    background-color: #3730a3;
    transform: translateY(-1px);
}

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

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

/* Sections */
section {
    padding: 80px 0;
}

section:not(.hero):not(.contacts) {
    text-align: center;
}

section:not(.hero):not(.contacts) .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--slate-dark);
    text-align: center;
    margin-bottom: 48px;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 18px;
    color: var(--slate-gray);
    text-align: center;
    margin-bottom: 48px;
}

/* Features Section */
.features {
    background-color: var(--slate-light);
}

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

.feature-card {
    background: var(--white);
    padding: 32px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

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

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

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

/* Rankings Section */
.rankings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.ranking-card {
    background: var(--white);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: relative;
}

.laptop-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin: 16px 0;
}

.ranking-badge {
    position: absolute;
    top: -8px;
    left: 24px;
    background: var(--accent-sakura);
    color: var(--slate-dark);
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 600;
}

.ranking-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--slate-dark);
    margin-bottom: 8px;
}

.price-range {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-indigo);
    margin-top: 12px;
}

/* Guides Section */
.guides {
    background-color: var(--slate-light);
}

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

.guide-card {
    background: var(--white);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.guide-image {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 8px;
    margin: 16px 0;
}

.guide-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--slate-dark);
    margin-bottom: 12px;
}

.guide-card p {
    color: var(--slate-gray);
    margin-bottom: 16px;
}

/* Performance Section */
.performance-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.performance-text h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--slate-dark);
    margin-bottom: 16px;
}

.checklist {
    list-style: none;
    margin-bottom: 24px;
}

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

.checklist li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-indigo);
    font-weight: bold;
}

.performance-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
}

/* Products Section */
.products {
    background-color: var(--slate-light);
}

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

.product-card {
    background: var(--white);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.product-image {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 8px;
    margin: 16px 0;
}

.product-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--slate-dark);
    margin-bottom: 12px;
}

.product-price {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-indigo);
    margin: 16px 0;
}

/* Partners Section */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.partner-card {
    background: var(--white);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.partner-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--slate-dark);
    margin-bottom: 8px;
}

/* Testimonials Section */
.testimonials {
    background-color: var(--slate-light);
}

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

.testimonial-card {
    background: var(--white);
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.testimonial-card p {
    font-style: italic;
    color: var(--slate-gray);
    margin-bottom: 16px;
    font-size: 16px;
}

.testimonial-author {
    font-weight: 600;
    color: var(--slate-dark);
    font-size: 14px;
}

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

.contact-item {
    margin-bottom: 32px;
}

.contact-item h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--slate-dark);
    margin-bottom: 8px;
}

.contact-item p {
    color: var(--slate-gray);
}

.contact-form {
    background: var(--slate-light);
    padding: 32px;
    border-radius: 12px;
}

.contact-form h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--slate-dark);
    margin-bottom: 24px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 16px;
}

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

/* Footer */
.footer {
    background-color: var(--slate-dark);
    color: var(--white);
    padding: 48px 0 24px;
}

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

.footer-brand {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.footer-brand-text h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--white);
}

.footer-brand-text p {
    color: var(--slate-gray);
    line-height: 1.5;
}

.footer-section h4,
.footer-contact h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a {
    color: var(--slate-gray);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-details p {
    color: var(--slate-gray);
    margin: 0;
}

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

.footer-bottom p {
    color: var(--slate-gray);
}

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

.modal-content {
    background-color: var(--white);
    margin: 5% auto;
    padding: 32px;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    position: relative;
}

.close {
    color: var(--slate-gray);
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 16px;
    top: 16px;
}

.close:hover {
    color: var(--slate-dark);
}

.modal-content h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--slate-dark);
    margin-bottom: 24px;
}

.modal-content input,
.modal-content select,
.modal-content textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 16px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 20px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .performance-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .contacts-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .footer-brand {
        flex-direction: column;
        gap: 12px;
    }
    
    .brand-name {
        font-size: 20px;
    }
    
    section {
        padding: 48px 0;
    }
}