/* ===== Industries Page - Tabby-inspired Clean SaaS Aesthetic ===== */

/* ===== Hero Section ===== */
.industry-hero {
    padding: 60px 0 80px;
    background: #103928;
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .industry-hero {
        padding: 0px 0 100px;
    }
}

.industry-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.industry-hero .container {
    max-width: 1200px;
}

.industry-hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}

@media (min-width: 1024px) {
    .industry-hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 80px;
    }
}

/* Breadcrumbs */
.industry-hero .breadcrumbs {
    margin-bottom: 24px;
    border-bottom: none;
    background: transparent;
}

.industry-hero .breadcrumbs-list {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
}

.industry-hero .breadcrumbs-link {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.2s ease;
}

.industry-hero .breadcrumbs-link:hover {
    color: #ffffff;
}

.industry-hero .breadcrumbs-separator {
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
}

.industry-hero .breadcrumbs-separator svg {
    width: 14px;
    height: 14px;
}

html[dir="ltr"] .industry-hero .breadcrumbs-separator svg {
    transform: rotate(180deg);
}

.industry-hero .breadcrumbs-current span {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
}

/* Hero Content */
.industry-hero-content {
    position: relative;
    z-index: 2;
}

.industry-hero-title {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.15;
    color: #ffffff;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

@media (min-width: 768px) {
    .industry-hero-title {
        font-size: 52px;
        margin-bottom: 24px;
    }
}

@media (min-width: 1024px) {
    .industry-hero-title {
        font-size: 56px;
    }
}

.industry-hero-description {
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
    max-width: 520px;
}

@media (min-width: 768px) {
    .industry-hero-description {
        font-size: 20px;
        margin-bottom: 40px;
    }
}

/* ===== Phone Mockup - Modern Premium Design ===== */
.industry-hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    perspective: 1200px;
}

/* Floating Bubbles */
.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
}

.floating-bubble {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 12px;
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
}

.floating-bubble-1 {
    top: 10%;
    right: -5%;
    padding: 14px;
    border-radius: 20px;
}

.floating-bubble-2 {
    top: 35%;
    left: -8%;
    padding: 10px;
    border-radius: 14px;
}

.floating-bubble-3 {
    bottom: 25%;
    right: -10%;
    padding: 10px;
    border-radius: 12px;
    background: linear-gradient(135deg, #1daa61 0%, #128c7e 100%);
    color: white;
}

.floating-bubble-4 {
    bottom: 10%;
    left: -5%;
    padding: 8px;
    border-radius: 10px;
}

@media (max-width: 767px) {
    .floating-elements {
        display: none;
    }
}

.phone-mockup {
    position: relative;
    display: flex;
    justify-content: center;
    transform-style: preserve-3d;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.phone-frame {
    position: relative;
    width: 280px;
    height: 580px;
    /* Titanium/Dark Frame */
    background: #1c1c1e;
    border-radius: 50px;
    padding: 8px;
    /* Thinner bezel */

    /* transform: rotateY(-10deg) rotateX(5deg); */
    /* transition: all 0.5s ease; */
}

/* .phone-frame:hover {
    transform: rotateY(0deg) rotateX(0deg) scale(1.02);
    box-shadow:
        0 0 0 4px #3a3a3c,
        0 60px 120px -20px rgba(0, 0, 0, 0.4),
        0 40px 70px -30px rgba(0, 0, 0, 0.5),
        inset 0 0 0 2px rgba(255, 255, 255, 0.15);
} */

@media (min-width: 768px) {
    .phone-frame {
        width: 320px;
        height: 650px;
        border-radius: 56px;
        padding: 10px;
        /* Bezel */
    }
}

/* Dynamic Island (Modern iPhone style) */
.phone-dynamic-island {
    position: absolute;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: 96px;
    height: 28px;
    background: #000;
    border-radius: 20px;
    z-index: 20;
    transition: width 0.3s ease;
}

@media (min-width: 768px) {
    .phone-dynamic-island {
        width: 108px;
        height: 32px;
        top: 20px;
    }
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #f0f2f5;
    /* Light grey modern bg */
    border-radius: 42px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: inset 0 0 0 4px rgba(0, 0, 0, 1);
    /* Black screen border */
}

@media (min-width: 768px) {
    .phone-screen {
        border-radius: 46px;
    }
}

/* Phone Reflection Effect */
.phone-reflection {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.15) 0%,
            transparent 35%,
            transparent 65%,
            rgba(255, 255, 255, 0.08) 100%);
    border-radius: 56px;
    pointer-events: none;
    z-index: 50;
    mix-blend-mode: overlay;
}

/* Hero Background Shapes */
.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.bg-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
}

.bg-shape-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    top: -100px;
    right: -100px;
}

.bg-shape-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    bottom: -50px;
    left: -50px;
}

.bg-shape-3 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.25) 0%, transparent 70%);
    top: 40%;
    left: 20%;
}

@media (max-width: 767px) {
    .bg-shape-1 {
        width: 200px;
        height: 200px;
    }

    .bg-shape-2 {
        width: 150px;
        height: 150px;
    }

    .bg-shape-3 {
        display: none;
    }
}

/* ===== WhatsApp UI ===== */
.wa-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    padding-top: 50px;
    background: linear-gradient(180deg, #075e54 0%, #128c7e 100%);
    color: white;
}

@media (min-width: 768px) {
    .wa-header {
        padding: 12px 16px;
        padding-top: 56px;
    }
}

.wa-header-back {
    display: flex;
    align-items: center;
    justify-content: center;
}

html[dir="ltr"] .wa-header-back svg {
    transform: rotate(180deg);
}

.wa-header-avatar {
    flex-shrink: 0;
}

.wa-avatar {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

@media (min-width: 768px) {
    .wa-avatar {
        width: 40px;
        height: 40px;
    }
}

.wa-header-info {
    flex: 1;
    min-width: 0;
}

.wa-header-name {
    display: block;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
}

.wa-header-status {
    display: block;
    font-size: 11px;
    opacity: 0.8;
}

.wa-header-actions {
    display: flex;
    gap: 12px;
}

.wa-header-actions svg {
    width: 18px;
    height: 18px;
}

/* WhatsApp Chat */
.wa-chat {
    flex: 1;
    padding: 10px 8px;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23d4c9bc' fill-opacity='0.4'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") #e5ddd5;
    /* Hide scrollbar completely for modern look */
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
}

/* Hide scrollbar in Webkit browsers (Chrome, Safari, Edge) */
.wa-chat::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.wa-date-divider {
    text-align: center;
    margin: 6px 0;
}

.wa-date-divider span {
    display: inline-block;
    padding: 3px 10px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 6px;
    font-size: 10px;
    color: #6B7280;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06);
}

.wa-message {
    display: flex;
    max-width: 88%;
}

.wa-message-received {
    align-self: flex-start;
}

.wa-message-sent {
    align-self: flex-end;
}

.wa-message-bubble {
    position: relative;
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 12px;
    line-height: 1.4;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08);
}

.wa-message-received .wa-message-bubble {
    background: white;
    border-top-left-radius: 0;
}

html[dir="ltr"] .wa-message-received .wa-message-bubble {
    border-top-left-radius: 8px;
    border-top-right-radius: 0;
}

.wa-message-sent .wa-message-bubble {
    background: #dcf8c6;
    border-top-right-radius: 0;
}

html[dir="ltr"] .wa-message-sent .wa-message-bubble {
    border-top-right-radius: 8px;
    border-top-left-radius: 0;
}

.wa-message-bubble p {
    margin: 0 0 3px 0;
    color: #303030;
}

.wa-message-bubble p:last-of-type {
    margin-bottom: 0;
}

.wa-message-time {
    display: inline-block;
    font-size: 9px;
    color: rgba(0, 0, 0, 0.4);
    float: right;
    margin-top: 3px;
    margin-left: 6px;
}

html[dir="ltr"] .wa-message-time {
    margin-left: 0;
    margin-right: 6px;
}

.wa-message-status {
    display: inline-flex;
    align-items: center;
    color: #53bdeb;
    margin-left: 2px;
}

.wa-message-status svg {
    width: 12px;
    height: 12px;
}

/* WhatsApp Slots */
.wa-slots {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin: 6px 0;
}

.wa-slot {
    display: inline-block;
    padding: 3px 8px;
    background: rgba(101, 25, 156, 0.1);
    border: 1px solid var(--color-primary);
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
    color: var(--color-primary);
}

/* WhatsApp Confirmation */
.wa-message-confirmation {
    text-align: center;
    padding: 12px !important;
}

.wa-confirmation-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 10px;
    background: linear-gradient(135deg, #1daa61 0%, #128c7e 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.wa-confirmation-icon svg {
    width: 20px;
    height: 20px;
}

.wa-confirmation-title {
    font-size: 13px;
    font-weight: 700;
    color: #128c7e;
    margin-bottom: 8px;
}

.wa-confirmation-details {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin-bottom: 8px;
}

.wa-confirmation-details span {
    font-size: 11px;
    color: #303030;
}

.wa-confirmation-note {
    font-size: 10px !important;
    color: #6B7280 !important;
    font-style: italic;
}

/* WhatsApp Input */
.wa-input {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    background: #f0f0f0;
}

.wa-input-emoji,
.wa-input-mic {
    color: #919191;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wa-input-emoji svg,
.wa-input-mic svg {
    width: 20px;
    height: 20px;
}

.wa-input-field {
    flex: 1;
    padding: 8px 14px;
    background: white;
    border-radius: 20px;
    font-size: 13px;
    color: #919191;
}

/* ===== WhatsApp Flow UI ===== */
.wa-flow-message {
    background: linear-gradient(135deg, #dcf8c6 0%, #c5f0b5 100%) !important;
}

.wa-flow-greeting {
    font-size: 13px;
    margin-bottom: 4px;
}

.wa-flow-greeting strong {
    color: #128c7e;
}

.wa-flow-subtitle {
    font-size: 11px !important;
    color: #666 !important;
    margin-bottom: 10px;
}

.wa-flow-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px 16px;
    background: #1daa61;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.wa-flow-cta-btn:hover {
    background: #1fa855;
}

.wa-flow-cta-btn svg {
    width: 16px;
    height: 16px;
}

/* WhatsApp Flow Container (Form Card) */
.wa-flow-container {
    margin: 8px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Flow Header */
.wa-flow-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    background: #ffffff;
    color: #000;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    direction: rtl;
    /* Force RTL for the header */
}

.wa-flow-header-close,
.wa-flow-header-menu {
    color: #5f6368;
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 4px;
}

.wa-flow-header-title {
    font-size: 16px;
    font-weight: 600;
    color: #202124;
}

.wa-flow-progress-bar {
    position: absolute;
    bottom: -1px;
    left: 16px;
    right: 16px;
    height: 3px;
    background: #E0E0E0;
    border-radius: 2px;
    overflow: hidden;
}

.wa-flow-progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    /* Step 1 of 2 approx */
    height: 100%;
    background: #1daa61;
    border-radius: 2px;
}

/* Flow Body */
.wa-flow-body {
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    /* overflow-y: auto; handled by parent phone mock if needed set max-height */
    direction: rtl;
}

.wa-flow-greeting-section {
    text-align: right;
    margin-bottom: 4px;
}

.wa-flow-greeting-text {
    font-size: 18px;
    font-weight: 700;
    color: #202124;
    margin: 0 0 8px 0;
}

.wa-flow-greeting-sub {
    font-size: 14px;
    color: #202124;
    line-height: 1.5;
    font-weight: 500;
    margin: 0;
}

/* Flow Fields */
.wa-flow-fields {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.wa-flow-input-group {
    width: 100%;
}

.wa-flow-select-input {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: #ffffff;
    border: 1px solid #dadce0;
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 0.2s;
}

.wa-flow-select-input:hover {
    border-color: #1daa61;
}

.wa-flow-placeholder {
    font-size: 14px;
    color: #5f6368;
}

.wa-flow-arrow {
    color: #5f6368;
    display: flex;
    align-items: center;
}

.wa-flow-textarea-wrapper {
    position: relative;
    border: 1px solid #dadce0;
    border-radius: 8px;
    padding: 2px;
    background: white;
}

.wa-flow-textarea {
    width: 100%;
    padding: 12px 14px;
    border: none;
    resize: none;
    font-family: inherit;
    font-size: 14px;
    color: #202124;
    outline: none;
    min-height: 100px;
    border-radius: 6px;
}

.wa-flow-textarea::placeholder {
    color: #5f6368;
    text-align: right;
}

.wa-flow-char-count {
    text-align: left;
    font-size: 11px;
    color: #5f6368;
    padding: 4px 8px;
    direction: ltr;
}

/* Flow Footer */
.wa-flow-footer {
    padding: 16px;
    background: #ffffff;
    border-top: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    direction: rtl;
}

.wa-flow-btn-submit {
    width: 100%;
    padding: 12px;
    background: #1daa61;
    color: white;
    border: none;
    border-radius: 24px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.wa-flow-btn-submit:hover {
    background: #1da851;
}

.wa-flow-branding {
    text-align: center;
    font-size: 11px;
    color: #5f6368;
    direction: ltr;
}

.wa-flow-branding a {
    color: #1daa61;
    text-decoration: none;
    font-weight: 500;
}


.wa-flow-radio:hover {
    border-color: #1daa61;
}

.wa-flow-radio-selected {
    background: #e8f8ed;
    border-color: #1daa61;
}

.wa-flow-radio-circle {
    width: 16px;
    height: 16px;
    border: 2px solid #ccc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wa-flow-radio-selected .wa-flow-radio-circle {
    border-color: #1daa61;
}

.wa-flow-radio-dot {
    width: 8px;
    height: 8px;
    background: #1daa61;
    border-radius: 50%;
}

/* Flow Footer */
.wa-flow-footer {
    display: flex;
    gap: 10px;
    padding: 12px 14px;
    border-top: 1px solid #f0f0f0;
}

.wa-flow-btn {
    flex: 1;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.wa-flow-btn-secondary {
    background: #f0f0f0;
    color: #666;
}

.wa-flow-btn-secondary:hover {
    background: #e0e0e0;
}

.wa-flow-btn-primary {
    background: #1daa61;
    color: white;
}

.wa-flow-btn-primary:hover {
    background: #1fa855;
}

/* Flow Success Card */
.wa-flow-success {
    text-align: center;
    padding: 16px !important;
    background: #fff !important;
}

.wa-flow-success-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 12px;
    background: #1daa61;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.wa-flow-success-icon svg {
    width: 24px;
    height: 24px;
}

.wa-flow-success-title {
    font-size: 15px;
    font-weight: 700;
    color: #128c7e;
    margin-bottom: 12px;
}

.wa-flow-success-card {
    background: white;
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 10px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.wa-flow-success-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px solid #f0f0f0;
}

.wa-flow-success-row:last-child {
    border-bottom: none;
}

.wa-flow-success-label {
    font-size: 11px;
    color: #888;
}

.wa-flow-success-value {
    font-size: 12px;
    font-weight: 600;
    color: #333;
}

.wa-flow-success-note {
    font-size: 10px !important;
    color: #666 !important;
    margin-top: 8px;
}

/* ===== Value Highlights Section ===== */
.value-highlights {
    padding: 80px 0;
    background: #ffffff;
}

@media (min-width: 768px) {
    .value-highlights {
        padding: 100px 0;
    }
}

.value-highlights .container {
    max-width: 1200px;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

@media (min-width: 768px) {
    .section-header {
        margin-bottom: 64px;
    }
}

.section-header .section-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

@media (min-width: 768px) {
    .section-header .section-title {
        font-size: 40px;
        margin-bottom: 16px;
    }
}

.section-subtitle {
    font-size: 17px;
    color: #6B7280;
    margin-top: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

@media (min-width: 768px) {
    .section-subtitle {
        font-size: 18px;
    }
}

.highlights-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 640px) {
    .highlights-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .highlights-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 32px;
    }
}

.highlight-card {
    text-align: start;
    padding: 32px 24px;
    background: #f2f5f7;
    border-radius: 20px;
    /* border: 1px solid #E5E7EB; */
    /* transition: all 0.3s ease; */
}

.highlight-card:hover {
    /* transform: translateY(-4px);
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.08);
    border-color: transparent; */
}

.highlight-icon {
    width: 64px;
    /* font-weight: 600; */
    height: 64px;
    margin: 0 0 24px 0;
    /* background: var(--color-primary); */
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #33363F;
}

.highlight-icon i {
    font-size: 44px !important;
}

.highlight-icon svg {
    width: 34px;
    height: 34px;
}

.highlight-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 12px;
}

.highlight-description {
    font-size: 14px;
    line-height: 1.6;
    color: #6B7280;
    margin: 0;
}

/* ===== Use Cases Section ===== */
.use-cases {
    padding: 80px 0;
    background: #ffffff;
}

@media (min-width: 768px) {
    .use-cases {
        padding: 100px 0;
    }
}

.use-cases .container {
    max-width: 1200px;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .use-cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .use-cases-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 32px;
    }
}

.use-case-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 28px;
    border: 1px solid #E5E7EB;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

/* .use-case-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.08);
    border-color: transparent;
} */

.use-case-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 20px;
}

.use-case-icon {
    width: 48px;
    height: 48px;
    background: #f2f5f7;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
}

.use-case-icon svg {
    width: 24px;
    height: 24px;
}

.use-case-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.use-case-tag {
    padding: 4px 10px;
    background: #F3F4F6;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 600;
    color: #6B7280;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.use-case-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 12px;
}

.use-case-description {
    font-size: 14px;
    line-height: 1.6;
    color: #6B7280;
    margin-bottom: 20px;
}

.use-case-steps {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px;
    background: #ffffff;
    border-radius: 12px;
}

.use-case-step {
    display: flex;
    align-items: center;
    gap: 12px;
}

.step-number {
    width: 24px;
    height: 24px;
    background: var(--color-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

.step-text {
    font-size: 13px;
    color: var(--color-dark);
    font-weight: 500;
}

/* ===== How It Works Section ===== */
.how-it-works {
    padding: 80px 0;
    background: #ffffff;
}

@media (min-width: 768px) {
    .how-it-works {
        padding: 100px 0;
    }
}

.how-it-works .container {
    max-width: 1200px;
}

.steps-timeline {
    max-width: 680px;
    margin: 0 auto;
}

.step-item {
    display: flex;
    gap: 24px;
    position: relative;
}

.step-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.step-number-large {
    width: 52px;
    height: 52px;
    background: var(--color-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(101, 25, 156, 0.25);
}

.step-line {
    width: 2px;
    flex: 1;
    min-height: 48px;
    background: linear-gradient(180deg, var(--color-primary) 0%, rgba(101, 25, 156, 0.2) 100%);
    margin: 8px 0;
}

.step-item:last-child .step-line {
    display: none;
}

.step-content {
    padding-bottom: 40px;
    padding-top: 8px;
}

.step-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 8px;
}

.step-description {
    font-size: 15px;
    line-height: 1.6;
    color: #6B7280;
    margin: 0;
}

/* Horizontal Steps for Desktop */
@media (min-width: 900px) {
    .steps-timeline {
        max-width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 32px;
    }

    .step-item {
        flex: 1;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }

    .step-marker {
        width: 100%;
        flex-direction: row;
        justify-content: center;
        position: relative;
    }

    .step-line {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 100%;
        height: 3px;
        min-height: 0;
        background: linear-gradient(90deg, var(--color-primary) 0%, rgba(101, 25, 156, 0.2) 100%);
        transform: translateY(-50%);
        margin: 0;
        z-index: 1;
    }

    .step-content {
        padding: 0 10px;
    }

    /* RTL Support for Desktop Steps */
    html[dir="rtl"] .step-line {
        left: auto;
        right: 50%;
        background: linear-gradient(270deg, rgba(101, 25, 156, 0.2) 0%, var(--color-primary) 100%);
    }
}

/* ===== FAQ Section ===== */
.faq {
    padding: 80px 0;
    background: #ffffff;
}

@media (min-width: 768px) {
    .faq {
        padding: 100px 0;
    }
}

.faq .container {
    max-width: 1200px;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    margin-bottom: 12px;
    overflow: hidden;
    background: #ffffff;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: #D1D5DB;
}

.faq-item.open {
    border-color: var(--color-primary);
    box-shadow: 0 4px 12px #f2f5f7;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    text-align: start;
    font-size: 16px;
    font-weight: 600;
    color: var(--color-dark);
    cursor: pointer;
    transition: color 0.2s ease;
    background: transparent;
    border: none;
}

.faq-question:hover {
    color: var(--color-primary);
}

.faq-question:focus {
    outline: none;
}

.faq-question:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: -2px;
    border-radius: 16px;
}

.faq-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
    color: var(--color-primary);
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
}

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

.faq-item.open .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    font-size: 15px;
    line-height: 1.7;
    color: #6B7280;
    padding: 0 24px 20px;
    margin: 0;
}

/* ===== Final CTA Section ===== */
.final-cta {
    padding: 80px 0;
    background: var(--color-dark);
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .final-cta {
        padding: 100px 0;
    }
}

.final-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(101, 25, 156, 0.3) 0%, transparent 60%);
    pointer-events: none;
}

.final-cta .container {
    max-width: 1200px;
}

.final-cta-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 32px;
}

@media (min-width: 1024px) {
    .final-cta-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: start;
        gap: 48px;
    }
}

.final-cta-text {
    max-width: 560px;
}

.final-cta-title {
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

@media (min-width: 768px) {
    .final-cta-title {
        font-size: 40px;
    }
}

.final-cta-description {
    font-size: 17px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.final-cta-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

@media (min-width: 1024px) {
    .final-cta-action {
        align-items: flex-end;
    }
}

.final-cta .btn-primary {
    background: #ffffff;
    color: var(--color-primary);
    border-color: #ffffff;
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 100px;
}

.final-cta .btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.final-cta .btn-primary svg {
    width: 18px;
    height: 18px;
}

.final-cta-note {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

/* ===== Button Overrides for Industries Page ===== */
.industry-hero .btn-primary,
.industry-hero .btn-outline {
    border-radius: 100px;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 700;
    transition: all 0.2s ease;
}

.industry-hero .btn-primary {
    background: #ffffff;
    color: var(--color-primary);
    border-color: #ffffff;
}

.industry-hero .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.95);
}

.industry-hero .btn-outline {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.industry-hero .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
    color: #ffffff;
}

.btn-large {
    padding: 18px 48px;
    font-size: 17px;
}

/* ===== RTL Support ===== */
html[dir="ltr"] .wa-message-received .wa-message-bubble {
    border-radius: 8px 8px 8px 0;
}

html[dir="ltr"] .wa-message-sent .wa-message-bubble {
    border-radius: 8px 8px 0 8px;
}

/* ===== Content Visibility ===== */
/* Ensure all section content is visible */

/* ===== Focus States for Accessibility ===== */
.industry-hero .btn-primary:focus-visible,
.industry-hero .btn-outline:focus-visible,
.final-cta .btn-primary:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.industry-hero .breadcrumbs-link:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
    border-radius: 4px;
}

/* ===== Hero CTA Wrapper ===== */
.industry-hero .hero-cta {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

@media (min-width: 480px) {
    .industry-hero .hero-cta {
        flex-direction: row;
        align-items: center;
        gap: 16px;
    }
}

.industry-hero .hero-cta .qr-box {
    display: none;
}

@media (min-width: 768px) {
    .industry-hero .hero-cta .qr-box {
        display: flex;
        border-radius: 16px;
        border-color: rgba(255, 255, 255, 0.3);
        color: #ffffff;
    }
}

.industry-hero .hero-cta .qr-box {
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

.industry-hero .hero-cta .qr-text {
    color: #ffffff;
}

/* Auto-click Pulse Animation */
@keyframes pulse-ring {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.auto-click-pulse {
    animation: pulse-ring 1.5s infinite;
}



/* ===== Industries Index Page ===== */

/* Index Hero Section */
.industries-hero {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

@media (min-width: 768px) {
    .industries-hero {
        min-height: 500px;
    }
}

.industries-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.industries-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.industries-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(190, 125, 210, 0.9) 0%, rgba(101, 25, 156, 0.85) 100%);
}

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

.industries-hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 0;
}

.industries-hero-title {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .industries-hero-title {
        font-size: 48px;
    }
}

@media (min-width: 1024px) {
    .industries-hero-title {
        font-size: 56px;
    }
}

.industries-hero-description {
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .industries-hero-description {
        font-size: 20px;
    }
}

.industries-hero .btn-primary {
    display: inline-flex;
}

/* Industries Section */
.industries-section {
    padding: 60px 0 80px;
    background: #f8f9fa;
}

@media (min-width: 768px) {
    .industries-section {
        padding: 80px 0 100px;
    }
}

/* Industries Grid */
.industries-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 640px) {
    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .industries-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 32px;
    }
}

/* Industry Card */
.industry-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.industry-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.industry-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 24px;
    text-decoration: none;
}

.industry-card-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #f3e8ff 0%, #e9d5ff 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--color-primary);
}

.industry-card-icon img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 8px;
}

.industry-card-icon svg {
    width: 32px;
    height: 32px;
}

.industry-card-content {
    flex: 1;
}

.industry-card-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
    line-height: 1.3;
}

.industry-card-description {
    font-size: 15px;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

.industry-card-footer {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
}

.industry-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-primary);
    transition: gap 0.2s ease;
}

.industry-card:hover .industry-card-cta {
    gap: 12px;
}

html[dir="ltr"] .industry-card-cta svg {
    transform: rotate(0);
}

html[dir="rtl"] .industry-card-cta svg {
    transform: rotate(180deg);
}

/* Industries Empty State */
.industries-empty {
    text-align: center;
    padding: 80px 20px;
    color: #666;
}

.industries-empty svg {
    margin-bottom: 24px;
    opacity: 0.4;
}

.industries-empty h2 {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}

.industries-empty p {
    font-size: 16px;
    color: #666;
    max-width: 400px;
    margin: 0 auto;
}

/* Industries Pagination */
.industries-pagination {
    margin-top: 48px;
    display: flex;
    justify-content: center;
}

/* Why Yafe Section */
.industries-why {
    padding: 80px 0;
    background: #ffffff;
}

@media (min-width: 768px) {
    .industries-why {
        padding: 100px 0;
    }
}

.industries-why-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 640px) {
    .industries-why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .industries-why-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 32px;
    }
}

.industries-why-card {
    text-align: center;
    padding: 32px 24px;
    background: #f8f9fa;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.industries-why-card:hover {
    background: #f3e8ff;
    transform: translateY(-4px);
}

.industries-why-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--color-primary) 0%, #9333ea 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #ffffff;
}

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

.industries-why-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.industries-why-description {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

/* Industries FAQ Section */
.industries-faq {
    padding: 80px 0;
    background: #f8f9fa;
}

@media (min-width: 768px) {
    .industries-faq {
        padding: 100px 0;
    }
}

.industries-faq .faq-list {
    max-width: 800px;
    margin: 0 auto;
}

/* Related Industries Section */
.related-industries {
    padding: 60px 0 80px;
    background: #fff;
}

@media (min-width: 768px) {
    .related-industries {
        padding: 80px 0 100px;
    }
}

.related-industries-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 640px) {
    .related-industries-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
}

.related-industry-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
    background: #ffffff;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.related-industry-card:hover {
    background: linear-gradient(135deg, #f3e8ff 0%, #e9d5ff 100%);
    transform: translateY(-4px);
    /* box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1); */
}

.related-industry-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
}

.related-industry-arrow {
    color: var(--color-primary);
    transition: transform 0.2s ease;
}

html[dir="rtl"] .related-industry-arrow svg {
    transform: rotate(180deg);
}

.related-industry-card:hover .related-industry-arrow {
    transform: translateX(4px);
}

html[dir="rtl"] .related-industry-card:hover .related-industry-arrow {
    transform: translateX(-4px) rotate(180deg);
}