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

:root {
    /* Color System */
    --primary-50: #eff6ff;
    --primary-100: #dbeafe;
    --primary-200: #bfdbfe;
    --primary-300: #93c5fd;
    --primary-400: #60a5fa;
    --primary-500: #3b82f6;
    --primary-600: #2563eb;
    --primary-700: #1d4ed8;
    --primary-800: #1e40af;
    --primary-900: #1e3a8a;

    --secondary-50: #f0fdfa;
    --secondary-100: #ccfbf1;
    --secondary-200: #99f6e4;
    --secondary-300: #5eead4;
    --secondary-400: #2dd4bf;
    --secondary-500: #14b8a6;
    --secondary-600: #0d9488;
    --secondary-700: #0f766e;
    --secondary-800: #115e59;
    --secondary-900: #134e4a;

    --accent-50: #fff7ed;
    --accent-100: #ffedd5;
    --accent-200: #fed7aa;
    --accent-300: #fdba74;
    --accent-400: #fb923c;
    --accent-500: #f97316;
    --accent-600: #ea580c;
    --accent-700: #c2410c;
    --accent-800: #9a3412;
    --accent-900: #7c2d12;

    --success-500: #10b981;
    --warning-500: #f59e0b;
    --error-500: #ef4444;

    --neutral-50: #f8fafc;
    --neutral-100: #f1f5f9;
    --neutral-200: #e2e8f0;
    --neutral-300: #cbd5e1;
    --neutral-400: #94a3b8;
    --neutral-500: #64748b;
    --neutral-600: #475569;
    --neutral-700: #334155;
    --neutral-800: #1e293b;
    --neutral-900: #0f172a;

    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;

    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    --space-4xl: 80px;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;

    /* 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-sans);
    line-height: 1.5;
    color: var(--neutral-800);
    background-color: #ffffff;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* Typography */
h1 {
    font-size: 3.5rem;
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
    margin-bottom: var(--space-lg);
}

h2 {
    font-size: 2.5rem;
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
    margin-bottom: var(--space-md);
}

h3 {
    font-size: 1.5rem;
    font-weight: var(--font-weight-semibold);
    line-height: 1.3;
    margin-bottom: var(--space-sm);
}

h4 {
    font-size: 1.25rem;
    font-weight: var(--font-weight-semibold);
    line-height: 1.3;
    margin-bottom: var(--space-sm);
}

p {
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: var(--space-md);
    color: var(--neutral-600);
}

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: var(--space-md) var(--space-xl);
    background-color: var(--primary-600);
    color: white;
    text-decoration: none;
    border-radius: var(--radius-md);
    font-weight: var(--font-weight-medium);
    font-size: 1.125rem;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.btn-primary:hover {
    background-color: var(--primary-700);
}

.btn-secondary {
    display: inline-block;
    padding: var(--space-md) var(--space-xl);
    background-color: transparent;
    color: var(--primary-600);
    text-decoration: none;
    border: 2px solid var(--primary-600);
    border-radius: var(--radius-md);
    font-weight: var(--font-weight-medium);
    font-size: 1.125rem;
    transition: all 0.2s ease;
}

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

.btn-product {
    display: block;
    width: 100%;
    padding: var(--space-md);
    background-color: var(--primary-600);
    color: white;
    text-decoration: none;
    border-radius: var(--radius-md);
    font-weight: var(--font-weight-medium);
    text-align: center;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.btn-product:hover {
    background-color: var(--primary-700);
}

/* Header */
.header {
    background-color: white;
    box-shadow: var(--shadow-sm);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md) 0;
}

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

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

.brand-name {
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--neutral-800);
}

.header-cta {
    background-color: var(--primary-600);
    color: white;
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: var(--font-weight-medium);
    transition: background-color 0.2s ease;
}

.header-cta:hover {
    background-color: var(--primary-700);
}

/* Hero Section */
.hero {
    padding: var(--space-4xl) 0 var(--space-3xl);
    margin-top: 80px;
    background: linear-gradient(135deg, var(--primary-50) 0%, var(--secondary-50) 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.hero-text h1 {
    color: var(--neutral-900);
}

.hero-cta {
    display: flex;
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

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

.hero-main-image {
    width: 100%;
    max-width: 500px;
    height: 350px;
    object-fit: cover;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    transition: transform 0.3s ease;
}

.hero-main-image:hover {
    transform: translateY(-4px);
}

.dashboard-icon {
    width: 300px;
    height: 200px;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-header h2 {
    color: var(--neutral-900);
}

.section-header p {
    font-size: 1.25rem;
    color: var(--neutral-600);
    max-width: 600px;
    margin: 0 auto;
}

/* Features Section */
.features {
    padding: var(--space-4xl) 0;
    background-color: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-xl);
}

.feature-card {
    background-color: white;
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--neutral-200);
    text-align: center;
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-lg);
}

.feature-card h3 {
    color: var(--neutral-900);
    margin-bottom: var(--space-md);
}

/* How It Works Section */
.how-it-works {
    padding: var(--space-4xl) 0;
    background-color: var(--neutral-50);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-3xl);
}

.step {
    text-align: center;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: var(--primary-600);
    color: white;
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    border-radius: 50%;
    margin-bottom: var(--space-lg);
}

.step-content h3 {
    color: var(--neutral-900);
    margin-bottom: var(--space-md);
}

.step-image {
    margin-top: var(--space-lg);
}

.step-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-img:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Products Section */
.products {
    padding: var(--space-4xl) 0;
    background-color: white;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
    max-width: 1000px;
    margin: 0 auto;
}

.product-card {
    background-color: white;
    border: 2px solid var(--neutral-200);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    position: relative;
    text-align: center;
}

.product-card.featured {
    border-color: var(--primary-600);
    box-shadow: var(--shadow-xl);
    transform: scale(1.02);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-600);
    color: white;
    padding: var(--space-xs) var(--space-lg);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: var(--font-weight-medium);
}

.product-header {
    margin-bottom: var(--space-xl);
}

.product-header h3 {
    color: var(--neutral-900);
    margin-bottom: var(--space-sm);
}

.price {
    font-size: 2rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-600);
}

.price span {
    font-size: 1rem;
    font-weight: var(--font-weight-normal);
    color: var(--neutral-600);
}

.product-features ul {
    list-style: none;
    text-align: left;
    margin-bottom: var(--space-xl);
}

.product-features li {
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--neutral-200);
    color: var(--neutral-700);
}

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

.product-features li:before {
    content: "✓";
    color: var(--success-500);
    font-weight: var(--font-weight-bold);
    margin-right: var(--space-sm);
}

/* Why Choose Section */
.why-choose {
    padding: var(--space-4xl) 0;
    background-color: var(--neutral-50);
}

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

.benefit {
    text-align: center;
    background-color: white;
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.benefit-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-lg);
}

.benefit h3 {
    color: var(--neutral-900);
    margin-bottom: var(--space-md);
}

/* About Section */
.about {
    padding: var(--space-4xl) 0;
    background-color: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.about-text h2 {
    color: var(--neutral-900);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-600);
    margin-bottom: var(--space-xs);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--neutral-600);
    font-weight: var(--font-weight-medium);
}

.about-main-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease;
}

.about-main-image:hover {
    transform: scale(1.02);
}

/* Testimonials Section */
.testimonials {
    padding: var(--space-4xl) 0;
    background-color: var(--neutral-50);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-xl);
}

.testimonial {
    background-color: white;
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.testimonial-content {
    margin-bottom: var(--space-lg);
}

.testimonial-content p {
    font-style: italic;
    color: var(--neutral-700);
    font-size: 1rem;
}

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

.author-photo {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--neutral-200);
    transition: border-color 0.3s ease;
}

.author-photo:hover {
    border-color: var(--primary-300);
}

.author-name {
    font-weight: var(--font-weight-semibold);
    color: var(--neutral-900);
    margin-bottom: var(--space-xs);
}

.author-title {
    font-size: 0.875rem;
    color: var(--neutral-600);
}

/* Contact Section */
.contact {
    padding: var(--space-4xl) 0;
    background-color: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
}

.contact-icon {
    width: 24px;
    height: 24px;
    margin-top: var(--space-xs);
}

.contact-details h3 {
    color: var(--neutral-900);
    margin-bottom: var(--space-xs);
    font-size: 1.125rem;
}

.contact-details a {
    color: var(--primary-600);
    text-decoration: none;
    font-size: 1rem;
}

.contact-details a:hover {
    text-decoration: underline;
}

.contact-details p {
    margin: 0;
    color: var(--neutral-700);
    font-size: 1rem;
}

.contact-form {
    background-color: var(--neutral-50);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
}

.contact-form h3 {
    color: var(--neutral-900);
    margin-bottom: var(--space-lg);
}

.form-group {
    margin-bottom: var(--space-lg);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: var(--space-md);
    border: 1px solid var(--neutral-300);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-500);
    box-shadow: 0 0 0 3px var(--primary-100);
}

/* Footer */
.footer {
    background-color: var(--neutral-900);
    color: white;
    padding: var(--space-3xl) 0 var(--space-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--space-3xl);
    margin-bottom: var(--space-xl);
}

.footer-brand .logo-section {
    margin-bottom: var(--space-lg);
}

.footer-brand .brand-name {
    color: white;
}

.footer-brand p {
    color: var(--neutral-300);
    font-size: 1rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.link-group h4 {
    color: white;
    margin-bottom: var(--space-md);
    font-size: 1rem;
}

.link-group a {
    display: block;
    color: var(--neutral-300);
    text-decoration: none;
    margin-bottom: var(--space-sm);
    font-size: 0.875rem;
}

.link-group a:hover {
    color: white;
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid var(--neutral-700);
    padding-top: var(--space-lg);
    text-align: center;
}

.footer-bottom p {
    color: var(--neutral-400);
    font-size: 0.875rem;
    margin-bottom: var(--space-xs);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--neutral-200);
    box-shadow: 0 -4px 6px -1px rgb(0 0 0 / 0.1);
    z-index: 1001;
    padding: var(--space-lg) 0;
    animation: slideUp 0.5s ease forwards;
}

/* Hide banner when accept or dismiss is clicked */
#cookie-accept:checked ~ .cookie-banner,
#cookie-dismiss:checked ~ .cookie-banner {
    display: none;
}

/* Hide banner when save is clicked in modal */
#cookie-save:checked ~ .cookie-banner {
    display: none;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

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

.cookie-banner-text {
    flex: 1;
    font-size: 0.875rem;
    color: var(--neutral-700);
    line-height: 1.5;
}

.cookie-banner-text a {
    color: var(--primary-600);
    text-decoration: none;
    font-weight: var(--font-weight-medium);
}

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

.cookie-banner-actions {
    display: flex;
    gap: var(--space-sm);
    align-items: center;
}

.cookie-btn {
    display: inline-block;
    padding: var(--space-sm) var(--space-md);
    border: 1px solid var(--neutral-300);
    border-radius: var(--radius-md);
    background-color: white;
    color: var(--neutral-700);
    font-size: 0.875rem;
    font-weight: var(--font-weight-medium);
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    user-select: none;
}

.cookie-btn:hover {
    background-color: var(--neutral-50);
    border-color: var(--neutral-400);
}

.cookie-btn.primary {
    background-color: var(--primary-600);
    color: white;
    border-color: var(--primary-600);
}

.cookie-btn.primary:hover {
    background-color: var(--primary-700);
    border-color: var(--primary-700);
}

.cookie-btn.reject {
    background-color: transparent;
    color: var(--neutral-600);
    border-color: var(--neutral-300);
}

.cookie-btn.reject:hover {
    background-color: var(--neutral-100);
    color: var(--neutral-700);
}

/* Cookie Customization Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1002;
    display: none;
    align-items: center;
    justify-content: center;
    padding: var(--space-lg);
}

/* Show modal when customize is checked */
#cookie-customize:checked ~ .cookie-modal {
    display: flex;
}

/* Hide modal when close or save is clicked */
#cookie-modal-dismiss:checked ~ .cookie-modal,
#cookie-save:checked ~ .cookie-modal {
    display: none;
}

.cookie-modal-content {
    background-color: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    padding: var(--space-xl);
}

.cookie-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--neutral-200);
}

.cookie-modal-title {
    font-size: 1.25rem;
    font-weight: var(--font-weight-semibold);
    color: var(--neutral-900);
    margin: 0;
}

.cookie-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--neutral-500);
    cursor: pointer;
    padding: var(--space-xs);
    border-radius: var(--radius-sm);
    user-select: none;
}

.cookie-modal-close input {
    display: none;
}

.cookie-modal-close:hover {
    background-color: var(--neutral-100);
    color: var(--neutral-700);
}

.cookie-category {
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid var(--neutral-100);
}

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

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-sm);
}

.cookie-category-title {
    font-size: 1rem;
    font-weight: var(--font-weight-semibold);
    color: var(--neutral-800);
    margin: 0;
}

.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--neutral-300);
    transition: 0.2s;
    border-radius: 24px;
}

.cookie-toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.2s;
    border-radius: 50%;
}

.cookie-toggle input:checked + .cookie-toggle-slider {
    background-color: var(--primary-600);
}

.cookie-toggle input:checked + .cookie-toggle-slider:before {
    transform: translateX(20px);
}

.cookie-toggle input:disabled + .cookie-toggle-slider {
    background-color: var(--neutral-200);
    cursor: not-allowed;
}

.cookie-category-description {
    font-size: 0.875rem;
    color: var(--neutral-600);
    line-height: 1.5;
    margin: 0;
}

.cookie-modal-actions {
    display: flex;
    gap: var(--space-md);
    justify-content: flex-end;
    margin-top: var(--space-xl);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--neutral-200);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 var(--space-md);
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero-content,
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }
    
    .steps-grid,
    .features-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    
    .hero {
        padding: var(--space-2xl) 0;
    }
    
    .hero-main-image {
        height: 280px;
    }
    
    .step-img {
        height: 180px;
    }
    
    .about-main-image {
        height: 300px;
    }
    
    .header-content {
        padding: var(--space-sm) 0;
    }
    
    .logo {
        width: 32px;
        height: 32px;
    }
    
    .brand-name {
        font-size: 1.25rem;
    }
    
    .cookie-banner-content {
        flex-direction: column;
        align-items: stretch;
        gap: var(--space-md);
    }
    
    .cookie-banner-actions {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .cookie-modal-content {
        margin: var(--space-md);
        padding: var(--space-lg);
    }
    
    .cookie-modal-actions {
        flex-direction: column;
    }
}