:root {
    --primary-gradient: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    --accent-gradient: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    --paper: #f8fafc;
    --ink: #0f172a;
    --ledger: #334155;
    --stamp-blue: #2563eb;
    --stamp-green: #16a34a;
    --alert-red: #dc2626;
    --surface: #ffffff;
    --surface-soft: #f1f5f9;
    --line-soft: rgba(15, 23, 42, 0.08);
    --line-strong: rgba(15, 23, 42, 0.16);
}

body.landing-page {
    font-family: 'Outfit', sans-serif;
    color: var(--ink);
    overflow-x: hidden;
    background: var(--paper);
}

/* Glass Navigation */
.glass-nav {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 1.2rem 0;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.glass-nav.scrolled {
    background: rgba(15, 23, 42, 0.95);
    padding: 0.7rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    margin: 0 5px;
    opacity: 0.85;
    transition: all 0.3s ease;
}

.nav-link:hover {
    opacity: 1 !important;
    color: #93c5fd !important;
}

/* Hero Section */
.hero-section {
    min-height: 92vh;
    background: var(--primary-gradient);
    position: relative;
    display: flex;
    align-items: center;
    color: white;
    padding-top: 100px;
    padding-bottom: 50px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/hero_bg.png');
    background-size: cover;
    background-position: center;
    opacity: 0.22;
    z-index: 0;
}

.hero-section::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 120px;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0) 0%, rgba(248, 250, 252, 0.08) 100%);
    z-index: 0;
}

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

.hero-kicker {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.8rem;
    margin-bottom: 1.25rem;
    border: 1px solid rgba(147, 197, 253, 0.28);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.36);
    color: #bfdbfe;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(226, 232, 240, 0.88);
    margin-bottom: 1.5rem;
    max-width: 600px;
}

.hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-bottom: 2rem;
}

.hero-proof span {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0.55rem 0.8rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-weight: 600;
}

.hero-actions {
    gap: 0.15rem;
}

.hero-img {
    position: relative;
    z-index: 1;
    transform: perspective(1200px) rotateY(-12deg) rotateX(4deg) scale(1.18);
    transform-origin: center center;
    transform-style: preserve-3d;
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    margin-left: 38px;
}

.hero-img img {
    width: 100%;
    height: auto;
    border-radius: 18px;
    box-shadow: -24px 34px 70px -22px rgba(0, 0, 0, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-img:hover {
    transform: perspective(1200px) rotateY(-5deg) rotateX(0deg) scale(1.22);
}

.risk-ticket {
    position: absolute;
    left: -12px;
    bottom: 24px;
    width: 245px;
    padding: 1rem;
    border-radius: 14px;
    background: rgba(248, 250, 252, 0.96);
    color: var(--ink);
    border: 1px solid rgba(255, 255, 255, 0.75);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
}

.risk-ticket span,
.risk-ticket small {
    display: block;
    color: #64748b;
    line-height: 1.35;
}

.risk-ticket span {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.risk-ticket strong {
    display: block;
    margin: 0.25rem 0;
    font-size: 1.05rem;
    color: var(--stamp-green);
}

/* Glass Cards */
.glass-card {
    background: var(--surface);
    border: 1px solid var(--line-soft);
    border-radius: 14px;
    padding: 2rem;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.glass-card:hover {
    transform: translateY(-6px);
    border-color: rgba(37, 99, 235, 0.2);
    box-shadow: 0 24px 55px rgba(15, 23, 42, 0.1);
}

/* Section Titles */
.section-title {
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--stamp-blue);
    margin: 0.5rem auto 0;
    border-radius: 2px;
}

/* Services */
.service-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 16px rgba(37, 99, 235, 0.22));
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, #eef2f7 0%, #f8fafc 100%);
    border-top: 1px solid var(--line-soft);
    border-bottom: 1px solid var(--line-soft);
    padding: 80px 0;
}

.stat-item {
    padding: 2rem 1.5rem;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 14px;
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.stat-item:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: rgba(59, 130, 246, 0.2);
}

.stat-icon {
    width: 64px;
    height: 64px;
    background: #ffffff;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0,0,0,0.02);
}

.stat-number {
    font-size: 3rem;
    color: var(--ink);
    margin-top: 1.25rem;
    margin-bottom: 0.25rem;
    font-weight: 700;
    letter-spacing: 0;
}

.stat-item p {
    letter-spacing: 0.5px;
    opacity: 0.8;
}

/* Forms */
.contact-card {
    border-radius: 18px !important;
    box-shadow: 0 22px 60px rgba(15, 23, 42, 0.18);
}

.contact-card .form-control,
.form-control-lg {
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    font-size: 1rem;
    min-height: 48px;
    background: #f8fafc;
}

.contact-card textarea.form-control {
    min-height: 120px;
}

.contact-card .form-control:focus,
.form-control-lg:focus {
    background: #ffffff;
    border-color: var(--stamp-blue);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.btn-premium {
    background: var(--accent-gradient);
    color: white !important;
    border: none;
    border-radius: 10px;
    padding: 1rem 2rem;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 14px 0 rgba(59, 130, 246, 0.39);
}

.btn-legal {
    color: #e2e8f0 !important;
    border: 1px solid rgba(226, 232, 240, 0.26);
    background: rgba(15, 23, 42, 0.28);
    border-radius: 10px;
    padding: 1rem 1.4rem;
    font-weight: 600;
    transition: all 0.25s ease;
}

.btn-legal:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(226, 232, 240, 0.45);
}

.btn-premium:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.4);
    filter: brightness(1.1);
}

/* Panel Button Variant */
.btn-panel {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    box-shadow: 0 4px 14px 0 rgba(245, 158, 11, 0.39);
    position: relative;
    overflow: hidden;
}

.btn-panel:hover {
    box-shadow: 0 10px 25px rgba(217, 119, 6, 0.4);
}

.btn-panel::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    pointer-events: none;
}

.btn-panel:hover::after {
    left: 100%;
    top: 100%;
}

/* Blog Cards */
.blog-card {
    border: 1px solid var(--line-soft);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
}

.blog-card img {
    height: 200px;
    object-fit: cover;
}

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

.animate-up {
    animation: fadeInUp 0.8s ease forwards;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.35rem;
    }
    .hero-section {
        height: auto;
        min-height: 0;
        padding-top: 110px;
        padding-bottom: 64px;
    }
    .hero-subtitle {
        font-size: 1.05rem;
    }
    .hero-img {
        transform: scale(1) !important;
        margin-left: 0;
        margin-top: 30px;
    }
    .hero-img:hover {
        transform: scale(1) !important;
    }
    .risk-ticket {
        position: relative;
        left: auto;
        bottom: auto;
        width: auto;
        margin-top: -24px;
        margin-left: 16px;
        margin-right: 16px;
    }
    .section-title {
        font-size: 2rem;
    }
    .contact-card .card-body {
        padding: 2rem !important;
    }
}
