/* ProReturns.pl - Modern Logistics Stylesheet */

:root {
    --bg-primary: #0b0f19;
    --bg-secondary: #111827;
    --bg-tertiary: #1f2937;
    --primary: #6366f1;
    --primary-hover: #4f46e5;
    --primary-glow: rgba(99, 102, 241, 0.15);
    --primary-glow-strong: rgba(99, 102, 241, 0.4);
    
    --emerald: #10b981;
    --emerald-glow: rgba(16, 185, 129, 0.15);
    --rose: #f43f5e;
    --rose-glow: rgba(244, 63, 94, 0.15);
    
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --border-color: rgba(255, 255, 255, 0.08);
    --glass-bg: rgba(17, 24, 39, 0.7);
    --glass-border: rgba(255, 255, 255, 0.06);
    --glass-blur: 12px;
    
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease;
}

/* Global Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

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

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

/* Background Glow Orbs */
.glow-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.25;
}

.orb-1 {
    top: -100px;
    right: -100px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
}

.orb-2 {
    top: 40%;
    left: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--emerald) 0%, transparent 70%);
}

.orb-3 {
    bottom: 5%;
    right: -100px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
}

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.text-gradient {
    background: linear-gradient(135deg, #a5b4fc 0%, #6366f1 50%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.text-emerald {
    color: var(--emerald) !important;
}

.font-bold {
    font-weight: 700;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition-smooth);
    font-size: 16px;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #4f46e5 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(99, 102, 241, 0.45);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn-emerald {
    background: linear-gradient(135deg, var(--emerald) 0%, #059669 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.2);
}

.btn-emerald:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.35);
}

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

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: var(--text-muted);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 14px;
    border-radius: 8px;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 18px;
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn-text {
    background: none;
    border: none;
    color: var(--primary);
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: var(--transition-fast);
}

.btn-text:hover {
    color: #818cf8;
    text-decoration: underline;
}

/* Header & Navigation */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition-smooth);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 22px;
    color: white;
    letter-spacing: -0.03em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

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

.nav-links a:hover {
    color: white;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 3px;
}

.lang-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 12px;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.lang-btn.active {
    background-color: var(--primary);
    color: white;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

/* Mobile Nav Overlay */
.mobile-nav {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transform: translateY(-120%);
    transition: var(--transition-smooth);
    z-index: 99;
}

.mobile-nav.open {
    transform: translateY(0);
}

.mobile-nav-link {
    color: var(--text-main);
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
}

/* Hero Section */
.hero-section {
    padding-top: 160px;
    padding-bottom: 100px;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.badge-new {
    display: inline-flex;
    background-color: var(--primary-glow);
    border: 1px solid rgba(99, 102, 241, 0.2);
    color: #a5b4fc;
    font-size: 14px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 56px;
    line-height: 1.15;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 18px;
    margin-bottom: 40px;
    max-width: 580px;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-trust .trust-title {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
    font-weight: 600;
}

.trust-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.trust-logos span {
    font-size: 18px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.2);
    font-family: var(--font-heading);
}

/* Hero Animated Diagram */
.hero-visual {
    position: relative;
}

.diagram-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    position: relative;
}

.diagram-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 32px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 16px;
}

.diagram-header .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background-color: #ef4444; }
.dot.yellow { background-color: #f59e0b; }
.dot.green { background-color: #10b981; }

.diagram-title {
    font-size: 12px;
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-left: 8px;
}

.diagram-body {
    display: flex;
    flex-direction: column;
    gap: 32px;
    position: relative;
    padding: 10px 0;
}

.diagram-node {
    display: flex;
    align-items: center;
    gap: 16px;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 16px 20px;
    border-radius: 12px;
    position: relative;
    z-index: 2;
    transition: var(--transition-smooth);
}

.diagram-node.active-glow {
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.2);
    background-color: rgba(99, 102, 241, 0.03);
}

.node-icon {
    font-size: 24px;
    width: 48px;
    height: 48px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.node-label {
    font-weight: 600;
    font-family: var(--font-heading);
}

.hub-status-badge {
    margin-left: auto;
    background-color: rgba(16, 185, 129, 0.15);
    color: var(--emerald);
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
}

.flow-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    position: relative;
    height: 20px;
    z-index: 1;
}

.arrow-text {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Animations for Diagram */
@keyframes dash {
    to {
        stroke-dashoffset: -20;
    }
}

.anim-dash {
    animation: dash 1.5s linear infinite;
}

.anim-dash-fast {
    animation: dash 0.8s linear infinite;
}

/* Steps Section */
.benefits-section {
    padding: 100px 0;
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

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

.section-badge {
    display: inline-block;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 14px;
    margin-bottom: 12px;
}

.section-title {
    font-size: 40px;
    margin-bottom: 16px;
}

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

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

.grid-4-cols {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.step-card {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    padding: 32px 24px;
    border-radius: 16px;
    position: relative;
    transition: var(--transition-smooth);
}

.step-card:hover {
    transform: translateY(-6px);
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.step-number {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 48px;
    line-height: 1;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.02) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
}

.step-title {
    font-size: 20px;
    margin-bottom: 12px;
}

.step-desc {
    font-size: 14px;
}

/* Calculator Section */
.calculator-section {
    padding: 100px 0;
}

.calculator-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: stretch;
}

.calculator-inputs-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 40px;
}

.calc-title {
    font-size: 32px;
    margin-bottom: 8px;
}

.calc-desc {
    margin-bottom: 32px;
    font-size: 15px;
}

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

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

.form-control {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: white;
    padding: 14px 18px;
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 15px;
    transition: var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
    background-color: rgba(255, 255, 255, 0.05);
}

.slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.slider-val {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 16px;
    color: var(--primary);
    background-color: var(--primary-glow);
    padding: 2px 10px;
    border-radius: 6px;
}

/* Custom Slider Styling */
.slider {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
    transition: var(--transition-fast);
}

.slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.radio-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    padding: 10px 16px;
    border-radius: 8px;
    transition: var(--transition-fast);
}

.radio-label:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.radio-label input {
    display: none;
}

.radio-custom {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    display: inline-block;
    position: relative;
}

.radio-label input:checked + .radio-custom {
    border-color: var(--primary);
}

.radio-label input:checked + .radio-custom::after {
    content: '';
    width: 8px;
    height: 8px;
    background-color: var(--primary);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.radio-label input:checked ~ span {
    color: white;
}

/* Calculator Results Card */
.calculator-results-card {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(16, 185, 129, 0.03) 100%);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 24px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.savings-badge {
    align-self: flex-start;
    background-color: rgba(16, 185, 129, 0.15);
    color: var(--emerald);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
}

.savings-amount {
    margin-bottom: 32px;
}

.savings-amount .currency {
    font-size: 24px;
    font-weight: 700;
    color: var(--emerald);
    vertical-align: super;
}

.savings-amount .amount-number {
    font-family: var(--font-heading);
    font-size: 64px;
    font-weight: 800;
    line-height: 1;
    color: var(--emerald);
    text-shadow: 0 0 20px rgba(16, 185, 129, 0.25);
}

.savings-amount .period {
    font-size: 16px;
    color: var(--text-muted);
}

/* Chart */
.chart-container {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 32px;
    border: 1px solid var(--border-color);
}

.chart-bar-wrapper {
    margin-bottom: 20px;
}

.chart-bar-wrapper:last-child {
    margin-bottom: 0;
}

.chart-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.chart-bar-bg {
    background-color: rgba(255, 255, 255, 0.05);
    height: 36px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.chart-bar {
    height: 100%;
    border-radius: 8px;
    display: flex;
    align-items: center;
    padding-left: 16px;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.bar-competitor {
    background: linear-gradient(90deg, rgba(244, 63, 94, 0.5) 0%, var(--rose) 100%);
    box-shadow: 0 0 10px rgba(244, 63, 94, 0.2);
}

.bar-us {
    background: linear-gradient(90deg, rgba(16, 185, 129, 0.5) 0%, var(--emerald) 100%);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.2);
}

.bar-value {
    font-size: 13px;
    font-weight: 700;
    color: white;
}

/* Results breakdown */
.results-breakdown {
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
    margin-bottom: 32px;
}

.breakdown-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin-bottom: 12px;
}

.breakdown-row:last-child {
    margin-bottom: 0;
}

.breakdown-val {
    font-weight: 600;
}

.total-row {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px dashed var(--border-color);
    font-size: 16px;
}

/* Demo OS Section */
.demo-section {
    padding: 100px 0;
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

/* Portal Mockup Dashboard */
.dashboard-mockup {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    display: grid;
    grid-template-columns: 240px 1fr;
    min-height: 520px;
    overflow: hidden;
    position: relative;
}

.dashboard-sidebar {
    background-color: rgba(255, 255, 255, 0.02);
    border-right: 1px solid var(--border-color);
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 16px;
}

.brand-icon {
    background-color: var(--primary);
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    color: white;
}

.sidebar-menu {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex-grow: 1;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-fast);
}

.menu-item:hover, .menu-item.active {
    background-color: rgba(255, 255, 255, 0.05);
    color: white;
}

.menu-item.active {
    border-left: 3px solid var(--primary);
    border-radius: 0 8px 8px 0;
}

.menu-badge {
    margin-left: auto;
    background-color: var(--rose);
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 100px;
}

.sidebar-user {
    display: flex;
    align-items: center;
    gap: 10px;
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
}

.user-avatar {
    width: 36px;
    height: 36px;
    background-color: var(--primary-glow);
    color: var(--primary);
    border: 1px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 12px;
}

.user-info {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.user-name {
    font-size: 12px;
    font-weight: 600;
}

.user-role {
    font-size: 10px;
}

/* Dashboard Main Window */
.dashboard-main {
    padding: 32px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.dashboard-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.dashboard-section-title {
    font-size: 18px;
    font-weight: 600;
}

.package-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.package-card {
    background-color: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px 20px;
    display: grid;
    grid-template-columns: 24px 1.2fr 1.8fr 1fr 1fr;
    gap: 16px;
    align-items: center;
    transition: var(--transition-smooth);
}

.package-card:hover {
    background-color: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.12);
}

.pkg-status-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.pkg-status-indicator.received { background-color: var(--emerald); }
.pkg-status-indicator.damaged { background-color: var(--rose); }

.pkg-main-info {
    display: flex;
    flex-direction: column;
}

.pkg-id {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
}

.pkg-buyer {
    font-size: 11px;
    color: var(--text-muted);
}

.pkg-details {
    display: flex;
    flex-direction: column;
}

.pkg-item {
    font-size: 13px;
    font-weight: 500;
}

.pkg-reason {
    font-size: 11px;
}

.badge {
    display: inline-flex;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
}

.badge-received {
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--emerald);
}

.badge-damaged {
    background-color: rgba(244, 63, 94, 0.1);
    color: var(--rose);
}

/* Consolidation overlay */
.consolidation-animation-area {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(11, 15, 25, 0.95);
    z-index: 10;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.anim-box-container {
    width: 300px;
    height: 200px;
    position: relative;
    margin-bottom: 24px;
}

.master-pallet-box {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 100px;
    background-color: #d97706; /* cardbox color */
    border: 3px solid #b45309;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    font-size: 10px;
    font-weight: 700;
}

.pallet-tape {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 100%;
    background-color: rgba(0,0,0,0.15);
}

.pallet-label {
    background-color: white;
    color: black;
    padding: 2px 6px;
    font-size: 8px;
    border-radius: 2px;
    transform: rotate(-3deg);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.flying-package {
    position: absolute;
    width: 70px;
    height: 48px;
    background-color: #f59e0b;
    border: 2px solid #d97706;
    border-radius: 4px;
    color: white;
    font-size: 9px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
}

/* Package flight animation paths */
@keyframes flight-1 {
    0% { top: -20px; left: -50px; opacity: 0; transform: scale(1) rotate(0deg); }
    30% { opacity: 1; }
    100% { top: 60px; left: 115px; opacity: 0; transform: scale(0.4) rotate(45deg); }
}

@keyframes flight-2 {
    0% { top: -40px; left: 115px; opacity: 0; transform: scale(1) rotate(0deg); }
    30% { opacity: 1; }
    100% { top: 60px; left: 115px; opacity: 0; transform: scale(0.4) rotate(-30deg); }
}

@keyframes flight-3 {
    0% { top: -20px; left: 280px; opacity: 0; transform: scale(1) rotate(0deg); }
    30% { opacity: 1; }
    100% { top: 60px; left: 115px; opacity: 0; transform: scale(0.4) rotate(15deg); }
}

.consolidation-animation-area.running .box-1 {
    animation: flight-1 1s ease-in-out forwards;
}

.consolidation-animation-area.running .box-2 {
    animation: flight-2 1s ease-in-out 0.3s forwards;
}

.consolidation-animation-area.running .box-3 {
    animation: flight-3 1s ease-in-out 0.6s forwards;
}

.anim-status-text {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 16px;
    color: var(--primary);
}

/* Consolidation Success Card */
.consolidation-success-card {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
}

.success-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: var(--emerald-glow);
    border: 2px solid var(--emerald);
    color: var(--emerald);
    font-size: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
}

.success-title {
    font-size: 24px;
    margin-bottom: 8px;
}

.success-desc {
    font-size: 15px;
    max-width: 480px;
    margin-bottom: 28px;
}

.tracking-details {
    display: flex;
    gap: 40px;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    padding: 16px 32px;
    border-radius: 12px;
    margin-bottom: 32px;
}

.tracking-details div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-size: 13px;
}

/* Photo Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 200;
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.open {
    display: flex;
    opacity: 1;
}

.modal-content {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    max-width: 800px;
    width: 90%;
    padding: 32px;
    position: relative;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal.open .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 28px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.modal-close:hover {
    color: white;
}

.modal-title {
    font-size: 22px;
    margin-bottom: 6px;
}

.modal-pkg-item-desc {
    font-size: 14px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 16px;
}

.modal-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 32px;
}

.modal-photos-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.modal-photo-item {
    aspect-ratio: 4/3;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    position: relative;
}

.modal-photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-photo-label {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background-color: rgba(0,0,0,0.7);
    color: white;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
}

.modal-report {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: 16px;
}

.report-title {
    font-size: 16px;
    margin-bottom: 16px;
}

.report-list {
    list-style: none;
}

.report-list li {
    font-size: 13px;
    margin-bottom: 14px;
    display: flex;
    flex-direction: column;
}

.report-list li strong {
    color: var(--text-muted);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

/* Portal Demo CTA Box */
.portal-cta-box {
    margin-top: 48px;
    text-align: center;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.04) 0%, rgba(59, 130, 246, 0.04) 100%);
    border: 1px dashed rgba(99, 102, 241, 0.25);
    padding: 40px;
    border-radius: 24px;
    backdrop-filter: blur(12px);
    transition: var(--transition-smooth);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.portal-cta-box:hover {
    border-color: rgba(99, 102, 241, 0.5);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.07) 0%, rgba(59, 130, 246, 0.07) 100%);
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.15);
}

.portal-cta-box h4 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: white;
}

.portal-cta-box p {
    max-width: 650px;
    margin: 0 auto 24px;
    font-size: 14px;
    line-height: 1.6;
}

/* Pricing Section */
.pricing-section {
    padding: 100px 0;
}

.grid-3-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    align-items: stretch;
}

.pricing-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-smooth);
    position: relative;
}

.pricing-card.popular {
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.1) 0%, rgba(17, 24, 39, 0.7) 100%);
    border: 2px solid var(--primary);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.15);
    transform: scale(1.03);
}

.popular-ribbon {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--primary);
    color: white;
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-header {
    margin-bottom: 32px;
}

.plan-name {
    font-size: 24px;
    margin-bottom: 8px;
}

.plan-desc {
    font-size: 14px;
    margin-bottom: 24px;
}

.plan-price .price-val {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 40px;
    color: white;
}

.plan-price .price-period {
    color: var(--text-muted);
    font-size: 14px;
}

.plan-features {
    list-style: none;
    margin-bottom: 40px;
}

.plan-features li {
    font-size: 14px;
    margin-bottom: 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.plan-features li span:first-child {
    color: var(--primary);
    font-weight: 700;
}

.pricing-card.popular .plan-features li span:first-child {
    color: var(--emerald);
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

.faq-accordion-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-item:hover {
    border-color: rgba(255,255,255,0.12);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    color: white;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 18px;
    padding: 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-arrow-icon {
    font-size: 20px;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0, 1, 0, 1), padding 0.3s ease;
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
}

.faq-item.open .faq-answer {
    max-height: 1000px;
    padding-bottom: 24px;
    transition: max-height 0.3s cubic-bezier(1, 0, 1, 0), padding 0.3s ease;
}

.faq-item.open .faq-arrow-icon {
    transform: rotate(45deg);
    color: var(--rose);
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.contact-title {
    font-size: 40px;
    margin-bottom: 16px;
}

.contact-desc {
    font-size: 16px;
    margin-bottom: 40px;
}

.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

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

.detail-icon {
    font-size: 20px;
    width: 44px;
    height: 44px;
    background-color: var(--primary-glow);
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.detail-content {
    display: flex;
    flex-direction: column;
}

.detail-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.detail-value {
    font-size: 16px;
    font-weight: 600;
}

/* Form Card */
.contact-form-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 40px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
    overflow: hidden;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-success-message {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-secondary);
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;
}

.form-success-message.active {
    display: flex;
}

/* Footer styling */
.main-footer {
    background-color: #020617;
    border-top: 1px solid var(--border-color);
    padding-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 48px;
    padding-bottom: 60px;
}

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

.footer-desc {
    font-size: 14px;
    max-width: 320px;
}

.footer-col-title {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
    color: white;
}

.footer-links-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links-col a {
    color: var(--text-muted);
    font-size: 14px;
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-links-col a:hover {
    color: white;
}

.footer-links-col p {
    font-size: 14px;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 32px 0;
    font-size: 13px;
}

/* Lang Switcher Logic */
body.lang-active-pl .lang-en {
    display: none !important;
}

body.lang-active-en .lang-pl {
    display: none !important;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .grid-4-cols {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .calculator-grid {
        grid-template-columns: 1fr;
    }
    
    .dashboard-mockup {
        grid-template-columns: 180px 1fr;
    }
    
    .package-card {
        grid-template-columns: 24px 1.2fr 1.5fr 1fr;
    }
    
    .package-card .pkg-actions {
        grid-column: span 4;
        text-align: right;
    }
    
    .grid-3-cols {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .pricing-card.popular {
        transform: none;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 40px;
    }
    
    .nav-links {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .dashboard-mockup {
        grid-template-columns: 1fr;
    }
    
    .dashboard-sidebar {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding: 16px;
        flex-direction: row;
        align-items: center;
    }
    
    .sidebar-menu {
        display: none;
    }
    
    .sidebar-user {
        border-top: none;
        padding-top: 0;
    }
    
    .package-card {
        grid-template-columns: 1fr;
        gap: 12px;
        text-align: center;
    }
    
    .pkg-checkbox-col {
        display: flex;
        justify-content: center;
    }
    
    .package-card .pkg-actions {
        grid-column: span 1;
        text-align: center;
    }
    
    .modal-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-ctas {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-ctas .btn {
        width: 100%;
    }
    
    .grid-4-cols {
        grid-template-columns: 1fr;
    }
    
    .radio-group {
        flex-direction: column;
    }
    
    .savings-amount .amount-number {
        font-size: 48px;
    }
}

/* PPWR & BDO Section Styles */
.ppwr-section {
    padding: 100px 0;
}

.ppwr-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.ppwr-features-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 32px;
}

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

.ppwr-feat-item .feat-icon {
    width: 24px;
    height: 24px;
    background-color: var(--primary-glow);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
    flex-shrink: 0;
    margin-top: 2px;
}

.ppwr-feat-item strong {
    font-family: var(--font-heading);
    font-size: 16px;
    color: white;
    display: block;
    margin-bottom: 4px;
}

.ppwr-feat-item p {
    font-size: 13px;
}

.ppwr-pricing-card {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(99, 102, 241, 0.02) 100%);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 24px;
    padding: 40px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.ppwr-badge-discount {
    position: absolute;
    top: -14px;
    left: 40px;
    background: linear-gradient(135deg, var(--emerald) 0%, #059669 100%);
    color: white;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 14px;
    border-radius: 100px;
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.3);
}

.ppwr-card-title {
    font-size: 20px;
    margin-bottom: 32px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 16px;
}

.ppwr-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    border-bottom: 1px dashed var(--border-color);
    padding-bottom: 20px;
}

.ppwr-price-row:last-of-type {
    border-bottom: none;
    margin-bottom: 32px;
}

.ppwr-price-row .price-info {
    display: flex;
    flex-direction: column;
}

.price-name {
    font-size: 15px;
    font-weight: 600;
    color: white;
    margin-bottom: 4px;
}

.price-market {
    font-size: 12px;
    text-decoration: line-through;
}

.ppwr-price-row .price-tag {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.ppwr-price-row .price-val {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
    color: var(--emerald);
    text-shadow: 0 0 10px rgba(16, 185, 129, 0.15);
}

.price-once {
    font-size: 11px;
    color: var(--text-muted);
}

/* Checkbox Styling */
.checkbox-custom {
    width: 18px;
    height: 18px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    display: inline-block;
    position: relative;
    background-color: rgba(255,255,255,0.02);
    flex-shrink: 0;
    transition: var(--transition-fast);
    margin-top: 4px;
}

.checkbox-label input {
    display: none;
}

.checkbox-label input:checked + .checkbox-custom {
    border-color: var(--emerald);
    background-color: rgba(16, 185, 129, 0.1);
}

.checkbox-label input:checked + .checkbox-custom::after {
    content: '✓';
    color: var(--emerald);
    font-size: 12px;
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Add responsive rules for ppwr */
@media (max-width: 1024px) {
    .ppwr-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}



/* =====================================================
   MOBILE & TOUCH IMPROVEMENTS
   ===================================================== */
html {
    scroll-padding-top: 92px;
}

img,
svg {
    max-width: 100%;
}

button,
a,
input,
select,
textarea {
    touch-action: manipulation;
}

body.menu-open {
    overflow: hidden;
}

.mobile-menu-toggle {
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    background-color: rgba(255, 255, 255, 0.04);
}

.mobile-menu-toggle.active {
    background-color: var(--primary-glow);
    border-color: rgba(99, 102, 241, 0.45);
}

.mobile-nav {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.mobile-nav.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

@media (hover: none) {
    .btn:hover,
    .step-card:hover,
    .pricing-card:hover,
    .portal-cta-box:hover,
    .package-card:hover {
        transform: none;
    }
}

@media (max-width: 768px) {
    html {
        scroll-padding-top: 76px;
    }

    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .header-container {
        height: 68px;
    }

    .logo {
        gap: 8px;
        min-width: 0;
    }

    .logo svg {
        width: 34px;
        height: 34px;
        flex: 0 0 auto;
    }

    .logo-text {
        font-size: 18px;
        white-space: nowrap;
    }

    .header-actions {
        gap: 8px;
        min-width: 0;
    }

    .header-actions .btn-header-login,
    .header-actions .btn-header-cta {
        display: none;
    }

    .lang-switcher {
        flex: 0 0 auto;
    }

    .lang-btn {
        min-width: 34px;
        min-height: 34px;
        padding: 6px 8px;
    }

    .mobile-menu-toggle {
        display: inline-flex;
        flex: 0 0 auto;
    }

    .mobile-nav {
        top: 68px;
        max-height: calc(100dvh - 68px);
        overflow-y: auto;
        overscroll-behavior: contain;
        padding: 14px 16px calc(20px + env(safe-area-inset-bottom));
        gap: 6px;
        transform: translateY(-16px);
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
    }

    .mobile-nav.open {
        transform: translateY(0);
    }

    .mobile-nav-link {
        display: flex;
        align-items: center;
        min-height: 46px;
        padding: 10px 12px;
        border-radius: 10px;
        font-size: 16px;
    }

    .mobile-nav-link:active {
        background-color: rgba(255, 255, 255, 0.05);
    }

    .mobile-nav .btn {
        width: 100%;
        min-height: 46px;
        margin-top: 6px;
    }

    .hero-section {
        padding-top: 110px;
        padding-bottom: 64px;
    }

    .hero-grid {
        gap: 36px;
    }

    .hero-title {
        font-size: clamp(34px, 10vw, 40px);
        overflow-wrap: anywhere;
    }

    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 28px;
    }

    .hero-ctas {
        margin-bottom: 34px;
    }

    .trust-logos {
        justify-content: center;
        gap: 12px 18px;
    }

    .trust-logos span {
        font-size: 15px;
    }

    .diagram-card {
        padding: 16px;
        border-radius: 16px;
    }

    .diagram-header {
        margin-bottom: 22px;
    }

    .diagram-node {
        padding: 13px 14px;
        gap: 12px;
    }

    .node-icon {
        width: 42px;
        height: 42px;
        font-size: 21px;
        flex: 0 0 auto;
    }

    .hub-status-badge {
        padding: 4px 8px;
        font-size: 10px;
    }

    .benefits-section,
    .calculator-section,
    .demo-section,
    .pricing-section,
    .faq-section,
    .contact-section,
    .ppwr-section {
        padding: 64px 0;
    }

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

    .section-title,
    .contact-title {
        font-size: clamp(30px, 8vw, 36px);
    }

    .grid-4-cols {
        gap: 16px;
    }

    .step-card {
        padding: 24px 20px;
    }

    .calculator-grid {
        gap: 18px;
    }

    .calculator-inputs-card,
    .calculator-results-card,
    .pricing-card,
    .contact-form-card,
    .ppwr-pricing-card,
    .portal-cta-box {
        padding: 24px 20px;
        border-radius: 18px;
    }

    .calc-title {
        font-size: 27px;
    }

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

    .form-control,
    .btn {
        min-height: 44px;
    }

    .radio-group {
        gap: 10px;
    }

    .radio-label {
        flex: 1 1 140px;
        justify-content: flex-start;
        min-height: 44px;
    }

    .savings-amount .amount-number {
        font-size: clamp(44px, 15vw, 56px);
    }

    .chart-container {
        padding: 18px 14px;
    }

    .chart-bar {
        min-width: 92px;
        padding-left: 8px;
    }

    .bar-value {
        font-size: 11px;
        white-space: nowrap;
    }

    .breakdown-row {
        gap: 16px;
    }

    .breakdown-val {
        text-align: right;
        overflow-wrap: anywhere;
    }

    .dashboard-mockup {
        border-radius: 16px;
        min-height: 0;
    }

    .dashboard-sidebar {
        gap: 12px;
        justify-content: space-between;
    }

    .dashboard-main {
        padding: 18px 14px;
    }

    .dashboard-topbar {
        align-items: flex-start;
        gap: 12px;
        flex-wrap: wrap;
    }

    .dashboard-topbar .btn {
        width: 100%;
    }

    .package-card {
        padding: 16px;
    }

    .pkg-main-info,
    .pkg-details {
        align-items: center;
    }

    .modal {
        padding: 12px;
    }

    .modal-content {
        width: 100%;
        max-height: calc(100dvh - 24px);
        overflow-y: auto;
        overscroll-behavior: contain;
        padding: 24px 18px;
        border-radius: 18px;
    }

    .modal-close {
        top: 12px;
        right: 12px;
        width: 44px;
        height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .modal-title {
        padding-right: 44px;
        font-size: 20px;
    }

    .modal-photos-gallery {
        gap: 10px;
    }

    .faq-question {
        min-height: 54px;
        padding: 18px;
        font-size: 16px;
        gap: 12px;
    }

    .faq-answer {
        padding-left: 18px;
        padding-right: 18px;
    }

    .contact-grid {
        gap: 36px;
    }

    .contact-desc {
        margin-bottom: 28px;
    }

    .contact-details-list {
        gap: 20px;
    }

    .footer-grid {
        padding-bottom: 40px;
    }

    .main-footer {
        padding-top: 56px;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .logo-text {
        font-size: 17px;
    }

    .badge-new {
        font-size: 12px;
        padding: 6px 12px;
    }

    .hero-ctas {
        gap: 10px;
    }

    .hero-ctas .btn,
    .portal-cta-box .btn {
        width: 100%;
    }

    .grid-4-cols {
        grid-template-columns: minmax(0, 1fr);
    }

    .radio-label {
        flex-basis: 100%;
    }

    .ppwr-price-row {
        gap: 12px;
        align-items: flex-start;
    }

    .ppwr-price-row .price-val {
        font-size: 23px;
    }

    .modal-photos-gallery {
        grid-template-columns: 1fr;
    }

    .pricing-card {
        padding: 24px 18px;
    }

    .popular-ribbon {
        position: static;
        display: inline-flex;
        margin-bottom: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ========================================== */
/* Header Polish / Desktop Layout Refinements */
/* ========================================== */
.header-container {
    gap: 20px;
}

.logo {
    flex: 0 0 auto;
}

.nav-links {
    flex: 1 1 auto;
    justify-content: center;
    gap: clamp(14px, 1.7vw, 28px);
    min-width: 0;
}

.nav-links a {
    white-space: nowrap;
    line-height: 1.2;
}

.header-actions {
    flex: 0 0 auto;
    gap: 12px;
}

.header-actions .btn,
.mobile-nav .btn,
.lang-btn {
    white-space: nowrap;
}

.btn-header-login,
.btn-header-cta {
    padding-inline: 18px;
}

@media (max-width: 1280px) {
    .header-container {
        gap: 14px;
        height: 74px;
    }

    .logo-text {
        font-size: 20px;
    }

    .nav-links {
        gap: 14px;
    }

    .nav-links a {
        font-size: 14px;
    }

    .header-actions {
        gap: 8px;
    }

    .header-actions .btn {
        padding: 8px 14px;
        font-size: 14px;
    }

    .lang-btn {
        padding: 6px 10px;
    }
}

@media (max-width: 1160px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        flex: 0 0 auto;
    }

    .header-actions {
        margin-left: auto;
    }
}

@media (max-width: 920px) {
    .header-actions .btn-header-login,
    .header-actions .btn-header-cta {
        display: none;
    }

    .header-container {
        height: 68px;
    }

    .mobile-nav {
        top: 68px;
        max-height: calc(100dvh - 68px);
    }
}


/* ========================================== */
/* V3 Premium Navigation */
/* ========================================== */
.main-header {
    background: rgba(10, 15, 28, 0.86);
    border-top: 3px solid rgba(99, 102, 241, 0.22);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.16);
}

.main-header .container {
    max-width: 1380px;
}

.header-container {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(24px, 2.4vw, 42px);
    height: 76px;
}

.logo {
    position: relative;
    z-index: 2;
    flex: none;
}

.logo svg {
    filter: drop-shadow(0 8px 18px rgba(79, 70, 229, 0.25));
}

.logo-text {
    font-size: 21px;
}

.nav-links {
    display: flex;
    justify-content: center;
    gap: clamp(16px, 1.65vw, 28px);
    min-width: 0;
}

.nav-links a {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 2px;
    color: #aeb6c5;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 50%;
    right: 50%;
    bottom: 3px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, #818cf8, #3b82f6);
    transition: left 0.2s ease, right 0.2s ease;
}

.nav-links a:hover {
    color: white;
}

.nav-links a:hover::after {
    left: 0;
    right: 0;
}

.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    min-width: max-content;
}

.header-actions .btn {
    min-height: 42px;
    padding: 9px 17px;
    border-radius: 10px;
    font-size: 13px;
    line-height: 1;
    white-space: nowrap;
}

.btn-header-login {
    background: rgba(255, 255, 255, 0.025);
}

.btn-header-cta {
    min-width: 104px;
}

.lang-switcher {
    border-radius: 10px;
}

.lang-btn {
    min-width: 38px;
    min-height: 34px;
    padding: 6px 9px;
}

@media (max-width: 1260px) {
    .main-header .container {
        max-width: 1180px;
    }

    .header-container {
        gap: 18px;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        border: 1px solid var(--border-color);
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.035);
    }
}

@media (max-width: 920px) {
    .header-container {
        display: flex;
        height: 68px;
        gap: 10px;
    }

    .header-actions {
        margin-left: auto;
    }

    .header-actions .btn-header-login,
    .header-actions .btn-header-cta {
        display: none;
    }

    .mobile-nav {
        top: 68px;
    }
}

@media (max-width: 420px) {
    .logo-text {
        font-size: 16px;
    }

    .logo svg {
        width: 32px;
        height: 32px;
    }

    .lang-btn {
        min-width: 32px;
        padding-inline: 6px;
    }
}


/* ========================================== */
/* About Us Section */
/* ========================================== */
.about-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--border-color);
}

.about-section::before {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    top: -260px;
    right: -180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.13), transparent 70%);
    pointer-events: none;
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
    gap: 72px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.about-title {
    max-width: 700px;
}

.about-lead {
    max-width: 720px;
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 34px;
}

.about-services {
    display: grid;
    gap: 18px;
}

.about-service-item {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
}

.about-service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    color: #fff;
    background: linear-gradient(135deg, var(--emerald), #059669);
    box-shadow: 0 8px 22px rgba(16, 185, 129, 0.18);
    font-weight: 800;
}

.about-service-item strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 16px;
    margin: 2px 0 4px;
}

.about-service-item p {
    font-size: 14px;
    line-height: 1.65;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.about-stat-card {
    min-height: 170px;
    padding: 28px 24px;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(31, 41, 55, 0.82), rgba(17, 24, 39, 0.7));
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: var(--transition-smooth);
}

.about-stat-card:hover {
    transform: translateY(-4px);
    border-color: rgba(99, 102, 241, 0.36);
}

.about-stat-card-featured {
    background: linear-gradient(145deg, rgba(99, 102, 241, 0.24), rgba(17, 24, 39, 0.82));
    border-color: rgba(99, 102, 241, 0.32);
}

.about-stat-value {
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: white;
    margin-bottom: 12px;
}

.about-stat-label {
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.45;
}

.contact-email-link,
.footer-email-link {
    color: inherit;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.contact-email-link:hover,
.footer-email-link:hover {
    color: #a5b4fc;
    text-decoration: underline;
}

.form-honeypot {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
}

.form-error-message {
    display: none;
    margin-top: 16px;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid rgba(244, 63, 94, 0.32);
    background: rgba(244, 63, 94, 0.08);
    color: #fecdd3;
    font-size: 13px;
    line-height: 1.55;
}

.form-error-message.active {
    display: block;
}

.form-error-message a {
    color: white;
    font-weight: 700;
}

@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .about-content {
        max-width: 760px;
        margin: 0 auto;
    }

    .about-stats {
        max-width: 760px;
        width: 100%;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .about-section {
        padding: 64px 0;
    }

    .about-grid {
        gap: 34px;
    }

    .about-lead {
        font-size: 15px;
        line-height: 1.7;
    }

    .about-stat-card {
        min-height: 145px;
        padding: 22px 18px;
    }
}

@media (max-width: 520px) {
    .about-stats {
        grid-template-columns: 1fr;
    }

    .about-stat-card {
        min-height: 128px;
    }
}

/* Contact links */
a.detail-value {
    color: var(--text-main);
    text-decoration: none;
    transition: var(--transition-fast);
}

a.detail-value:hover {
    color: #a5b4fc;
}


/* Service pricing refinements */
.pricing-service-grid .pricing-card {
    min-width: 0;
}

.pricing-plan-kicker {
    display: inline-flex;
    margin-bottom: 10px;
    color: #a5b4fc;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.plan-price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 5px;
}

.price-prefix {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 600;
}

.pricing-service-grid .price-val {
    font-size: clamp(30px, 3vw, 40px);
    white-space: nowrap;
}

.pricing-service-grid .plan-features strong {
    color: var(--text-main);
}

.pricing-source-note {
    max-width: 900px;
    margin: 32px auto 0;
    padding: 16px 20px;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.025);
    text-align: center;
    font-size: 13px;
    line-height: 1.6;
}

@media (max-width: 480px) {
    .pricing-service-grid .price-val {
        font-size: 29px;
    }

    .pricing-source-note {
        text-align: left;
        padding: 14px 16px;
    }
}
