/**
 * Skill Owners - Main Stylesheet
 * Preserving exact design from React project
 */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

/* ===== CSS Variables ===== */
:root {
    /* Colors */
    --background: hsl(240, 10%, 3.9%);
    /* Deep Black */
    --foreground: hsl(0, 0%, 98%);
    /* Off-White */
    --card: hsl(240, 10%, 10%);
    /* Dark Card */
    --card-foreground: hsl(0, 0%, 98%);
    --primary: hsl(150, 100%, 35%);
    /* Emerald Green */
    --primary-foreground: hsl(0, 0%, 100%);
    --secondary: hsl(240, 5%, 15%);
    --secondary-foreground: hsl(0, 0%, 100%);
    --muted: hsl(240, 5%, 15%);
    --muted-foreground: hsl(240, 5%, 65%);
    --accent: hsl(142, 71%, 45%);
    --accent-foreground: hsl(0, 0%, 100%);
    --border: hsla(0, 0%, 100%, 0.1);
    --input: hsla(0, 0%, 100%, 0.1);
    --ring: hsl(150, 100%, 35%);

    /* Fonts */
    --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Border Radius */
    --radius: 1rem;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, hsl(150, 100%, 35%), hsl(160, 100%, 25%));
    --gradient-accent: linear-gradient(135deg, hsl(142, 71%, 45%), hsl(160, 100%, 35%));
    --gradient-hero: radial-gradient(circle at top left, hsla(150, 100%, 35%, 0.1), transparent 40%),
        radial-gradient(circle at bottom right, hsla(160, 100%, 25%, 0.1), transparent 40%);

    /* Shadows */
    --shadow-elevated: 0 20px 60px -15px hsla(150, 100%, 35%, 0.3);
    --shadow-card: 0 4px 20px -4px hsla(0, 0%, 0%, 0.5);
}

/* ===== Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-top: 75px;
    background-image: var(--gradient-hero);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===== Utility Classes ===== */
.text-primary {
    color: var(--primary) !important;
}

.text-success {
    color: var(--primary) !important;
}

.official-badge-icon {
    font-size: 0.85em;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 0.35rem;
    position: relative;
    top: -0.1em;
}


.text-muted {
    color: var(--muted-foreground) !important;
}

.font-display {
    font-family: var(--font-display);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.container-fluid {
    width: 100%;
    padding: 0 1rem;
}

/* ===== Navbar ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    background: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid hsla(0, 0%, 100%, 0.05);
    height: 64px;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--foreground) !important;
}

.navbar-brand .logo {
    width: 32px;
    height: 32px;
    background: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-foreground);
    font-size: 0.875rem;
}

.navbar-brand .text-primary {
    color: var(--primary);
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.navbar-menu li {
    display: flex;
    align-items: center;
}

.navbar-menu a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--muted-foreground);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    line-height: normal;
}

.navbar-menu a:hover,
.navbar-menu a.active {
    color: var(--primary);
}

.navbar-menu a.active {
    background: hsla(150, 100%, 35%, 0.1);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--foreground);
    font-size: 1.25rem;
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .navbar .navbar-menu {
        display: none;
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        background-color: #0a0a0a !important;
        color-scheme: dark;
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        flex-direction: column;
        padding: 1.5rem;
        gap: 0.25rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        z-index: 1049;
    }

    .navbar .navbar-menu.show {
        display: flex !important;
    }

    .navbar .navbar-menu li {
        width: 100%;
        list-style: none;
    }

    .navbar .navbar-menu li a,
    .navbar .navbar-menu li a:link,
    .navbar .navbar-menu li a:visited {
        display: block !important;
        width: 100%;
        padding: 0.75rem 1rem;
        color: #e2e8f0 !important;
        font-size: 1rem;
        font-weight: 500;
        border-radius: 0.5rem;
        transition: background 0.2s ease;
        text-decoration: none;
        background: transparent !important;
    }

    .navbar .navbar-menu li a:hover {
        background: rgba(255, 255, 255, 0.08) !important;
        color: #10b981 !important;
    }

    .navbar .navbar-menu li a.active {
        background: rgba(16, 185, 129, 0.1) !important;
        color: #10b981 !important;
        padding: 0.75rem 1rem;
    }

    .navbar-actions {
        display: none;
    }
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    cursor: pointer;
    border: 1px solid transparent;
    font-family: var(--font-body);
}

.btn:hover {
    transform: translateY(-2px) scale(1.02);
}

.btn:active {
    transform: translateY(0) scale(0.98);
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--primary-foreground);
    border: none;
    box-shadow: 0 4px 14px 0 hsla(150, 100%, 35%, 0.2);
}

.btn-primary:hover {
    box-shadow: 0 8px 25px -5px hsla(150, 100%, 35%, 0.4);
    filter: brightness(1.1);
}

.btn-secondary {
    background: var(--muted);
    color: var(--foreground);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--border);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--foreground);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: hsla(150, 100%, 35%, 0.1);
}

.btn-lg {
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.813rem;
}

/* ===== Hero Section v2 ===== */
.hero-section {
    position: relative;
    padding: 6rem 0 8rem;
    background-color: transparent;
    overflow: hidden;
}

.grid-bg {
    background-image: radial-gradient(hsla(0, 0%, 100%, 0.05) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 992px) {
    .hero-grid {
        grid-template-columns: 1.2fr 0.8fr;
    }
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: hsla(150, 100%, 35%, 0.05);
    border: 1px solid hsla(150, 100%, 35%, 0.1);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    margin-bottom: 2rem;
}

.hero-tag i {
    color: var(--primary);
    font-size: 0.75rem;
}

.hero-tag span {
    font-size: 11px;
    font-weight: 700;
    color: hsla(150, 100%, 25%, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -0.04em;
    color: #ffffff;
    text-align: left;
}

.text-gradient {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.125rem;
    color: #6b7280;
    margin-bottom: 2.5rem;
    max-width: 32rem;
    font-weight: 500;
    line-height: 1.6;
    margin-left: 0;
    text-align: left;
}


.hero-proof {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 3rem;
}

.avatar-group {
    display: flex;
    margin-left: 0.75rem;
}

.avatar {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    border: 2px solid white;
    margin-left: -0.75rem;
    object-fit: cover;
}

.proof-info .stars {
    color: #34d399;
    font-size: 0.75rem;
    margin-bottom: 0.25rem;
}

.proof-info p {
    font-size: 11px;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Dynamic Flipping Cards Gallery */
.hero-cards-gallery {
    position: relative;
    width: 100%;
    height: 450px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.flip-card {
    background-color: transparent;
    width: 280px;
    height: 380px;
    perspective: 1000px;
    position: absolute;
    transition: all 0.5s ease;
}

.flip-card:nth-child(1) {
    transform: rotate(-4deg);
    z-index: 3;
}

.flip-card:nth-child(2) {
    transform: rotate(2deg);
    z-index: 2;
}

.flip-card:nth-child(3) {
    transform: rotate(8deg);
    z-index: 1;
}

.flip-card:hover {
    z-index: 100 !important;
    transform: scale(1.1) rotate(0deg) !important;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    cursor: pointer;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

/* Triangular Stack Logic: Left, Right, and Bottom offsets */
.flip-card:nth-child(1) {
    transform: translate(-50px, -20px) rotate(-8deg);
    z-index: 1;
}

/* Left */
.flip-card:nth-child(2) {
    transform: translate(50px, -20px) rotate(8deg);
    z-index: 1;
}

/* Right */
.flip-card:nth-child(3) {
    transform: translate(0, 40px) rotate(0deg);
    z-index: 1;
}

/* Downside */

/* POP-TO-FRONT Animations: Brings card to center-front, stays for 3s, then returns to stack */
@keyframes pop-to-front-1 {

    0%,
    30% {
        transform: translate(0, 0) rotate(0) scale(1.1);
        z-index: 100;
    }

    35%,
    100% {
        transform: translate(-50px, -20px) rotate(-8deg);
        z-index: 1;
    }
}

@keyframes pop-to-front-2 {

    0%,
    30% {
        transform: translate(0, 0) rotate(0) scale(1.1);
        z-index: 100;
    }

    35%,
    100% {
        transform: translate(50px, -20px) rotate(8deg);
        z-index: 1;
    }
}

@keyframes pop-to-front-3 {

    0%,
    30% {
        transform: translate(0, 0) rotate(0) scale(1.1);
        z-index: 100;
    }

    35%,
    100% {
        transform: translate(0, 40px) rotate(0deg);
        z-index: 1;
    }
}

/* Sequential Execution: Card 3 (Down) -> Card 2 (Right) -> Card 1 (Left) */
.flip-card:nth-child(3) {
    animation: pop-to-front-3 9s infinite 0s;
}

.flip-card:nth-child(2) {
    animation: pop-to-front-2 9s infinite 3s;
}

.flip-card:nth-child(1) {
    animation: pop-to-front-1 9s infinite 6s;
}

/* No auto-flip animation on .flip-card-inner; Only manual hover */
.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

/* Pause positioning on hover so user can read */
.flip-card:hover {
    animation-play-state: paused !important;
}

/* Center containment */
.hero-cards-gallery .flip-card {
    top: 50%;
    left: 50%;
    transform-origin: center center;
    margin-top: -190px;
    margin-left: -140px;
}

/* Pause on hover */
.flip-card:hover .flip-card-inner {
    animation-play-state: paused;
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid hsla(0, 0%, 100%, 0.1);
}

.flip-card-front {
    background-color: var(--card);
}

.flip-card-back {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    text-align: left;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.flip-card-img {
    width: 100%;
    height: 60%;
    object-fit: cover;
}

.flip-card-content {
    padding: 1.5rem;
    text-align: left;
}

.flip-card-content h3 {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.flip-card-content p {
    font-size: 0.8rem;
    color: #64748b;
    line-height: 1.4;
}

.back-header {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #10b981;
    font-weight: 800;
    margin-bottom: 1rem;
}

.back-title {
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.back-stats {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.5rem;
}

.stat-row span:last-child {
    font-weight: 800;
    color: #10b981;
}

/* Float Animation for Gallery */
@keyframes float-gallery {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.hero-cards-gallery {
    animation: float-gallery 6s ease-in-out infinite;
}

/* Entrance Animations */
@keyframes revealUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes revealRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes revealLeft {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.reveal-up {
    opacity: 0;
    animation: revealUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.reveal-right {
    opacity: 0;
    animation: revealRight 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.reveal-left {
    opacity: 0;
    animation: revealLeft 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes float-v2 {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.card-img {
    aspect-ratio: 712 / 433;
    width: 100%;
    object-fit: cover;
}

.card-body {
    padding: 2rem;
}

.card-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--primary);
    backdrop-filter: blur(8px);
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--primary);
}

.card-badge p {
    font-size: 10px;
    font-weight: 900;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.profile-info h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.profile-info .role {
    color: #059669;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid #f9fafb;
    margin-top: 1.5rem;
}

.price {
    font-size: 10px;
    font-weight: 700;
    color: #9ca3af;
    text-transform: uppercase;
}

.btn-profile {
    background: #18181b;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 0.75rem;
    font-size: 12px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-profile:hover {
    background: #10b981;
}


/* ===== Categories Section ===== */
.categories-section {
    padding: 6rem 0;
    background: var(--background);
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-title {
    font-size: clamp(1.875rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    max-width: 32rem;
    margin: 0 auto;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

@media (max-width: 1024px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .categories-grid {
        grid-template-columns: 1fr;
    }
}

.solutions-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .solutions-grid-2 {
        grid-template-columns: 1fr;
        max-width: 100%;
    }

    .category-card {
        padding: 2.5rem 1.5rem;
        gap: 1.5rem;
        border-radius: 1.5rem;
    }

    .category-icon {
        width: 64px;
        height: 64px;
        font-size: 1.75rem;
    }
}

/* Category Card */
.category-card {
    background: hsla(0, 0%, 100%, 0.03);
    backdrop-filter: blur(12px);
    border: 1px solid hsla(0, 0%, 100%, 0.05);
    padding: 3.5rem 2rem;
    border-radius: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
    transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    overflow: hidden;
}

.category-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    background: white;
    box-shadow: 0 20px 40px -15px hsla(150, 100%, 35%, 0.3);
}

.category-card:hover .category-name {
    color: #000000;
}

.category-icon {
    width: 80px;
    height: 80px;
    border-radius: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.25rem;
    transition: all 0.4s ease;
    background: hsla(150, 100%, 35%, 0.08);
    color: var(--primary);
}

.category-card:hover .category-icon {
    transform: scale(1.15) rotate(8deg);
    background: var(--primary);
    color: white;
}

.category-icon.primary {
    background: hsla(150, 100%, 35%, 0.1);
    color: var(--primary);
}

.category-icon.secondary {
    background: hsla(160, 84%, 19%, 0.1);
    color: var(--secondary);
}

.category-icon.accent {
    background: hsla(142, 71%, 45%, 0.1);
    color: var(--accent);
}

.category-name {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    color: var(--foreground);
}


/* ===== CTA Section ===== */
.cta-section {
    padding: 6rem 0;
    background: var(--background);
}

.cta-box {
    position: relative;
    overflow: hidden;
    border-radius: 1.5rem;
    padding: 4rem 3rem;
    text-align: center;
    background: var(--gradient-primary);
}

.cta-title {
    font-size: clamp(1.875rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--primary-foreground);
    margin-bottom: 1rem;
}

.cta-description {
    font-size: 1.125rem;
    color: hsla(0, 0%, 100%, 0.8);
    max-width: 28rem;
    margin: 0 auto 2rem;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

/* ===== Premium Footer Redesign ===== */
.footer {
    background: #050505;
    padding: 6rem 0 3rem;
    position: relative;
    overflow: hidden;
    border-top: 1px solid hsla(0, 0%, 100%, 0.05);
}

.footer-top {
    padding-bottom: 4rem;
    border-bottom: 1px solid hsla(0, 0%, 100%, 0.05);
    margin-bottom: 4rem;
}

.footer-cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: white;
    letter-spacing: -0.02em;
}

.footer-newsletter {
    display: flex;
    gap: 1rem;
    background: hsla(0, 0%, 100%, 0.03);
    padding: 0.5rem;
    border-radius: 1.25rem;
    border: 1px solid hsla(0, 0%, 100%, 0.1);
}


.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.brand-desc {
    color: #94a3b8;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 320px;
}

.footer-nav-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-links h4 {
    color: white;
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: #94a3b8;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid hsla(0, 0%, 100%, 0.05);
    color: #475569;
    font-size: 0.875rem;
    font-weight: 500;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links span {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.7rem;
    font-weight: 800;
}

@media (max-width: 991px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 767px) {
    .footer-cta-title {
        font-size: 2rem;
    }

    .footer-newsletter {
        flex-direction: column;
        padding: 1rem;
    }

    .footer-nav-group {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}

/* ===== Form Styles ===== */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--foreground);
}

.form-control {
    width: 100%;
    padding: 0.625rem 0.875rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--card);
    font-size: 0.875rem;
    font-family: var(--font-body);
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px hsla(150, 100%, 35%, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

.form-text {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

/* ===== Alert Messages ===== */
.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
}

.alert-success {
    background: hsla(142, 71%, 45%, 0.1);
    border: 1px solid hsla(142, 71%, 45%, 0.3);
    color: hsl(142, 71%, 30%);
}

.alert-error {
    background: hsla(0, 72%, 51%, 0.1);
    border: 1px solid hsla(0, 72%, 51%, 0.3);
    color: hsl(0, 72%, 35%);
}

.alert-info {
    background: hsla(199, 89%, 48%, 0.1);
    border: 1px solid hsla(199, 89%, 48%, 0.3);
    color: hsl(199, 89%, 35%);
}

/* ===== Card Component ===== */
.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

.card-header {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
}

.card-body {
    padding: 0;
}

/* ===== Badge Component ===== */
.badge {
    display: inline-block;
    padding: 0.25rem 0.625rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 500;
}

.badge-primary {
    background: hsla(150, 100%, 35%, 0.1);
    color: var(--primary);
}

.badge-success {
    background: hsla(142, 71%, 45%, 0.1);
    color: hsl(142, 71%, 30%);
}

.badge-warning {
    color: hsl(35, 95%, 35%);
}

.mobile-only {
    display: none;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .navbar .container {
        position: relative;
    }

    .navbar-menu {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 0 1rem;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
        z-index: 999;
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .navbar-menu.show {
        max-height: 400px;
        opacity: 1;
        padding: 1rem;
    }

    .navbar-menu li {
        margin-bottom: 0.75rem;
    }

    .navbar-menu a {
        display: block;
        padding: 0.5rem 0;
        color: var(--foreground);
        font-weight: 500;
    }

    /* Mobile only links support */
    .mobile-only {
        display: block;
        margin-top: 0.5rem;
        padding-top: 0.5rem;
        border-top: 1px solid var(--border);
    }

    /* Hide desktop action buttons on mobile */
    .navbar-actions .btn {
        display: none;
    }

    /* Position navbar actions to the right */
    /* Position navbar actions to the right */
    .navbar-actions {
        position: relative;
        margin-left: auto;
        margin-right: 0.5rem;
        top: auto;
        right: auto;
        transform: none;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    /* Keep messages icon visible on mobile */
    .navbar-actions .navbar-messages-icon {
        display: flex !important;
    }

    /* Position toggle button after messages icon */
    .mobile-toggle {
        display: block;
        position: relative;
        margin-left: 0.25rem;
    }

    .hero-search {
        flex-direction: column;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .cta-box {
        padding: 3rem 1.5rem;
    }

    .cta-actions {
        flex-direction: column;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ===== Utilities ===== */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.text-primary {
    color: var(--primary);
}

.text-gradient-emerald {
    background: linear-gradient(135deg, hsl(150, 100%, 35%) 0%, hsl(160, 100%, 25%) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.text-secondary {
    color: var(--secondary);
}

.text-muted {
    color: var(--muted-foreground);
}

.mt-1 {
    margin-top: 0.5rem;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.d-none {
    display: none;
}

.d-block {
    display: block;
}

.d-flex {
    display: flex;
}

.flex-column {
    flex-direction: column;
}

.align-items-center {
    align-items: center;
}

.justify-content-center {
    justify-content: center;
}

.justify-content-between {
    justify-content: space-between;
}

.gap-1 {
    gap: 0.5rem;
}

.gap-2 {
    gap: 1rem;
}

.gap-3 {
    gap: 1.5rem;
}

/* ===== Dashboard Enhancement Styles ===== */
.dashboard-layout {
    display: flex;
    min-height: calc(100vh - 64px);
    margin-top: 64px;
    background: #fdfdfd;
    /* Lighter background */
}

.dashboard-content {
    flex: 1;
    padding: 2.25rem 2.5rem;
    /* Slightly more balanced padding */
    overflow-x: hidden;
}

.page-header {
    margin-bottom: 2rem;
}

.page-title {
    font-size: 1.75rem;
    /* Slightly smaller for professionalism */
    font-weight: 600;
    /* Less "bold" */
    letter-spacing: -0.01em;
    color: #0f172a;
    margin-bottom: 0.25rem;
}

.dashboard-card {
    background: white;
    border-radius: 1.25rem;
    /* More rounded */
    padding: 1.75rem;
    border: 1px solid #f1f5f9;
    /* Softer border */
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.02), 0 10px 30px -10px rgba(0, 0, 0, 0.04);
    /* Premium soft shadow */
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.dashboard-card:hover {
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.06);
    border-color: #e2e8f0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.stat-card {
    background: white;
    padding: 1.75rem;
    border-radius: 1.25rem;
    border: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    box-shadow: 0 4px 20px -5px rgba(0, 0, 0, 0.03);
    transition: all 0.4s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    border-color: var(--primary);
    box-shadow: 0 10px 25px -5px rgba(16, 185, 129, 0.08);
}

.stat-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.stat-icon.primary {
    background: hsla(150, 100%, 35%, 0.06);
    /* Lighter */
    color: var(--primary);
}

.stat-icon.success {
    background: #f0fdf4;
    color: #10b981;
}

.stat-icon.warning {
    background: #fffbeb;
    color: #f59e0b;
}

.stat-icon.info {
    background: #f0f7ff;
    color: #3b82f6;
}

.stat-data {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 1.625rem;
    font-weight: 600;
    /* Less heavy */
    color: #0f172a;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 0.813rem;
    font-weight: 500;
    color: #64748b;
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.data-table-container {
    background: white;
    border-radius: 1rem;
    border: 1px solid #f1f5f9;
    overflow: hidden;
    box-shadow: 0 4px 15px -5px rgba(0, 0, 0, 0.02);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th {
    background: #fcfcfd;
    /* Almost white */
    padding: 14px 24px;
    text-align: left;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    /* More breathing room */
    color: #94a3b8;
    border-bottom: 1px solid #f1f5f9;
}

.data-table td {
    padding: 18px 24px;
    /* More vertical breathing room */
    font-size: 0.9rem;
    color: #475569;
    border-bottom: 1px solid #f8fafc;
}

.data-table tr:last-child td {
    border-bottom: none;
}

.data-table tr:hover td {
    background: #f8fafc;
}

@media (max-width: 768px) {
    .dashboard-content {
        padding: 1.5rem;
    }
}

/* Flex Utilities */
.relative {
    position: relative !important;
}

.z-10 {
    z-index: 10 !important;
}

.d-flex {
    display: flex !important;
}

.justify-content-between {
    justify-content: space-between !important;
}

.align-items-center {
    align-items: center !important;
}

.flex-wrap {
    flex-wrap: wrap !important;
}

.flex-grow-1 {
    flex-grow: 1 !important;
}

.gap-2 {
    gap: 0.5rem !important;
}

.gap-3 {
    gap: 1rem !important;
}

.w-100 {
    width: 100% !important;
}


/* ===== Bento Section (Premium) ===== */
:root {
    --f-primary: 150, 100%, 35%;
    /* Emerald green theme */
}

.f-bento-section {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: #050505;
    color: white;
    position: relative;
    padding: 8rem 0;
    overflow: hidden;
}

.f-mesh-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(at 0% 0%, hsla(var(--f-primary), 0.12) 0, transparent 40%),
        radial-gradient(at 100% 100%, hsla(var(--f-primary), 0.08) 0, transparent 40%);
    z-index: 0;
}

.f-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 10;
}

.f-header {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-bottom: 5rem;
}

@media (min-width: 768px) {
    .f-header {
        flex-direction: row;
        align-items: flex-end;
    }
}

.f-badge {
    color: hsl(var(--f-primary));
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-size: 0.75rem;
    margin-bottom: 1rem;
    display: block;
}

.f-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 0.9;
    margin-bottom: 1.5rem;
}

.f-text-gradient {
    background: linear-gradient(to right, #ffffff 40%, hsla(var(--f-primary), 1) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.f-description {
    color: #9ca3af;
    font-size: 1.125rem;
    line-height: 1.625;
    max-width: 32rem;
}

.f-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.5rem;
}

.f-bento-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(25px);
    border-radius: 2.5rem;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    display: flex;
    flex-direction: column;
}

.f-bento-card.large {
    grid-column: span 12;
    min-height: 500px;
    justify-content: flex-end;
    padding: 3rem;
}

@media (min-width: 1024px) {
    .f-bento-card.large {
        grid-column: span 12;
    }

    .f-side-col {
        grid-column: span 12;
    }
}

.f-side-col {
    grid-column: span 12;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.f-bento-card:hover {
    border-color: hsla(var(--f-primary), 0.4);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.f-bento-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at var(--fx, 50%) var(--fy, 50%), hsla(var(--f-primary), 0.25) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}

.f-bento-card:hover::before {
    opacity: 1;
}

.f-bento-card .text-muted {
    color: #9ca3af !important;
    /* Lighter grey for better contrast on dark */
    opacity: 0.9;
}

.f-bento-card:hover .text-muted {
    color: #d1d5db !important;
    /* Even lighter on hover */
    opacity: 1;
}

.f-card-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
    transition: transform 1s ease;
    z-index: -1;
}

.f-bento-card:hover .f-card-img {
    transform: scale(1.05);
}

.f-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, #050505, transparent, transparent);
    z-index: 0;
}

.f-btn-premium {
    background: white;
    color: black;
    padding: 12px 32px;
    border-radius: 99px;
    font-weight: 700;
    transition: all 0.4s ease;
    border: none;
    cursor: pointer;
    width: fit-content;
}

.f-btn-premium:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px -5px hsla(var(--f-primary), 0.4);
    background: hsla(var(--f-primary), 1);
    color: white;
}

.f-icon-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    width: 5rem;
    height: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.f-bento-card:hover .f-icon-box {
    background: hsla(var(--f-primary), 0.2);
    border-color: hsla(var(--f-primary), 0.4);
    transform: rotate(-5deg) scale(1.1);
}

.f-stat-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    flex-grow: 1;
}

.f-pulse {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: hsl(var(--f-primary));
    animation: f-pulse 2s infinite;
}

@keyframes f-pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 hsla(var(--f-primary), 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px hsla(var(--f-primary), 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 hsla(var(--f-primary), 0);
    }
}

/* ===== Phase 4 & 5: Home Page Enhancements ===== */

body .trust-section {
    padding: 10rem 0 !important;
    background: var(--background) !important;
    position: relative;
    overflow: hidden;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    margin-top: 5rem;
}

.trust-card {
    padding: 3.5rem 2.5rem;
    background: hsla(0, 0%, 100%, 0.03);
    backdrop-filter: blur(12px);
    border-radius: 2.5rem;
    border: 1px solid hsla(0, 0%, 100%, 0.05);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2);
}

.trust-card:hover {
    transform: translateY(-15px);
    background: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 40px 80px -20px hsla(150, 100%, 35%, 0.3);
}

.trust-card:hover h3,
.trust-card:hover p {
    color: #000000 !important;
}

.category-desc {
    color: var(--muted-foreground) !important;
    font-size: 1rem !important;
    line-height: 1.6;
    margin-top: 1rem;
    opacity: 0.8;
}

.category-card:hover .category-desc {
    color: #000000 !important;
    opacity: 1;
}

.trust-icon-box {
    width: 72px;
    height: 72px;
    background: hsla(150, 100%, 35%, 0.1);
    color: #10b981;
    border-radius: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 2.5rem;
    transition: all 0.4s ease;
}

.trust-card:hover .trust-icon-box {
    background: #10b981;
    color: #ffffff;
    transform: scale(1.1) rotate(5deg);
}

.trust-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    color: #ffffff;
}

.trust-card p {
    color: var(--muted-foreground);
    font-size: 1.05rem;
    line-height: 1.7;
    font-weight: 500;
}


/* Glassmorphism CTA Section */
body .cta-section {
    padding: 12rem 0 !important;
    background: var(--background) !important;
    position: relative;
}

.glass-cta {
    position: relative;
    padding: 8rem 4rem;
    background: hsla(0, 0%, 100%, 0.03);
    backdrop-filter: blur(30px);
    border: 1px solid hsla(0, 0%, 100%, 0.1);
    border-radius: 5rem;
    text-align: center;
    overflow: hidden;
    box-shadow: 0 50px 120px -30px rgba(0, 0, 0, 0.5);
}

.cta-grid-bg {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(#cbd5e1 1.5px, transparent 1.5px);
    background-size: 50px 50px;
    opacity: 0.3;
    z-index: 0;
}

.cta-badge {
    display: inline-flex;
    padding: 0.6rem 2rem;
    background: hsla(150, 100%, 35%, 0.1);
    color: #10b981;
    border-radius: 100px;
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 2.5rem;
    border: 1px solid hsla(150, 100%, 35%, 0.1);
}

.cta-title-v2 {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 2rem;
    letter-spacing: -0.05em;
    color: #ffffff;
}

.cta-desc-v2 {
    font-size: 1.35rem;
    color: var(--muted-foreground);
    max-width: 45rem;
    margin: 0 auto 4rem;
    font-weight: 500;
    line-height: 1.6;
}

.cta-btn-group {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.cta-btn-glow {
    position: relative;
    background: #10b981;
    color: #ffffff;
    padding: 1.5rem 4rem;
    border-radius: 1.5rem;
    font-weight: 800;
    font-size: 1.25rem;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    box-shadow: 0 25px 50px -12px rgba(16, 185, 129, 0.4);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.cta-btn-glow:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 40px 80px -15px rgba(16, 185, 129, 0.6);
    background: #059669;
}

.cta-btn-outline {
    background: transparent;
    border: 2px solid var(--border);
    color: #ffffff;
    padding: 1.5rem 4rem;
    border-radius: 1.5rem;
    font-weight: 800;
    font-size: 1.25rem;
    transition: all 0.4s ease;
}

.cta-btn-outline:hover {
    background: #ffffff;
    border-color: #10b981;
    color: #10b981;
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
    .glass-cta {
        padding: 4rem 1.5rem;
        border-radius: 2rem;
    }

    .cta-title-v2 {
        font-size: 2rem;
    }

    .cta-desc-v2 {
        font-size: 1rem;
        margin-bottom: 2.5rem;
    }

    .cta-badge {
        font-size: 0.7rem;
        padding: 0.5rem 1.25rem;
    }

    .cta-btn-glow,
    .cta-btn-outline {
        width: 100%;
        justify-content: center;
        padding: 1rem 2rem;
        font-size: 1rem;
        border-radius: 1rem;
    }
}

/* Global Stats Section */
body .stats-section {
    padding: 10rem 0 !important;
    background: var(--background) !important;
    color: white !important;
    position: relative;
    overflow: hidden;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 4rem;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.05em;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.stats-mesh {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, hsla(150, 100%, 35%, 0.1) 0%, transparent 70%);
    pointer-events: none;
}


/* ===== Mobile Table Scrolling Fix ===== */
.data-table-container {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    /* Smooth scrolling on iOS */
    margin-bottom: 1rem;
    border-radius: 0.5rem;
    border: 1px solid var(--border);
}

.data-table {
    width: 100%;
    min-width: 800px;
    /* Force table to be wide enough to trigger scroll */
    border-collapse: collapse;
}

.data-table th,
.data-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
    /* Prevent text wrapping */
}

.data-table th {
    background: #f8fafc;
    font-weight: 600;
    color: #475569;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.data-table td {
    color: #334155;
    font-size: 0.95rem;
}

.data-table tr:last-child td {
    border-bottom: none;
}


/* ===== Lead Generation Pages (Contact & Quote) ===== */
.contact-hero,
.page-hero-immersive {
    padding: 8rem 0 4rem;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.contact-hero::before,
.page-hero-immersive::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(var(--primary) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.05;
}

.contact-card,
.info-card-premium {
    background: hsla(0, 0%, 100%, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid hsla(0, 0%, 100%, 0.1);
    border-radius: 2rem;
    padding: 2.5rem;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.contact-card:hover,
.info-card-premium:hover {
    transform: translateY(-8px);
    background: white;
    box-shadow: var(--shadow-elevated);
    border-color: var(--primary);
}

.contact-card:hover h3,
.contact-card:hover p,
.info-card-premium:hover h3,
.info-card-premium:hover p {
    color: #000000 !important;
}

.contact-icon,
.info-card-icon {
    width: 64px;
    height: 64px;
    background: hsla(150, 100%, 35%, 0.1);
    color: var(--primary);
    border-radius: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-glass {
    background: hsla(0, 0%, 100%, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid hsla(0, 0%, 100%, 0.1);
    border-radius: 2.5rem;
    padding: 3.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.input-glass {
    background: hsla(0, 0%, 100%, 0.05);
    border: 1px solid hsla(0, 0%, 100%, 0.1);
    border-radius: 1rem;
    padding: 0.875rem 1.25rem;
    color: white;
    transition: all 0.3s ease;
}

.input-glass::placeholder {
    color: hsla(0, 0%, 100%, 0.4);
}

.input-glass:focus {
    background: white;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px hsla(150, 100%, 35%, 0.1);
    outline: none;
    color: #000000;
}

.input-glass:focus::placeholder {
    color: hsla(0, 0%, 0%, 0.4);
}

/* FAQ Styles */
.faq-item {
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 0;
}

.faq-question {
    font-weight: 700;
    font-size: 1.125rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--foreground);
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-answer {
    margin-top: 1rem;
    color: var(--muted-foreground);
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-question i {
    transition: transform 0.3s ease;
    font-size: 0.875rem;
}