:root {
    /* Base Variables (Default: Light Mode) */
    --bg-deep: #f8f9fa;
    --bg-surface: #ffffff;
    --bg-card: #ffffff;
    --bg-glass: rgba(255, 255, 255, 0.8);
    --bg-glass-bright: rgba(255, 255, 255, 0.9);
    --bg-highlight: rgba(212, 175, 55, 0.05);

    --gold: #d4af37;
    --gold-light: #f1d592;
    --gold-dark: #aa8c2c;
    --gold-gradient: linear-gradient(135deg, #e5c05b 0%, #aa8c2c 100%);
    --gold-glow: 0 0 20px rgba(212, 175, 55, 0.3);

    --text-primary: #0a1128;
    --text-secondary: #495057;
    --text-muted: #868e96;
    --range-track: rgba(10, 17, 40, 0.22);

    --border: rgba(0, 0, 0, 0.08);
    --border-bright: rgba(212, 175, 55, 0.3);

    /* Spacing */
    --section-padding: 120px 20px;
    --container-max-width: 1200px;

    /* Transitions */
    --transition-smooth: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    --gold-shadow: 0 15px 45px rgba(212, 175, 55, 0.1);
}

[data-theme="dark"] {
    --bg-deep: #050505;
    --bg-surface: #0a0a0a;
    --bg-card: #111111;
    --bg-glass: rgba(20, 20, 20, 0.85);
    --bg-glass-bright: rgba(40, 40, 40, 0.4);
    --bg-highlight: rgba(212, 175, 55, 0.03);

    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --text-muted: #777777;
    --range-track: rgba(255, 255, 255, 0.22);

    --border: rgba(212, 175, 55, 0.15);
    --border-bright: rgba(212, 175, 55, 0.35);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-deep);
    color: var(--text-primary);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: var(--section-padding);
}

.text-gold {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--gold-gradient);
    color: #ffffff;
    padding: 18px 36px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.85rem;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

[data-theme="light"] .btn-primary {
    color: #ffffff;
}

[data-theme="dark"] .btn-primary {
    color: #000000;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.25);
    color: inherit; /* Keep theme-defined color */
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: rotate(45deg);
    transition: 0.5s;
}

.btn-primary:hover::after {
    left: 120%;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--text-primary);
    padding: 18px 36px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.85rem;
    border: 1px solid var(--border);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--gold);
    color: var(--gold);
}

.glass-card {
    background: var(--bg-glass);
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 40px;
    transition: var(--transition-smooth);
}

.glass-card:hover {
    border-color: var(--border-bright);
    background: var(--bg-glass-bright);
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px 20px;
    }
}

/* Header & Nav */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    background: transparent;
    transition: var(--transition-smooth);
}

.header.scrolled {
    background: var(--bg-surface);
    padding: 15px 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid var(--border);
}

[data-theme="dark"] .header.scrolled {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo-img {
    height: 52px;
    width: auto;
    display: block;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.header-logo-img:hover {
    transform: scale(1.03);
}

/* Logo Theme Switch Rules */
[data-theme="dark"] .logo-dark-version {
    display: none !important;
}

[data-theme="dark"] .logo-light-version {
    display: inline-block !important;
}

[data-theme="light"] .logo-light-version {
    display: none !important;
}

[data-theme="light"] .logo-dark-version {
    display: inline-block !important;
}

.title-logo-wrapper {
    display: inline-flex;
    align-items: center;
    vertical-align: baseline;
    margin: 0 10px 0 0 !important;
    padding: 0 !important;
}

.title-inline-logo {
    height: 0.72em;
    width: auto;
    object-fit: contain;
    vertical-align: baseline;
}

.logo-text {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-list a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.nav-list a:hover:not(.btn-primary) {
    color: var(--gold);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 800px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: var(--bg-deep);
}

.hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    top: -200px;
    right: -100px;
    z-index: 0;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 70% 30%, rgba(212, 175, 55, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 10% 80%, rgba(212, 175, 55, 0.03) 0%, transparent 40%),
        linear-gradient(to right, var(--bg-deep) 40%, transparent 100%);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 1080px;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-cta {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Stats Section */
.stats {
    background-color: var(--bg-surface);
    padding: 60px 0;
    border-bottom: 1px solid var(--border);
    position: relative;
    z-index: 5;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
    gap: 30px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--gold);
    margin-bottom: 5px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--gold);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.stat-label--branches {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0.35em;
    text-align: left;
}

.branch-lines {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

@media (max-width: 991px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-list {
        display: none;
    }
}

/* Section Typography */
.section-header {
    margin-bottom: 60px;
    max-width: 700px;
}

.section-subtitle {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.15;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}

.about-image-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, var(--gold) 0%, transparent 70%);
    opacity: 0.15;
    z-index: 0;
}

.about-photo {
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.8));
    width: 100%;
    border-radius: 8px;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.about-signature {
    margin-top: 40px;
}

.sig-name {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.sig-title {
    color: var(--gold);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    transition: var(--transition-smooth);
    text-align: left;
    height: 100%;
    border: 1px solid var(--border);
}

.service-card:hover {
    border-color: var(--border-bright);
    transform: translateY(-5px);
    box-shadow: var(--gold-shadow);
}

.service-card h3 {
    margin: 20px 0 10px;
    font-size: 1.4rem;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.service-icon {
    font-size: 2.5rem;
}

.service-card.highlight {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, rgba(0, 0, 0, 0) 100%);
    border-color: var(--border-bright);
}

.service-list {
    margin-top: 20px;
    padding-left: 20px;
}

.service-list li {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 8px;
    position: relative;
    list-style-type: none;
}

.service-list li::before {
    content: "•";
    color: var(--gold);
    position: absolute;
    left: -15px;
    font-size: 1.2rem;
    top: -4px;
}

@media (max-width: 991px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* Process Section (10 kroků) */
.process-timeline {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.timeline-dot {
    width: 40px;
    height: 40px;
    background: var(--gold-gradient);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

.timeline-content {
    padding: 20px;
    flex-grow: 1;
}

.timeline-content h3 {
    margin-bottom: 5px;
    color: #fff;
    font-size: 1.2rem;
}

.timeline-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

/* Contact Section & Form Styling */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: flex-start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-desc {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 10px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 10px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 15px;
}

.method-icon {
    font-size: 1.5rem;
    width: 45px;
    height: 45px;
    background: var(--bg-highlight);
    border: 1px solid var(--border-bright);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.method-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gold);
    font-weight: 600;
}

.method-value {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
}

.contact-form-wrapper {
    background: var(--bg-glass);
    border: 1px solid var(--border-bright);
    box-shadow: var(--gold-shadow);
    border-radius: 16px;
    padding: 40px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
    width: 100%;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    outline: none;
    display: block;
}

[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group select,
[data-theme="dark"] .form-group textarea {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.w-full {
    width: 100%;
}

.timeline-content h3 {
    margin-bottom: 5px;
    color: var(--text-primary);
    font-size: 1.2rem;
}

/* Footer */
.footer {
    background-color: var(--bg-surface);
    color: var(--text-primary);
    padding: 80px 0 40px;
    border-top: 1px solid var(--border);
    transition: var(--transition-smooth);
}

[data-theme="dark"] .footer {
    background-color: #050505;
    border-top: 1px solid var(--border-bright);
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-tagline {
    color: var(--text-secondary);
    margin-top: 15px;
    font-size: 0.95rem;
}

.footer-links h4,
.footer-legal h4 {
    color: var(--text-primary);
    margin-bottom: 25px;
    font-size: 1.1rem;
    font-weight: 600;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.footer-links ul li a:hover {
    color: var(--gold);
}

.footer-legal p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.footer-legal p strong {
    color: var(--text-primary);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

@media (max-width: 991px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .footer-top {
        grid-template-columns: 1fr;
    }
}

/* Case Study Section */
.case-study-card {
    margin-top: 3rem;
    padding: 4rem;
    position: relative;
    overflow: hidden;
}

.case-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 992px) {
    .case-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .case-study-card {
        padding: 2rem;
    }
}

.case-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.case-intro {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.case-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.case-detail-item strong {
    display: block;
    color: var(--gold);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.case-detail-item span {
    color: var(--text-primary);
    font-size: 1.05rem;
}

.case-results {
    display: flex;
    gap: 20px;
}

.result-badge {
    background: rgba(255, 255, 255, 0.03);
    padding: 20px;
    border-radius: 8px;
    border-left: 3px solid var(--gold);
    flex: 1;
}

.result-value {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--gold);
    margin-bottom: 4px;
}

.result-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.case-visual {
    background: rgba(212, 175, 55, 0.03);
    border-radius: 12px;
    padding: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--border);
}

.chart-bar-container {
    display: flex;
    align-items: flex-end;
    gap: 40px;
    height: 180px;
}

.chart-bar {
    width: 60px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px 4px 0 0;
    position: relative;
}

.chart-bar.gold {
    background: var(--gold-gradient);
}

.chart-bar::after {
    content: attr(data-label);
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
}

/* Partners Section */
.partners {
    padding: 34px 0;
    background: var(--bg-surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}

.partners-window {
    width: min(calc(100% - 48px), 1000px);
    margin: 0 auto;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    cursor: grab;
    touch-action: pan-x pan-y;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x proximity;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
}

.partners-window::-webkit-scrollbar {
    display: none;
}

.partners-window.is-dragging {
    cursor: grabbing;
    scroll-snap-type: none;
}

.partners-track {
    display: flex;
    align-items: center;
    width: max-content;
    padding: 10px 34px;
}

.partners-set {
    display: flex;
    align-items: center;
    gap: 42px;
}

.partners-set img {
    display: block;
    width: 112px;
    height: 50px;
    flex: 0 0 auto;
    object-fit: contain;
    filter: grayscale(0.35);
    opacity: 0.72;
    transition: filter 0.35s ease, opacity 0.35s ease, transform 0.35s ease;
    scroll-snap-align: center;
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
}

.partners-set img:hover {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.06);
}

.partners-set img[src$="slavia-white.svg"] {
    filter: brightness(0);
}

[data-theme="dark"] .partners-set img {
    filter: brightness(0) invert(1);
    opacity: 0.72;
}

[data-theme="dark"] .partners-set img:hover {
    opacity: 1;
}

@media (max-width: 768px) {
    .partners {
        padding: 24px 0;
    }

    .partners-window {
        width: calc(100% - 24px);
    }

    .partners-track {
        padding: 8px 22px;
    }

    .partners-set {
        gap: 30px;
    }

    .partners-set img {
        width: 104px;
        height: 46px;
    }
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.testimonial-quote {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 25px;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-info h4 {
    font-size: 1.05rem;
    margin-bottom: 2px;
}

.author-info p {
    font-size: 0.8rem;
    color: var(--gold);
}

/* Calculator Section */
.calculator-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.calc-inputs {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.input-range-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.range-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.range-value {
    color: var(--gold);
    font-weight: 700;
    font-size: 1.1rem;
}

input[type=range] {
    -webkit-appearance: none;
    width: 100%;
    background: transparent;
}

input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 6px;
    cursor: pointer;
    background: var(--range-track);
    border-radius: 3px;
}

input[type=range]::-webkit-slider-thumb {
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background: var(--gold);
    cursor: pointer;
    -webkit-appearance: none;
    margin-top: -7px;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
}

input[type=range]::-moz-range-track {
    width: 100%;
    height: 6px;
    cursor: pointer;
    background: var(--range-track);
    border: 0;
    border-radius: 3px;
}

input[type=range]::-moz-range-thumb {
    height: 20px;
    width: 20px;
    border: 0;
    border-radius: 50%;
    background: var(--gold);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
}

.calc-result {
    text-align: center;
    padding: 50px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, transparent 100%);
    border: 1px solid var(--border);
    border-radius: 12px;
}

.result-main {
    margin: 30px 0;
}

.result-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.result-price {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--gold);
    display: block;
}

/* Floating Contact Button */
.fab {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.fab-item {
    width: 60px;
    height: 60px;
    background: var(--gold-gradient);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #000;
    font-size: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: var(--transition-smooth);
}

.fab-item:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.4);
}

/* Theme Selector (Pill Style) */
.theme-selector {
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 4px;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

[data-theme="light"] .theme-selector {
    background: rgba(241, 245, 249, 0.95);
    border-color: rgba(0, 0, 0, 0.15);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.theme-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 6px 14px;
    border-radius: 20px;
    color: #94a3b8;
    transition: all 0.3s ease;
    outline: none;
}

[data-theme="light"] .theme-btn {
    color: #64748b;
}

.theme-btn .theme-icon {
    font-size: 1.1rem;
    line-height: 1;
    margin-bottom: 2px;
}

.theme-btn .theme-text {
    font-size: 0.55rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1;
}

.theme-btn:hover {
    color: var(--text-primary);
}

.theme-btn.active {
    background: #3b82f6;
    color: #ffffff !important;
    box-shadow: 0 2px 10px rgba(59, 130, 246, 0.5);
}

/* Side Illustrations (Disabled) */
.side-illustration {
    display: none !important;
}

[data-theme="dark"] .side-illustration {
    opacity: 0.1;
}

.side-illustration.left {
    left: -100px;
}

.side-illustration.right {
    right: -100px;
}

.side-illustration svg {
    width: 400px;
    height: auto;
}

/* --- Admin Mode Styles --- */
.admin-trigger,
.admin-login-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-highlight);
    border: 1px solid var(--border-bright);
    color: var(--gold);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
    cursor: pointer;
    margin-left: 12px;
    transition: var(--transition-smooth);
    opacity: 0.9;
}
.admin-trigger:hover,
.admin-login-btn:hover {
    opacity: 1;
    background: var(--gold);
    color: #000000;
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.4);
}

/* Modal Overlay */
.admin-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.admin-modal-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-bright);
    box-shadow: var(--gold-shadow);
    border-radius: 16px;
    padding: 30px;
    width: 100%;
    max-width: 400px;
    position: relative;
    color: var(--text-primary);
}

.admin-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
}

.admin-modal-card h3 {
    font-size: 1.4rem;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.admin-modal-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.admin-form-group {
    margin-bottom: 15px;
}

.admin-form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 5px;
    color: var(--text-secondary);
}

.admin-form-group input {
    width: 100%;
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--bg-deep);
    color: var(--text-primary);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition-smooth);
}

.admin-form-group input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

.admin-error-msg {
    color: #ff4d4d;
    font-size: 0.85rem;
    margin-top: 10px;
    margin-bottom: 10px;
}

/* Floating Admin Toolbar */
.admin-toolbar {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(10, 10, 10, 0.95);
    border: 1px solid var(--gold);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(212, 175, 55, 0.3);
    border-radius: 50px;
    padding: 10px 24px;
    z-index: 9990;
    display: flex;
    align-items: center;
    gap: 20px;
    animation: slideUp 0.3s ease;
    color: #ffffff;
}

.admin-toolbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
}

.admin-status {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
}

.admin-badge {
    background: var(--gold-gradient);
    color: #000;
    font-weight: 700;
    font-size: 0.75rem;
    padding: 3px 8px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

.unsaved-pill {
    background: #ff9800;
    color: #000;
    font-weight: 600;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 12px;
}

.admin-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-admin-save {
    background: var(--gold-gradient);
    color: #000;
    border: none;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-admin-save:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-admin-save:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

.btn-admin-logout {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 14px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: var(--transition-smooth);
}

.btn-admin-logout:hover {
    background: rgba(255, 77, 77, 0.2);
    border-color: #ff4d4d;
}

/* Highlight Editable Elements when in Admin Mode */
body.admin-mode [data-editable] {
    outline: 1px dashed var(--gold);
    outline-offset: 4px;
    cursor: text;
    transition: outline 0.2s ease, background-color 0.2s ease;
}

body.admin-mode [data-editable]:hover {
    background-color: var(--bg-highlight);
    outline: 2px solid var(--gold);
}

body.admin-mode [data-editable].is-modified {
    outline: 2px solid #ff9800 !important;
    background-color: rgba(255, 152, 0, 0.08) !important;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translate(-50%, 30px); opacity: 0; }
    to { transform: translate(-50%, 0); opacity: 1; }
}

/* QR Code Styling (Significantly Enlarged according to red rectangle) */
.qr-container {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 30px;
    background: var(--bg-card);
    border: 1px solid var(--border-bright);
    box-shadow: var(--gold-shadow);
    border-radius: 20px;
    width: 100%;
    margin-top: 30px;
    box-sizing: border-box;
}

.qr-image {
    width: 240px;
    height: 240px;
    flex-shrink: 0;
    border-radius: 12px;
    background: #ffffff;
    padding: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.qr-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.5;
}

/* Case Study Comparison Box */
.case-comparison-box {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 28px;
    background: var(--bg-card);
    border: 1px solid var(--border-bright);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    border-radius: 20px;
    width: 100%;
    box-sizing: border-box;
}

.case-comp-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
    padding-bottom: 15px;
}

.comp-title {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-muted);
    text-transform: uppercase;
}

.comp-badge-save {
    background: rgba(46, 204, 113, 0.15);
    color: #2ecc71;
    border: 1px solid rgba(46, 204, 113, 0.4);
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
}

.comp-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.comp-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
}

.comp-item-label {
    font-weight: 600;
    color: var(--text-primary);
}

.comp-item-val {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
}

.text-error {
    color: #e74c3c;
}

.comp-bar-bg {
    width: 100%;
    height: 12px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    overflow: hidden;
}

.comp-bar-fill {
    height: 100%;
    border-radius: 6px;
    transition: width 1s ease-in-out;
}

.fill-before {
    background: linear-gradient(90deg, #e74c3c, #c0392b);
}

.fill-after {
    background: linear-gradient(90deg, #f1c40f, #d4af37);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.comp-status {
    font-size: 0.85rem;
    font-weight: 500;
}

.status-bad {
    color: #e74c3c;
    opacity: 0.9;
}

.status-good {
    color: #2ecc71;
    font-weight: 600;
}

.comp-summary {
    margin-top: 5px;
    padding: 16px;
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 14px;
    text-align: center;
}

.summary-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.summary-val {
    font-family: 'Outfit', sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
}



