/* ============================================
   THE CONCIERGE CLUB - Main Stylesheet
   ============================================ */

/* CSS Custom Properties (Design System) */
:root {
    --blue: #2563EB;
    --blue-light: #3B82F6;
    --blue-dark: #1D4ED8;
    --chrome: #E8EAED;
    --chrome-dark: #C4C7CC;
    --silver: #9CA3AF;
    --light-grey: #F8F9FA;
    --off-white: #FAFBFC;
    --charcoal: #111111;
    --charcoal-light: #1F1F1F;
    --slate: #374151;
    --white: #FFFFFF;
    --black: #000000;
    --success: #10B981;
    --error: #EF4444;
    --warning: #F59E0B;

    --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);

    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 8px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--off-white);
    color: var(--charcoal);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Noise texture overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.015;
    pointer-events: none;
    z-index: 10000;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-grey);
}

::-webkit-scrollbar-thumb {
    background: var(--blue);
    border-radius: 4px;
}

/* ============================================
   Top Bar
   ============================================ */
.top-bar {
    background: var(--black);
    padding: 0.65rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    transition: all 0.4s var(--ease-out-expo);
}

.top-bar.hidden {
    transform: translateY(-100%);
}

.top-bar-contact {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--chrome);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.top-bar-item:hover {
    color: var(--blue-light);
}

.top-bar-item svg {
    width: 16px;
    height: 16px;
    color: var(--blue-light);
}

.top-bar-social {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.top-bar-social a {
    color: var(--chrome);
    transition: color 0.3s ease;
}

.top-bar-social a:hover {
    color: var(--blue-light);
}

.top-bar-social svg {
    width: 18px;
    height: 18px;
}

/* ============================================
   Navigation
   ============================================ */
.nav {
    position: fixed;
    top: 42px;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.5rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.5s var(--ease-out-expo);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

.nav.scrolled {
    top: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    padding: 1rem 4rem;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--charcoal);
}

.nav.scrolled .nav-logo,
.nav.scrolled .nav-link {
    color: var(--charcoal);
}

.nav-logo-img {
    height: 50px;
    width: auto;
}

.nav-logo-text {
    font-family: var(--font-script);
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    display: none;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.nav-link {
    color: var(--charcoal);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    font-family: var(--font-display);
    letter-spacing: 0.01em;
    position: relative;
    padding: 0.25rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--blue);
    transition: width 0.4s var(--ease-out-expo);
}

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

.nav-cta {
    background: var(--black);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 600;
    font-family: var(--font-display);
    letter-spacing: 0.01em;
    transition: all 0.4s var(--ease-out-expo);
    border: 2px solid var(--black);
}

.nav-cta:hover {
    background: var(--blue);
    border-color: var(--blue);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

/* Mobile menu */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--charcoal);
    transition: all 0.3s ease;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--black);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(135deg,
        #0f172a 0%,
        #1e293b 50%,
        #334155 100%
    );
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(37, 99, 235, 0.15) 100%
    );
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.05'/%3E%3C/svg%3E");
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 10rem 4rem 6rem;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 0.6rem 1.25rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 2rem;
    animation: fadeSlideUp 0.8s var(--ease-out-expo) 0.2s both;
}

.hero-badge-dot {
    width: 6px;
    height: 6px;
    background: var(--blue-light);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.2); }
}

.hero-badge-text {
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--white);
    max-width: 900px;
    margin-bottom: 1.5rem;
}

.hero-title .line {
    display: block;
    overflow: hidden;
}

.hero-title .line span {
    display: block;
    animation: slideUp 1s var(--ease-out-expo) both;
}

.hero-title .line:nth-child(1) span { animation-delay: 0.3s; }
.hero-title .line:nth-child(2) span { animation-delay: 0.4s; }

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

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

.hero-title em {
    font-style: italic;
    color: var(--chrome);
}

.hero-description {
    font-size: clamp(1.25rem, 2.5vw, 1.65rem);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin-bottom: 2.5rem;
    font-weight: 500;
    animation: fadeSlideUp 0.8s var(--ease-out-expo) 0.6s both;
}

.hero-buttons {
    display: flex;
    gap: 1.25rem;
    animation: fadeSlideUp 0.8s var(--ease-out-expo) 0.8s both;
}

/* ============================================
   Buttons
   ============================================ */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    background: var(--blue);
    color: var(--white);
    padding: 1.25rem 2.5rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: var(--font-display);
    letter-spacing: 0.01em;
    transition: all 0.4s var(--ease-out-expo);
    border: 2px solid var(--blue);
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.4);
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--blue-dark);
    border-color: var(--blue-dark);
    gap: 1.1rem;
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(37, 99, 235, 0.5);
}

.btn-primary svg {
    width: 18px;
    height: 18px;
    transition: transform 0.4s var(--ease-out-expo);
}

.btn-primary:hover svg {
    transform: translateX(4px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    background: var(--white);
    color: var(--black);
    padding: 1.25rem 2.5rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: var(--font-display);
    letter-spacing: 0.01em;
    transition: all 0.4s var(--ease-out-expo);
    border: 2px solid var(--white);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.2);
    cursor: pointer;
}

.btn-secondary:hover {
    background: var(--chrome);
    border-color: var(--chrome);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(255, 255, 255, 0.3);
}

.btn-gold {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    background: var(--blue);
    color: var(--white);
    padding: 1.25rem 2.5rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: var(--font-display);
    letter-spacing: 0.01em;
    transition: all 0.4s var(--ease-out-expo);
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.4);
    cursor: pointer;
    border: none;
}

.btn-gold:hover {
    background: var(--blue-light);
    gap: 1.1rem;
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(37, 99, 235, 0.5);
}

.btn-careers {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--white);
    color: var(--blue);
    padding: 1.15rem 2.5rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: var(--font-display);
    transition: all 0.4s var(--ease-out-expo);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    border: none;
}

.btn-careers:hover {
    background: var(--chrome);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.btn-careers svg {
    width: 18px;
    height: 18px;
    transition: transform 0.4s var(--ease-out-expo);
}

.btn-careers:hover svg {
    transform: translateX(4px);
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    animation: fadeSlideUp 0.8s var(--ease-out-expo) 1.2s both;
}

.scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.6), transparent);
    animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: scaleY(1); opacity: 1; }
    50% { transform: scaleY(0.6); opacity: 0.5; }
}

/* ============================================
   Sections Base
   ============================================ */
section {
    padding: 8rem 4rem;
}

.section-container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--blue);
    background: rgba(37, 99, 235, 0.08);
    padding: 0.6rem 1.25rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    font-family: var(--font-display);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--charcoal);
}

.section-title em {
    font-style: italic;
    color: var(--blue);
}

.section-description {
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--slate);
    max-width: 700px;
    font-weight: 400;
}

/* ============================================
   Difference Section
   ============================================ */
.difference {
    background: var(--off-white);
    position: relative;
    overflow: hidden;
}

.difference::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(to left, var(--light-grey), transparent);
    pointer-events: none;
}

.difference-header {
    text-align: center;
    margin-bottom: 4rem;
}

.difference-header .section-description {
    margin: 0 auto;
}

.difference-tabs-container {
    max-width: 1100px;
    margin: 0 auto;
}

.difference-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 0;
    border-bottom: 1px solid var(--chrome);
}

.difference-tab {
    flex: 1;
    padding: 2rem 2rem 2.5rem;
    cursor: pointer;
    position: relative;
    transition: all 0.4s var(--ease-out-expo);
    background: transparent;
}

.difference-tab:hover {
    background: rgba(37, 99, 235, 0.03);
}

.difference-tab.active {
    background: var(--white);
}

.tab-number {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--blue);
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

.tab-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--charcoal);
    transition: color 0.3s ease;
}

.difference-tab:hover .tab-title {
    color: var(--blue);
}

.tab-indicator {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--blue);
    transform: scaleX(0);
    transition: transform 0.4s var(--ease-out-expo);
}

.difference-tab.active .tab-indicator {
    transform: scaleX(1);
}

.difference-content-wrapper {
    background: var(--white);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
    position: relative;
    min-height: 400px;
    overflow: hidden;
}

.difference-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 4rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.5s var(--ease-out-expo);
}

.difference-content.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    position: relative;
}

.difference-content-inner {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 3rem;
    align-items: start;
}

.difference-icon-large {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.3);
}

.difference-icon-large svg {
    width: 44px;
    height: 44px;
}

.difference-content h3 {
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.difference-content h3 em {
    color: var(--blue);
    font-style: italic;
}

.difference-lead {
    font-size: 1.35rem;
    color: var(--charcoal);
    font-weight: 500;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.difference-content p {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--slate);
    margin-bottom: 0;
}

.difference-content p strong {
    color: var(--charcoal);
    font-weight: 600;
}

.difference-features {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--chrome);
}

.difference-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--charcoal);
    font-size: 0.95rem;
}

.difference-feature svg {
    width: 20px;
    height: 20px;
    color: var(--blue);
}

/* ============================================
   Excellence Banner
   ============================================ */
.excellence {
    background: var(--black);
    padding: 5rem 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.excellence::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, var(--charcoal-light) 0%, transparent 50%);
    animation: rotateBg 30s linear infinite;
}

@keyframes rotateBg {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

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

.excellence h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
    max-width: 900px;
    margin: 0 auto 1rem;
}

.excellence h2 em {
    font-style: italic;
    color: var(--blue-light);
}

.excellence p {
    color: var(--chrome);
    font-size: 1.1rem;
    letter-spacing: 0.1em;
    font-family: var(--font-display);
}

/* ============================================
   Software Section
   ============================================ */
.software {
    background: var(--light-grey);
}

.software-header {
    text-align: center;
    margin-bottom: 4rem;
}

.software-header .section-description {
    margin: 0 auto;
}

.software-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.software-price-amount {
    font-family: var(--font-display);
    font-size: 5rem;
    font-weight: 700;
    color: var(--charcoal);
    line-height: 1;
}

.software-price-suffix {
    font-size: 1.2rem;
    color: var(--slate);
    font-family: var(--font-body);
}

.software-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 4rem;
}

.software-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    transition: all 0.5s var(--ease-out-expo);
    border: 1px solid var(--chrome);
}

.software-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    border-color: var(--blue-light);
}

.software-card-icon {
    width: 50px;
    height: 50px;
    background: var(--blue);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.software-card-icon svg {
    width: 22px;
    height: 22px;
}

.software-card h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--charcoal);
}

.software-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--slate);
}

/* ============================================
   Pricing Section
   ============================================ */
.pricing {
    background: linear-gradient(180deg, var(--light-grey) 0%, var(--off-white) 100%);
    position: relative;
}

.pricing-header {
    text-align: center;
    margin-bottom: 3rem;
}

.pricing-header .section-description {
    margin: 0 auto;
}

.pricing-trust {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 3.5rem;
    text-align: center;
    margin-bottom: 4rem;
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--chrome);
    transition: all 0.5s var(--ease-out-expo);
    cursor: default;
}

.pricing-trust:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 30px 80px rgba(37, 99, 235, 0.15), 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--blue-light);
}

.pricing-trust h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--charcoal);
}

.pricing-trust p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--slate);
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

.pricing-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
}

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

.pricing-stat-value {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--blue);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.pricing-stat-label {
    font-size: 0.85rem;
    color: var(--slate);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-family: var(--font-display);
}

.pricing-tiers {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.pricing-tier {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    text-align: center;
    min-width: 180px;
    transition: all 0.5s var(--ease-out-expo);
    border: 1px solid var(--chrome);
    position: relative;
    cursor: pointer;
}

.pricing-tier:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
    background: var(--black);
    color: var(--white);
    border-color: var(--black);
}

.pricing-tier:hover .pricing-tier-price {
    color: var(--blue-light);
}

.pricing-tier-price {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    transition: color 0.5s var(--ease-out-expo);
}

.pricing-tier-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.6;
    margin-bottom: 0.5rem;
    font-family: var(--font-display);
}

.pricing-tier-units {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* ============================================
   TrustDesk Building Brain Section
   ============================================ */
.trustdesk-brain {
    background: var(--black);
    position: relative;
    overflow: hidden;
    padding: 8rem 4rem;
}

.trustdesk-brain::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 50% 50%, rgba(37, 99, 235, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(37, 99, 235, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(37, 99, 235, 0.08) 0%, transparent 40%);
    pointer-events: none;
}

.trustdesk-brain-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.trustdesk-brain-header {
    text-align: center;
    margin-bottom: 5rem;
}

.trustdesk-brain-header .section-label {
    background: rgba(37, 99, 235, 0.2);
    color: var(--blue-light);
}

.trustdesk-brain-header .section-title {
    color: var(--white);
    font-size: clamp(2.5rem, 5vw, 4rem);
}

.trustdesk-brain-header .section-title em {
    color: var(--blue-light);
}

.trustdesk-brain-header .section-description {
    color: var(--chrome);
    max-width: 700px;
    margin: 0 auto;
}

.trustdesk-brain-visual {
    display: grid;
    grid-template-columns: 1fr 300px 1fr;
    gap: 2rem;
    align-items: center;
    margin-bottom: 4rem;
}

.brain-features-left,
.brain-features-right {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.brain-features-left {
    align-items: flex-end;
}

.brain-features-right {
    align-items: flex-start;
}

.brain-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.75rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    transition: all 0.4s var(--ease-out-expo);
    cursor: default;
    max-width: 320px;
}

.brain-features-left .brain-feature {
    flex-direction: row-reverse;
    text-align: right;
}

.brain-feature:hover {
    background: rgba(37, 99, 235, 0.1);
    border-color: rgba(37, 99, 235, 0.3);
    transform: translateX(8px);
}

.brain-features-left .brain-feature:hover {
    transform: translateX(-8px);
}

.brain-feature-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.brain-feature-icon svg {
    width: 22px;
    height: 22px;
}

.brain-feature-content h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.25rem;
}

.brain-feature-content p {
    font-size: 0.85rem;
    color: var(--silver);
    line-height: 1.4;
}

.brain-center {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brain-orb {
    width: 280px;
    height: 280px;
    background: radial-gradient(circle at 30% 30%, var(--blue-light), var(--blue-dark));
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow:
        0 0 60px rgba(37, 99, 235, 0.4),
        0 0 120px rgba(37, 99, 235, 0.2),
        inset 0 0 60px rgba(255, 255, 255, 0.1);
    animation: orbPulse 4s ease-in-out infinite;
}

@keyframes orbPulse {
    0%, 100% {
        box-shadow:
            0 0 60px rgba(37, 99, 235, 0.4),
            0 0 120px rgba(37, 99, 235, 0.2),
            inset 0 0 60px rgba(255, 255, 255, 0.1);
    }
    50% {
        box-shadow:
            0 0 80px rgba(37, 99, 235, 0.5),
            0 0 160px rgba(37, 99, 235, 0.3),
            inset 0 0 80px rgba(255, 255, 255, 0.15);
    }
}

.brain-orb::before {
    content: '';
    position: absolute;
    inset: -20px;
    border: 2px solid rgba(37, 99, 235, 0.2);
    border-radius: 50%;
    animation: orbRing 8s linear infinite;
}

.brain-orb::after {
    content: '';
    position: absolute;
    inset: -40px;
    border: 1px solid rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    animation: orbRing 12s linear infinite reverse;
}

@keyframes orbRing {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.brain-orb-icon {
    width: 70px;
    height: 70px;
    color: var(--white);
    margin-bottom: 0.5rem;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3));
}

.brain-orb-title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.brain-orb-subtitle {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 600;
}

/* Brain Cards */
.trustdesk-brain-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.brain-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    transition: all 0.5s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
}

.brain-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue), var(--blue-light));
    transform: scaleX(0);
    transition: transform 0.4s var(--ease-out-expo);
}

.brain-card:hover {
    background: rgba(37, 99, 235, 0.08);
    border-color: rgba(37, 99, 235, 0.3);
    transform: translateY(-8px);
}

.brain-card:hover::before {
    transform: scaleX(1);
}

.brain-card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.2) 0%, rgba(37, 99, 235, 0.1) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    color: var(--blue-light);
    transition: all 0.4s var(--ease-out-expo);
}

.brain-card:hover .brain-card-icon {
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
    color: var(--white);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

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

.brain-card h4 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.brain-card p {
    font-size: 0.9rem;
    color: var(--silver);
    line-height: 1.5;
}

/* ============================================
   Included Section
   ============================================ */
.included {
    background: var(--off-white);
    position: relative;
    overflow: hidden;
}

.included-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

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

.included-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--chrome);
    font-size: 1.15rem;
    color: var(--charcoal);
}

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

.included-check {
    width: 24px;
    height: 24px;
    background: var(--blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.included-check svg {
    width: 12px;
    height: 12px;
    color: var(--white);
}

.included-cta {
    background: var(--black);
    border-radius: var(--radius-lg);
    padding: 4rem;
    color: var(--white);
}

.included-cta h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.included-cta p {
    color: var(--chrome);
    margin-bottom: 2rem;
    line-height: 1.7;
    font-size: 1.1rem;
}

/* ============================================
   Why Choose Section
   ============================================ */
.why {
    background: var(--black);
    position: relative;
    overflow: hidden;
}

.why::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at top right, rgba(37, 99, 235, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at bottom left, rgba(37, 99, 235, 0.05) 0%, transparent 50%);
}

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

.why-header {
    text-align: center;
    margin-bottom: 5rem;
}

.why-header .section-label {
    background: rgba(37, 99, 235, 0.2);
    color: var(--blue-light);
}

.why-header .section-title {
    color: var(--white);
}

.why-header .section-title em {
    color: var(--blue-light);
}

.why-header .section-description {
    color: var(--chrome);
    margin: 0 auto;
}

.why-features {
    display: flex;
    flex-direction: column;
    gap: 1px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    overflow: hidden;
}

.why-feature {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 3rem;
    padding: 3rem 3.5rem;
    background: var(--charcoal-light);
    transition: all 0.5s var(--ease-out-expo);
}

.why-feature:hover {
    background: var(--charcoal);
}

.why-feature-number {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 700;
    color: var(--blue);
    line-height: 1;
    min-width: 80px;
}

.why-feature-content h3 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.why-feature-content p {
    font-size: 1.1rem;
    color: var(--chrome);
    line-height: 1.6;
    max-width: 500px;
}

.why-feature-icon {
    width: 70px;
    height: 70px;
    background: rgba(37, 99, 235, 0.15);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue-light);
    transition: all 0.4s var(--ease-out-expo);
}

.why-feature:hover .why-feature-icon {
    background: var(--blue);
    color: var(--white);
    transform: scale(1.1);
}

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

/* ============================================
   CTA Section
   ============================================ */
.cta {
    background: var(--black);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at top left, rgba(37, 99, 235, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at bottom right, rgba(37, 99, 235, 0.1) 0%, transparent 50%);
}

.cta-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta h2 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.15;
}

.cta h2 em {
    font-style: italic;
    color: var(--blue-light);
}

.cta p {
    font-size: 1.2rem;
    color: var(--chrome);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.cta .btn-primary {
    background: var(--white);
    color: var(--black);
    border-color: var(--white);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.2);
}

.cta .btn-primary:hover {
    background: var(--blue);
    color: var(--white);
    border-color: var(--blue);
    box-shadow: 0 12px 40px rgba(37, 99, 235, 0.4);
}

/* ============================================
   Modal Styles
   ============================================ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s var(--ease-out-expo);
}

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

.modal {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 3.5rem;
    max-width: 520px;
    width: 90%;
    position: relative;
    transform: translateY(30px) scale(0.95);
    transition: transform 0.5s var(--ease-out-expo);
}

.modal-overlay.active .modal {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 44px;
    height: 44px;
    background: var(--light-grey);
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: var(--charcoal);
    color: var(--white);
}

.modal-close svg {
    width: 20px;
    height: 20px;
}

.modal-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 0.5rem;
}

.modal-subtitle {
    color: var(--slate);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.modal-tier-badge {
    display: inline-block;
    background: var(--blue);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 600;
    font-family: var(--font-display);
    margin-bottom: 2rem;
}

/* Contact Modal Specific Styles */
.contact-modal {
    max-width: 600px;
}

.contact-modal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.contact-modal-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
}

.contact-modal-icon svg {
    width: 32px;
    height: 32px;
}

/* ============================================
   Form Styles
   ============================================ */
.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 0.5rem;
    font-family: var(--font-display);
}

.form-input {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid var(--chrome);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: var(--font-body);
    transition: all 0.3s ease;
    background: var(--off-white);
}

.form-input:focus {
    outline: none;
    border-color: var(--blue);
    background: var(--white);
}

.form-input::placeholder {
    color: var(--silver);
}

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

.form-error {
    color: var(--error);
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

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

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%239CA3AF' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.25rem;
    padding-right: 3rem;
    cursor: pointer;
}

.form-select:focus {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%232563EB' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
}

.form-submit {
    width: 100%;
    background: var(--blue);
    color: var(--white);
    padding: 1.15rem 2rem;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1.1rem;
    font-weight: 600;
    font-family: var(--font-display);
    cursor: pointer;
    transition: all 0.4s var(--ease-out-expo);
    margin-top: 0.5rem;
}

.form-submit:hover {
    background: var(--blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

.form-submit:disabled {
    background: var(--silver);
    cursor: not-allowed;
    transform: none;
}

.form-submit.success {
    background: var(--success);
}

.form-note {
    text-align: center;
    color: var(--slate);
    font-size: 0.9rem;
    margin-top: 1.25rem;
}

.form-note svg {
    width: 16px;
    height: 16px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 0.35rem;
    color: var(--blue);
}

/* CSRF Token hidden field */
input[name="_csrf"] {
    display: none;
}

/* Captcha container */
.captcha-container {
    margin: 1rem 0;
    display: flex;
    justify-content: center;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--black);
    padding: 0;
    color: var(--white);
}

.footer-careers {
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
    padding: 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.footer-careers::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.footer-careers-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.footer-careers h3 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-careers p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.footer-main-wrapper {
    padding: 5rem 4rem 4rem;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 4rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    padding-right: 2rem;
}

.footer-brand-logo {
    height: 70px;
    width: auto;
    margin-bottom: 1.5rem;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    color: var(--chrome);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social-link {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--chrome);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social-link:hover {
    background: var(--blue);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-social-link svg {
    width: 20px;
    height: 20px;
}

.footer-column h4 {
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 1.75rem;
    font-family: var(--font-display);
    font-weight: 700;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 1rem;
}

.footer-column a {
    color: var(--chrome);
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-column a:hover {
    color: var(--blue-light);
    transform: translateX(4px);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--chrome);
    font-size: 1rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.footer-contact-item svg {
    width: 18px;
    height: 18px;
    color: var(--blue-light);
    flex-shrink: 0;
    margin-top: 3px;
}

.footer-contact-item a {
    color: var(--chrome);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact-item a:hover {
    color: var(--blue-light);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 3rem;
}

.footer-copyright {
    color: var(--silver);
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    color: var(--silver);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--blue-light);
}

/* ============================================
   Blog Styles
   ============================================ */
.blog-hero {
    background: var(--black);
    padding: 10rem 4rem 5rem;
    text-align: center;
}

.blog-hero .section-title {
    color: var(--white);
}

.blog-hero .section-description {
    color: var(--chrome);
    margin: 0 auto;
}

.blog-filters {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.blog-filter {
    padding: 0.75rem 1.5rem;
    background: var(--white);
    border: 1px solid var(--chrome);
    border-radius: var(--radius-md);
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.blog-filter:hover,
.blog-filter.active {
    background: var(--blue);
    color: var(--white);
    border-color: var(--blue);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.blog-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.4s var(--ease-out-expo);
    border: 1px solid var(--chrome);
}

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

.blog-card-image {
    aspect-ratio: 16/10;
    background: var(--light-grey);
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease-out-expo);
}

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

.blog-card-content {
    padding: 1.75rem;
}

.blog-card-category {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--blue);
    margin-bottom: 0.75rem;
}

.blog-card-title {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.blog-card-title a {
    color: inherit;
    text-decoration: none;
}

.blog-card-title a:hover {
    color: var(--blue);
}

.blog-card-excerpt {
    font-size: 1rem;
    color: var(--slate);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--silver);
}

/* Blog Post Page */
.blog-post-header {
    background: var(--black);
    padding: 10rem 4rem 5rem;
    text-align: center;
}

.blog-post-header .section-title {
    color: var(--white);
    max-width: 900px;
    margin: 0 auto 1rem;
}

.blog-post-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    color: var(--chrome);
    margin-top: 1.5rem;
}

.blog-post-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.blog-post-content p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--slate);
    margin-bottom: 1.5rem;
}

.blog-post-content h2 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--charcoal);
    margin: 3rem 0 1.5rem;
}

.blog-post-content h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--charcoal);
    margin: 2rem 0 1rem;
}

.blog-post-content ul,
.blog-post-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.blog-post-content li {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--slate);
    margin-bottom: 0.5rem;
}

.blog-post-content blockquote {
    border-left: 4px solid var(--blue);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--charcoal);
}

.blog-post-content img {
    max-width: 100%;
    border-radius: var(--radius-lg);
    margin: 2rem 0;
}

/* ============================================
   Service Pages
   ============================================ */
.service-hero {
    background: var(--black);
    padding: 10rem 4rem 5rem;
    position: relative;
    overflow: hidden;
}

.service-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at top right, rgba(37, 99, 235, 0.1) 0%, transparent 50%);
}

.service-hero-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.service-hero-text .section-title {
    color: var(--white);
}

.service-hero-text .section-description {
    color: var(--chrome);
    margin-bottom: 2rem;
}

.service-hero-image {
    background: var(--charcoal-light);
    border-radius: var(--radius-lg);
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.service-features {
    background: var(--off-white);
}

.service-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.service-feature-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    border: 1px solid var(--chrome);
    transition: all 0.4s var(--ease-out-expo);
}

.service-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    border-color: var(--blue-light);
}

.service-feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    margin-bottom: 1.5rem;
}

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

.service-feature-card h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 0.75rem;
}

.service-feature-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--slate);
}

/* ============================================
   Animations on scroll
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s var(--ease-out-expo);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================
   HTMX Loading States
   ============================================ */
.htmx-request {
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.htmx-request .form-submit {
    position: relative;
    pointer-events: none;
}

.htmx-request .form-submit::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    border: 2px solid var(--white);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    transform: translate(-50%, -50%);
}

@keyframes spin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Success/Error flash messages */
.flash-message {
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    font-weight: 500;
}

.flash-message.success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.flash-message.error {
    background: rgba(239, 68, 68, 0.1);
    color: var(--error);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1200px) {
    .trustdesk-brain-visual {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .brain-features-left,
    .brain-features-right {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: stretch;
    }

    .brain-features-left .brain-feature,
    .brain-features-right .brain-feature {
        flex-direction: row;
        text-align: left;
    }

    .brain-features-left .brain-feature:hover,
    .brain-features-right .brain-feature:hover {
        transform: translateY(-4px);
    }

    .brain-center {
        order: -1;
    }

    .trustdesk-brain-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    section {
        padding: 5rem 2rem;
    }

    .nav {
        padding: 1.25rem 2rem;
    }

    .hero-content {
        padding: 7rem 2rem 5rem;
    }

    .software-grid {
        grid-template-columns: 1fr;
    }

    .included-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .pricing-stats {
        gap: 2rem;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    .footer-brand {
        grid-column: span 2;
    }

    .difference-tabs {
        flex-direction: column;
        border-bottom: none;
    }

    .difference-tab {
        border-bottom: 1px solid var(--chrome);
    }

    .tab-indicator {
        bottom: -1px;
        left: 0;
        right: auto;
        width: 3px;
        height: 100%;
        transform: scaleY(0);
    }

    .difference-tab.active .tab-indicator {
        transform: scaleY(1);
    }

    .difference-content-wrapper {
        border-radius: var(--radius-lg);
    }

    .service-hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .service-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .top-bar {
        padding: 0.5rem 1.5rem;
    }

    .top-bar-contact {
        gap: 1rem;
    }

    .top-bar-item span,
    .top-bar-item:last-child {
        display: none;
    }

    .top-bar-social {
        display: none;
    }

    .nav {
        top: 36px;
        padding: 1rem 1.5rem;
    }

    .nav.scrolled {
        top: 0;
        padding: 0.75rem 1.5rem;
    }

    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .pricing-tiers {
        flex-direction: column;
        align-items: center;
    }

    .difference-content {
        padding: 2.5rem;
    }

    .difference-content-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .difference-icon-large {
        width: 80px;
        height: 80px;
    }

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

    .difference-features {
        flex-direction: column;
        gap: 1rem;
    }

    .why-feature {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }

    .why-feature-number {
        font-size: 2.5rem;
    }

    .why-feature-icon {
        margin: 0 auto;
    }

    .why-feature-content p {
        max-width: none;
    }

    .trustdesk-brain {
        padding: 5rem 2rem;
    }

    .brain-orb {
        width: 220px;
        height: 220px;
    }

    .brain-orb-title {
        font-size: 1.4rem;
    }

    .trustdesk-brain-cards {
        grid-template-columns: 1fr;
    }

    .brain-feature {
        max-width: none;
        width: 100%;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-brand {
        grid-column: span 1;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .footer-legal {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

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

    .contact-modal {
        padding: 2rem;
    }

    .service-features-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
}
