/* ============================================================
   Infowise Public Pages - Premium Landing Experience
   ============================================================ */

:root {
    --pub-primary: #2563eb;
    --pub-primary-dark: #1d4ed8;
    --pub-secondary: #7c3aed;
    --pub-accent: #06b6d4;
    --pub-pink: #ec4899;
    --pub-dark: #0f172a;
    --pub-darker: #020617;
    --pub-glass: rgba(255, 255, 255, 0.08);
    --pub-glass-border: rgba(255, 255, 255, 0.12);
}

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

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

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

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-25px) rotate(2deg); }
}

@keyframes floatReverse {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(25px) rotate(-2deg); }
}

@keyframes pulse-ring {
    0% { transform: scale(0.8); opacity: 0.8; }
    100% { transform: scale(1.4); opacity: 0; }
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes blob {
    0%, 100% { transform: translate(0, 0) scale(1); border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
    25% { transform: translate(20px, -40px) scale(1.05); border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
    50% { transform: translate(-20px, 20px) scale(0.95); border-radius: 50% 60% 30% 60% / 30% 60% 70% 40%; }
    75% { transform: translate(40px, 30px) scale(1.02); border-radius: 60% 40% 60% 30% / 70% 30% 50% 60%; }
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes shimmer {
    0% { background-position: -1000px 0; }
    100% { background-position: 1000px 0; }
}

@keyframes drawLine {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes bounce-subtle {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.reveal-scale.active {
    opacity: 1;
    transform: scale(1);
}

/* Page load overlay */
.page-loader {
    position: fixed;
    inset: 0;
    background: white;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}
.page-loader .loader-brand {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--pub-primary), var(--pub-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: bounce-subtle 1.5s ease infinite;
}

/* Scroll progress */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--pub-primary), var(--pub-secondary), var(--pub-accent));
    z-index: 1000;
    width: 0%;
    transition: width 0.1s linear;
}

/* Public navbar */
.public-layout .navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 76px;
    padding: 0 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    z-index: 100;
    transition: all 0.3s ease;
}

.public-layout .navbar.scrolled {
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 4px 30px rgba(15, 23, 42, 0.08);
    height: 68px;
}

.public-layout .nav-brand {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--pub-primary), var(--pub-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.public-layout .nav-brand i {
    font-size: 1.625rem;
    background: linear-gradient(135deg, var(--pub-primary), var(--pub-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.public-layout .nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.public-layout .nav-links a {
    color: var(--gray-700);
    font-weight: 500;
    font-size: 0.9375rem;
    position: relative;
    transition: color 0.3s ease;
}

.public-layout .nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2.5px;
    background: linear-gradient(90deg, var(--pub-primary), var(--pub-secondary));
    border-radius: 2px;
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.public-layout .nav-links a:not(.btn):hover {
    color: var(--pub-primary);
}

.public-layout .nav-links a:not(.btn):hover::after {
    width: 100%;
}

.public-layout .nav-links .btn {
    padding: 0.625rem 1.5rem;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.public-layout .nav-links .btn-primary {
    background: linear-gradient(135deg, var(--pub-primary), var(--pub-secondary));
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.35);
    border: none;
    color: white;
}

.public-layout .nav-links .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.45);
}

.public-layout .nav-links .btn-outline {
    border: 1.5px solid var(--gray-300);
    background: transparent;
}

.public-layout .nav-links .btn-outline:hover {
    border-color: var(--pub-primary);
    color: var(--pub-primary);
    background: rgba(37, 99, 235, 0.04);
}

/* Mobile menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--gray-700);
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(4px);
    z-index: 98;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-nav-overlay.active {
    display: block;
    opacity: 1;
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -320px;
    width: 320px;
    height: 100vh;
    background: white;
    box-shadow: -10px 0 40px rgba(15, 23, 42, 0.15);
    z-index: 99;
    padding: 6rem 2rem 2rem;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav a {
    display: block;
    padding: 1rem 0;
    color: var(--gray-800);
    font-weight: 600;
    font-size: 1.125rem;
    border-bottom: 1px solid var(--gray-100);
}

.mobile-nav .btn {
    margin-top: 1.5rem;
    width: 100%;
    justify-content: center;
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    padding: 10rem 2rem 8rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #ffffff 0%, #f0f7ff 40%, #e8f0fe 100%);
    overflow: hidden;
}

.hero-mesh {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.45;
    background:
        radial-gradient(at 15% 25%, rgba(37, 99, 235, 0.14) 0px, transparent 50%),
        radial-gradient(at 85% 15%, rgba(124, 58, 237, 0.12) 0px, transparent 45%),
        radial-gradient(at 50% 85%, rgba(6, 182, 212, 0.10) 0px, transparent 50%),
        radial-gradient(at 80% 80%, rgba(236, 72, 153, 0.08) 0px, transparent 40%);
}

.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    opacity: 0.40;
}

.hero-blob-1 {
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, var(--pub-primary), var(--pub-accent));
    top: -200px;
    right: -150px;
    animation: blob 20s infinite;
}

.hero-blob-2 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, var(--pub-secondary), var(--pub-pink));
    bottom: -150px;
    left: -150px;
    animation: blob 25s infinite reverse;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 920px;
    text-align: center;
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.5rem 1.125rem;
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.18);
    border-radius: 100px;
    color: var(--pub-primary);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.75rem;
    backdrop-filter: blur(10px);
}

.hero-badge i {
    animation: pulse-ring 2s infinite;
    border-radius: 50%;
    padding: 0.25rem;
    background: rgba(37, 99, 235, 0.1);
}

.hero h1 {
    font-size: clamp(2.75rem, 6.5vw, 5rem);
    font-weight: 900;
    line-height: 1.05;
    color: var(--pub-dark);
    margin-bottom: 1.5rem;
    letter-spacing: -0.04em;
}

.hero h1 span {
    background: linear-gradient(135deg, var(--pub-primary) 0%, var(--pub-secondary) 50%, var(--pub-accent) 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 6s ease infinite;
    text-shadow: none;
}

.hero .hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.375rem);
    color: #1e293b;
    max-width: 720px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 5rem;
}

.hero-buttons .btn {
    padding: 1rem 2.25rem;
    font-size: 1rem;
    border-radius: 100px;
    font-weight: 600;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-buttons .btn-primary {
    background: linear-gradient(135deg, var(--pub-primary), var(--pub-secondary));
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.4);
    border: none;
    position: relative;
    overflow: hidden;
    color: white;
}

.hero-buttons .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s ease;
}

.hero-buttons .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.5);
}

.hero-buttons .btn-primary:hover::before {
    left: 100%;
}

.hero-buttons .btn-outline {
    border: 2px solid var(--gray-400);
    background: white;
    color: var(--pub-dark);
}

.hero-buttons .btn-outline:hover {
    border-color: var(--pub-primary);
    color: var(--pub-primary);
    background: rgba(37, 99, 235, 0.08);
    transform: translateY(-3px);
}

/* Hero preview dashboard */
.hero-preview {
    position: relative;
    z-index: 1;
    max-width: 1140px;
    width: 100%;
    margin: 0 auto;
    animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
    perspective: 1000px;
}

.hero-preview-inner {
    transform: rotateX(5deg);
    transform-style: preserve-3d;
    transition: transform 0.6s ease;
}

.hero-preview:hover .hero-preview-inner {
    transform: rotateX(0deg);
}

.hero-preview-frame {
    background: linear-gradient(145deg, #0f172a, #1e293b);
    border-radius: 24px;
    padding: 1.25rem;
    box-shadow:
        0 30px 80px rgba(15, 23, 42, 0.35),
        0 0 0 1px rgba(255, 255, 255, 0.08) inset;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-preview-header {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    align-items: center;
}

.hero-preview-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.hero-preview-body {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(124, 58, 237, 0.1));
    border-radius: 16px;
    padding: 1.75rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.preview-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

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

.preview-card .preview-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.preview-card .preview-label {
    color: var(--gray-400);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.375rem;
}

.preview-card .preview-value {
    color: white;
    font-size: 1.625rem;
    font-weight: 800;
}

.preview-card .preview-change {
    color: #34d399;
    font-size: 0.75rem;
    margin-top: 0.25rem;
    font-weight: 600;
}

/* Stats bar */
.stats-bar {
    background: linear-gradient(135deg, var(--pub-darker), var(--pub-dark));
    padding: 5rem 2rem;
    position: relative;
    overflow: hidden;
}

.stats-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(37, 99, 235, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 50%, rgba(124, 58, 237, 0.15) 0%, transparent 40%);
}

.stats-grid-pub {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.stat-pub {
    text-align: center;
    padding: 1rem;
}

.stat-pub .number {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, white, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-pub .label {
    color: var(--gray-400);
    font-size: 0.9375rem;
    font-weight: 500;
}

/* Section base */
.section-pub {
    padding: 7rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 4.5rem;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--pub-dark);
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--gray-600);
    line-height: 1.7;
}

.section-label {
    display: inline-block;
    padding: 0.5rem 1.125rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(124, 58, 237, 0.1));
    color: var(--pub-primary);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 1.25rem;
}

/* Features */
.features-pub {
    background: white;
}

.features-grid-pub {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.feature-card-pub {
    padding: 2.25rem;
    border-radius: 24px;
    border: 1px solid var(--gray-200);
    background: white;
    transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.feature-card-pub::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--pub-primary), var(--pub-secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-card-pub:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(15, 23, 42, 0.1);
    border-color: transparent;
}

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

.feature-card-pub .feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--pub-primary), var(--pub-secondary));
    color: white;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.25);
    transition: transform 0.3s ease;
}

.feature-card-pub:hover .feature-icon {
    transform: scale(1.1) rotate(-5deg);
}

.feature-card-pub h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--pub-dark);
    margin-bottom: 0.875rem;
}

.feature-card-pub p {
    color: var(--gray-600);
    line-height: 1.7;
    font-size: 0.9375rem;
}

/* AI showcase */
.ai-showcase-pub {
    background: linear-gradient(180deg, var(--pub-darker) 0%, #111827 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.ai-showcase-pub .section-pub {
    position: relative;
    z-index: 1;
}

.ai-showcase-pub .section-header h2 {
    color: white;
}

.ai-showcase-pub .section-header p {
    color: var(--gray-400);
}

.ai-showcase-content-pub {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.ai-features-list-pub {
    list-style: none;
}

.ai-features-list-pub li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    color: #e2e8f0;
    font-size: 1.0625rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.ai-features-list-pub li:hover {
    color: white;
    padding-left: 0.5rem;
}

.ai-features-list-pub li:last-child {
    border-bottom: none;
}

.ai-features-list-pub i {
    color: #34d399;
    font-size: 1.25rem;
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(52, 211, 153, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-demo-pub {
    background: var(--pub-glass);
    border: 1px solid var(--pub-glass-border);
    border-radius: 24px;
    padding: 1.75rem;
    backdrop-filter: blur(24px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
    animation: float 7s ease-in-out infinite;
}

.ai-demo-header-pub {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--pub-glass-border);
    color: #fbbf24;
    font-weight: 700;
    font-size: 1rem;
}

.ai-demo-content-pub {
    font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
    font-size: 0.9375rem;
    line-height: 1.9;
}

.ai-demo-content-pub .prompt {
    color: #93c5fd;
}

.ai-demo-content-pub .response {
    color: #34d399;
}

.ai-demo-content-pub .highlight {
    color: #fbbf24;
}

/* How it works */
.how-it-works {
    background: var(--gray-50);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
}

.step-card {
    text-align: center;
    padding: 2rem 1.5rem;
    position: relative;
    background: white;
    border-radius: 24px;
    border: 1px solid var(--gray-200);
    transition: all 0.4s ease;
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}

.step-card::after {
    content: '\f054';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 3.5rem;
    right: -1.25rem;
    color: var(--gray-300);
    font-size: 1rem;
    z-index: 1;
}

.step-card:last-child::after {
    display: none;
}

.step-number {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--pub-primary), var(--pub-secondary));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 900;
    margin: 0 auto 1.5rem;
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.3);
    position: relative;
}

.step-number::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(37, 99, 235, 0.2);
    animation: pulse-ring 2s infinite;
}

.step-card h3 {
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--pub-dark);
    margin-bottom: 0.875rem;
}

.step-card p {
    color: var(--gray-600);
    font-size: 0.9375rem;
    line-height: 1.7;
}

/* Sectors */
.sectors-pub {
    background: white;
}

.sectors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.sector-card {
    padding: 2.75rem;
    border-radius: 24px;
    background: linear-gradient(145deg, #f8fafc, #f1f5f9);
    border: 1px solid var(--gray-200);
    text-align: center;
    transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.sector-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0;
    background: linear-gradient(135deg, var(--pub-primary), var(--pub-secondary));
    transition: height 0.4s ease;
    z-index: 0;
}

.sector-card:hover::before {
    height: 100%;
}

.sector-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(15, 23, 42, 0.12);
}

.sector-card > * {
    position: relative;
    z-index: 1;
    transition: color 0.4s ease;
}

.sector-card:hover > * {
    color: white;
}

.sector-card:hover .sector-icon {
    background: white;
    color: var(--pub-primary);
}

.sector-card .sector-icon {
    width: 76px;
    height: 76px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.875rem;
    margin: 0 auto 1.75rem;
    background: white;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    color: var(--pub-primary);
    transition: all 0.4s ease;
}

.sector-card h3 {
    font-size: 1.375rem;
    font-weight: 800;
    color: var(--pub-dark);
    margin-bottom: 1rem;
}

.sector-card:hover h3 {
    color: white;
}

.sector-card p {
    color: var(--gray-600);
    line-height: 1.7;
}

.sector-card:hover p {
    color: rgba(255, 255, 255, 0.9);
}

/* Logo ticker */
.logo-ticker {
    padding: 4rem 0;
    background: var(--gray-50);
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
    overflow: hidden;
}

.logo-ticker h3 {
    text-align: center;
    color: var(--gray-400);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 2.5rem;
}

.ticker-wrapper {
    position: relative;
}

.ticker-wrapper::before,
.ticker-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
}

.ticker-wrapper::before {
    left: 0;
    background: linear-gradient(90deg, var(--gray-50), transparent);
}

.ticker-wrapper::after {
    right: 0;
    background: linear-gradient(270deg, var(--gray-50), transparent);
}

.ticker-track {
    display: flex;
    gap: 5rem;
    animation: ticker 35s linear infinite;
    width: max-content;
}

.ticker-track:hover {
    animation-play-state: paused;
}

.ticker-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--gray-500);
    font-weight: 800;
    font-size: 1.25rem;
    white-space: nowrap;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.ticker-item:hover {
    opacity: 1;
}

.ticker-item i {
    font-size: 1.5rem;
    color: var(--pub-primary);
}

/* Testimonials */
.testimonials {
    background: linear-gradient(180deg, var(--gray-50) 0%, white 100%);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.testimonial-card {
    background: white;
    padding: 2.25rem;
    border-radius: 24px;
    border: 1px solid var(--gray-200);
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.05);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.1);
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 1.25rem;
    right: 1.75rem;
    font-size: 4rem;
    color: var(--gray-100);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-stars {
    color: #fbbf24;
    margin-bottom: 1.25rem;
    font-size: 0.875rem;
}

.testimonial-text {
    color: var(--gray-700);
    line-height: 1.8;
    margin-bottom: 1.75rem;
    font-size: 0.9375rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--pub-primary), var(--pub-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 1rem;
}

.testimonial-name {
    font-weight: 800;
    color: var(--pub-dark);
}

.testimonial-role {
    font-size: 0.8125rem;
    color: var(--gray-500);
}

/* CTA */
.cta-section {
    padding: 7rem 2rem;
    background: linear-gradient(135deg, var(--pub-primary), var(--pub-secondary));
    position: relative;
    overflow: hidden;
    text-align: center;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.12) 1px, transparent 1px);
    background-size: 40px 40px;
    animation: gradient-shift 20s linear infinite;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0 auto;
    color: white;
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.cta-content p {
    font-size: 1.125rem;
    opacity: 0.95;
    margin-bottom: 2.5rem;
}

.cta-content .btn {
    background: white;
    color: var(--pub-primary);
    padding: 1.125rem 2.75rem;
    border-radius: 100px;
    font-weight: 800;
    font-size: 1.0625rem;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.cta-content .btn:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

/* Footer */
.public-footer {
    background: var(--pub-darker);
    padding: 5rem 2rem 2.5rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
    text-align: left;
}

.footer-brand-pub {
    font-size: 1.625rem;
    font-weight: 900;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.footer-brand-pub i {
    font-size: 1.75rem;
    background: linear-gradient(135deg, var(--pub-primary), var(--pub-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-desc {
    color: var(--gray-400);
    line-height: 1.8;
    margin-bottom: 1.75rem;
    font-size: 0.9375rem;
}

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

.footer-social a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--pub-glass);
    border: 1px solid var(--pub-glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--pub-primary);
    color: white;
    transform: translateY(-4px);
    border-color: var(--pub-primary);
}

.footer-column h4 {
    color: white;
    font-size: 0.875rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.footer-column a {
    display: block;
    color: var(--gray-400);
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}

.footer-column a:hover {
    color: white;
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2.5rem;
    text-align: center;
    color: var(--gray-500);
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .features-grid-pub,
    .sectors-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .step-card::after {
        display: none;
    }
    .ai-showcase-content-pub {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    .stats-grid-pub {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    .hero-preview-body {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .public-layout .nav-links {
        display: none;
    }
    .mobile-menu-toggle {
        display: block;
    }
    .hero {
        padding: 8rem 1.25rem 5rem;
        min-height: auto;
    }
    .section-pub {
        padding: 5rem 1.25rem;
    }
    .features-grid-pub,
    .sectors-grid,
    .testimonials-grid,
    .steps-grid,
    .stats-grid-pub {
        grid-template-columns: 1fr;
    }
    .footer-top {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .hero-preview-body {
        grid-template-columns: 1fr;
    }
    .hero-preview-frame {
        border-radius: 16px;
        padding: 0.875rem;
    }
    .hero-preview-inner {
        transform: none;
    }
    .feature-card-pub,
    .sector-card,
    .testimonial-card,
    .step-card {
        padding: 1.75rem;
    }
}

/* Utility helpers */
.text-danger { color: #dc2626 !important; }
