/* 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: #334155;
    background-color: #ffffff;
}

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

/* Typography */
h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: #1e293b;
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 1.3;
    color: #1e293b;
    margin-bottom: 16px;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 12px;
}

h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
}

p {
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 16px;
    color: #64748b;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    text-align: center;
    transition: all 0.2s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background-color: #10b981;
    color: white;
    border-color: #10b981;
}

.btn-primary:hover {
    background-color: #059669;
    border-color: #059669;
}

.btn-secondary {
    background-color: transparent;
    color: #1e293b;
    border-color: #e2e8f0;
}

.btn-secondary:hover {
    background-color: #f8fafc;
    border-color: #cbd5e1;
}

.btn-outline {
    background-color: transparent;
    color: #10b981;
    border-color: #10b981;
}

.btn-outline:hover {
    background-color: #10b981;
    color: white;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header p {
    font-size: 1.25rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
    padding: 80px 0 120px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

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

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 48px;
    gap: 16px;
}

.logo {
    height: 48px;
    width: auto;
}

.brand-name {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin: 0;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: white;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 40px;
    color: #cbd5e1;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 64px;
    flex-wrap: wrap;
}

.hero-image {
    max-width: 800px;
    margin: 0 auto;
}

.dashboard-preview {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    object-fit: cover;
    aspect-ratio: 16/9;
    max-height: 400px;
}

/* Overview Section */
.overview {
    padding: 120px 0;
    background-color: #f8fafc;
}

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

.overview-item {
    text-align: center;
    padding: 32px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.overview-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 24px;
}

/* Features Section */
.features {
    padding: 120px 0;
    background-color: white;
}

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

.feature-card {
    padding: 32px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: white;
}

.feature-card:hover {
    border-color: #10b981;
    box-shadow: 0 10px 25px -3px rgba(16, 185, 129, 0.1);
}

.feature-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
}

/* AI Integration Section */
.ai-integration {
    padding: 120px 0;
    background-color: #f8fafc;
}

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

.ai-benefits {
    list-style: none;
    margin: 32px 0;
}

.ai-benefits li {
    padding: 12px 0;
    padding-left: 32px;
    position: relative;
    color: #334155;
}

.ai-benefits li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

.process-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    aspect-ratio: 16/10;
    max-height: 300px;
}

/* Dashboard Section */
.dashboard-section {
    padding: 120px 0;
    background-color: white;
}

.dashboard-preview-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 64px;
    align-items: center;
}

.full-dashboard {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    aspect-ratio: 16/10;
    max-height: 350px;
}

.dashboard-features {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.dashboard-feature {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.feature-number {
    background: #10b981;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    flex-shrink: 0;
}

/* Products Section */
.products {
    padding: 120px 0;
    background-color: #f8fafc;
}

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

.product-card {
    background: white;
    padding: 40px 32px;
    border-radius: 16px;
    border: 2px solid #e2e8f0;
    text-align: center;
    position: relative;
}

.product-card.featured {
    border-color: #10b981;
    transform: scale(1.05);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #10b981;
    color: white;
    padding: 8px 24px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.product-price {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 32px;
}

.product-features {
    list-style: none;
    margin-bottom: 32px;
    text-align: left;
}

.product-features li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    color: #64748b;
}

.product-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

/* Benefits Section */
.benefits {
    padding: 120px 0;
    background-color: white;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 48px;
}

.benefit-item {
    text-align: center;
}

.benefit-stat {
    font-size: 3rem;
    font-weight: 700;
    color: #10b981;
    margin-bottom: 16px;
}

/* Testimonials Section */
.testimonials {
    padding: 120px 0;
    background-color: #f8fafc;
}

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

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

.testimonial-content p {
    font-style: italic;
    font-size: 1.125rem;
    margin-bottom: 24px;
    color: #334155;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-image {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e2e8f0;
}

.author-info h4 {
    margin-bottom: 4px;
    font-size: 1rem;
}

.author-info p {
    margin: 0;
    font-size: 0.875rem;
    color: #64748b;
}

/* Contacts Section */
.contacts {
    padding: 120px 0;
    background-color: white;
}

.contacts-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

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

.contact-icon {
    width: 24px;
    height: 24px;
    margin-top: 4px;
}

.contact-link {
    color: #10b981;
    text-decoration: none;
    font-weight: 500;
}

.contact-link:hover {
    text-decoration: underline;
}

.contact-address {
    margin: 0;
    color: #64748b;
}

.contact-cta {
    background: #f8fafc;
    padding: 40px;
    border-radius: 16px;
    text-align: center;
}

/* Footer */
.footer {
    background-color: #1e293b;
    color: white;
    padding: 64px 0 32px;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-brand p {
    color: #cbd5e1;
    margin: 0;
}

.footer-info h4 {
    color: white;
    margin-bottom: 16px;
}

.footer-info p {
    color: #cbd5e1;
    margin-bottom: 8px;
}

.footer-info a {
    color: #10b981;
    text-decoration: none;
}

.footer-info a:hover {
    text-decoration: underline;
}

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

.footer-links h4 {
    color: white;
    margin-bottom: 16px;
    font-size: 1.125rem;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #10b981;
}

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

.footer-bottom p {
    color: #94a3b8;
    margin: 0;
}

/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(30, 41, 59, 0.98);
    backdrop-filter: blur(10px);
    border-top: 1px solid #334155;
    z-index: 1000;
    padding: 20px 0;
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.cookie-banner-text {
    flex: 1;
}

.cookie-banner-text h3 {
    color: white;
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0 0 8px 0;
}

.cookie-banner-text p {
    color: #cbd5e1;
    font-size: 0.875rem;
    margin: 0;
    line-height: 1.5;
}

.cookie-banner-text a {
    color: #10b981;
    text-decoration: none;
}

.cookie-banner-text a:hover {
    text-decoration: underline;
}

.cookie-banner-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.cookie-accept {
    background-color: #10b981;
    color: white;
}

.cookie-accept:hover {
    background-color: #059669;
}

.cookie-reject {
    background-color: transparent;
    color: #cbd5e1;
    border: 1px solid #475569;
}

.cookie-reject:hover {
    background-color: #475569;
    color: white;
}

.cookie-customize {
    background-color: transparent;
    color: #10b981;
    border: 1px solid #10b981;
}

.cookie-customize:hover {
    background-color: #10b981;
    color: white;
}

/* Cookie Customizer */
.cookie-customizer {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.cookie-customizer-content {
    background: white;
    border-radius: 12px;
    padding: 32px;
    max-width: 500px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
}

.cookie-customizer-content h4 {
    color: #1e293b;
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 24px 0;
}

.cookie-categories {
    margin-bottom: 24px;
}

.cookie-category {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f1f5f9;
}

.cookie-category:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.cookie-category-header {
    margin-bottom: 8px;
}

.cookie-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 1rem;
}

.cookie-checkbox input[type="checkbox"] {
    display: none;
}

.cookie-checkbox .checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #cbd5e1;
    border-radius: 4px;
    margin-right: 12px;
    position: relative;
    transition: all 0.2s ease;
}

.cookie-checkbox input[type="checkbox"]:checked + .checkmark {
    background-color: #10b981;
    border-color: #10b981;
}

.cookie-checkbox input[type="checkbox"]:checked + .checkmark:after {
    content: "✓";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.cookie-checkbox input[type="checkbox"]:disabled + .checkmark {
    background-color: #e2e8f0;
    border-color: #cbd5e1;
    cursor: not-allowed;
}

.cookie-checkbox input[type="checkbox"]:disabled + .checkmark:after {
    color: #64748b;
}

.cookie-category p {
    color: #64748b;
    font-size: 0.875rem;
    margin: 0;
    line-height: 1.5;
}

.cookie-customizer-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.cookie-save {
    background-color: #10b981;
    color: white;
}

.cookie-save:hover {
    background-color: #059669;
}

.cookie-cancel {
    background-color: transparent;
    color: #64748b;
    border: 1px solid #cbd5e1;
}

.cookie-cancel:hover {
    background-color: #f8fafc;
    border-color: #94a3b8;
}

/* Hide cookie banner when consent is given */
#accept-all:checked ~ .cookie-banner,
#reject-optional:checked ~ .cookie-banner,
#save-preferences:checked ~ .cookie-banner {
    display: none;
}

/* Show customizer when customize is clicked */
.cookie-customizer {
    display: none;
}

#customize-toggle:checked ~ .cookie-customizer {
    display: flex;
}

/* Hide customizer when cancel or save is clicked */
#cancel-customize:checked ~ .cookie-customizer,
#save-preferences:checked ~ .cookie-customizer {
    display: none;
}

/* Cookie action inputs are always hidden */
.cookie-action {
    display: none !important;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .ai-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .dashboard-preview-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .contacts-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .cookie-banner-content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .cookie-banner-actions {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .cookie-btn {
        flex: 1;
        min-width: 100px;
    }
    
    .cookie-customizer-content {
        padding: 24px;
        margin: 20px;
    }
    
    .container {
        padding: 0 16px;
    }
    
    .hero {
        padding: 60px 0 80px;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .dashboard-preview {
        max-height: 250px;
    }
    
    .process-image {
        max-height: 200px;
    }
    
    .full-dashboard {
        max-height: 220px;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .overview,
    .features,
    .ai-integration,
    .dashboard-section,
    .products,
    .benefits,
    .testimonials,
    .contacts {
        padding: 80px 0;
    }
    
    .section-header {
        margin-bottom: 48px;
    }
    
    .overview-grid,
    .features-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .product-card.featured {
        transform: none;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .cookie-banner {
        padding: 16px 0;
    }
    
    .cookie-banner-content {
        padding: 0 16px;
    }
    
    .cookie-banner-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .cookie-btn {
        width: 100%;
    }
    
    .cookie-customizer-content {
        padding: 20px;
        margin: 10px;
    }
    
    .cookie-customizer-actions {
        flex-direction: column;
    }
    
    .logo-container {
        flex-direction: column;
        gap: 8px;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}