:root,
[data-bs-theme="dark"] {
    --bg-color: #0b0d17;
    --card-bg: rgba(255, 255, 255, 0.05);
    --card-border: rgba(255, 255, 255, 0.1);
    --primary: #4cc9f0;
    --secondary: #7209b7;
    --accent: #f72585;
    --text-main: #ffffff;
    --text-muted: #a0a0b0;
    --font-main: 'Inter', sans-serif;
    --glass-blur: 10px;
    --sidebar-bg: rgba(11, 13, 23, 0.95);
    --input-bg: rgba(0, 0, 0, 0.2);
    --btn-secondary-bg: rgba(255, 255, 255, 0.1);
    --btn-secondary-hover: rgba(255, 255, 255, 0.15);
    --on-primary: #000000;
    --on-accent: #ffffff;
    --bg-surface: rgba(255, 255, 255, 0.05);
    --bg-surface-hover: rgba(255, 255, 255, 0.1);
    --primary-transparent: rgba(76, 201, 240, 0.2);
    --secondary-transparent: rgba(114, 9, 183, 0.2);
    --accent-transparent: rgba(247, 37, 133, 0.2);
    --bg-gradient: radial-gradient(circle at 15% 50%, rgba(76, 201, 240, 0.15) 0%, transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(114, 9, 183, 0.15) 0%, transparent 25%);
}

[data-bs-theme="light"] {
    --bg-color: #f8f9fa;
    --card-bg: #ffffff;
    --card-border: rgba(0, 0, 0, 0.1);
    --primary: #007bff;
    --secondary: #6610f2;
    --accent: #d63384;
    --text-main: #212529;
    --text-muted: #6c757d;
    --sidebar-bg: #ffffff;
    --input-bg: #ffffff;
    --btn-secondary-bg: rgba(0, 0, 0, 0.05);
    --btn-secondary-hover: rgba(0, 0, 0, 0.1);
    --on-primary: #ffffff;
    --on-accent: #ffffff;
    --bg-surface: rgba(0, 0, 0, 0.04);
    --bg-surface-hover: rgba(0, 0, 0, 0.08);
    --primary-transparent: rgba(0, 123, 255, 0.1);
    --secondary-transparent: rgba(102, 16, 242, 0.1);
    --accent-transparent: rgba(214, 51, 132, 0.1);
    --bg-gradient: radial-gradient(circle at 15% 50%, rgba(0, 123, 255, 0.05) 0%, transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(102, 16, 242, 0.05) 0%, transparent 25%);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: var(--bg-gradient);
}

h1,
h2,
h3 {
    line-height: 1.2;
    margin-bottom: 1rem;
}

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

/* Header/Hero */
header {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 100px 20px;
}

.hero-content {
    max-width: 900px;
    z-index: 2;
}

h1 {
    font-size: 4rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--text-main) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 2rem;
    letter-spacing: -0.05em;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.pill {
    padding: 0.5rem 1.5rem;
    background: var(--bg-surface);
    border-radius: 50px;
    font-size: 0.9rem;
    border: 1px solid var(--card-border);
    backdrop-filter: blur(5px);
}

/* Grid Section */
.grid-section {
    padding: 100px 0;
}

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

.card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 2.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(var(--glass-blur));
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: var(--card-border);
}

.card:hover::before {
    opacity: 1;
}

.card-number {
    font-size: 4rem;
    font-weight: 900;
    color: var(--bg-surface);
    position: absolute;
    top: 10px;
    right: 20px;
    line-height: 1;
    pointer-events: none;
}

.card h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.card h3 {
    font-size: 1.1rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.card ul {
    list-style: none;
    margin-top: 1.5rem;
}

.card li {
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card li::before {
    content: '✓';
    color: var(--accent);
    font-weight: bold;
}

/* Footer */
footer {
    padding: 50px 0;
    border-top: 1px solid var(--card-border);
    margin-top: 50px;
    text-align: center;
    color: var(--text-muted);
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

.floating-shape {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--secondary) 0%, transparent 70%);
    opacity: 0.2;
    border-radius: 50%;
    filter: blur(50px);
    z-index: 1;
    animation: float 6s ease-in-out infinite;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .hero-features {
        flex-direction: column;
    }
}

/* New Buttons Styles */
.nav-top {
    position: absolute;
    top: 20px;
    right: 30px;
    z-index: 10;
}

.btn-account {
    text-decoration: none;
    color: var(--text-main);
    background: var(--bg-surface);
    padding: 10px 25px;
    border-radius: 30px;
    border: 1px solid var(--card-border);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-account:hover {
    background: var(--bg-surface-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-cta-container {
    margin-top: 2.5rem;
}

.btn-cta {
    display: inline-block;
    text-decoration: none;
    color: #fff;
    background: linear-gradient(90deg, var(--accent), var(--secondary));
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(247, 37, 133, 0.3);
    border: none;
    cursor: pointer;
}

.btn-cta:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 30px rgba(247, 37, 133, 0.5);
    filter: brightness(1.1);
}

.cta-section {
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(180deg, transparent, rgba(76, 201, 240, 0.05));
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 60px;
}

.product-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 30px;
    backdrop-filter: blur(var(--glass-blur));
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.product-card.selected {
    border-color: var(--primary);
    background: rgba(76, 201, 240, 0.08);
    box-shadow: 0 0 30px rgba(76, 201, 240, 0.2);
}

.product-card.selected::before {
    content: '✓';
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary);
    color: var(--bg-color);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.8rem;
}

.product-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary);
}

.product-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.product-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 15px;
}

.product-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Add-ons for Consultanta */
.addons {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--card-border);
    display: none;
}

.product-card.selected .addons {
    display: block;
}

.addon-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    margin-top: 10px;
    transition: background 0.2s;
}

.addon-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

.addon-item input {
    cursor: pointer;
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

.addon-label {
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.free-tag {
    color: #4ade80;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
}

/* Summary Section */
.summary-bar {
    position: sticky;
    bottom: 30px;
    background: rgba(var(--bs-body-bg-rgb), 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 25px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5);
    z-index: 100;
}

.total-label {
    color: var(--text-muted);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.total-amount {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-main);
}

.btn-pay {
    background: linear-gradient(90deg, var(--accent), var(--secondary));
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(247, 37, 133, 0.3);
}

.btn-pay:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(247, 37, 133, 0.5);
    filter: brightness(1.1);
}

.btn-pay:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    filter: grayscale(1);
}

@media (max-width: 768px) {
    .summary-bar {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        padding: 25px;
    }
}


.header-products {
    text-align: center;
    margin-bottom: 60px;
    margin-top: 200px;
}

h1 {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--text-main) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    letter-spacing: -0.05em;
}

.subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Sidebar */
.sidebar {
    width: 250px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    position: fixed;
    backdrop-filter2: blur(10px);
    z-index: 100;
}

.logo-area {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--card-border);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--text-main) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}