/*
 * SpolkaBezObrotu.pl - Main Stylesheet
 * Professional Navy Design for Legal/Accounting Industry
 */

/* Font Loading Optimization */
@font-face {
    font-family: 'Manrope';
    font-display: swap;
}

@font-face {
    font-family: 'Outfit';
    font-display: swap;
}

@font-face {
    font-family: 'Material Icons';
    font-display: swap;
}

/* Professional Navy Color Palette */
:root {
    --accent-primary: #1a1f35; /* Navy */
    --accent-hover: #0f1521; /* Dark Navy */
    --accent-light: #2d3748; /* Light Navy */
    --accent-gold: #d4af37;
    --accent-gold-dark: #c4941f;
    --accent-gold-light: #e5c158;


    /* Core Colors */
    --text-primary: #1d1d1f;
    --text-secondary: #6e6e73;
    --text-tertiary: #8e8e93;

    --bg-primary: #ffffff;
    --bg-secondary: #f5f5f7;
    --bg-tertiary: #fbfbfd;

    --border-primary: #d2d2d7;
    --border-secondary: #e5e5ea;

    /* System Colors */
    --success: #34c759;
    --error: #ff3b30;
    --warning: var(--accent-gold);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6, .brand-logo {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

h1 { font-size: 3.5em; }
h2 { font-size: 2.5em; letter-spacing: -0.01em; }
h3 { font-size: 1.8em; }
h4 { font-size: 1.4em; }
h5 { font-size: 1.2em; }

p {
    color: var(--text-primary);
    line-height: 1.6;
}

/* Navigation */
nav {
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: saturate(180%) blur(20px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav .nav-wrapper {
    padding: 0 15px;
}

nav .brand-logo {
    color: var(--text-primary) !important;
    font-weight: 600;
    font-size: 1.3em;
}

nav ul a {
    color: var(--text-primary) !important;
    font-weight: 400;
    font-size: 0.95em;
    transition: opacity 0.2s ease;
}

nav ul a:hover {
    background: transparent !important;
    color: var(--accent-gold) !important;
}

.sidenav-trigger {
    color: var(--text-primary) !important;
}

.sidenav {
    padding-top: 80px !important;
}

.sidenav li {
    padding: 0 16px !important;
}

.sidenav li a {
    padding: 0 16px !important;
}

nav .btn,
nav .btn-large {
    color: white !important;
}

nav .btn:hover,
nav .btn-large:hover {
    color: white !important;
    background: linear-gradient(180deg, #1a1f35 0%, #0f1521 100%) !important;
    opacity: 0.95 !important;
}

/* Buttons */
.btn,
.btn-large {
    background: linear-gradient(180deg, var(--accent-primary) 0%, var(--accent-hover) 100%);
    color: white;
    border-radius: 8px !important;
    box-shadow: 0 2px 8px rgba(30, 58, 95, 0.25);
    text-transform: none;
    font-weight: 500;
    transition: all 0.3s ease !important;
}

.btn:hover,
.btn-large:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 16px rgba(30, 58, 95, 0.2) !important;
    background: linear-gradient(180deg, #2d3748 0%, #1a1f35 100%) !important;
}

.btn-outlined {
    background: transparent;
    color: white;
    border: none;
}

.btn-outlined:hover {
    background: rgba(255, 255, 255, 0.1) !important;
}

/* Order Button - Orange/Amber Color (Complementary to Navy) */
.btn-order.btn-large {
    background: linear-gradient(180deg, var(--accent-gold) 0%, var(--accent-gold-dark) 100%) !important;
    color: #1a1f35 !important;
    font-weight: 600 !important;
    box-shadow: 0 2px 8px rgba(255, 149, 0, 0.25) !important;
}

.btn-order:hover,
.btn-order.btn-large:hover {
    background: linear-gradient(180deg, var(--accent-gold-dark) 0%, var(--accent-gold-dark) 100%) !important;
    color: #1a1f35 !important;
    box-shadow: 0 6px 16px rgba(255, 149, 0, 0.3) !important;
}
/* Cards */
.card {
    border-radius: 12px !important;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-primary);
    background: var(--bg-primary);
}

.card-content {
    padding: 40px;
}

/* Forms */
.input-field label {
    color: var(--text-tertiary);
}

.input-field input:focus + label {
    color: var(--accent-primary) !important;
}

.input-field input:focus {
    border-bottom: 1px solid var(--accent-primary) !important;
    box-shadow: 0 1px 0 0 var(--accent-primary) !important;
}

/* Header Section */
.header {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    padding: 80px 0 40px 0;
    margin-bottom: 40px;
}

.header h1 {
    margin: 0;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.header p {
    color: var(--text-secondary);
    font-weight: 400;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1a1f35 0%, #2d3748 100%) !important;
    color: white !important;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -15%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 1;
    padding: 40px 20px;
}

.hero h1 {
    color: white !important;
    font-size: 3.5em;
    font-weight: 700 !important;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.8s ease-out;
}

.hero p {
    color: rgba(255, 255, 255, 0.95) !important;
    font-size: 1.4em !important;
    margin-bottom: 40px;
    font-weight: 400;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.hero .btn {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.hero .btn-outlined {
    background: rgba(255, 255, 255, 0.15) !important;
    color: white !important;
    border: none !important;
    backdrop-filter: blur(10px);
    animation: fadeInUp 0.8s ease-out 0.5s backwards;
}

.hero .btn-outlined:hover {
    background: rgba(255, 255, 255, 0.25) !important;
    transform: translateY(-1px) !important;
}

/* Scroll down indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    animation: bounce 2s infinite;
}

.scroll-indicator i {
    font-size: 40px;
    color: rgba(255, 255, 255, 0.7);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Feature Cards */
.feature-card {
    text-align: center;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 35px 25px;
    background: var(--bg-secondary);
    border-radius: 12px !important;
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.feature-card .material-icons {
    font-size: 56px;
    color: var(--accent-primary);
    margin-bottom: 20px;
    filter: drop-shadow(0 2px 8px rgba(30, 58, 95, 0.2));
}

.feature-card h4 {
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Package Section */
.package {
    padding: 80px 0;
    background: linear-gradient(180deg, #f5f5f7 0%, #e8e8ed 100%);
    position: relative;
}

.package::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 70% 30%, rgba(30, 58, 95, 0.04) 0%, transparent 40%);
    pointer-events: none;
}

.package-box {
    background: var(--bg-primary);
    color: var(--text-primary);
    padding: 50px;
    border-radius: 18px;
    border: 1px solid var(--border-primary);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.package-box h3 {
    font-size: 2em;
    font-weight: 600;
    margin-bottom: 30px;
}

.package-list {
    list-style: none;
    margin-bottom: 30px;
}

.package-list li {
    padding: 15px 0;
    border-bottom: 1px solid var(--border-primary);
    font-size: 1.05em;
    color: var(--text-primary);
}

.package-list li:last-child {
    border-bottom: none;
}

.package-list i {
    margin-right: 15px;
    vertical-align: middle;
    color: var(--accent-primary);
}

.price-big {
    font-size: 3.5em;
    font-weight: 600;
    margin: 30px 0;
    text-align: center;
    color: var(--text-primary);
}

.price-big small {
    font-size: 0.4em;
    font-weight: 400;
    color: var(--text-secondary);
}

/* Modern Package Box - New Modern Style */
.package-box-modern {
    background: var(--bg-primary);
    border-radius: 24px;
    border: 1px solid var(--border-primary);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.package-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 50px;
    background: linear-gradient(135deg, #f5f5f7 0%, #ffffff 100%);
    border-bottom: 1px solid var(--border-primary);
    flex-wrap: wrap;
    gap: 20px;
}

.package-header h3 {
    margin: 0;
    font-size: 2em;
    font-weight: 600;
    color: var(--text-primary);
}

.price-badge {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-hover) 100%);
    padding: 15px 30px;
    border-radius: 16px !important;
    box-shadow: 0 4px 16px rgba(30, 58, 95, 0.3);
}

.price-amount {
    font-size: 2.5em;
    font-weight: 700;
    color: white;
    line-height: 1;
}

.price-vat {
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.package-box-content {
    padding: 40px;
}

.package-items-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    padding: 0;
}

.package-item-modern {
    display: flex;
    gap: 20px;
    padding: 35px 40px;
    border-bottom: 1px solid var(--border-primary);
    border-right: 1px solid var(--border-primary);
    transition: background-color 0.2s ease;
}

.package-item-modern:hover {
    background-color: var(--bg-tertiary);
}

.package-item-modern:nth-child(3n) {
    border-right: none;
}

.package-item-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-hover) 100%);
    border-radius: 12px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 12px rgba(30, 58, 95, 0.25);
}

.package-item-icon i {
    color: white;
    font-size: 28px;
}

.package-item-content {
    flex: 1;
}

.package-item-content h4 {
    margin: 0 0 8px 0;
    font-size: 1.2em;
    font-weight: 600;
    color: var(--text-primary);
}

.package-item-content p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.95em;
    line-height: 1.5;
}

.package-footer {
    padding: 40px 50px;
    text-align: center;
    background: linear-gradient(135deg, #ffffff 0%, #f5f5f7 100%);
}

.package-note {
    margin-top: 20px;
    color: var(--text-tertiary);
    font-size: 0.9em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.package-note i {
    color: var(--success);
}

.security-note {
    margin-top: 15px;
    color: var(--text-tertiary);
    font-size: 0.9em;
}

.security-note i {
    vertical-align: middle;
    margin-right: 5px;
    color: var(--success);
}

/* Benefits Section */
.benefits {
    padding: 80px 0;
    background: var(--bg-primary);
}

.benefits .row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    margin: 0 -15px;
}

.benefits .col {
    display: flex;
    padding: 0 15px;
    margin-bottom: 30px;
}

.benefit-item {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 25px;
    background: var(--bg-secondary);
    border-radius: 16px;
    border: 1px solid var(--border-primary);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.benefit-item .material-icons {
    font-size: 42px;
    color: var(--accent-primary);
    margin-right: 20px;
    flex-shrink: 0;
}

.benefit-content {
    flex: 1;
}

.benefit-content h5 {
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
    font-size: 1.15em;
}

.benefit-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* CTA Section */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, #f5f5f7 0%, #e8e8ed 100%);
    color: var(--text-primary);
    text-align: center;
    position: relative;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 30% 50%, rgba(30, 58, 95, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(30, 58, 95, 0.04) 0%, transparent 50%);
    pointer-events: none;
}

.cta > * {
    position: relative;
    z-index: 1;
}

.cta h2 {
    font-size: 2.5em;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.cta p {
    font-size: 1.3em;
    margin-bottom: 40px;
    color: var(--text-secondary);
}

/* Features Section */
.features {
    padding: 80px 0;
    background: linear-gradient(180deg, #f5f5f7 0%, #ffffff 50%, #f5f5f7 100%);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5em;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 15px;
    letter-spacing: -0.01em;
}

.section-title p {
    font-size: 1.2em;
    color: var(--text-secondary);
    font-weight: 400;
}

/* Process Section */
.process {
    padding: 80px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f5f5f7 100%);
}

.process .row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

.process .col {
    display: flex;
}

.step-card {
    display: flex;
    flex-direction: column;
    text-align: center;
    padding: 30px 20px;
    background: var(--bg-primary);
    border-radius: 16px;
    border: 1px solid var(--border-primary);
    margin-bottom: 20px;
    transition: transform 0.3s ease;
    width: 100%;
}

.step-card:hover {
    transform: translateY(-5px);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-hover) 100%);
    color: white;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8em;
    font-weight: 600;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(30, 58, 95, 0.3);
}

.step-card h5 {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.step-card p {
    color: var(--text-secondary);
    font-size: 0.95em;
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background: var(--bg-primary);
}

.collapsible {
    border: none;
    box-shadow: none;
}

.collapsible > li {
    border: none;
    box-shadow: none;
    margin-bottom: 20px;
}

.collapsible-item {
    border: none;
    box-shadow: none;
    margin-bottom: 20px;
}

.collapsible-header {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-primary);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    color: var(--text-primary);
    font-weight: 500;
    box-shadow: none;
}

.collapsible-header:hover {
    background-color: var(--bg-tertiary);
}

.collapsible-header i {
    color: var(--accent-primary);
    margin-right: 15px;
}

.collapsible li.active .collapsible-header {
    border-radius: 12px 12px 0 0;
    border-bottom: none;
}

.collapsible-body {
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-primary);
    border-top: 1px solid var(--border-primary);
    padding: 20px;
    border-radius: 0 0 12px 12px;
    box-shadow: none;
    margin-top: 0;
}

.collapsible-body p {
    color: var(--text-primary);
    margin: 0;
}

/* Why It Matters Section */
.why-matters {
    padding: 80px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f5f5f7 100%);
}

.legal-overview {
    background: var(--bg-primary);
    border-radius: 18px;
    border: 1px solid var(--border-primary);
    padding: 50px;
    box-shadow: 0 4px 20px rgba(30, 58, 95, 0.08);
}

.legal-intro {
    text-align: center;
    margin-bottom: 50px;
}

.legal-intro h3 {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1.8em;
    margin-bottom: 15px;
    letter-spacing: -0.01em;
}

.legal-intro p {
    color: var(--text-secondary);
    font-size: 1.1em;
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto;
}

/* Timeline */
.timeline-container {
    position: relative;
    padding: 20px 0;
}

.timeline-item {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    position: relative;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 70px;
    width: 2px;
    height: calc(100% + 10px);
    background: linear-gradient(180deg, var(--accent-primary) 0%, var(--border-primary) 100%);
}

.timeline-marker {
    flex-shrink: 0;
}

.timeline-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-hover) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8em;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(30, 58, 95, 0.3);
}

.timeline-content {
    flex: 1;
    padding: 10px 0;
}

.timeline-period {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-hover) 100%);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 600;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(30, 58, 95, 0.25);
}

.timeline-content h4 {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1.3em;
    margin-bottom: 8px;
}

.timeline-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Warning and Info Cards */
.warning-card,
.info-card {
    background: var(--bg-primary);
    border-radius: 18px;
    padding: 30px;
    height: 100%;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-primary);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.warning-card:hover,
.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.warning-card {
    border-left: 4px solid var(--error);
}

.info-card {
    border-left: 4px solid var(--accent-primary);
}

.warning-icon-wrapper,
.info-icon-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.warning-icon-wrapper {
    background: linear-gradient(135deg, #fff3f3 0%, #ffe5e5 100%);
}

.info-icon-wrapper {
    background: linear-gradient(135deg, #e8eef5 0%, #d4dce8 100%);
}

.warning-icon-wrapper i {
    color: var(--error);
    font-size: 28px;
}

.info-icon-wrapper i {
    color: var(--accent-primary);
    font-size: 28px;
}

/* Modern horizontal card layout */
.card-header-flex {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.card-header-flex .warning-icon-wrapper,
.card-header-flex .info-icon-wrapper {
    margin-bottom: 0;
    flex-shrink: 0;
}

.card-header-flex h4 {
    margin: 0;
    line-height: 1.3;
}

.warning-card h4,
.info-card h4 {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1.25em;
    margin-bottom: 12px;
    line-height: 1.3;
}

.warning-card p,
.info-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

/* Expert Info Box */
.expert-info {
    background: linear-gradient(135deg, #f5f5f7 0%, #ffffff 100%);
    border: 1px solid var(--border-primary);
    border-radius: 18px;
    padding: 40px;
    display: flex;
    align-items: flex-start;
    gap: 30px;
    box-shadow: 0 4px 20px rgba(30, 58, 95, 0.08);
}

.expert-badge {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-hover) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(30, 58, 95, 0.3);
}

.expert-badge i {
    color: white;
    font-size: 48px;
}

.expert-content h3 {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1.5em;
    margin-bottom: 15px;
    letter-spacing: -0.01em;
}

.expert-content p {
    color: var(--text-primary);
    line-height: 1.7;
    margin-bottom: 12px;
    font-size: 1.05em;
}

.expert-content p:last-child {
    margin-bottom: 0;
}

/* Footer */
footer {
    background: var(--bg-secondary);
    color: var(--text-secondary);
    padding: 40px 0 20px 0;
    border-top: 1px solid var(--border-primary);
}

footer h5 {
    text-align: left;
    margin-bottom: 15px;
    color: var(--text-primary);
    font-size: 1.1em !important;
    font-weight: 600 !important;
}

footer p {
    line-height: 1.6;
}

footer p,
footer ul li,
footer a {
    font-size: 0.9em !important;
}

footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

footer ul li {
    margin-bottom: 8px;
}

footer a {
    color: var(--text-secondary);
    transition: color 0.2s ease;
    text-decoration: none;
}

footer a:hover {
    color: var(--text-primary);
}

footer ul.contact-info li {
    font-size: 0.85em !important;
}

/* Content Pages */
.content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px 60px 20px;
}

.content h2 {
    color: var(--text-primary);
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 1.8em;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.content h3 {
    color: var(--text-primary);
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.4em;
    font-weight: 600;
}

.content p {
    margin-bottom: 15px;
    text-align: justify;
    color: var(--text-primary);
}

.content ol,
.content ul {
    margin-left: 40px;
    margin-bottom: 20px;
}

.content li {
    margin-bottom: 10px;
    color: var(--text-primary);
}

/* Info Boxes */
.highlight,
.info-box,
.advisor-box {
    background-color: var(--bg-secondary);
    padding: 20px;
    border-left: 3px solid var(--accent-primary);
    margin: 30px 0;
    border-radius: 8px;
    border: 1px solid var(--border-primary);
}

.info-box strong {
    color: var(--accent-primary);
}

/* Tables */
.content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    border: 1px solid var(--border-primary);
    border-radius: 8px;
    overflow: hidden;
}

.content table th {
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    padding: 12px;
    text-align: left;
    font-weight: 600;
}

.content table td {
    padding: 12px;
    border-bottom: 1px solid var(--border-primary);
}

.content table tr:nth-child(even) {
    background-color: var(--bg-tertiary);
}

/* Order Form Specific */
.package-info {
    background: var(--bg-secondary);
    color: var(--text-primary);
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
    border: 1px solid var(--border-primary);
}

.package-info h5 {
    margin-top: 0;
    font-weight: 600;
    color: var(--text-primary);
}

.package-items {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.package-items li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border-primary);
    color: var(--text-primary);
}

.package-items li:last-child {
    border-bottom: none;
}

.package-items i {
    vertical-align: middle;
    margin-right: 10px;
    color: var(--accent-primary);
}

.price-tag {
    font-size: 2.5em;
    font-weight: 600;
    text-align: center;
    margin-top: 20px;
    color: var(--text-primary);
}

.price-tag small {
    font-size: 0.4em;
    font-weight: 400;
    color: var(--text-secondary);
}

/* Success/Error/Cancel Pages */
.success-icon {
    text-align: center;
    margin-bottom: 30px;
}

.success-icon i {
    font-size: 80px;
    color: var(--success);
    animation: scaleIn 0.5s ease-out;
    display: inline-block;
}

.error-icon {
    font-size: 80px;
    color: var(--error);
}

.cancel-icon {
    font-size: 80px;
    color: var(--warning);
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.subtitle {
    color: var(--text-secondary);
    font-size: 1.05em;
    margin-bottom: 30px;
}

.error-box {
    background-color: #fff3f3;
    padding: 20px;
    border-radius: 12px;
    border-left: 3px solid var(--error);
    margin: 30px 0;
    text-align: left;
}

.error-box p {
    color: #c7254e;
    margin: 0;
}

.next-steps {
    background: var(--bg-secondary);
    padding: 25px;
    border-radius: 12px;
    margin: 30px 0;
    text-align: left;
    border: 1px solid var(--border-primary);
}

.next-steps h5 {
    color: var(--text-primary);
    margin-top: 0;
    font-weight: 600;
}

.next-steps ol {
    margin-left: 20px;
}

.next-steps li {
    margin: 10px 0;
    color: var(--text-primary);
}

/* Utility Classes */
.btn-home,
.btn-retry {
    border-radius: 12px;
    box-shadow: none;
    text-transform: none;
    margin: 10px;
}

.btn-retry {
    background: var(--success);
}

.btn-retry:hover {
    background: #30b350;
}

.stats {
    display: flex;
    justify-content: space-around;
    margin: 50px 0;
    text-align: center;
}

.stat-item {
    flex: 1;
    padding: 20px;
}

.stat-number {
    font-size: 3em;
    font-weight: 600;
    color: var(--text-primary);
}

.stat-label {
    color: var(--text-secondary);
    font-size: 1.05em;
}

.feature-item {
    padding: 20px;
    margin: 20px 0;
    background-color: var(--bg-secondary);
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.feature-item i {
    color: var(--accent-primary);
    font-size: 40px;
    margin-right: 15px;
    vertical-align: middle;
}

.feature-item strong {
    color: var(--text-primary);
    font-size: 1.15em;
    font-weight: 600;
}

body.order-page {
    background: var(--bg-secondary);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container.order-container {
    max-width: 800px;
    margin: 40px auto;
}

.container.order-result {
    max-width: 600px;
    margin: 40px auto;
}

.header-section {
    text-align: center;
    margin-bottom: 30px;
}

.header-section h1 {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}

.header-section p {
    color: var(--text-secondary);
    font-size: 1.05em;
}

.helper-text {
    color: var(--text-tertiary);
    font-size: 0.9em;
    display: block;
    margin-top: 5px;
}

.email-icon {
    vertical-align: middle;
    margin-right: 5px;
}

/* Mobile Responsive */
@media only screen and (max-width: 992px) {
    /* Center logo on mobile */
    nav .brand-logo {
        left: 50%;
        transform: translateX(-50%);
        position: absolute;
        font-size: 0.95em;
        white-space: nowrap;
    }

    nav .brand-logo i {
        font-size: 1.1em;
    }

    /* Hero section mobile */
    .hero {
        min-height: 100vh;
        padding: 80px 0 60px 0;
    }

    .hero h1 {
        font-size: 2.5em;
    }

    .hero p {
        font-size: 1.2em !important;
    }

    .scroll-indicator {
        bottom: 20px;
    }

    /* Feature cards spacing */
    .feature-card {
        margin-bottom: 25px !important;
    }

    .features .col {
        margin-bottom: 20px;
    }

    /* Process/Steps cards - modern horizontal layout */
    .step-card {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        gap: 20px;
        text-align: left !important;
        padding: 25px 20px !important;
    }

    .step-number {
        flex-shrink: 0;
        width: 50px !important;
        height: 50px !important;
        font-size: 1.5em !important;
        margin-bottom: 0 !important;
    }

    .step-content {
        flex: 1;
    }

    .step-content h5 {
        margin-top: 0;
        text-align: left;
    }

    .step-content p {
        text-align: left;
    }

    .hero h1 {
        font-size: 2.5em;
    }

    h2 {
        font-size: 2em;
    }

    .stats {
        flex-direction: column;
    }

    .package-items-grid {
        grid-template-columns: 1fr;
    }

    .package-header {
        padding: 30px 25px;
        flex-direction: column;
        align-items: flex-start;
    }

    .price-badge {
        display: none;
    }

    .package-item-modern {
        padding: 25px 20px;
        border-right: none !important;
    }

    .package-item-modern:last-child {
        border-bottom: none;
    }

    .package-footer {
        padding: 30px 20px;
    }

    .package-header h3 {
        font-size: 1.5em;
    }

    .card-header-flex {
        gap: 15px;
    }

    .warning-icon-wrapper,
    .info-icon-wrapper {
        width: 45px;
        height: 45px;
    }

    .warning-icon-wrapper i,
    .info-icon-wrapper i {
        font-size: 24px;
    }

    .card-header-flex h4 {
        font-size: 1.15em;
    }

    .legal-overview {
        padding: 30px 20px;
    }

    .timeline-item {
        gap: 20px;
    }

    .timeline-number {
        width: 50px;
        height: 50px;
        font-size: 1.5em;
    }

    .timeline-item:not(:last-child)::before {
        left: 25px;
        top: 60px;
    }

    .warning-card,
    .info-card {
        padding: 25px;
        margin-bottom: 20px;
    }

    .expert-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 30px 20px;
    }

    .expert-badge {
        width: 70px;
        height: 70px;
    }

    .expert-badge i {
        font-size: 40px;
    }
}

@media only screen and (max-width: 600px) {
    .hero h1 {
        font-size: 2em;
    }

    .card-content {
        padding: 20px;
    }

    .hero .btn,
    .hero .btn-large {
        display: block !important;
        width: 100% !important;
        margin: 10px 0 !important;
        text-align: center !important;
    }

    .hero a.btn:first-of-type,
    .hero a.btn-large:first-of-type {
        margin-bottom: 15px !important;
    }
}

/* Order Form Wizard Styles */
body.order-page {
    background: var(--bg-secondary);
    display: block;
}

.wizard-container {
    max-width: 800px;
    margin: 100px auto 60px auto;
    padding: 0 20px;
    clear: both;
    width: 100%;
}

.wizard-progress {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
}

.wizard-progress::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--border-primary);
    z-index: 0;
}

.wizard-progress-fill {
    position: absolute;
    top: 20px;
    left: 0;
    height: 2px;
    background: var(--accent-primary);
    transition: width 0.3s ease;
    z-index: 1;
}

.wizard-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    flex: 1;
}

.wizard-step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-primary);
    border: 2px solid var(--border-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--text-tertiary);
    transition: all 0.3s ease;
}

.wizard-step.active .wizard-step-number {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: white;
}

.wizard-step.completed .wizard-step-number {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: white;
}

.wizard-step-label {
    margin-top: 10px;
    font-size: 0.85em;
    color: var(--text-tertiary);
    text-align: center;
}

.wizard-step.active .wizard-step-label {
    color: var(--accent-primary);
    font-weight: 600;
}

.wizard-content {
    background: var(--bg-primary);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-primary);
}

.wizard-screen {
    display: none;
}

.wizard-screen.active {
    display: block;
    animation: fadeInWizard 0.3s ease;
}

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

.wizard-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 30px;
    gap: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}


.package-summary {
    background: var(--bg-secondary);
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.package-summary h5 {
    margin-top: 0;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.package-summary ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.package-summary li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-primary);
    display: flex;
    align-items: center;
}

.package-summary li:last-child {
    border-bottom: none;
}

.package-summary li i {
    color: var(--accent-primary);
    margin-right: 15px;
}

.price-display {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-light) 100%);
    color: white;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    margin-top: 20px;
}

.price-display .price-label {
    font-size: 0.9em;
    opacity: 0.9;
    margin-bottom: 5px;
}

.price-display .price-amount {
    font-size: 2.5em;
    font-weight: 700;
    line-height: 1;
}

.price-display .price-vat {
    font-size: 0.85em;
    opacity: 0.9;
    margin-top: 5px;
}

.wizard-content label {
    margin-bottom: 15px;
}

/* Wizard Navigation Buttons */
.wizard-actions .btn:not(.btn-order) {
    background: linear-gradient(180deg, var(--accent-primary) 0%, var(--accent-hover) 100%) !important;
    box-shadow: 0 2px 8px rgba(30, 58, 95, 0.25) !important;
    height: 48px;
    line-height: 48px;
    padding: 0 32px;
    font-size: 16px;
    font-weight: 500;
}

.wizard-actions .btn:not(.btn-order):hover {
    background: linear-gradient(180deg, #2d3748 0%, var(--accent-primary) 100%) !important;
    box-shadow: 0 6px 16px rgba(30, 58, 95, 0.3) !important;
}

.wizard-actions #prevBtn {
    background: transparent !important;
    color: var(--text-primary) !important;
    box-shadow: none !important;
    border: 1px solid var(--border-primary) !important;
    height: 48px;
    line-height: 48px;
    padding: 0 32px;
    font-size: 16px;
    font-weight: 500;
}

.wizard-actions #prevBtn:hover {
    background: var(--bg-secondary) !important;
    border-color: var(--accent-primary) !important;
}


@media only screen and (max-width: 600px) {
    .wizard-container {
        margin-top: 80px;
    }

    .wizard-content {
        padding: 25px 20px;
    }

    .wizard-step-label {
        font-size: 0.7em;
    }

    .wizard-actions {
        flex-direction: column-reverse;
        gap: 10px;
    }

    .wizard-actions .btn {
        width: 100%;
        margin: 0;
    }
}

/* Fix for Materialize input fields with prefix - ensure clickable */
.input-field input[type=text],
.input-field input[type=email],
.input-field input[type=tel],
.input-field input[type=date],
.input-field input[type=number] {
    cursor: text !important;
    pointer-events: auto !important;
}

.input-field .prefix ~ input {
    margin-left: 3rem;
    width: calc(100% - 3rem);
}

.input-field .prefix {
    pointer-events: none;
}

/* ============================================
   PROFESSIONAL GOLD ACCENTS - Legal Theme
   ============================================ */

/* Primary CTA Buttons with Gold */
.btn-large.waves-effect {
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-dark) 100%) !important;
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.25) !important;
    color: #1a1f35 !important;
    font-weight: 600 !important;
}

.btn-large.waves-effect:hover {
    background: linear-gradient(135deg, var(--accent-gold-light) 0%, var(--accent-gold) 100%) !important;
    color: #1a1f35 !important;
    box-shadow: 0 6px 24px rgba(212, 175, 55, 0.35) !important;
    transform: translateY(-2px);
}
a:hover {
    color: var(--accent-gold) !important;
}

/* Active Navigation Links */
nav a.active {
    color: var(--accent-gold) !important;
    border-bottom: 2px solid var(--accent-gold);
}

/* Icons with Gold Accent */
.material-icons.gold-accent,
i.material-icons.accent {
    color: var(--accent-gold);
}

/* Section Headers with Gold Underline */
h2::after,
.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-gold) 0%, var(--accent-gold-light) 100%);
    margin: 16px auto 0;
    border-radius: 2px;
}

/* Feature Cards Hover with Gold Border */
.feature-card:hover,
.pricing-card:hover,
.service-item:hover {
    border-color: var(--accent-gold) !important;
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.15);
}

/* Checkmarks and Success Icons */
.check-icon,
.success-icon,
i.material-icons.check {
    color: var(--accent-gold) !important;
}

/* Footer Links Hover */
footer a:hover {
    color: var(--accent-gold) !important;
}

/* Progress Indicators */
.progress .determinate {
    background-color: var(--accent-gold) !important;
}

/* Badge/Pill Elements */
.badge.gold,
.chip.gold {
    background-color: var(--accent-gold);
    color: #1a1f35;
}

/* Borders and Dividers with Gold */
.gold-border-top {
    border-top: 3px solid var(--accent-gold);
}

.gold-border-bottom {
    border-bottom: 3px solid var(--accent-gold);
}

/* Professional Shine Effect */
.shine-effect::before {
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.2), transparent);
}


