/*
Theme Name: LexWeb
Theme URI: https://lexweb.pl
Author: Rafał Ignaczak
Author URI: https://lexweb.pl
Description: Custom theme for LexWeb - Digital Experience dla Prawa.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lexweb
*/

:root {
    /* Premium Dark/Light Hybrid */
    --bg-page: #F8FAFC;
    --text-primary: #0B1120;
    --text-muted: #64748B;

    --brand-accent: #2563EB;
    --brand-gold: #D4AF37;

    --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
    --ease-elastic: cubic-bezier(0.68, -0.6, 0.32, 1.6);

    --bg-dark: #0B1120;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-size: 90%;
    /* Global Scale: 14.4px */
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-primary);
    background: var(--bg-page);
    background: var(--bg-page);
    overflow-x: hidden;
}

/* General Text Boost (+1 size) */
p,
li,
.btn,
input,
select,
textarea {
    font-size: 1.1rem;
    /* Bumping base text from implicit 1rem */
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #0B1120;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family: 'Playfair Display', serif;
}

.preloader-counter {
    font-size: 8rem;
    font-weight: 700;
    opacity: 0;
    /* JS Fade in */
}

/* Cursor styles removed */

/* Utilities */
.container {
    max-width: 1400px;
    /* Wider for agency feel */
    margin: 0 auto;
    padding: 0 40px;
    margin: 0 auto;
    padding: 0 40px;
}

.section-padding {
    padding: 120px 0;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px;
}

.section-header h2 {
    margin-bottom: 24px;
    font-size: 3rem;
}

.text-gold {
    color: var(--brand-gold);
}

.text-blue {
    color: var(--brand-accent);
}

.text-white {
    color: #fff;
}

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

.bg-dark {
    background-color: var(--bg-dark);
    color: #fff;
}

/* Typography */
h1,
h2,
h3,
h4,
.logo,
.nav-link,
.hero-label,
.case-text h2,
.pc-header h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    line-height: 1.1;
}

.btn {
    display: inline-flex;
    padding: 16px 32px;
    border-radius: 50px;
    /* Pill shape */
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--text-primary);
    color: #fff;
}

border: 1px solid rgba(11, 17, 32, 0.2);
color: var(--text-primary);
}

/* Shiny Button Animation */
.btn-shine {
    position: relative;
    overflow: hidden;
}

.btn-shine::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.3) 50%,
            rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }

    20% {
        left: 200%;
    }

    100% {
        left: 200%;
    }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 24px 0;
    z-index: 100;
    mix-blend-mode: normal;
    /* Changed from difference for better visibility control */
    color: var(--text-primary);
    transition: all 0.4s ease;
}

.navbar.scrolled {
    background: rgba(11, 17, 32, 0.85);
    /* Dark tint */
    backdrop-filter: blur(12px);
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar.scrolled .logo,
.navbar.scrolled .nav-link,
.navbar.scrolled .nav-link::after {
    color: #fff;
    border-color: #fff;
    /* For any borders */
}

.navbar.scrolled .nav-link::after {
    background: #fff;
}

.navbar.scrolled .bar {
    background: #fff;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    z-index: 101;
    /* Above overlay */
    position: relative;
    color: var(--text-primary);
    /* Force white for mix-blend safety */
}

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

.nav-link {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-primary);
    text-decoration: none;
    position: relative;
    cursor: pointer;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--text-primary);
    transition: width 0.3s var(--ease-out-expo);
}

.nav-link:hover::after {
    width: 100%;
}

/* Mobile Menu & Hamburger */
.hamburger {
    display: none;
    /* Desktop default */
    width: 32px;
    height: 24px;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 101;
    /* Above overlay */
    position: relative;
}

.bar {
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    transition: 0.3s ease;
}

/* Open State for Burger */
.hamburger.active .bar-1 {
    transform: translateY(11px) rotate(45deg);
}

.hamburger.active .bar-2 {
    transform: translateY(-11px) rotate(-45deg);
}

/* Mobile Overlay */
/* Mobile Overlay (Dropdown Style) */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    /* Don't take full height */
    bottom: auto;
    /* explicit */

    background: rgba(11, 17, 32, 0.98);
    z-index: 99;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;

    padding-top: 100px;
    /* Clear header space */
    padding-bottom: 40px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);

    opacity: 0;
    visibility: hidden;
    transition: 0.4s var(--ease-out-expo);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 32px;
    text-align: center;
}

.mobile-link {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 3rem;
    color: #fff;
    /* Ensure contrast */
    text-decoration: none;
    opacity: 0;
    transform: translateY(20px);
    transition: 0.5s ease;
}

.mobile-menu-overlay.active .mobile-link {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Nav Logic */
@media (max-width: 768px) {
    .desktop-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    /* Fix logo color vs white bg sections manually if needed, or rely on dark navbar.scrolled */
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-bg-anim {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 60% 40%, #E0E7FF 0%, transparent 40%);
    opacity: 0.6;
}

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

.hero-label {
    display: block;
    margin-bottom: 24px;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
}

/* Hero Title - Responsive Sizing */
.hero-title {
    font-size: clamp(3rem, 6vw, 5rem);
    /* Fluent scaling */
    margin-bottom: 40px;
    opacity: 1;
    line-height: 1.15;
}

.line-mask {
    overflow: hidden;
    padding-top: 0.15em;
    padding-bottom: 0.25em;
    margin-top: -0.15em;
    margin-bottom: -0.25em;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 40px;
}

/* Mobile Link Sizing */
.mobile-link {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 2rem;
    /* Reduced from 3rem */
    color: #fff;
    text-decoration: none;
    opacity: 0;
    transform: translateY(20px);
    transition: 0.5s ease;
}

/* Mobile CTA Button */
.mobile-btn {
    opacity: 0;
    transform: translateY(20px);
    transition: 0.5s ease 0.1s;
    margin-top: 20px;
}

.mobile-menu-overlay.active .mobile-btn {
    opacity: 1;
    transform: translateY(0);
}

/* Timeline Softening */
.timeline-line {
    background: linear-gradient(180deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.1) 15%,
            rgba(255, 255, 255, 0.1) 85%,
            rgba(255, 255, 255, 0) 100%);
}

.scroll-ind {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--text-primary);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 4px;
    background: var(--text-primary);
    border-radius: 50%;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
    0% {
        top: 8px;
        opacity: 1;
    }

    100% {
        top: 30px;
        opacity: 0;
    }
}

/* Case Study Section (Modern Redesign) - Compact */
.case-study-modern {
    padding: 80px 0;
    /* Reduced from 120px */
    background: var(--bg-dark);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.case-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    /* Reduced gap */
    align-items: center;
}

.case-desc {
    color: var(--text-muted);
    line-height: 1.6;
    /* Tighter line height */
    margin-bottom: 24px;
    /* Reduced margin */
    font-size: 1rem;
    /* Slightly smaller */
    max-width: 500px;
}

.stats-grid {
    display: flex;
    gap: 32px;
    margin-top: 32px;
}

.stat-val {
    font-size: 2rem;
    /* Reduced from 2.5rem */
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    background: linear-gradient(45deg, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-unit {
    font-size: 1rem;
    color: var(--brand-accent);
    margin-left: 4px;
}

.stat-label {
    font-size: 0.95rem;
    color: #64748B;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 8px;
}

/* Visual Mockup */
.case-visual {
    position: relative;
    width: 100%;
}

.mockup-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.5);
    background: #000;
    transition: transform 0.5s ease;
}

.case-visual:hover .mockup-wrapper {
    transform: scale(1.02);
}

.mockup-img {
    width: 100%;
    height: auto;
    display: block;
    mix-blend-mode: normal;
}

.glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.2) 0%, rgba(0, 0, 0, 0) 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: -1;
}

@media (max-width: 1024px) {
    .case-grid {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }

    .case-desc {
        margin: 0 auto 40px;
    }

    .stats-grid {
        justify-content: center;
    }

    .mockup-wrapper {
        margin: 0 -20px;
        /* Bleed on mobile */
        border-radius: 0;
        box-shadow: none;
    }

    .case-study-modern {
        padding: 80px 0;
    }
}

/* Heading Spacing */
h1 {
    letter-spacing: -2px;
}

h2 {
    letter-spacing: -1px;
}

/* Security Grid (Redesigned) */
.security-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    padding: 64px 0;
}

@media (max-width: 768px) {
    .security-grid {
        grid-template-columns: 1fr;
    }
}

.sec-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 24px;
    transition: transform 0.3s ease, background 0.3s;
}

.sec-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
}

.sec-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.sec-card h3 {
    color: #fff;
    margin-bottom: 12px;
    font-size: 1.25rem;
}

.sec-card p {
    color: #94a3b8;
    font-size: 1.05rem;
    line-height: 1.6;
}

/* Alternating Timeline Styling */
.timeline-alternating-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr auto 1fr;
    gap: 20px;
    /* Horizontal Gap */
    row-gap: 0;
    /* No gap between axis and content to allow connectors to touch */
    max-width: 1100px;
    margin: 60px auto 0;
    position: relative;
    min-height: 400px;
}

/* Axis Line (SVG) */
.timeline-axis-svg-container {
    grid-column: 1 / -1;
    grid-row: 2;
    position: relative;
    height: 140px;
    /* Taller for wave amplitude */
    width: 100%;
    margin: -40px 0;
    /* Overlap with grid rows slightly to close gaps */
    z-index: 0;
    pointer-events: none;
}

.wavy-line-svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

/* Axis Nodes (Dots) - Positioned to match wave peaks/troughs */
.axis-node {
    width: 20px;
    height: 20px;
    background: #fff;
    border: 4px solid var(--brand-accent);
    border-radius: 50%;
    position: absolute;
    transform: translate(-50%, -50%);
    z-index: 2;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

/* Approximate match to SVG path High/Low points */
.node-1 {
    left: 16.6%;
    top: 35%;
}

/* Peak (High/Row1) */
.node-2 {
    left: 50%;
    top: 65%;
}

/* Trough (Low/Row3) */
.node-3 {
    left: 83.3%;
    top: 35%;
}

/* Peak (High/Row1) */

/* Timeline Items */
.tl-item {
    position: relative;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Positioning in Grid - Updated Order: Top-Bottom-Top */
.pos-1 {
    grid-column: 1;
    grid-row: 1;
    margin-bottom: -20px;
}

.pos-2 {
    grid-column: 2;
    grid-row: 3;
    margin-top: -20px;
}

.pos-3 {
    grid-column: 3;
    grid-row: 1;
    margin-bottom: -20px;
}

/* Item Content Card */
.tl-content-card {
    background: #fff;
    padding: 24px;
    border-radius: 20px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.03);
    text-align: center;
    position: relative;
    width: 100%;
    transition: transform 0.3s ease;
}

.tl-content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
}

/* Typography */
.tl-step {
    font-size: 2.5rem;
    font-weight: 800;
    color: #F1F5F9;
    position: absolute;
    top: 10px;
    right: 20px;
    z-index: 0;
}

.tl-content-card h3 {
    margin: 10px 0 5px;
    color: var(--text-primary);
    font-size: 1.2rem;
    position: relative;
    z-index: 1;
}

.tl-time {
    display: inline-block;
    background: #EFF6FF;
    color: var(--brand-accent);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.tl-content-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

/* Connectors */
.tl-connector {
    width: 2px;
    background: linear-gradient(to bottom, var(--brand-accent) 50%, transparent 50%);
    background-size: 2px 10px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
    opacity: 0.5;
}

/* Adjust connector lengths to cross the wave amplitude */
/* Top Items (1 & 3) -> Wave dips DOWN (away) -> Long connector */
.item-top .tl-connector {
    top: 100%;
    height: 100px;
    /* Reach the deep trough */
}

/* Bottom Item (2) -> Wave peaks UP (away) -> Long connector */
.item-bottom .tl-connector {
    bottom: 100%;
    height: 100px;
    /* Reach the high peak */
}


/* Mobile Handling */
@media (max-width: 768px) {
    .timeline-alternating-wrapper {
        display: flex;
        flex-direction: column;
        gap: 32px;
        margin-top: 32px;
    }

    .timeline-axis-svg-container {
        display: none;
    }

    /* Hide wavy axis on mobile */

    .timeline-axis {
        display: none;
    }

    /* Hide axis on mobile */

    .tl-item {
        width: 100%;
        padding: 0;
        margin: 0;
        /* Reset negative margins */
    }

    .tl-connector {
        display: none;
    }

    /* Revert positioning */
    .pos-1,
    .pos-2,
    .pos-3 {
        grid-column: auto;
        grid-row: auto;
    }

    /* Add simple numbering or vertical line logic for mobile if needed, but simple stack is clean */
}

/* Pricing Grid (Side-by-Side) */
.pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    max-width: 900px;
    /* Reduced max-width for compactness */
    margin: 40px auto 0;
    align-items: stretch;
}

.pricing-card {
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 24px;
    padding: 24px;
    /* Reduced from 32px */
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.3s;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.08);
}

.pricing-card.pro {
    border: 2px solid var(--brand-accent);
    background: #FAFAFA;
}

.pc-header {
    margin-bottom: 32px;
    text-align: center;
}

.pc-price {
    font-size: 3rem;
    font-weight: 800;
    margin: 16px 0;
    color: var(--text-primary);
}

.pc-price .netto {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}

.pc-features {
    list-style: none;
    margin-bottom: 40px;
    flex-grow: 1;
    /* Push button down */
}

.pc-features li {
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
    color: var(--text-secondary);
}

.btn.full-width {
    width: 100%;
}

.tag-floating {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--brand-accent);
    color: #fff;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive Pricing */
@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

/* Grain Overlay (Subtle Gradient/Texture) */
.grain-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9998;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0) 0%, rgba(0, 0, 0, 0.03) 100%);
    opacity: 0.8;
}

/* Footer Reveal Effect */
/* Ensure the last section before footer covers the footer initially */
.bg-white {
    position: relative;
    z-index: 2;
    background: #fff;
}

/* The Footer sits fixed/sticky at bottom */
.creative-footer {
    position: sticky;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #0B1120;
    color: #fff;
    padding: 120px 0 40px;
}

/* Footer Main Grid - Force Desktop Layout */
.footer-main-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: flex-start;
    max-width: 1000px;
    margin: 0 auto;
}

/* Explicit guard for desktop */
@media (min-width: 992px) {
    .footer-main-grid {
        grid-template-columns: 1fr 1fr !important;
        display: grid !important;
    }
}

/* Footer Left Info */
.footer-info {
    text-align: left;
    padding-top: 10px;
    /* Visual alignment with Form Header */
}

.footer-brand h4 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 16px;
}

.footer-brand p {
    color: #94A3B8;
    font-size: 1.1rem;
    margin-bottom: 60px;
    /* Reduced to pull contacts closer */
    line-height: 1.6;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    /* Tighter gap for person/email/phone group */
}

/* Label class removed from HTML but keeping just in case or remove if unused */
.ci-label {
    display: none;
}

.contact-item a {
    color: #fff;
    font-size: 1.5rem;
    text-decoration: none;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 200;
    /* Ultra Thin / Extra Light */
    transition: all 0.3s ease;
    display: inline-block;
}

.contact-item a:hover {
    color: var(--brand-accent);
    transform: translateX(10px);
}

/* Contact Person Styling - Exact Match to Links */
.person-name {
    color: #fff;
    font-size: 1.5rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 200;
    /* Ultra Thin */
    display: block;
    margin-bottom: 4px;
    /* Tiny gap to email */
}

.contact-item.person-item {
    margin-top: 20px;
    /* Space from brand text */
}

/* Footer Form Wrapper */
.footer-form-wrapper {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.3);
}

.footer-form-wrapper h3 {
    margin-bottom: 24px;
    font-size: 1.5rem;
    color: #fff;
}

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

.form-group-footer input,
.form-group-footer select {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 16px;
    color: #fff;
    font-size: 1rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    transition: all 0.3s;
}

.form-group-footer select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
}

.form-group-footer input:focus,
.form-group-footer select:focus {
    outline: none;
    border-color: var(--brand-accent);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

/* Modern Button Styling for Footer */
.footer-contact-form button {
    margin-top: 10px;
    background: var(--brand-gold);
    /* Muted Yellow */
    border: none;
    color: #fff;
    font-weight: 700;
    padding: 16px;
    border-radius: 12px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px -5px rgba(212, 175, 55, 0.4);
    /* Gold shadow */
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.footer-contact-form button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px -5px rgba(212, 175, 55, 0.5);
    filter: brightness(1.1);
}

.footer-contact-form button:active {
    transform: translateY(0) scale(0.98);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-check-footer {
    display: flex;
    gap: 10px;
    font-size: 0.95rem;
    color: #94A3B8;
    line-height: 1.4;
    align-items: flex-start;
}

.form-check-footer input {
    margin-top: 3px;
    accent-color: var(--brand-accent);
}

.footer-bottom {
    margin-top: 80px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    color: #475569;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .footer-main-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-info {
        text-align: center;
        padding-top: 0;
    }

    .contact-item a:hover {
        transform: none;
        /* Simplify on mobile */
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}


/* Contact Modal Redesign */
.contact-modal {
    position: fixed;
    inset: 0;
    background: rgba(11, 17, 32, 0.95);
    backdrop-filter: blur(20px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
}

.contact-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-close {
    position: absolute;
    top: 40px;
    right: 40px;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    z-index: 2;
    transition: transform 0.3s;
}

.modal-close:hover {
    transform: rotate(90deg);
}

.modal-content {
    width: 100%;
    max-width: 600px;
    padding: 0 40px;
    position: relative;
    text-align: center;
}

.modal-step {
    display: none;
    flex-direction: column;
    align-items: center;
    animation: fadeInStep 0.5s ease forwards;
}

.modal-step.active {
    display: flex;
}

@keyframes fadeInStep {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-counter {
    font-family: 'Plus Jakarta Sans';
    font-size: 0.9rem;
    color: var(--brand-accent);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: rgba(37, 99, 235, 0.1);
    padding: 6px 16px;
    border-radius: 20px;
}

.modal-step h2 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 12px;
    line-height: 1.2;
}

.modal-subtitle {
    color: #94A3B8;
    margin-bottom: 40px;
    font-size: 1rem;
}

.modal-subtitle strong {
    color: #fff;
}

/* Deadline Cards (Step 1) */
.deadline-options {
    display: grid;
    gap: 16px;
    width: 100%;
}

.deadline-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 24px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 20px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-align: left;
    width: 100%;
}

.deadline-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--brand-accent);
    transform: translateX(10px);
}

.d-icon {
    font-size: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.d-label {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    display: block;
}

.d-sub {
    font-size: 0.95rem;
    color: #64748B;
    display: block;
    margin-top: 2px;
}

/* Modal Form Card Container */
.modal-form-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 32px;
    width: 100%;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    margin-bottom: 20px;
}

/* Modal Form Adjustment */
.modal-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: left;
}

/* Blue-White Button Style */
.btn-blue-white {
    margin-top: 10px;
    background: var(--brand-accent);
    /* Blue Base */
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-weight: 700;
    padding: 16px;
    border-radius: 12px;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    /* Blue shadow */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: none;
    width: 100%;
}

.btn-blue-white:hover {
    background: #3B82F6;
    /* Lighter Blue */
    border-color: #fff;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.5), 0 0 0 2px rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Global Button Resets (Enforcing Centering & Hover) */
.btn,
button,
.choice-btn,
.deadline-card,
a.btn,
.footer-contact-form button {
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: none;
    /* No Caps as requested */
}

/* Ensure Hover Effects Logic for generic buttons if missing */
.btn:hover,
button:hover,
a.btn:hover {
    transform: translateY(-2px);
    cursor: pointer;
}

.form-group label {
    font-size: 0.95rem;
    color: #94A3B8;
    margin-left: 4px;
}

.form-group input,
.form-group select {
    width: 100%;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 14px 16px;
    font-size: 1.1rem;
    color: #fff;
    transition: all 0.3s;
    font-family: 'Plus Jakarta Sans';
}

.form-group input:focus {
    outline: none;
    border-color: var(--brand-accent);
    background: rgba(37, 99, 235, 0.05);
}

.step-back {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    font-size: 0.9rem;
    margin-bottom: 20px;
    align-self: flex-start;
    padding: 0;
    transition: color 0.3s;
    justify-content: flex-start;
    /* exception for back link */
}

.step-back:hover {
    color: #fff;
    transform: translateX(-5px);
    /* distinct logic for back arrow */
}

/* Hero Title Mask - FIX for Descenders */
.line-mask {
    overflow: hidden;
    padding-top: 0.15em !important;
    padding-bottom: 0.25em !important;
    margin-top: -0.15em !important;
    margin-bottom: -0.25em !important;
}

/* Small Font Booster (Targeted) */
.form-check-footer span {
    font-size: 1rem !important;
}

.form-check-footer {
    align-items: center;
}

.d-sub {
    font-size: 1.05rem !important;
}

.sec-card p {
    font-size: 1.15rem !important;
}

.stat-label {
    font-size: 1.1rem !important;
}

.client-quote {
    font-size: 1.1rem !important;
}

.timeline-item p {
    font-size: 1.1rem !important;
}

.tl-content-card p {
    font-size: 1.1rem !important;
}

.tl-time {
    font-size: 1rem !important;
}

/* Progress Bar */
.modal-progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
}

.progress-fill {
    height: 100%;
    background: var(--brand-accent);
    width: 33%;
    transition: width 0.5s ease;
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}



/* Why Us Grid */
.why-us-grid {
    display: grid;
    gap: 40px;
    margin-top: 64px;
}

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

@media (min-width: 1024px) {
    .why-us-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .why-us-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.why-card {
    background: #fff;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.05);
    border: 1px solid #F1F5F9;
    transition: transform 0.3s;
}

.why-card:hover {
    transform: translateY(-10px);
}

/* Why Us Icons */
.icon-svg {
    width: 64px;
    height: 64px;
    color: var(--brand-accent);
    transition: all 0.5s ease;
}

.why-card:hover .icon-svg {
    transform: scale(1.1) rotate(5deg);
    color: var(--brand-gold);
}

.why-icon {
    margin-bottom: 24px;
}

/* Comparison Table */
.comparison-container {
    opacity: 0;
    animation: fadeIn 1s forwards;
    animation-delay: 0.5s;
}

.table-responsive {
    overflow-x: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
}

.comp-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    min-width: 600px;
    /* Force scroll on tiny screens */
}

.comp-table th,
.comp-table td {
    padding: 20px 32px;
    text-align: left;
    border-bottom: 1px solid #F1F5F9;
}

.comp-table th {
    background: #F8FAFC;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 1px;
}

.comp-table tr:last-child td {
    border-bottom: none;
}

.comp-table tr:hover td {
    background: #F8FAFC;
}

.check {
    color: var(--brand-accent);
    font-weight: 900;
    font-size: 1.2rem;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Timeline Components */
.timeline-container {
    position: relative;
    max-width: 1000px;
    margin: 80px auto 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg,
            rgba(11, 17, 32, 0) 0%,
            rgba(11, 17, 32, 0.1) 15%,
            rgba(11, 17, 32, 0.1) 85%,
            rgba(11, 17, 32, 0) 100%);
    /* Soft Gradient */
}

/* Timeline Dots Soften */
.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: #fff;
    border: 4px solid #E2E8F0;
    /* Softer grey border */
    border-radius: 50%;
    top: 20px;
    z-index: 2;
    transition: all 0.3s ease;
}

.timeline-item:hover::after {
    background: #0B1120;
    border-color: #0B1120;
    transform: scale(1.2);
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.timeline-item.in-view {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item.left {
    left: 0;
    text-align: right;
}

.timeline-item.right {
    left: 50%;
    text-align: left;
}

.timeline-item.left::after {
    right: -10px;
}

.timeline-item.right::after {
    left: -10px;
}

.timeline-content {
    padding: 30px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.timeline-item:hover .timeline-content {
    transform: translateY(-5px);
}

.step-num {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: #E2E8F0;
    margin-bottom: 10px;
    font-family: 'Playfair Display', serif;
    /* Stylistic choice for numbers */
}

.step-time {
    display: inline-block;
    padding: 4px 12px;
    background: #F1F5F9;
    border-radius: 20px;
    font-size: 0.95rem;
    color: #64748B;
    margin: 10px 0;
    font-weight: 500;
}

@media (max-width: 768px) {
    .timeline-line {
        left: 30px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 0;
    }

    .timeline-item.left,
    .timeline-item.right {
        left: 0;
        text-align: left;
    }

    .timeline-item.left::after,
    .timeline-item.right::after {
        left: 21px;
    }
}

/* Responsive Footer Mobile Fix */
@media (max-width: 1024px) {
    .creative-footer {
        position: relative;
        min-height: auto;
        z-index: 2;
        /* Force on top on mobile */
    }

    .hero-title {
        font-size: 10vw;
    }

    .case-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .case-bg-text {
        display: none;
    }
}

/* Floating Hero Visuals */
.hero-visuals {
    position: absolute;
    inset: 0;
    pointer-events: none;
    /* Let clicks pass through */
    z-index: 1;
    overflow: hidden;
}

.float-card {
    position: absolute;
    background: #FFFFFF;
    /* Solid White */
    /* No backdrop filter */
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 16px 24px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
    /* Slightly stronger shadow for solid card */
    pointer-events: auto;
    transition: transform 0.3s ease;
    width: fit-content;
}

.float-card:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: scale(1.05);
}

.fc-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--text-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fc-icon.green {
    background: #10B981;
}

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

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

.fc-val {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* Positions */
.card-tech {
    top: 30%;
    left: 5%;
    transform: rotate(-5deg);
}

.card-law {
    top: 20%;
    right: 5%;
    transform: rotate(5deg);
}

/* Compare Link in Pricing Card */
.compare-trigger {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    padding-top: 10px;
    /* Slight breathing room */
    font-size: 0.95rem;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    cursor: pointer;
    width: 100%;
    opacity: 0.8;
}

.compare-trigger:hover {
    color: var(--brand-accent);
    opacity: 1;
}

.compare-trigger .arrow-down {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.compare-trigger:hover .arrow-down {
    transform: translateY(3px);
}


.card-growth {
    bottom: 25%;
    right: 8%;
    transform: rotate(-3deg);
}

@media (max-width: 1024px) {
    .float-card {
        display: none;
        /* Hide hero cards on mobile/tablet */
    }
}

/* About Me Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-text {
    max-width: 600px;
}

.tag-sub {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--brand-accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.about-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    margin-bottom: 24px;
    line-height: 1.1;
}

.about-text .lead {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 24px;
    font-weight: 500;
}

.bio-content p {
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.7;
}

.bio-content strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* Pricing Features List & Sales Copy */
.pc-features {
    list-style: none;
    padding: 0;
    margin: 24px 0 0;
    flex-grow: 1;
}

.pc-description-sales {
    margin: 24px 0;
    flex-grow: 1;
}

.pc-description-sales p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0;
}

.pricing-card.pro .pc-description-sales p {
    color: var(--text-primary);
}

.pc-description-sales p + p {
    margin-top: 12px;
}

.pc-note {
    font-size: 0.9rem !important;
    font-style: italic;
    color: var(--text-muted) !important;
}

.pc-note a {
    color: var(--brand-accent);
    text-decoration: underline;
}

.pc-features {
    list-style: none;
    padding: 0;
    margin: 20px 0 24px;
    flex-grow: 1;
}

.pc-features li {
    padding: 10px 0;
    padding-left: 28px;
    position: relative;
    border-bottom: 1px solid #f1f5f9;
    color: var(--text-primary);
    font-size: 0.95rem;
    line-height: 1.5;
}

.pc-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--brand-accent);
    font-weight: 700;
}

/* Work Process Box */
.work-process-box {
    background: #F8FAFC;
    border-radius: 24px;
    padding: 48px 40px;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.process-step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.process-num {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--brand-accent);
    flex-shrink: 0;
    line-height: 1;
    padding-top: 4px;
}

.process-step strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.process-step p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .work-process-box {
        padding: 32px 24px;
    }
}

.about-features {
    list-style: none;
    padding: 0;
    margin: 32px 0 0;
    display: grid;
    gap: 12px;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    color: var(--text-primary);
}

.check {
    color: var(--brand-accent);
    font-weight: bold;
}

/* About Image & Badge */
.image-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.15);
}

.image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transform: scale(1.02);
    /* Slight zoom for quality feel */
    transition: transform 0.5s ease;
}

.image-wrapper:hover img {
    transform: scale(1.05);
}

.exp-badge {
    position: absolute;
    bottom: 32px;
    right: 32px;
    background: #FFFFFF;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    line-height: 1.2;
}

.exp-badge .num {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--brand-accent);
    display: block;
}

.exp-badge .txt {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    text-transform: uppercase;
}

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

    .about-image {
        order: -1;
        /* Image on top on mobile */
    }
}

/* Security Slider Customization */
/* Case Study Dark Card */
.case-content-box,
.security-card {
    background: #0F172A;
    /* Dark Navy */
    color: #FFFFFF;
    padding: 32px 32px;
    border-radius: 24px;
    box-shadow: 0 32px 64px -12px rgba(15, 23, 42, 0.15);
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 16px;
    /* Slightly looser than case study for icons */
    height: 100%;
    justify-content: center;
    text-align: center;
    transition: transform 0.3s ease;
}

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

.case-content-box h2 {
    color: #FFFFFF;
    font-size: 1.75rem;
    line-height: 1.2;
    margin-bottom: 4px;
    letter-spacing: -0.5px;
}

/* Service Card Specifics */
.security-card h3 {
    font-size: 1.25rem;
    color: #FFFFFF;
    margin-bottom: 4px;
}

.security-card p {
    color: #94A3B8;
    /* Slate 400 */
    font-size: 1.05rem;
    line-height: 1.5;
}

.security-card .sec-icon {
    margin-bottom: 8px;
    display: flex;
    justify-content: center;
    color: var(--brand-accent);
}

.case-content-box .lead {
    color: #E2E8F0;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 8px;
    line-height: 1.4;
}

.case-content-box .case-desc {
    color: #94A3B8;
    font-size: 1.05rem;
    /* Reduced */
    line-height: 1.5;
    margin-bottom: 12px;
}

/* Update stats for dark bg */
.case-content-box .stats-row {
    display: none;
    /* User deleted stats */
}

/* Adjust tag for dark bg */
.case-content-box .tag {
    display: none;
    /* User requested removal */
}

/* Adjust button spacing inside card */
.case-content-box .btn {
    align-self: center !important;
    /* Forces center alignment as requested */
    /* Align to right */
    margin-top: 12px !important;
    width: auto;
    min-width: 200px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    /* Space for arrow */
}

/* Arrow Icon Transition */
.btn .arrow-icon {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.btn:hover .arrow-icon {
    transform: translate(2px, -2px);
    /* Move top-right on hover */
}

/* Testimonial in Case Card */
.testimonial-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    padding: 0;
    background: transparent;
    border: none;
    margin: 24px 0 0;
    /* Add top margin for separation from button */
    /* Removed order: -1 to let it flow naturally at the bottom */
}

.client-avatar {
    width: 200px;
    /* Increased by ~30% from 150px */
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    margin-bottom: 12px;
}

.client-quote {
    font-size: 1rem;
    font-style: italic;
    color: #FFFFFF;
    margin-bottom: 4px;
    line-height: 1.4;
}

.client-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: #94A3B8;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Security Slider Customization */
.security-slider {
    width: 100%;
    padding-bottom: 50px;
    /* Space for pagination */
    overflow: hidden;
}

.swiper-pagination-bullet {
    background: var(--text-muted);
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    background: var(--brand-accent);
    opacity: 1;
}

/* Mobile: Ensure cards stack if Swiper is destroyed/disabled */
@media (max-width: 768px) {
    .security-slider .swiper-wrapper {
        display: flex;
        flex-direction: column;
        gap: 24px;
    }

    .security-slider .swiper-slide {
        width: 100% !important;
    }
}

/* Security Grid Layout (3 cols x 2 rows) */
.security-grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 24px;
}

.security-card-mini {
    background: #FFFFFF;
    border: 1px solid #F1F5F9;
    padding: 16px;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
    /* Restoring left alignment from lost block */
    text-align: left;
    height: 100%;
    /* Ensure equal height */
}

.security-card-mini:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.05);
}

.security-card-mini h3 {
    font-size: 1rem;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.security-card-mini p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
}


/* =========================================
   MOBILE UX REDESIGN (Max-Width: 768px)
   "App-Like Experience"
   ========================================= */

/* Default State: Hide Mobile Bar and Breaks on Desktop */
.mobile-bottom-bar,
.mobile-break {
    display: none !important;
}

@media (max-width: 768px) {

    /* 1. RESTORE STICKY ACTION BAR */
    .mobile-bottom-bar {
        display: flex !important;
        position: fixed;
        bottom: 20px;
        left: 20px;
        right: 20px;
        background: rgba(11, 17, 32, 0.9);
        backdrop-filter: blur(16px);
        padding: 8px;
        border-radius: 16px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        z-index: 9999;
        gap: 10px;
        box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.5);
    }

    .mb-btn {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 48px;
        border-radius: 12px;
        text-decoration: none;
        font-weight: 700;
        font-family: 'Plus Jakarta Sans', sans-serif;
        font-size: 1rem;
    }

    .mb-btn-primary {
        background: #fff;
        color: #0B1120;
    }

    .mb-btn-secondary {
        background: var(--brand-accent);
        color: #fff;
    }

    /* 2. FORCE HIDE HEADER PHONE BUTTON (Black one) */
    a.btn.mobile-only-btn,
    .navbar .mobile-only-btn {
        display: none !important;
    }

    /* 3. HERO ADJUSTMENTS (BIG & BOLD REDESIGN) */

    /* Remove Description Completely */
    .hero-desc {
        display: none !important;
    }

    /* Hero Section Geometry: Position Content High Up */
    .hero {
        /* Full viewport height as requested */
        min-height: 100dvh !important;
        height: 100dvh !important;

        /* Ensure content is centered vertically but pushed up slightly by padding */
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;

        /* Padding top to clear header, bottom to clear sticky bar */
        padding-top: 100px !important;
        padding-bottom: 120px !important;
    }

    .hero-content {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center !important;
        justify-content: center;
        gap: 24px;
        /* More breathing room */
        margin-top: -40px !important;
        /* Visual offset to center perfectly given the header */
        text-align: center !important;
    }

    /* Label Adjustments */
    .hero-label {
        margin-bottom: -15px !important;
        font-size: 1rem !important;
        /* Slightly larger */
        opacity: 0.8;
        text-align: center !important;
    }

    /* Big Title Redesign - MAXIMIZED */
    .hero-title {
        font-size: 3.8rem !important;
        /* Much Bigger as requested */
        line-height: 1.05 !important;
        text-align: center !important;
        letter-spacing: -0.04em !important;
        margin-bottom: 24px !important;

        display: block !important;
        width: 100% !important;
    }

    /* CRITICAL: RESET FLEX/MASKING TO ALLOW BREAKS */
    .line-mask {
        display: inline !important;
        width: auto !important;
        text-align: center !important;
    }

    .hero-title span,
    .hero-title .char-split {
        display: inline !important;
        white-space: normal !important;
        word-break: normal !important;
        overflow: visible !important;
    }

    /* Force specific line breaks for 4-line layout */
    .mobile-break {
        display: block !important;
        margin-bottom: 5px;
        content: " ";
        /* Ensure rendering */
    }

    /* Chunky Buttons Layout */
    .hero-buttons {
        flex-direction: row !important;
        justify-content: center !important;
        gap: 12px;
        width: 100%;
        margin-top: 15px;
        padding: 0 10px;
        /* Safety padding */
    }

    .hero-buttons .btn {
        width: auto !important;
        flex: 1;
        height: 64px !important;
        /* Even chunkier */
        padding: 0 16px;
        font-size: 1.1rem;
        font-weight: 700;
        border-radius: 14px;

        display: inline-flex;
        justify-content: center;
        align-items: center;

        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25) !important;
    }

    /* Positioning Scroll/Mouse Indicator */
    .scroll-ind {
        /* Positioned in the middle of the available bottom space */
        /* Hero Content ends around 60-70%. Sticky Bar is at 100% (minus 80px). */
        /* We want this at approx 85% */
        position: absolute !important;
        bottom: 130px !important;
        /* Safe separation from sticky bar */
        left: 50% !important;
        transform: translateX(-50%) !important;
        z-index: 10;
    }

    /* 4. PRICING REORDERING */
    .pricing-grid {
        display: flex !important;
        flex-direction: column !important;
    }

    .pricing-card.pro {
        order: -1 !important;
        /* Move to top */
        margin-bottom: 24px;
        border: 2px solid var(--brand-accent);
    }

    .pricing-card.basic {
        order: 2;
    }

    /* 5. HIDE COMPARISON TABLE */
    #porownanie,
    .comparison-container,
    .compare-trigger {
        display: none !important;
    }

    /* 6. GENERAL POLISH */
    html {
        font-size: 85%;
    }

    .section-padding {
        padding: 40px 0;
    }

    .container {
        padding: 0 20px;
    }

    h2 {
        font-size: 1.8rem !important;
        line-height: 1.2;
    }

    /* Horizontal Scrollers */
    .security-grid,
    .stats-grid {
        display: flex !important;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 16px;
        margin: 0 -20px;
        padding: 0 20px 20px;
    }

    .sec-card,
    .stat-item {
        flex: 0 0 85%;
        scroll-snap-align: center;
    }

    /* Timeline Vertical Redesign (Mobile) */
    .timeline-alternating-wrapper {
        display: flex;
        flex-direction: column;
        gap: 32px;
        margin-top: 40px;
        position: relative;
        padding-left: 24px;
        /* Space for the line */
        /* Reset counter at wrapper level */
        counter-reset: mobile-step-counter;
    }

    /* The Vertical Line */
    .timeline-alternating-wrapper::before {
        content: '';
        position: absolute;
        top: 20px;
        bottom: 20px;
        left: 24px;
        width: 2px;
        background: linear-gradient(to bottom, var(--brand-accent) 0%, rgba(37, 99, 235, 0.1) 100%);
        z-index: 0;
    }

    .timeline-axis-svg-container,
    .tl-connector {
        display: none !important;
    }

    .tl-item {
        margin: 0;
        width: 100%;
        padding: 0 0 0 40px;
        position: relative;
        align-items: flex-start;
        text-align: left;
        border: none !important;
    }

    /* The Node (Numbered Circle) */
    .tl-item::before {
        counter-increment: mobile-step-counter;
        content: "0" counter(mobile-step-counter);

        position: absolute;
        left: -19px;
        top: 0;
        width: 40px;
        height: 40px;
        background: #0F172A;
        border: 2px solid var(--brand-accent);
        color: #fff;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 700;
        font-size: 0.9rem;
        z-index: 1;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    }

    .tl-step {
        display: none;
    }

    /* Card Styling */
    .tl-content-card {
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 16px;
        padding: 20px;
        text-align: left;
        box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.3);
        width: 100%;
        transition: transform 0.3s;
    }

    .tl-content-card:active {
        transform: scale(0.98);
    }

    .tl-content-card h3 {
        color: #fff;
        font-size: 1.2rem;
        margin: 0 0 8px 0 !important;
    }

    .tl-content-card p {
        color: #94A3B8;
        font-size: 0.95rem;
        line-height: 1.5;
        margin: 0 !important;
    }

    /* Helper: Hide floating cards */
    .float-card {
        display: none !important;
    }

    /* Footer */
    .creative-footer {
        padding-bottom: 100px;
    }
}

/* End of Mobile UX Redesign */
.section-padding {
    padding: 80px 0;
}

.container {
    padding: 0 32px;
}

.hero-title {
    font-size: 4rem;
}



/* Grids to 2 Columns */
.pricing-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.timeline-container {
    max-width: 100%;
    margin-top: 60px;
}
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }

    .container {
        padding: 0 20px;
    }

    /* Hero */
    .hero-title {
        font-size: 2.8rem;
    }

    .hero-desc {
        font-size: 1rem;
        max-width: 100%;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .exp-badge {
        display: none !important;
    }

    /* Grids to 1 Column */
    .pricing-grid,
    .security-grid-container,
    .why-us-grid,
    .about-grid,
    .footer-main-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    /* Pricing Card */
    .pricing-card {
        padding: 24px;
    }

    .pc-price {
        font-size: 2.5rem;
    }

    /* Timeline Mobile */
    .timeline-line {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 60px;
        padding-right: 0;
        text-align: left !important;
    }

    .timeline-item.left,
    .timeline-item.right {
        left: 0;
    }

    .timeline-item::after {
        left: 10px;
        /* Line is at 20px, dot center ~20 */
    }

    .timeline-item:hover::after {
        transform: scale(1.1);
    }

    .timeline-item .step-num {
        font-size: 2rem;
    }

    /* Footer */
    .creative-footer {
        padding: 60px 0 30px;
        position: relative;
        /* Release fixed on mobile to avoid covering content if height varies */
    }

    .footer-info {
        text-align: center;
        margin-bottom: 20px;
    }

    .footer-brand p {
        margin-bottom: 60px;
        /* Reduce ultra spacing slightly on mobile */
    }

    /* Modal */
    .modal-content {
        padding: 0 20px;
    }

    .deadline-options {
        grid-template-columns: 1fr;
    }

    .modal-step h2 {
        font-size: 1.75rem;
    }

    /* Hide floating visuals */
    .float-card {
        display: none;
    }

    /* Nav */
    .nav-links.desktop-only {
        display: none;
    }

    .hamburger {
        display: flex;
    }
}

/* Mobile Only Button (Phone) - High Specificity */
.btn.mobile-only-btn {
    display: none !important;
    /* Hidden on Desktop by force */
    margin-left: auto;
    margin-right: 16px;
    padding: 10px 20px;
    font-size: 0.9rem;
    height: 44px;
    white-space: nowrap;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .btn.mobile-only-btn {
        display: inline-flex !important;
        /* Visible on Mobile */
    }

    .nav-links.desktop-only {
        display: none !important;
        /* Ensure desktop nav is hidden */
    }
}