/* PETRION AI — Main Styles */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: var(--leading-normal);
    font-size: var(--text-base);
    overflow-x: hidden;
}

/* === GLOBAL TYPOGRAPHY === */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: var(--weight-bold);
    line-height: var(--leading-tight);
    letter-spacing: 0.05em;
}

h1 {
    font-size: var(--text-6xl);
}

h2 {
    font-size: var(--text-5xl);
}

h3 {
    font-size: var(--text-4xl);
}

h4 {
    font-size: var(--text-3xl);
}

h5 {
    font-size: var(--text-2xl);
}

h6 {
    font-size: var(--text-xl);
}

p {
    line-height: var(--leading-relaxed);
}

a {
    color: var(--cyan);
    text-decoration: none;
    transition: color var(--duration-200) var(--ease-in-out);
}

a:hover {
    color: var(--cyan-dim);
}

/* === LAYOUT === */

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

.section {
    padding: var(--space-20) 0;
    background-color: var(--bg-primary);
}

.section:nth-child(even) {
    background-color: var(--bg-secondary);
}

.section-hero {
    background-color: var(--bg-primary);
    background-image: url('/assets/images/hf_20260218_201017_c3ce1863-10fd-461a-8db9-081b82a189df.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Ensure the container sits above any background images */
.hero .container,
.section-hero .container {
    position: relative;
    z-index: 2;
}

/* Hero title styling: cyan text + readable shadow */
.hero-title,
.hero-headline {
    color: #00e5ff;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.7), 0 0 40px rgba(0, 0, 0, 0.4);
}

/* (removed badge/trust stat tweaks to preserve original styles) */

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

/* === AI SOLUTIONS BY INDUSTRY SECTION BACKGROUND === */
.section-solutions {
    background-color: var(--bg-primary);
    background-image: url("../assets/ai-solutions-bg.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Minimal overlay for solutions background - keep image visible */
.section-solutions::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.08);
    pointer-events: none;
    z-index: 1;
}

/* Ensure the container sits above the background image */
.section-solutions .container {
    position: relative;
    z-index: 2;
}

/* Match hero styling: cyan color + glow text-shadow */
.section-solutions .section-title {
    color: #00e5ff;
    text-shadow: none;
}

.section-solutions .section-subtitle {
    color: #ffffff;
    text-shadow: none;
}

.section-title {
    text-align: center;
    margin-bottom: var(--space-4);
    background: var(--gradient-cyan);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    font-size: var(--text-lg);
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto var(--space-20);
}

/* === HEADER / NAVBAR === */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #0A0E17;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-subtle);
    transition: all var(--duration-300) var(--ease-in-out);
}

.header.scrolled {
    border-bottom-color: var(--border-cyan);
    box-shadow: 0 4px 20px rgba(0, 229, 255, 0.1);
}

.header-content {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: var(--space-4) var(--container-padding);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-8);
}

.logo-section {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    flex-shrink: 0;
    transition: all var(--duration-300) var(--ease-in-out);
}

.logo-helmet,
.logo-img {
    width: 48px;
    height: 48px;
    display: inline-block;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(0, 229, 255, 0.3));
    transition: all var(--duration-300) var(--ease-in-out);
}

.logo-helmet:hover,
.logo-img:hover {
    filter: drop-shadow(0 0 20px rgba(0, 229, 255, 0.6));
}

/* Header vs Footer logo sizes */
.logo-header {
    width: 60px;
    height: 60px;
}

.logo-footer {
    width: 60px;
    height: 60px;
}

.logo-text {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: var(--weight-bold);
    letter-spacing: 0.1em;
    color: var(--cyan);
    white-space: nowrap;
}

.nav {
    display: flex;
    gap: var(--space-8);
    flex: 1;
    justify-content: center;
}

.nav-link {
    position: relative;
    font-size: var(--text-sm);
    font-weight: var(--weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    transition: color var(--duration-200) var(--ease-in-out);
}

.nav-link:hover {
    color: var(--cyan);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    flex-shrink: 0;
}

.btn {
    border: none;
    border-radius: var(--radius-lg);
    font-family: var(--font-body);
    font-weight: var(--weight-semibold);
    cursor: pointer;
    transition: all var(--duration-200) var(--ease-in-out);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.btn-lg {
    padding: var(--space-4) var(--space-8);
    font-size: var(--text-base);
}

.btn-sm {
    padding: var(--space-2) var(--space-5);
    font-size: var(--text-sm);
}

.btn-primary {
    background: var(--gradient-cyan);
    color: var(--bg-primary);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 0 30px rgba(0, 229, 255, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--cyan);
    border: 2px solid var(--cyan);
}

.btn-secondary:hover {
    background: rgba(0, 229, 255, 0.1);
    border-color: var(--cyan-dim);
}

.lang-toggle {
    display: flex;
    gap: var(--space-1);
    background: rgba(0, 229, 255, 0.05);
    padding: var(--space-1);
    border-radius: var(--radius-full);
    border: 1px solid var(--border-cyan);
}

.lang-btn {
    padding: var(--space-2) var(--space-3);
    background: transparent;
    color: var(--text-secondary);
    border: none;
    cursor: pointer;
    font-size: var(--text-xs);
    font-weight: var(--weight-semibold);
    border-radius: var(--radius-full);
    transition: all var(--duration-200) var(--ease-in-out);
    text-transform: uppercase;
}

.lang-btn.active {
    background: var(--cyan);
    color: var(--bg-primary);
}

.lang-btn:hover:not(.active) {
    color: var(--cyan);
}

/* Hamburger menu (hidden on desktop) */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--cyan);
    border-radius: 1px;
    transition: all var(--duration-300) var(--ease-out);
}

/* === HERO SECTION === */

.hero-headline {
    font-size: clamp(var(--text-4xl), 8vw, var(--text-6xl));
    line-height: var(--leading-tight);
    margin-bottom: var(--space-6);
    color: #00e5ff;
}

.hero-subheadline {
    font-size: var(--text-lg);
    color: #FFFFFF;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.7);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-12);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-ctas {
    display: flex;
    gap: var(--space-6);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--space-20);
}

.trust-bar {
    display: flex;
    justify-content: center;
    gap: var(--space-10);
    padding-top: var(--space-10);
    border-top: 1px solid var(--border-subtle);
    margin-top: var(--space-10);
    flex-wrap: wrap;
}

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

.trust-stat strong {
    display: block;
    font-size: var(--text-3xl);
    color: var(--cyan);
    margin-bottom: var(--space-2);
}

.trust-stat span {
    display: block;
    font-size: var(--text-sm);
    color: #ffffff;
}

/* === SERVICES SECTION === */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-8);
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all var(--duration-300) var(--ease-in-out);
}

.service-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-cyan);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.15);
}

.service-image {
    height: 200px;
    overflow: hidden;
    border-bottom: 1px solid var(--border-subtle);
    transition: all var(--duration-300) var(--ease-in-out);
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--duration-300) var(--ease-in-out);
}

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

.service-card:hover .service-image {
    background: var(--gradient-card-hover);
}

.service-image svg {
    transition: transform var(--duration-300) var(--ease-in-out);
}

.service-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
}

.service-body {
    padding: var(--space-6);
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.service-name {
    font-size: var(--text-xl);
    color: var(--cyan);
    margin: 0;
}

.service-description {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    flex: 1;
    line-height: var(--leading-relaxed);
}

.service-link {
    font-size: var(--text-sm);
    font-weight: var(--weight-semibold);
    color: var(--cyan);
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    transition: all var(--duration-200) var(--ease-in-out);
    width: fit-content;
}

.service-link:hover {
    gap: var(--space-3);
}

/* === BUSINESS SOLUTIONS SECTION === */

.industry-filter {
    margin-bottom: var(--space-16);
}

.filter-label {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    margin-bottom: var(--space-4);
    font-weight: var(--weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
}

.filter-pill {
    padding: var(--space-3) var(--space-5);
    background: var(--bg-card);
    color: var(--text-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    cursor: pointer;
    transition: all var(--duration-200) var(--ease-in-out);
    white-space: nowrap;
}

.filter-pill:hover,
.filter-pill.active {
    background: rgba(0, 229, 255, 0.1);
    color: var(--cyan);
    border-color: var(--border-cyan);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-6);
    margin-bottom: var(--space-20);
}

.solution-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    transition: all var(--duration-300) var(--ease-in-out);
}

.solution-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-cyan);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.15);
}

.solution-name {
    font-size: var(--text-base);
    font-weight: var(--weight-semibold);
    color: #00e5ff;
    margin-bottom: var(--space-2);
}

.solution-category {
    display: inline-block;
    font-size: var(--text-xs);
    color: #00e5ff;
    background: rgba(0, 229, 255, 0.05);
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-3);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.solution-description {
    font-size: var(--text-sm);
    color: #ffffff;
    margin-bottom: var(--space-4);
    line-height: var(--leading-relaxed);
}

.solution-price {
    font-size: var(--text-sm);
    font-weight: var(--weight-semibold);
    color: var(--cyan);
}

/* === SOLUTIONS FINDER === */

.solutions-finder {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-2xl);
    padding: var(--space-12);
    text-align: center;
    margin: var(--space-20) 0;
}

.solutions-finder h3 {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-4);
    color: #00e5ff;
    text-shadow: none;
}

.solutions-finder p {
    color: #ffffff;
    text-shadow: none;
    margin-bottom: var(--space-8);
}

.finder-input-group {
    display: flex;
    gap: var(--space-4);
    max-width: 600px;
    margin: 0 auto var(--space-8);
    flex-wrap: wrap;
    justify-content: center;
}

.finder-input {
    flex: 1;
    min-width: 250px;
    padding: var(--space-4) var(--space-6);
    background: rgba(10, 14, 23, 0.55);
    border: 1px solid rgba(0, 229, 255, 0.15);
    border-radius: var(--radius-lg);
    color: #ffffff;
    font-family: var(--font-body);
    font-size: var(--text-base);
    transition: all var(--duration-200) var(--ease-in-out);
}

.finder-input:focus {
    outline: none;
    border-color: var(--cyan);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.2);
}

.finder-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.finder-results {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: var(--space-6);
}

.finder-results.empty {
    padding: var(--space-10);
    color: #ffffff;
    text-align: center;
}

/* === AI FINDER BOX STYLES === */
.finder-box {
    background: transparent;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 40px;
    margin-top: 48px;
    position: relative;
    overflow: hidden;
}

.finder-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.finder-title {
    font-family: var(--font-display, 'Orbitron', sans-serif);
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    position: relative;
    color: #00e5ff;
    text-shadow: none;
}

.finder-subtitle {
    color: #ffffff;
    font-size: 0.95rem;
    margin-bottom: 24px;
    position: relative;
    text-shadow: none;
}

.finder-empty {
    text-align: center;
    color: #ffffff;
    font-size: 0.9rem;
    padding: 20px;
    text-shadow: none;
}

.finder-empty.no-match {
    color: #00e5ff;
}

/* === PRICING SECTION === */

.section-pricing {
    background-color: var(--bg-primary);
}

.pricing-tabs {
    display: flex;
    justify-content: center;
    gap: var(--space-4);
    margin-bottom: var(--space-16);
    border-bottom: 1px solid var(--border-subtle);
}

.pricing-tab {
    padding: var(--space-4) var(--space-8);
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: var(--text-base);
    font-weight: var(--weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all var(--duration-200) var(--ease-in-out);
    position: relative;
}

.pricing-tab:hover {
    color: var(--cyan);
}

.pricing-tab.active {
    color: var(--cyan);
}

.pricing-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--cyan);
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-10);
    transition: all var(--duration-300) var(--ease-in-out);
}

.pricing-cards.hidden {
    display: none;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.pricing-card-premium {
    background: linear-gradient(160deg, var(--bg-card) 0%, rgba(0, 229, 255, 0.05) 100%);
    border-color: var(--border-cyan);
    box-shadow: 0 0 30px rgba(0, 229, 255, 0.1);
}

.pricing-tier {
    font-size: var(--text-2xl);
    color: var(--cyan);
    margin: 0;
}

.pricing-tagline {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
    margin: 0;
}

.pricing-features {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.feature {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: var(--leading-normal);
    padding-left: var(--space-6);
    position: relative;
}

.feature::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--cyan);
    font-weight: var(--weight-bold);
}

.pricing-amount {
    font-size: var(--text-lg);
    color: var(--text-primary);
    font-weight: var(--weight-semibold);
}

.pricing-amount strong {
    color: var(--cyan);
}

/* === CONTACTS, QUOTE (PLACEHOLDERS) === */

.section-contacts,
.section-quote {
    background: var(--bg-secondary);
    text-align: center;
    padding: var(--space-24) 0;
}

/* === COMMUNITY SECTION === */

.section-community {
    background: var(--bg-primary);
    text-align: center;
    padding: 80px 20px;
}

.community-video-label {
    color: var(--text-primary);
    font-size: 14px;
    font-weight: var(--weight-bold);
    margin-bottom: 12px;
    text-align: center;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 720px;
    margin: 0 auto 48px auto;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(0, 229, 255, 0.1);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-xl);
}

.community-apps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.community-app-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 24px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: border-color var(--duration-300) var(--ease-out),
        transform var(--duration-300) var(--ease-out),
        box-shadow var(--duration-300) var(--ease-out);
    cursor: pointer;
}

.community-app-card:hover {
    border-color: rgba(0, 229, 255, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 229, 255, 0.08);
}

.community-app-icon {
    font-size: 36px;
    line-height: 1;
}

.community-app-name {
    color: var(--text-primary);
    font-size: 16px;
    font-weight: var(--weight-bold);
    margin-top: 12px;
    font-family: var(--font-display);
}

.community-app-desc {
    color: #999;
    font-size: 13px;
    line-height: 1.5;
    margin-top: 8px;
}

.community-app-link {
    color: var(--cyan);
    font-size: 13px;
    font-weight: var(--weight-bold);
    margin-top: 16px;
    transition: text-decoration var(--duration-150) var(--ease-out);
}

.community-app-card:hover .community-app-link {
    text-decoration: underline;
}

.btn-community-explore {
    display: inline-block;
    border: 1px solid var(--cyan);
    background: transparent;
    color: var(--text-primary);
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: var(--weight-bold);
    font-size: 15px;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: background var(--duration-200) var(--ease-out),
        color var(--duration-200) var(--ease-out);
    cursor: pointer;
}

.btn-community-explore:hover {
    background: var(--cyan);
    color: var(--bg-primary);
}

/* Community page hero */
.community-hero {
    background: radial-gradient(ellipse at center top, rgba(0, 229, 255, 0.08) 0%, transparent 60%),
        var(--bg-primary);
    text-align: center;
    padding: 100px 20px 60px;
}

.community-hero-title {
    font-family: var(--font-display);
    font-size: var(--text-4xl);
    font-weight: var(--weight-bold);
    background: var(--gradient-cyan);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-4);
}

.community-hero-subtitle {
    color: var(--text-secondary);
    font-size: var(--text-lg);
    max-width: 600px;
    margin: 0 auto;
}

/* Video gallery grid */
.video-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.video-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: border-color var(--duration-300) var(--ease-out),
        transform var(--duration-300) var(--ease-out);
}

.video-card:hover {
    border-color: rgba(0, 229, 255, 0.2);
    transform: translateY(-4px);
}

.video-card .video-wrapper {
    margin: 0;
    border-radius: 0;
    border: none;
    max-width: none;
}

.video-card-body {
    padding: 16px 20px;
}

.video-card-title {
    color: var(--text-primary);
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: var(--weight-semibold);
    margin-bottom: 6px;
}

.video-card-desc {
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.5;
}

/* Tools section */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.tool-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 32px;
    text-align: left;
    transition: border-color var(--duration-300) var(--ease-out),
        transform var(--duration-300) var(--ease-out);
}

.tool-card:hover {
    border-color: rgba(0, 229, 255, 0.2);
    transform: translateY(-2px);
}

.tool-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.tool-card-icon {
    font-size: 32px;
    line-height: 1;
}

.tool-card-name {
    color: var(--text-primary);
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: var(--weight-bold);
}

.tool-card-desc {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.tool-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tool-form label {
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: var(--weight-medium);
}

.tool-form input,
.tool-form select {
    background: var(--bg-primary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    padding: 10px 14px;
    font-size: 14px;
    font-family: var(--font-body);
    outline: none;
    transition: border-color var(--duration-200) var(--ease-out);
    width: 100%;
    box-sizing: border-box;
}

.tool-form input:focus,
.tool-form select:focus {
    border-color: var(--cyan);
}

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

.tool-btn {
    background: var(--gradient-cyan);
    color: var(--bg-primary);
    border: none;
    border-radius: var(--radius-sm);
    padding: 12px 24px;
    font-size: 14px;
    font-weight: var(--weight-bold);
    font-family: var(--font-display);
    cursor: pointer;
    transition: opacity var(--duration-200) var(--ease-out);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-top: 4px;
}

.tool-btn:hover {
    opacity: 0.85;
}

.tool-result {
    background: rgba(0, 229, 255, 0.05);
    border: 1px solid rgba(0, 229, 255, 0.15);
    border-radius: var(--radius-sm);
    padding: 16px;
    margin-top: 16px;
    display: none;
}

.tool-result.active {
    display: block;
}

.tool-result-label {
    color: var(--text-secondary);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.tool-result-value {
    color: var(--cyan);
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: var(--weight-bold);
}

.tool-result-detail {
    color: var(--text-secondary);
    font-size: 13px;
    margin-top: 8px;
    line-height: 1.6;
}

.tool-download-btn {
    display: inline-block;
    margin-top: 12px;
    background: transparent;
    border: 1px solid var(--cyan);
    color: var(--cyan);
    border-radius: var(--radius-sm);
    padding: 8px 16px;
    font-size: 13px;
    font-weight: var(--weight-semibold);
    cursor: pointer;
    transition: background var(--duration-200) var(--ease-out),
        color var(--duration-200) var(--ease-out);
}

.tool-download-btn:hover {
    background: var(--cyan);
    color: var(--bg-primary);
}

/* Insights section */
.insights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.insight-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 28px;
    text-align: left;
    transition: border-color var(--duration-300) var(--ease-out),
        transform var(--duration-300) var(--ease-out);
}

.insight-card:hover {
    border-color: rgba(0, 229, 255, 0.2);
    transform: translateY(-4px);
}

.insight-tag {
    display: inline-block;
    background: rgba(0, 229, 255, 0.1);
    color: var(--cyan);
    font-size: 11px;
    font-weight: var(--weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    margin-bottom: 14px;
}

.insight-title {
    color: var(--text-primary);
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: var(--weight-semibold);
    margin-bottom: 8px;
    line-height: 1.4;
}

.insight-excerpt {
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.insight-link {
    color: var(--cyan);
    font-size: 13px;
    font-weight: var(--weight-bold);
    text-decoration: none;
    transition: text-decoration var(--duration-150) var(--ease-out);
}

.insight-link:hover {
    text-decoration: underline;
}

/* Community bottom CTA */
.community-cta {
    text-align: center;
    padding: 60px 20px;
}

.community-cta-title {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: var(--weight-bold);
    color: var(--text-primary);
    margin-bottom: 24px;
}

.community-cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Community responsive */
@media (max-width: 768px) {
    .community-apps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

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

    .community-hero {
        padding: 80px 20px 40px;
    }

    .community-hero-title {
        font-size: var(--text-3xl);
    }

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

@media (max-width: 480px) {
    .community-apps-grid {
        grid-template-columns: 1fr;
    }

    .video-gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* === COMMUNITY PAGE — VIDEO HUB === */

.section-divider {
    width: 200px;
    max-width: 80%;
    height: 1px;
    background: var(--border-subtle);
    margin: 0 auto;
}

.video-featured-wrapper {
    max-width: 800px;
    margin: 0 auto 32px auto;
    text-align: center;
}

.video-featured-info {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.video-featured-title {
    color: var(--text-primary);
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: var(--weight-bold);
    margin-bottom: 4px;
}

.video-featured-date {
    color: var(--text-muted);
    font-size: 13px;
}

.video-more-label {
    color: var(--text-primary);
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: var(--weight-bold);
    margin: 48px 0 24px 0;
}

.video-thumb-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.video-thumb-card {
    background: #111111;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-decoration: none;
    display: block;
    transition: transform var(--duration-300) var(--ease-out),
        border-color var(--duration-300) var(--ease-out),
        box-shadow var(--duration-300) var(--ease-out);
    /* scroll reveal */
    opacity: 0;
    transform: translateY(20px);
}

.video-thumb-card.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.video-thumb-card:hover {
    transform: scale(1.02);
    border-color: rgba(0, 229, 255, 0.25);
    box-shadow: 0 4px 20px rgba(0, 229, 255, 0.08);
}

.video-thumb-img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #0a0a0a;
}

.video-thumb-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-thumb-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    transition: background var(--duration-200) var(--ease-out),
        border-color var(--duration-200) var(--ease-out);
}

.video-thumb-card:hover .video-thumb-play {
    background: rgba(0, 229, 255, 0.7);
    border-color: var(--cyan);
}

.video-thumb-body {
    padding: 14px 16px;
}

.video-thumb-title {
    color: var(--text-primary);
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: var(--weight-bold);
    line-height: 1.4;
    margin-bottom: 4px;
}

.video-thumb-date {
    color: var(--text-muted);
    font-size: 12px;
}

.video-yt-link {
    color: var(--cyan);
    font-size: 15px;
    font-weight: var(--weight-bold);
    text-decoration: none;
    transition: text-decoration var(--duration-150) var(--ease-out);
}

.video-yt-link:hover {
    text-decoration: underline;
}

/* === COMMUNITY PAGE — TOOL TAGS & LINK CARDS === */

.tool-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.tool-tag {
    display: inline-block;
    background: rgba(0, 229, 255, 0.1);
    color: var(--cyan);
    font-size: 11px;
    font-weight: var(--weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: var(--radius-full);
}

.tool-built-by {
    color: #666;
    font-size: 11px;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid var(--border-subtle);
}

.tool-link-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 32px;
    text-align: left;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    transition: border-color var(--duration-300) var(--ease-out),
        transform var(--duration-300) var(--ease-out),
        box-shadow var(--duration-300) var(--ease-out);
    /* scroll reveal */
    opacity: 0;
    transform: translateY(20px);
}

.tool-link-card.active {
    opacity: 1;
    transform: translateY(0);
}

.tool-link-card:hover {
    border-color: rgba(0, 229, 255, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 229, 255, 0.08);
}

.tool-link-btn {
    display: inline-block;
    border: 1px solid var(--cyan);
    background: transparent;
    color: var(--text-primary);
    padding: 10px 20px;
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: var(--weight-bold);
    text-decoration: none;
    transition: background var(--duration-200) var(--ease-out),
        color var(--duration-200) var(--ease-out);
    margin-top: auto;
    align-self: flex-start;
}

.tool-link-card:hover .tool-link-btn {
    background: var(--cyan);
    color: var(--bg-primary);
}

/* === COMMUNITY PAGE — TOOLS CTA BANNER === */

.tools-cta-banner {
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.05), rgba(0, 229, 255, 0.02));
    border: 1px solid rgba(0, 229, 255, 0.15);
    border-radius: var(--radius-xl);
    padding: 40px;
    text-align: center;
    margin-top: 48px;
}

.tools-cta-title {
    color: var(--text-primary);
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: var(--weight-bold);
    margin-bottom: 12px;
}

.tools-cta-subtitle {
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 24px;
}

.tools-cta-btn {
    display: inline-block;
    background: var(--cyan);
    color: var(--bg-primary);
    padding: 14px 32px;
    border-radius: var(--radius-full);
    font-family: var(--font-display);
    font-weight: var(--weight-bold);
    font-size: 14px;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: background var(--duration-200) var(--ease-out);
}

.tools-cta-btn:hover {
    background: #33eaff;
}

/* === COMMUNITY PAGE — NEWSLETTER === */

.newsletter-section {
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
    padding: 60px 20px;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.newsletter-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.newsletter-title {
    color: var(--text-primary);
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: var(--weight-bold);
    margin-bottom: 12px;
}

.newsletter-subtitle {
    color: #999;
    font-size: 15px;
    line-height: 1.6;
    max-width: 500px;
    margin: 0 auto 32px auto;
}

.newsletter-form {
    display: flex;
    max-width: 480px;
    margin: 0 auto;
}

.newsletter-input {
    flex: 1;
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-right: none;
    border-radius: 8px 0 0 8px;
    padding: 14px 16px;
    color: var(--text-primary);
    font-size: 14px;
    font-family: var(--font-body);
    outline: none;
    transition: border-color var(--duration-200) var(--ease-out);
}

.newsletter-input:focus {
    border-color: var(--cyan);
}

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

.newsletter-btn {
    background: var(--cyan);
    color: var(--bg-primary);
    border: none;
    border-radius: 0 8px 8px 0;
    padding: 14px 24px;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: var(--weight-bold);
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background var(--duration-200) var(--ease-out);
    white-space: nowrap;
}

.newsletter-btn:hover {
    background: #33eaff;
}

.newsletter-gdpr {
    font-size: 12px;
    color: #666;
    margin-top: 12px;
    text-align: center;
}

.newsletter-gdpr a {
    color: var(--cyan);
    text-decoration: none;
}

.newsletter-gdpr a:hover {
    text-decoration: underline;
}

.newsletter-success {
    text-align: center;
}

.newsletter-success p {
    color: var(--cyan);
    font-size: 15px;
    font-weight: var(--weight-semibold);
    animation: fadeIn 0.5s ease-out;
}

/* === COMMUNITY PAGE — RESPONSIVE (VIDEO THUMBS, NEWSLETTER) === */

@media (max-width: 1024px) {
    .video-thumb-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .video-thumb-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-input {
        border-right: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 8px;
        margin-bottom: 12px;
    }

    .newsletter-btn {
        border-radius: 8px;
        width: 100%;
    }

    .tools-cta-banner {
        padding: 32px 20px;
    }
}

@media (max-width: 480px) {
    .video-thumb-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-section {
        padding: 40px 16px;
    }

    .newsletter-title {
        font-size: 22px;
    }
}

/* === FAQ SECTION === */

.section-faq {
    background: var(--bg-secondary);
    padding: var(--space-24) 0;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 20px;
    text-align: left;
}

.faq-item {
    background: #111111;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
    margin-bottom: 12px;
    transition: border-color 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(0, 229, 255, 0.15);
}

.faq-item.active {
    border-color: rgba(0, 229, 255, 0.2);
}

.faq-question {
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.faq-question h3 {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    flex: 1;
    padding-right: 16px;
    margin: 0;
    font-family: var(--font-body);
}

.faq-toggle {
    color: var(--cyan);
    font-size: 22px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    width: 24px;
    text-align: center;
    line-height: 1;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease;
    opacity: 0;
}

.faq-item.active .faq-answer {
    opacity: 1;
}

.faq-answer-content {
    padding: 0 24px 20px 24px;
    color: #aaaaaa;
    font-size: 15px;
    line-height: 1.7;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 16px;
}

.faq-answer-content a {
    color: var(--cyan);
    text-decoration: none;
}

.faq-answer-content a:hover {
    text-decoration: underline;
}

.faq-cta {
    text-align: center;
    margin-top: 48px;
}

.faq-cta h3 {
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 8px;
}

.faq-cta p {
    color: var(--text-secondary);
    font-size: 14px;
    margin: 0 0 20px;
}

.faq-cta .btn {
    padding: 14px 36px;
    font-size: 0.9rem;
    border-radius: var(--radius-full);
}

/* === FOOTER === */

.footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border-subtle);
    padding: var(--space-16) 0 var(--space-8);
    margin-top: var(--space-20);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-10);
    margin-bottom: var(--space-10);
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-family: var(--font-display);
    font-size: var(--text-lg);
    color: var(--cyan);
    margin-bottom: var(--space-6);
}

.footer-column h4 {
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-4);
    color: var(--text-primary);
}

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

.footer-column li {
    margin-bottom: var(--space-2);
}

.footer-column a {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    transition: color var(--duration-200) var(--ease-in-out);
}

.footer-column a:hover {
    color: var(--cyan);
}

.footer-bottom {
    border-top: 1px solid var(--border-subtle);
    padding-top: var(--space-8);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-6);
    font-size: var(--text-sm);
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: var(--space-4);
    align-items: center;
}

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

.footer-links a:hover {
    color: var(--cyan);
}

/* === RESPONSIVE DESIGN === */

@media (max-width: 1024px) {
    .container {
        --container-padding: 1rem;
    }

    .nav {
        gap: var(--space-6);
    }

    .header-actions {
        gap: var(--space-2);
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero-headline {
        font-size: clamp(var(--text-3xl), 6vw, var(--text-5xl));
    }

    .hero-subheadline {
        font-size: var(--text-base);
        margin-bottom: var(--space-10);
        color: #FFFFFF;
        text-shadow: 0 1px 10px rgba(0, 0, 0, 0.7);
    }

    .hero-ctas {
        gap: var(--space-4);
    }

    .trust-bar {
        gap: var(--space-6);
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }

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

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

    .finder-input-group {
        flex-direction: column;
    }

    .finder-input {
        min-width: 100%;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 640px) {
    :root {
        --container-padding: 1rem;
    }

    .section {
        padding: var(--space-16) 0;
    }

    .section-title {
        font-size: var(--text-3xl);
    }

    .hero-headline {
        font-size: var(--text-3xl);
        margin-bottom: var(--space-4);
    }

    .hero-subheadline {
        margin-bottom: var(--space-8);
        color: #FFFFFF;
        text-shadow: 0 1px 10px rgba(0, 0, 0, 0.7);
    }


    /* (previous hero-readability overrides removed) */

    .btn-lg {
        padding: var(--space-3) var(--space-6);
        font-size: var(--text-sm);
    }

    .header-content {
        padding: var(--space-3) var(--container-padding);
        gap: var(--space-4);
    }

    .logo-text {
        display: none;
    }

    .header-actions {
        gap: var(--space-2);
    }

    .lang-toggle {
        display: none;
    }

    .service-card {
        border-radius: var(--radius-lg);
    }

    .solutions-finder {
        padding: var(--space-8);
    }

    .solutions-finder h3 {
        font-size: var(--text-xl);
    }

    .footer-logo {
        font-size: var(--text-base);
    }
}

/* ============================================
   PETRION AI — Solutions Accordion & Cards CSS
   ============================================ */

/* ── Industry Filter Pills ── */
.industry-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 32px;
}

.filter-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary, #94A3B8);
    background: var(--bg-card, #151A2A);
    border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.06));
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.filter-pill:hover {
    color: var(--cyan, #00E5FF);
    border-color: var(--cyan, #00E5FF);
    background: rgba(0, 229, 255, 0.08);
}

.filter-pill.active {
    color: #0A0E17;
    background: var(--cyan, #00E5FF);
    border-color: var(--cyan, #00E5FF);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.3);
}

.pill-icon {
    font-size: 1rem;
}

/* ── Solutions Accordion Panel ── */
#solutions-accordion {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 0.3s ease,
        margin 0.3s ease;
    opacity: 0;
    margin: 0;
}

#solutions-accordion.open {
    max-height: 3000px;
    opacity: 1;
    margin: 32px 0 48px;
}

.accordion-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.06));
}

.accordion-icon {
    font-size: 2rem;
}

.accordion-title {
    font-family: var(--font-display, 'Orbitron', sans-serif);
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--cyan, #00E5FF);
    flex: 1;
}

.accordion-count {
    font-size: 0.82rem;
    color: var(--text-muted, #5A6578);
    background: var(--bg-card, #151A2A);
    padding: 4px 12px;
    border-radius: 100px;
    border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.06));
}

/* ── Solution Cards Grid ── */
.accordion-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.sol-card {
    background: rgba(10, 14, 23, 0.55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 229, 255, 0.12);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.sol-card:hover {
    border-color: rgba(0, 229, 255, 0.4);
    box-shadow: 0 0 30px rgba(0, 229, 255, 0.12);
    transform: translateY(-4px);
    background: rgba(10, 14, 23, 0.7);
}

.sol-card-header {
    margin-bottom: 12px;
    color: #ffffff !important;
}

.sol-card-cat {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 4px 10px;
    border-radius: 6px;
    background: rgba(0, 229, 255, 0.1);
    color: var(--cyan, #00E5FF);
    border: 1px solid rgba(0, 229, 255, 0.2);
}

.sol-card-title {
    font-weight: 700;
    font-size: 1.05rem;
    color: #00e5ff !important;
    margin-bottom: 10px;
    line-height: 1.3;
}

.sol-card-desc {
    font-size: 0.88rem;
    color: #ffffff !important;
    line-height: 1.55;
    margin-bottom: 16px;
    flex: 1;
}

.sol-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.06));
}

.sol-card-price {
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 0.9rem;
    color: #ffffff !important;
    font-weight: 600;
}

.sol-card-cta {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--cyan, #00E5FF);
    text-decoration: none;
    transition: opacity 0.2s;
}

.sol-card-cta:hover {
    opacity: 0.8;
}

/* ── AI Finder Box ── */
.finder-box {
    background: transparent;
    border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.06));
    border-radius: var(--radius-lg, 0.75rem);
    padding: 40px;
    margin-top: 48px;
    position: relative;
    overflow: hidden;
}

.finder-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.finder-title {
    font-family: var(--font-display, 'Orbitron', sans-serif);
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    position: relative;
    color: #00e5ff;
    text-shadow: none;
}

.finder-subtitle {
    color: #ffffff;
    font-size: 0.95rem;
    margin-bottom: 24px;
    position: relative;
    text-shadow: none;
}

.finder-input-group {
    display: flex;
    gap: 12px;
    position: relative;
}

.finder-input {
    flex: 1;
    background: rgba(10, 14, 23, 0.55);
    border: 1px solid rgba(0, 229, 255, 0.15);
    border-radius: 100px;
    padding: 14px 24px;
    font-family: inherit;
    font-size: 0.95rem;
    color: #ffffff;
    outline: none;
    transition: border-color 0.2s;
}

.finder-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.finder-input:focus {
    border-color: var(--cyan, #00E5FF);
    box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.12);
}

#finder-results {
    margin-top: 24px;
    position: relative;
}

.finder-empty {
    text-align: center;
    color: #ffffff;
    font-size: 0.9rem;
    padding: 20px;
    text-shadow: none;
}

.finder-empty.no-match {
    color: #00e5ff;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .finder-input-group {
        flex-direction: column;
    }

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

    .accordion-header {
        flex-wrap: wrap;
    }
}

/* ============================================
   PETRION AI — Solutions v3 Additional CSS
   Add this at the END of your style.css
   (in addition to the accordion CSS from v2)
   ============================================ */

/* ── Finder Result Group (accordion inside finder) ── */
.finder-result-group {
    background: rgba(0, 229, 255, 0.03);
    border: 1px solid rgba(0, 229, 255, 0.15);
    border-radius: 16px;
    padding: 28px;
    margin-bottom: 20px;
}

.finder-result-group .accordion-header {
    margin-bottom: 20px;
    padding-bottom: 14px;
}

.finder-result-group .accordion-grid {
    gap: 16px;
}

/* ── "Also relevant" pills ── */
.finder-also-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 14px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary, #94A3B8);
    background: var(--bg-card, #151A2A);
    border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.06));
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin: 4px;
    font-family: inherit;
}

.finder-also-pill:hover {
    color: var(--cyan, #00E5FF);
    border-color: var(--cyan, #00E5FF);
    background: rgba(0, 229, 255, 0.08);
}

/* ── No match state ── */
.finder-no-match {
    text-align: center;
    padding: 32px 16px;
}

.finder-no-match .finder-empty {
    margin-bottom: 8px;
}

.finder-no-match strong {
    color: var(--cyan, #00E5FF);
}

/* ============================================
   CONTACTS HERO SECTION
   ============================================ */

.section-contacts-hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    overflow: hidden;
    padding: var(--space-20) 0;
}

.contacts-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
}

.section-contacts-hero .container {
    position: relative;
    z-index: 2;
}

.contacts-hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-5);
}

.contacts-hero-content .section-title {
    color: var(--cyan);
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.7);
}

.contacts-hero-content .section-subtitle {
    color: var(--text-primary);
    font-size: var(--text-lg);
    max-width: 600px;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
}

/* Contact CTA Button */
.btn-contact-cta {
    display: inline-block;
    margin-top: var(--space-4);
    padding: 16px 48px;
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: var(--weight-bold);
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #fff;
    background: transparent;
    border: 2px solid var(--cyan);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--duration-200) var(--ease-in-out);
}

.btn-contact-cta:hover {
    background: var(--cyan);
    color: var(--bg-primary);
    box-shadow: 0 0 25px rgba(0, 229, 255, 0.35);
    transform: translateY(-2px);
}

/* Mobile: disable parallax */
@media (max-width: 768px) {
    .section-contacts-hero {
        background-attachment: scroll;
        min-height: 60vh;
    }
}

/* ============================================
   CONTACT MODAL
   ============================================ */

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-overlay.closing {
    opacity: 0;
}

/* Modal container */
.modal-container {
    position: relative;
    display: grid;
    grid-template-columns: 40% 60%;
    max-width: 900px;
    width: 92%;
    max-height: 90vh;
    overflow-y: auto;
    background: #111111;
    border: 1px solid rgba(0, 229, 255, 0.15);
    border-radius: var(--radius-xl);
    box-shadow: 0 0 40px rgba(0, 229, 255, 0.08);
    animation: modalFadeIn 0.3s ease-out forwards;
}

.modal-overlay.closing .modal-container {
    animation: modalFadeOut 0.25s ease-in forwards;
}

/* Close button */
.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: #fff;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
    line-height: 1;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--cyan);
}

/* --- Left Column: Info --- */
.modal-info {
    padding: 40px;
    background: #1a1a1a;
    border-radius: var(--radius-xl) 0 0 var(--radius-xl);
    display: flex;
    flex-direction: column;
}

.modal-info-heading {
    color: #fff;
    font-size: 1.4rem;
    font-weight: var(--weight-bold);
    margin-bottom: var(--space-4);
    line-height: var(--leading-tight);
}

.modal-info-text {
    color: #999;
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.modal-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 24px 0;
}

.modal-email-label {
    color: #fff;
    font-size: 0.875rem;
    font-weight: var(--weight-semibold);
    margin-bottom: 4px;
}

.modal-email-link {
    color: var(--cyan);
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.modal-email-link:hover {
    text-decoration: underline;
}

.modal-response-badge {
    display: inline-block;
    background: rgba(0, 229, 255, 0.1);
    color: var(--cyan);
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 0.75rem;
    font-weight: var(--weight-medium);
    margin-top: 16px;
    width: fit-content;
}

.modal-social-label {
    color: #fff;
    font-size: 0.875rem;
    font-weight: var(--weight-semibold);
    margin-top: 24px;
    margin-bottom: 12px;
}

.modal-social-icons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.modal-social-icons a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    font-size: 14px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.modal-social-icons a:hover {
    border-color: var(--cyan);
    color: var(--cyan);
    transform: scale(1.1);
}

/* --- Right Column: Form --- */
.modal-form {
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.modal-form-logo {
    height: 48px;
    width: auto;
    margin-bottom: 16px;
}

.modal-form-title {
    color: var(--cyan);
    font-size: 1.35rem;
    font-weight: var(--weight-bold);
    text-align: center;
    margin-bottom: 24px;
}

/* Form layout */
#contact-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

#contact-form input,
#contact-form select,
#contact-form textarea {
    width: 100%;
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: #fff;
    padding: 12px 16px;
    font-size: 0.875rem;
    font-family: var(--font-body);
    transition: all 0.2s ease;
    outline: none;
}

#contact-form input::placeholder,
#contact-form textarea::placeholder {
    color: #666;
}

#contact-form select {
    color: #666;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23666' viewBox='0 0 16 16'%3E%3Cpath d='M1.5 5.5l6.5 6.5 6.5-6.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 12px;
    padding-right: 40px;
}

#contact-form select:valid {
    color: #fff;
}

#contact-form select option {
    background: #1a1a1a;
    color: #fff;
}

#contact-form select option:disabled {
    color: #666;
}

#contact-form input:focus,
#contact-form select:focus,
#contact-form textarea:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 0 2px rgba(0, 229, 255, 0.15);
}

#contact-form textarea {
    resize: vertical;
    min-height: 90px;
}

/* Submit button */
.modal-submit {
    width: 100%;
    padding: 14px;
    background: var(--cyan);
    color: var(--bg-primary);
    border: none;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-weight: var(--weight-bold);
    font-family: var(--font-display);
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.modal-submit:hover {
    background: #33eaff;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 229, 255, 0.3);
}

/* --- GDPR Consent Line --- */
.modal-gdpr-consent {
    font-size: 12px;
    color: #666;
    text-align: center;
    margin-top: 12px;
    line-height: 1.5;
}

.modal-gdpr-consent a {
    color: #999;
    text-decoration: none;
    transition: color 0.2s ease;
}

.modal-gdpr-consent a:hover {
    color: var(--cyan);
    text-decoration: underline;
}

/* --- Form Validation Error States --- */
.form-field-error {
    border-color: #ff4444 !important;
    box-shadow: 0 0 0 2px rgba(255, 68, 68, 0.15) !important;
}

.error-message {
    color: #ff4444;
    font-size: 12px;
    margin-top: 4px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.error-message.visible {
    opacity: 1;
}

/* --- Success State (full-width, replaces both columns) --- */
.modal-success-state {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 40px;
    min-height: 400px;
    animation: successFadeIn 0.3s ease forwards;
}

.modal-success-state .success-checkmark {
    margin-bottom: 0;
}

.modal-success-state h3 {
    color: #fff;
    font-size: 28px;
    font-weight: var(--weight-bold);
    margin-top: 24px;
    margin-bottom: 12px;
}

.modal-success-state p {
    color: #999;
    font-size: 16px;
    max-width: 400px;
    line-height: 1.6;
    margin-bottom: 32px;
}

.modal-success-state .modal-success-close {
    width: auto;
    min-width: 200px;
    padding: 14px 40px;
    background: var(--cyan);
    color: var(--bg-primary);
    border: none;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-weight: var(--weight-bold);
    font-family: var(--font-display);
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.modal-success-state .modal-success-close:hover {
    background: #33eaff;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 229, 255, 0.3);
}

/* Fade-out for form content before success */
.modal-content-fadeout {
    animation: contentFadeOut 0.2s ease forwards;
}

/* --- Responsive: single column on small screens --- */
@media (max-width: 768px) {
    .modal-container {
        grid-template-columns: 1fr;
        width: 95%;
        max-height: 90vh;
        overflow-y: auto;
    }

    .modal-info {
        border-radius: var(--radius-xl) var(--radius-xl) 0 0;
        padding: 24px;
    }

    .modal-form {
        padding: 24px;
    }

    .modal-close {
        top: 10px;
        right: 10px;
    }
}

/* ============================================
   AUDIT MODAL — Specific Overrides
   ============================================ */

/* Audit form fields — same styling as contact form */
#audit-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

#audit-form input,
#audit-form select,
#audit-form textarea {
    width: 100%;
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: #fff;
    padding: 12px 16px;
    font-size: 0.875rem;
    font-family: var(--font-body);
    transition: all 0.2s ease;
    outline: none;
}

#audit-form input::placeholder,
#audit-form textarea::placeholder {
    color: #666;
}

#audit-form select {
    color: #666;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23666' viewBox='0 0 16 16'%3E%3Cpath d='M1.5 5.5l6.5 6.5 6.5-6.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 12px;
    padding-right: 40px;
}

#audit-form select:valid {
    color: #fff;
}

#audit-form select option {
    background: #1a1a1a;
    color: #fff;
}

#audit-form select option:disabled {
    color: #666;
}

#audit-form input:focus,
#audit-form select:focus,
#audit-form textarea:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 0 2px rgba(0, 229, 255, 0.15);
}

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

/* Audit "What's included" section */
.audit-includes-label {
    color: #fff;
    font-size: 14px;
    font-weight: var(--weight-bold);
    margin-bottom: 8px;
}

.audit-includes-list {
    list-style: none;
    padding: 0;
    margin: 12px 0 0 0;
}

.audit-includes-list li {
    color: #ccc;
    font-size: 13px;
    line-height: 2;
}

.audit-check {
    color: var(--cyan);
    font-weight: 600;
    margin-right: 8px;
}

/* Audit form subtitle */
.audit-form-subtitle {
    color: #999;
    font-size: 13px;
    text-align: center;
    margin-bottom: 20px;
    margin-top: -8px;
}