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

:root {
    /* Color System */
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    
    --teal-50: #f0fdfa;
    --teal-100: #ccfbf1;
    --teal-200: #99f6e4;
    --teal-300: #5eead4;
    --teal-400: #2dd4bf;
    --teal-500: #14b8a6;
    --teal-600: #0d9488;
    --teal-700: #0f766e;
    --teal-800: #115e59;
    --teal-900: #134e4a;
    
    --amber-50: #fffbeb;
    --amber-100: #fef3c7;
    --amber-200: #fde68a;
    --amber-300: #fcd34d;
    --amber-400: #fbbf24;
    --amber-500: #f59e0b;
    --amber-600: #d97706;
    --amber-700: #b45309;
    --amber-800: #92400e;
    --amber-900: #78350f;
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    
    /* Spacing */
    --spacing-1: 0.25rem;
    --spacing-2: 0.5rem;
    --spacing-3: 0.75rem;
    --spacing-4: 1rem;
    --spacing-5: 1.25rem;
    --spacing-6: 1.5rem;
    --spacing-8: 2rem;
    --spacing-10: 2.5rem;
    --spacing-12: 3rem;
    --spacing-16: 4rem;
    --spacing-20: 5rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.5;
    color: var(--slate-700);
    background-color: var(--slate-50);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-4);
}

/* Header Styles */
.header {
    background: linear-gradient(135deg, var(--slate-900) 0%, var(--slate-700) 100%);
    color: white;
    padding: var(--spacing-20) 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--spacing-8);
}

.logo-section {
    display: flex;
    align-items: center;
    gap: var(--spacing-4);
}

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

.brand-name {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    color: var(--teal-400);
}

.header-text {
    max-width: 800px;
}

.header-text h1 {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    margin-bottom: var(--spacing-4);
    color: white;
}

.header-text p {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-8);
    color: var(--slate-300);
}

.cta-button {
    background: linear-gradient(135deg, var(--teal-600) 0%, var(--teal-700) 100%);
    color: white;
    border: none;
    padding: var(--spacing-4) var(--spacing-8);
    font-size: var(--font-size-lg);
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
}

.cta-button:hover {
    background: linear-gradient(135deg, var(--teal-700) 0%, var(--teal-800) 100%);
}

.cta-button.large {
    padding: var(--spacing-5) var(--spacing-10);
    font-size: var(--font-size-xl);
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-16);
}

.section-header h2 {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: var(--spacing-4);
}

.section-header p {
    font-size: var(--font-size-lg);
    color: var(--slate-600);
}

/* About Section */
.about-section {
    padding: var(--spacing-20) 0;
    background-color: white;
}

.about-image-hero,
.features-image-hero,
.how-it-works-image,
.benefits-image-hero,
.testimonials-image-hero {
    margin-bottom: var(--spacing-12);
    text-align: center;
}

.hero-image {
    width: 100%;
    max-width: 800px;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-8);
}

.about-card {
    background: white;
    padding: var(--spacing-8);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    text-align: center;
    border: 1px solid var(--slate-200);
}

.card-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--spacing-6);
    display: block;
}

.about-card h3 {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--slate-900);
    margin-bottom: var(--spacing-4);
}

.about-card p {
    color: var(--slate-600);
    line-height: 1.6;
}

/* Features Section */
.features-section {
    padding: var(--spacing-20) 0;
    background-color: var(--slate-50);
}

.features-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: repeat(2, 1fr);
    gap: var(--spacing-6);
}

.feature-highlight {
    grid-column: 1;
    grid-row: 1 / 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--spacing-8);
}

.feature-item {
    background: white;
    padding: var(--spacing-6);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--teal-600);
}

.feature-icon {
    width: 48px;
    height: 48px;
    margin-bottom: var(--spacing-4);
}

.feature-item h3 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--slate-900);
    margin-bottom: var(--spacing-3);
}

.feature-item p {
    color: var(--slate-600);
    font-size: var(--font-size-sm);
}

/* How It Works Section */
.how-it-works {
    padding: var(--spacing-20) 0;
    background-color: white;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-8);
}

.step {
    text-align: center;
    padding: var(--spacing-8);
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--teal-600) 0%, var(--teal-700) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-2xl);
    font-weight: 700;
    margin: 0 auto var(--spacing-6);
}

.step h3 {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--slate-900);
    margin-bottom: var(--spacing-4);
}

.step p {
    color: var(--slate-600);
    line-height: 1.6;
}

/* Benefits Section */
.benefits-section {
    padding: var(--spacing-20) 0;
    background: linear-gradient(135deg, var(--teal-50) 0%, var(--slate-50) 100%);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-8);
}

.benefit-card {
    background: white;
    padding: var(--spacing-8);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    text-align: center;
    border: 1px solid var(--slate-200);
}

.benefit-metric {
    font-size: 3rem;
    font-weight: 700;
    color: var(--amber-600);
    margin-bottom: var(--spacing-4);
}

.benefit-card h3 {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--slate-900);
    margin-bottom: var(--spacing-3);
}

.benefit-card p {
    color: var(--slate-600);
}

/* Products Section */
.products-section {
    padding: var(--spacing-20) 0;
    background-color: white;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-8);
}

.product-card {
    background: white;
    border: 2px solid var(--slate-200);
    border-radius: 12px;
    padding: var(--spacing-8);
    box-shadow: var(--shadow-md);
}

.product-card.featured {
    border-color: var(--teal-600);
    position: relative;
    transform: scale(1.05);
}

.product-card.featured::before {
    content: "Najpopulárnejšie";
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--amber-500);
    color: white;
    padding: var(--spacing-2) var(--spacing-4);
    border-radius: 6px;
    font-size: var(--font-size-sm);
    font-weight: 600;
}

.product-header {
    text-align: center;
    margin-bottom: var(--spacing-6);
}

.product-icon {
    width: 64px;
    height: 64px;
    margin-bottom: var(--spacing-4);
}

.product-header h3 {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: var(--spacing-3);
}

.product-price {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--teal-600);
}

.price-period {
    font-size: var(--font-size-base);
    font-weight: 400;
    color: var(--slate-500);
}

.product-features {
    list-style: none;
    margin-bottom: var(--spacing-8);
}

.product-features li {
    padding: var(--spacing-3) 0;
    border-bottom: 1px solid var(--slate-100);
    color: var(--slate-700);
}

.product-features li:last-child {
    border-bottom: none;
}

.product-features li::before {
    content: "✓";
    color: var(--teal-600);
    font-weight: 700;
    margin-right: var(--spacing-3);
}

.product-button {
    width: 100%;
    background: var(--teal-600);
    color: white;
    border: none;
    padding: var(--spacing-4);
    font-size: var(--font-size-base);
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
}

.product-button:hover {
    background: var(--teal-700);
}

/* Testimonials Section */
.testimonials-section {
    padding: var(--spacing-20) 0;
    background-color: var(--slate-50);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--spacing-8);
}

.testimonial-card {
    background: white;
    border-radius: 12px;
    padding: var(--spacing-8);
    box-shadow: var(--shadow-md);
}

.testimonial-content p {
    font-size: var(--font-size-lg);
    color: var(--slate-700);
    font-style: italic;
    margin-bottom: var(--spacing-6);
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--spacing-4);
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: var(--shadow-sm);
}

.testimonial-author strong {
    display: block;
    color: var(--slate-900);
    font-weight: 600;
}

.testimonial-author span {
    color: var(--slate-500);
    font-size: var(--font-size-sm);
}

/* CTA Section */
.cta-section {
    padding: var(--spacing-20) 0;
    background: linear-gradient(135deg, var(--slate-800) 0%, var(--slate-900) 100%);
    color: white;
}

.cta-content {
    text-align: center;
}

.cta-content h2 {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    margin-bottom: var(--spacing-4);
}

.cta-content p {
    font-size: var(--font-size-lg);
    color: var(--slate-300);
    margin-bottom: var(--spacing-8);
}

/* Contact Section */
.contact-section {
    padding: var(--spacing-20) 0;
    background-color: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-8);
}

.contact-card {
    background: var(--slate-50);
    padding: var(--spacing-8);
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--slate-200);
}

.contact-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto var(--spacing-4);
}

.contact-card h3 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--slate-900);
    margin-bottom: var(--spacing-3);
}

.contact-card a {
    color: var(--teal-600);
    text-decoration: none;
    font-weight: 500;
}

.contact-card a:hover {
    color: var(--teal-700);
    text-decoration: underline;
}

.contact-card p {
    color: var(--slate-600);
    line-height: 1.6;
}

/* Footer */
.footer {
    background-color: var(--slate-900);
    color: white;
    padding: var(--spacing-12) 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: var(--spacing-6);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: var(--spacing-3);
    justify-self: start;
}

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

.footer-brand-name {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--teal-400);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-4) var(--spacing-6);
    align-items: center;
    justify-self: center;
}

.footer-links a {
    color: var(--slate-400);
    text-decoration: none;
    font-size: var(--font-size-sm);
    text-align: center;
}

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

.footer-text {
    justify-self: end;
}

.footer-text p {
    color: var(--slate-400);
    font-size: var(--font-size-sm);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 var(--spacing-4);
    }
    
    .hero-image {
        height: 200px;
    }
    
    .about-image-hero,
    .features-image-hero,
    .how-it-works-image,
    .benefits-image-hero,
    .testimonials-image-hero {
        margin-bottom: var(--spacing-8);
    }
    
    .logo {
        width: 60px;
        height: 60px;
    }
    
    .brand-name {
        font-size: var(--font-size-2xl);
    }
    
    .header-text h1 {
        font-size: var(--font-size-3xl);
    }
    
    .about-grid,
    .features-grid,
    .testimonials-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        grid-template-rows: auto;
    }
    
    .feature-highlight {
        grid-column: auto;
        grid-row: auto;
        padding: var(--spacing-6);
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-6);
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .product-card.featured {
        transform: none;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-4);
        text-align: center;
    }
    
    .footer-brand,
    .footer-text {
        justify-self: center;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        justify-self: center;
        gap: var(--spacing-3) var(--spacing-4);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-3);
    }
    
    .hero-image {
        height: 150px;
    }
    
    .header {
        padding: var(--spacing-12) 0;
        min-height: 60vh;
    }
    
    .about-section,
    .features-section,
    .how-it-works,
    .benefits-section,
    .products-section,
    .testimonials-section,
    .cta-section,
    .contact-section {
        padding: var(--spacing-12) 0;
    }
    
    .section-header {
        margin-bottom: var(--spacing-10);
    }
    
    .header-text h1 {
        font-size: var(--font-size-2xl);
    }
    
    .section-header h2 {
        font-size: var(--font-size-2xl);
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: var(--spacing-2);
    }
}