/* PetroLabs Premium Design Stylesheet */

/* --- Custom Variables & Tokens --- */
:root {
    --bg-base: hsl(220, 30%, 6%);
    --bg-card: hsla(220, 25%, 10%, 0.65);
    --bg-card-solid: hsl(220, 25%, 10%);
    --border-glass: hsla(210, 20%, 100%, 0.08);
    
    --color-primary: hsl(175, 100%, 42%);      /* Vibrant Teal/Cyan */
    --color-primary-hover: hsl(175, 100%, 36%);
    --color-primary-glow: rgba(0, 242, 201, 0.25);
    
    --color-secondary: hsl(198, 100%, 48%);    /* Electric Blue */
    --color-secondary-hover: hsl(198, 100%, 42%);
    --color-secondary-glow: rgba(0, 180, 245, 0.2);
    
    --color-accent: hsl(28, 100%, 53%);        /* Chemical Amber/Gold */
    --color-success: hsl(145, 80%, 45%);
    --color-danger: hsl(355, 85%, 55%);
    
    --text-main: hsl(210, 25%, 95%);
    --text-muted: hsl(215, 15%, 72%);
    --text-dark: hsl(220, 30%, 5%);
    
    --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Base Resets & Global Styles --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-base);
    color: var(--text-main);
    font-family: var(--font-sans);
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
}

/* --- Background Glow Orbs --- */
.glow-orb {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(150px);
    z-index: -2;
    pointer-events: none;
    opacity: 0.25;
}

.glow-orb-1 {
    top: -150px;
    right: -100px;
    background: radial-gradient(circle, var(--color-primary) 0%, transparent 70%);
    animation: floatingOrb1 20s infinite alternate ease-in-out;
}

.glow-orb-2 {
    bottom: -150px;
    left: -200px;
    background: radial-gradient(circle, var(--color-secondary) 0%, transparent 70%);
    animation: floatingOrb2 25s infinite alternate ease-in-out;
}

@keyframes floatingOrb1 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-80px, 120px) scale(1.1); }
}

@keyframes floatingOrb2 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(100px, -100px) scale(1.2); }
}

/* --- Layout Containers --- */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.grid {
    display: grid;
    gap: 32px;
}

.grid-2-col {
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .grid-2-col {
        grid-template-columns: 1fr 1fr;
    }
}

.align-center {
    align-items: center;
}

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

/* --- General Typography --- */
h1, h2, h3, h4 {
    color: var(--text-main);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}

/* --- Glassmorphism Card Style --- */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.3);
    padding: 32px;
    transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.glass-card:hover {
    border-color: rgba(0, 242, 201, 0.25);
    box-shadow: 0 16px 48px 0 rgba(0, 242, 201, 0.08);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 8px;
    padding: 12px 24px;
    cursor: pointer;
    transition: all var(--transition-fast);
    border: none;
    text-decoration: none;
    outline: none;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.05rem;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: var(--text-dark);
    box-shadow: 0 4px 20px var(--color-primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0, 242, 201, 0.4);
    filter: brightness(1.1);
}

.btn-secondary {
    background: var(--text-main);
    color: var(--text-dark);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    background: hsl(0, 0%, 100%);
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.2);
}

.btn-outline {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(8px);
}

.btn-outline:hover {
    border-color: var(--color-primary);
    background: rgba(0, 242, 201, 0.05);
    color: var(--color-primary);
    transform: translateY(-2px);
}

/* --- Navigation Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(8, 11, 19, 0.4);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-glass);
    transition: background var(--transition-normal);
}

.navbar.scrolled {
    background: rgba(8, 11, 19, 0.85);
    border-bottom-color: rgba(0, 242, 201, 0.15);
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-main);
    font-weight: 800;
    font-size: 1.35rem;
    letter-spacing: 0.05em;
    font-family: var(--font-sans);
}

.brand-logo-img {
    height: 32px;
    width: auto;
    display: block;
}

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

.nav-links {
    display: none;
    gap: 32px;
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.nav-links a:hover {
    color: var(--color-primary);
}

.mobile-nav-toggle {
    display: block;
    background: none;
    border: none;
    color: var(--text-main);
    cursor: pointer;
}

@media (min-width: 768px) {
    .mobile-nav-toggle {
        display: none;
    }
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding-top: 120px;
    padding-bottom: 80px;
    overflow: hidden;
}

.hero-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg, 
        rgba(8, 11, 19, 0.3) 0%, 
        rgba(8, 11, 19, 0.6) 65%, 
        var(--bg-base) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-text-container {
    max-width: 680px;
}

.tagline {
    font-family: var(--font-mono);
    color: var(--color-primary);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    margin-bottom: 16px;
    text-shadow: 0 0 10px var(--color-primary-glow), 0 2px 4px rgba(0, 0, 0, 0.8);
}

.hero-text-container h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
    background: linear-gradient(135deg, var(--text-main) 30%, #a2b4c7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.9));
}

.hero-text-container h2 {
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--color-secondary);
    margin-bottom: 24px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

@media (max-width: 768px) {
    .hero-text-container h1 {
        font-size: 2.8rem;
    }
    .hero-text-container h2 {
        font-size: 1.4rem;
    }
}

.hero-text-container p {
    font-size: 1.15rem;
    margin-bottom: 40px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

/* --- Section Formatting --- */
section {
    padding: 100px 0;
    position: relative;
}

.section-tag {
    font-family: var(--font-mono);
    color: var(--color-primary);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section-header {
    margin-bottom: 60px;
}

.section-subtitle {
    max-width: 600px;
    margin: 16px auto 0;
}

/* --- About Section & Map --- */
.about-section {
    background-color: var(--bg-base);
}

.features-mini-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 32px;
}

@media (min-width: 480px) {
    .features-mini-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.feature-mini-item {
    display: flex;
    gap: 16px;
}

.feature-mini-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: rgba(0, 242, 201, 0.06);
    border: 1px solid rgba(0, 242, 201, 0.15);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-mini-icon svg {
    width: 20px;
    height: 20px;
}

.feature-mini-item h4 {
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.feature-mini-item p {
    font-size: 0.85rem;
    margin-bottom: 0;
}

/* Real Google Maps Embed Container */
.map-container-wrapper {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-glass);
    height: 280px;
    margin-bottom: 16px;
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.map-container-wrapper iframe {
    transition: filter var(--transition-normal);
}

.map-container-wrapper:hover iframe {
    filter: grayscale(0.5) invert(0.85) contrast(1.1) hue-rotate(180deg) !important;
}

.map-actions-row {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
}

@media (min-width: 480px) {
    .map-actions-row {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.map-addr-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
    max-width: 70%;
}

.btn-route {
    flex-shrink: 0;
    padding: 8px 16px;
    font-size: 0.85rem;
}

.card-header-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 10;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--color-accent);
    background: rgba(230, 125, 0, 0.15);
    border: 1px solid rgba(230, 125, 0, 0.3);
    padding: 4px 8px;
    border-radius: 4px;
}

/* --- Products Section --- */
.products-section {
    background: linear-gradient(180deg, var(--bg-base) 0%, #0c111a 100%);
}

.products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 992px) {
    .products-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

.product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: rgba(0, 242, 201, 0.05);
    border: 1px solid rgba(0, 242, 201, 0.15);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.product-card:nth-child(2) .product-icon {
    background: rgba(0, 180, 245, 0.05);
    border-color: rgba(0, 180, 245, 0.15);
    color: var(--color-secondary);
}

.product-card:nth-child(3) .product-icon {
    background: rgba(230, 125, 0, 0.05);
    border-color: rgba(230, 125, 0, 0.15);
    color: var(--color-accent);
}

.product-icon svg {
    width: 28px;
    height: 28px;
}

.product-card h3 {
    font-size: 1.35rem;
    margin-bottom: 12px;
}

.product-card p {
    font-size: 0.95rem;
    flex-grow: 1;
}

.product-usps {
    list-style: none;
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.product-usps li {
    display: flex;
    gap: 12px;
    font-size: 0.85rem;
}

.product-usps li svg {
    width: 16px;
    height: 16px;
    color: var(--color-primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.product-actions {
    margin-top: auto;
}

.product-actions .btn {
    width: 100%;
}

/* --- Quality Section --- */
.quality-section {
    background: #0c111a;
    border-bottom: 1px solid var(--border-glass);
}

.certifications-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 32px;
}

.cert-badge {
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    padding: 12px 20px;
    border-radius: 8px;
    min-width: 130px;
}

.cert-title {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 1rem;
    color: var(--color-primary);
}

.cert-sub {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Quality Simulator Widget */
.simulator-card {
    border-color: rgba(0, 180, 245, 0.15);
}

.simulator-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: 16px;
    margin-bottom: 24px;
}

.sim-title-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sim-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--color-success);
}

.sim-dot.pulsing {
    box-shadow: 0 0 8px var(--color-success);
    animation: dotPulse 1.5s infinite;
}

@keyframes dotPulse {
    0% { opacity: 0.3; }
    50% { opacity: 1; }
    100% { opacity: 0.3; }
}

.sim-subtitle {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--text-muted);
    background: hsla(215, 25%, 15%, 0.6);
    padding: 2px 6px;
    border-radius: 4px;
}

.batch-selector-group {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.form-select {
    flex-grow: 1;
    background: hsl(220, 25%, 15%);
    border: 1px solid var(--border-glass);
    border-radius: 6px;
    color: var(--text-main);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    padding: 0 12px;
    outline: none;
}

.form-select:focus {
    border-color: var(--color-primary);
}

.sim-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
    gap: 16px;
}

.sim-loader.hidden {
    display: none;
}

.spinner {
    width: 32px;
    height: 32px;
    border: 3px solid rgba(0, 242, 201, 0.1);
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: spin 1s infinite linear;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.sim-results {
    background: rgba(8, 11, 19, 0.5);
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    padding: 20px;
    font-family: var(--font-mono);
    opacity: 1;
    transition: opacity var(--transition-normal);
}

.sim-results.hidden {
    display: none;
}

.results-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: 12px;
    margin-bottom: 16px;
}

.meta-label {
    color: var(--text-muted);
}

.meta-val {
    color: var(--color-primary);
    font-weight: 700;
}

.results-metrics {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 20px;
}

.metric-progress-item {
    font-size: 0.8rem;
}

.progress-labels {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
}

.progress-bar-container {
    height: 6px;
    background: #151a24;
    border-radius: 3px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    border-radius: 3px;
    transition: width var(--transition-slow) ease-out;
}

.results-verdict {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 10px 12px;
    border-radius: 4px;
}

.results-verdict.success {
    background: rgba(20, 150, 80, 0.12);
    border: 1px solid rgba(20, 150, 80, 0.25);
    color: var(--color-success);
}

.results-verdict.success svg {
    width: 14px;
    height: 14px;
    color: var(--color-success);
    flex-shrink: 0;
}

/* --- Connect Section --- */
.connect-section {
    background: linear-gradient(180deg, #0c111a 0%, var(--bg-base) 100%);
    padding: 120px 0;
}

.connect-subtitle {
    max-width: 680px;
    margin: 16px auto 40px;
}

.contact-channels {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.btn-whatsapp-direct {
    background: hsl(142, 70%, 35%);
    color: white;
}

.btn-whatsapp-direct:hover {
    background: hsl(142, 70%, 30%);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(40, 180, 80, 0.3);
}

/* --- Footer --- */
.main-footer {
    background-color: #05070c;
    border-top: 1px solid var(--border-glass);
    padding: 60px 0 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding-bottom: 40px;
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }
}

.footer-brand-info {
    max-width: 380px;
}

.footer-brand-info .brand-logo {
    margin-bottom: 16px;
}

.footer-license {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-contacts {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-item {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-family: var(--font-mono);
}

.contact-value {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.95rem;
}

a.contact-value:hover {
    color: var(--color-primary);
}

.footer-bottom {
    border-top: 1px solid var(--border-glass);
    padding: 24px 0;
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* --- Dialog Modals --- */
.glass-dialog {
    border: none;
    background: transparent;
    max-width: 600px;
    width: calc(100% - 32px);
    margin: auto;
    outline: none;
}

.glass-dialog::backdrop {
    background: rgba(4, 6, 10, 0.85);
    backdrop-filter: blur(8px);
}

.dialog-wrapper {
    background: hsl(220, 25%, 8%);
    border: 1px solid rgba(0, 242, 201, 0.2);
    border-radius: 16px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6);
    padding: 32px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.dialog-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    transition: color var(--transition-fast);
}

.dialog-close-btn:hover {
    color: var(--text-main);
}

/* Modal Steps */
.dialog-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 32px;
    position: relative;
}

.dialog-steps::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 20px;
    right: 20px;
    height: 2px;
    background: #1e2633;
    z-index: 1;
}

.step-indicator {
    position: relative;
    z-index: 2;
    background: hsl(220, 25%, 8%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #1e2633;
    color: var(--text-muted);
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.step-indicator.active {
    border-color: var(--color-primary);
    color: var(--color-primary);
    box-shadow: 0 0 10px rgba(0, 242, 201, 0.2);
}

.step-indicator span {
    position: absolute;
    top: 38px;
    font-size: 0.7rem;
    font-weight: 500;
    white-space: nowrap;
    text-transform: uppercase;
    color: var(--text-muted);
}

.step-indicator.active span {
    color: var(--color-primary);
}

/* Form Styling */
.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeInStep 0.3s ease-out;
}

@keyframes fadeInStep {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.form-step h3 {
    font-size: 1.35rem;
    margin-bottom: 8px;
}

.step-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-main);
}

.form-input {
    width: 100%;
    background: hsl(220, 25%, 12%);
    border: 1px solid var(--border-glass);
    border-radius: 6px;
    padding: 12px;
    color: var(--text-main);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    outline: none;
    transition: border-color var(--transition-fast);
}

.form-input:focus {
    border-color: var(--color-primary);
}

textarea.form-input {
    resize: vertical;
}

.radio-cards-grid {
    display: grid;
    gap: 12px;
}

.radio-card {
    display: flex;
    gap: 16px;
    background: hsl(220, 25%, 12%);
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    padding: 16px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.radio-card input {
    margin-top: 4px;
}

.radio-card:hover {
    border-color: rgba(0, 242, 201, 0.2);
}

.radio-card input:checked + .radio-card-content,
.radio-card:has(input:checked) {
    border-color: var(--color-primary);
    background: rgba(0, 242, 201, 0.03);
}

.radio-card-content {
    display: flex;
    flex-direction: column;
}

.radio-card-content strong {
    font-size: 0.9rem;
    color: var(--text-main);
}

.radio-card-content span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.step-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 32px;
    border-top: 1px solid var(--border-glass);
    padding-top: 20px;
}

.step-actions .btn {
    min-width: 100px;
}

/* Success Screen Details */
.success-screen {
    padding: 20px 0;
}

.success-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(20, 150, 80, 0.1);
    border: 2px solid var(--color-success);
    color: var(--color-success);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.success-icon svg {
    width: 36px;
    height: 36px;
}

.rfq-summary-card {
    background: hsl(220, 25%, 12%);
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    padding: 16px;
    max-width: 340px;
    margin: 24px auto 32px;
    text-align: left;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.summary-line:last-child {
    margin-bottom: 0;
}

.summary-line span {
    color: var(--text-muted);
}

.summary-line strong {
    color: var(--color-primary);
}

/* --- Floating WhatsApp Widget --- */
.chat-widget {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 90;
}

.chat-toggle-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: hsl(142, 70%, 35%);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 24px rgba(40, 180, 80, 0.4);
    position: relative;
    transition: transform var(--transition-fast);
}

.chat-toggle-btn:hover {
    transform: scale(1.08);
    background: hsl(142, 70%, 30%);
}

.chat-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--color-danger);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bg-base);
}

/* Chat Window Box */
.chat-window {
    position: absolute;
    bottom: 72px;
    right: 0;
    width: 360px;
    max-width: calc(100vw - 64px);
    background: hsl(220, 25%, 10%);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: opacity 0.25s ease, transform 0.25s ease;
    transform-origin: bottom right;
}

.chat-window.hidden {
    opacity: 0;
    transform: scale(0.9) translateY(20px);
    pointer-events: none;
}

.chat-header {
    background: hsl(220, 25%, 8%);
    border-bottom: 1px solid var(--border-glass);
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: var(--text-dark);
    font-weight: 800;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-header-user h4 {
    font-size: 0.9rem;
}

.online-indicator {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    color: var(--color-success);
}

.online-indicator .dot {
    width: 6px;
    height: 6px;
    background: var(--color-success);
    border-radius: 50%;
}

.chat-close-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
}

.chat-close-btn:hover {
    color: var(--text-main);
}

.chat-messages {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: 240px;
    overflow-y: auto;
    background-color: #0b0e14;
}

.system-msg {
    text-align: center;
    font-size: 0.65rem;
    color: var(--text-muted);
    align-self: center;
}

.msg-time {
    display: block;
    font-size: 0.6rem;
    margin-bottom: 4px;
}

.message {
    max-width: 80%;
}

.incoming {
    align-self: flex-start;
}

.outgoing {
    align-self: flex-end;
}

.msg-bubble {
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 0.85rem;
}

.incoming .msg-bubble {
    background: hsl(220, 20%, 15%);
    color: var(--text-main);
    border-bottom-left-radius: 2px;
}

.outgoing .msg-bubble {
    background: hsl(142, 60%, 25%);
    color: white;
    border-bottom-right-radius: 2px;
}

.chat-options {
    padding: 12px 16px;
    background: hsl(220, 25%, 8%);
    border-top: 1px solid var(--border-glass);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.chat-opt-btn {
    background: hsl(220, 25%, 14%);
    border: 1px solid var(--border-glass);
    color: var(--text-main);
    font-family: var(--font-sans);
    font-size: 0.8rem;
    text-align: left;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.chat-opt-btn:hover {
    border-color: var(--color-primary);
    background: rgba(0, 242, 201, 0.05);
}

.chat-footer {
    display: flex;
    border-top: 1px solid var(--border-glass);
    background: hsl(220, 25%, 10%);
}

.chat-input {
    flex-grow: 1;
    background: none;
    border: none;
    padding: 14px 16px;
    color: var(--text-main);
    font-family: var(--font-sans);
    font-size: 0.85rem;
    outline: none;
}

.chat-send-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    padding: 0 16px;
    cursor: pointer;
}

/* --- Product Image Styling --- */
.product-image-container {
    width: 100%;
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 24px;
    border: 1px solid var(--border-glass);
    background: #0f141f;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-image-container.dual-image {
    display: flex;
    gap: 8px;
    background: transparent;
    border: none;
}

.product-image-container.dual-image .product-image {
    flex: 1;
    width: 50%;
    border-radius: 12px;
    border: 1px solid var(--border-glass);
    object-fit: cover;
}

/* --- Footer Bottom Flex & Impressum Link --- */
.footer-bottom-flex {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

@media (min-width: 768px) {
    .footer-bottom-flex {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-link-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-sans);
    font-size: 0.8rem;
    cursor: pointer;
    transition: color var(--transition-fast);
    padding: 0;
    text-decoration: underline;
}

.footer-link-btn:hover {
    color: var(--color-primary);
}


