/* Mobile-first CSS - Matching webmobile */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    height: 100%;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--main-text);
    background-color: var(--bg-primary);
    transition: all 0.3s ease;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

main {
    flex: 1 0 auto;
}

/* Page content fade-in (excluding header) */
body > *:not(.header) {
    animation: fadeInPage 0.5s ease-in;
}

@keyframes fadeInPage {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
.text-italic {
    font-style: italic;
}
/* Header Styles - Matching webmobile colors */
.header {
    background-color: var(--bg-primary);
    border-bottom: 1px solid var(--border-secondary);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
    width: 100%;
    max-width: 100vw;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: calc(100% - 2rem);
}

/* Hamburger Menu Styles */
.menu-toggle {
    display: none;
}
.hamburger {
    display: flex;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    padding: 0.5rem;
    background: none;
    border: none;
    align-self: flex-end;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--main-text);
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Rotate hamburger to X when checked */
.menu-toggle:checked ~ .header-container .hamburger span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.menu-toggle:checked ~ .header-container .hamburger span:nth-child(2) {
    opacity: 0;
}

.menu-toggle:checked ~ .header-container .hamburger span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: #333;
    flex-shrink: 0;
    min-width: 0;
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #059669 100%);
    color: var(--secondary-text);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    flex-shrink: 0;
}

.logo-icon img {
    width: 25px;
    height: 25px;
}

.logo {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.site-name,
.logo-text {
    font-size: 1.25rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
    min-width: 0;
    flex-shrink: 0;
    color: var(--main-text);
    letter-spacing: -0.5px;
}

/* Navigation Styles */
.nav-wrapper {
    display: none;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

/* Show nav-wrapper when menu-toggle is checked */
.menu-toggle:checked ~ .header-container .nav-wrapper {
    display: flex;
}

.header-contact-btn {
    align-self: flex-end;
    margin-top: 0.5rem;
}

.nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
}

.nav-item {
    position: relative;
}

.nav-toggle {
    display: none;
}

.nav-link {
    display: block;
    padding: 0.75rem 1rem;
    text-decoration: none;
    color: var(--sub-text);
    background-color: transparent;
    border-radius: var(--border-radius-md);
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: var(--fs-text-sm);
    font-weight: 500;
}

/* Only show arrow for items with submenus (that have a checkbox before them) */
.nav-toggle + .nav-link {
    position: relative;
    padding-right: 1.5rem;
}

.nav-toggle + .nav-link::after {
    content: '▼';
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.75rem;
    transition: transform 0.2s;
}

.nav-toggle:checked + .nav-link::after {
    transform: translateY(-50%) rotate(180deg);
}

.nav-link:hover {
    color: var(--primary-color);
    background: var(--bg-secondary);
}

/* Submenu Styles - Mobile: hidden by default, shown when checkbox is checked */
.submenu {
    list-style: none;
    margin-top: 0.5rem;
    margin-left: 1rem;
    display: none;
    flex-direction: column;
    gap: 0.25rem;
}

/* Show submenu when checkbox is checked - mobile only */
.nav-toggle:checked + .nav-link + .submenu {
    display: flex !important;
}

/* Make nav-link focusable for better mobile interaction */
.nav-link:focus {
    outline: 2px solid #0066cc;
    outline-offset: 2px;
}

.submenu li a {
    display: block;
    padding: 0.5rem 1rem;
    text-decoration: none;
    color: var(--sub-text);
    background-color: transparent;
    border-radius: var(--border-radius-md);
    font-size: var(--fs-text-sm);
    transition: all 0.3s ease;
}

.submenu li a:hover {
    color: var(--primary-color);
    background: var(--bg-secondary);
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 0;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

.page-content {
    max-width: 100%;
    margin: 0;
    background-color: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
    overflow-x: hidden;
}

.page-content h1 {
    margin-bottom: 1rem;
    color: #222;
    font-size: 1.75rem;
}

.page-content p {
    margin-bottom: 1rem;
    font-size: 1rem;
}

/* Link Styles - Content Areas (NOT nav bar) */
.page-content a:not(.btn),
.hero a:not(.btn),
.hero-description a:not(.btn),
.hero-left a:not(.btn),
.info-content a,
.workflow-section a,
.service-section a,
.why-choose-section a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

.page-content a:not(.btn):hover,
.hero a:not(.btn):hover,
.hero-description a:not(.btn):hover,
.hero-left a:not(.btn):hover,
.info-content a:not(.btn):hover,
.workflow-section a:not(.btn):hover,
.service-section a:not(.btn):hover,
.why-choose-section a:not(.btn):hover {
    text-decoration: underline;
    color: #059669; /* Darker green hover - matches webmobile */
}

.page-content a:focus,
.hero a:focus,
.info-content a:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    border-radius: 2px;
}

.sub-nav {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e0e0e0;
}

.sub-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.sub-nav ul li a {
    display: block;
    padding: 0.75rem 1rem;
    background-color: #f8f8f8;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.sub-nav ul li a:hover {
    background-color: #e8e8e8;
    text-decoration: none;
}

/* Footer Styles */
.footer {
    background: #111827;
    color: #fff;
    padding: 60px 0 24px;
    margin-top: 0;
    width: 100%;
    max-width: 100vw;
    flex-shrink: 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    width: 100%;
    max-width: calc(100% - 2rem);
    overflow-x: hidden;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 48px;
}

.footer-brand {
    max-width: 100%;
}

.footer .logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: #fff;
    margin-bottom: 16px;
}

.footer .logo-icon {
    background: var(--primary-color);
}

.footer .logo-text {
    color: #fff;
}

.footer-tagline {
    font-size: var(--fs-text-sm);
    color: #9ca3af;
    margin: 16px 0 24px;
    line-height: 1.7;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-contact a {
    color: #9ca3af;
    text-decoration: none;
    font-size: var(--fs-text-sm);
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
}

.footer-contact a:hover {
    color: var(--primary-color);
}

.footer-contact img {
    width: 20px;
    height: 20px;
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

.footer-column h4 {
    font-size: var(--fs-text-sm);
    font-weight: var(--bold-font-weight);
    margin-bottom: 16px;
    color: #fff;
}

.footer-column ul {
    list-style: none;
    padding-left: 0;
    margin-left: 0;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: #9ca3af;
    text-decoration: none;
    font-size: var(--fs-text-sm);
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.footer-bottom p {
    font-size: var(--fs-text-sm);
    color: #9ca3af;
    margin: 0;
}

/* Tablet Styles */
@media (min-width: 768px) {
    .header-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    .hamburger {
        display: none;
    }
    /* Always show nav-wrapper on tablet and desktop */
    .nav-wrapper {
        display: flex !important;
        flex-direction: row;
        align-items: center;
        gap: 15px;
        flex: 1;
        justify-content: flex-end;
    }

    .header-contact-btn {
        align-self: auto;
        margin-top: 0;
        white-space: nowrap;
    }

    .navbar {
        flex-shrink: 0;
    }
    .nav-list {
        flex-direction: row;
        gap: 0;
    }

    /* Desktop: Remove all checkbox functionality */
    .nav-toggle {
        display: none;
        pointer-events: none;
    }

    /* Desktop: nav-link is just a link, not clickable for dropdowns */
    .nav-link {
        padding: 0.5rem 1rem;
        pointer-events: auto;
    }

    /* Desktop: Remove arrow completely */
    .nav-toggle + .nav-link {
        padding-right: 0.85rem;
    }

    .nav-toggle + .nav-link::after {
        display: none;
    }

    /* Desktop: Hover-only behavior for submenus */
    .submenu {
        position: absolute;
        top: calc(100% + 0.25rem);
        left: 0;
        margin-left: 0;
        margin-top: 0;
        background-color: var(--bg-primary);
        border: 1px solid var(--border-secondary);
        border-radius: var(--border-radius-md);
        box-shadow: var(--shadow-md);
        min-width: 200px;
        padding: 0.5rem 0;
        display: none;
        flex-direction: column;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.2s ease, visibility 0.2s ease;
    }

    /* Desktop: Show submenu ONLY on hover, ignore checkbox state */
    .nav-item:hover .submenu {
        display: flex !important;
        opacity: 1;
        visibility: visible;
    }

    /* Prevent checkbox from affecting desktop behavior */
    .nav-toggle:checked + .nav-link + .submenu {
        display: none;
    }

    .nav-item:hover .nav-toggle:checked + .nav-link + .submenu {
        display: flex !important;
        opacity: 1;
        visibility: visible;
    }
    /* On desktop, hide checkboxes */
    .nav-toggle {
        display: none;
    }

    /* Add invisible bridge area to prevent gap when moving mouse to submenu */
    .nav-item::before {
        content: '';
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        height: 0.5rem;
        background: transparent;
    }

    .submenu li a {
        background-color: transparent;
        padding: 0.5rem 1rem;
        color: var(--sub-text);
    }
    
    .submenu li a:hover {
        color: var(--primary-color);
        background: var(--bg-secondary);
    }

    .sub-nav ul {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .main-content {
        padding: 0;
    }

    .page-content {
        padding: 0;
        max-width: 100%;
    }

    .page-content h1 {
        font-size: 2rem;
    }
}

/* Desktop Styles */
@media (min-width: 1024px) {
    .header-container {
        padding: 0 2rem;
        max-width: calc(100% - 4rem);
    }

    .main-content {
        padding: 0;
    }

    .page-content {
        padding: 0;
        max-width: 100%;
    }

    .page-content h1 {
        font-size: 2.5rem;
    }

    .logo {
        width: 50px;
        height: 50px;
    }

    .site-name,
    .logo-text {
        font-size: 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1.5fr 2fr;
        gap: 60px;
    }

    .footer-links {
        grid-template-columns: repeat(3, 1fr);
        gap: 32px;
    }
}

@media (min-width: 640px) and (max-width: 1023px) {
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
    }
}

/* ============================================
   CONTENT SECTIONS - Imported from webmobile
   ============================================ */

/* CSS Variables for content sections - Complete from webmobile */
:root {
    /* Primary Colors */
    --primary-color: #10b981;
    --primary-light: #d1fae5;

    /* Secondary Colors */
    --secondary-color: #155dfc;
    --secondary-light: #eef3ff;

    /* Tertiary Colors */
    --tertiary-color: #F97316;
    --tertiary-light: #FFEEE2;

    /* Accent Colors */
    --accent-color: #7f56d9;
    --accent-color-light: #f7f3ff;

    /* Success Colors */
    --success-color: #32d583;
    --success-color-light: #ecfdf3;

    /* Warning Colors */
    --warning-color: #fdb022;
    --warning-color-light: #fef3c7;

    /* Error Colors */
    --error-color: #f04438;
    --error-color-light: #fef2f2;

    /* Background Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-dark: #374151;

    /* Text Colors */
    --main-text: #101828;
    --secondary-text: #ffffff;
    --placeholder-text: #9ca3af;
    --sub-text: #535862;
    --stroke: #f5f5f5;

    /* Border Colors */
    --border-primary: #f5f5f5;
    --border-secondary: #d1d5db;
    --border-focus: #10b981;
    --border-color: #d1d5db;

    /* Border Radius */
    --border-radius-sm: 5px;
    --border-radius-md: 8px;
    --border-radius-lg: 12px;
    --border-radius-xl: 16px;
    --border-radius-2xl: 20px;
    --border-radius-3xl: 24px;
    --border-radius-full: 100%;

    /* Shadow Colors */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1);

    /* Font Sizes */
    --fs-display-2xl: 4.5rem;
    --fs-display-xl: 3.75rem;
    --fs-display-lg: 3rem;
    --fs-display-md: 2.5rem;
    --fs-display-sm: 1.875rem;
    --fs-display-xs: 1.5rem;
    --fs-text-xl: 1.25rem;
    --fs-text-lg: 1.125rem;
    --fs-text-md: 1rem;
    --fs-text-sm: 0.875rem;
    --fs-text-xs: 0.75rem;
    --fs-heading-md: 1.5rem;

    /* Font Weights */
    --bold-font-weight: 600;
    --medium-font-weight: 500;
    --regular-font-weight: 400;
    --bold-font-md: 600;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    width: 100%;
}

/* Landing Page */
.landing-page {
    background-image: url('/static/images/bg-landing.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
}

/* Background Image Classes from webmobile */
.bg-form-editor {
    background-image: url('/static/images/bg-form-editor.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.bg-workflow {
    background-image: url('/static/images/bg-workflow.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.bg-dashboard {
    background-image: url('/static/images/bg-dashboard.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.bg-service-level {
    background-image: url('/static/images/bg-service.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.bg-hr-it {
    background-image: url('/static/images/bg-hr-it.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.bg-why-us {
    background-image: url('/static/images/bg-why-us.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Hero Section */
.hero {
    padding: 60px 0 80px;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
}

.hero-left {
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-light);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: var(--border-radius-3xl);
    font-size: var(--fs-text-sm);
    margin-bottom: 24px;
}

.green-dot {
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    display: inline-block;
}

.hero-title {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--main-text);
}

.hero-description {
    font-size: var(--fs-text-md);
    color: var(--sub-text);
    margin-bottom: 32px;
    line-height: 1.7;
}

.stats {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: var(--fs-display-sm);
    font-weight: var(--bold-font-weight);
    color: var(--main-text);
}

.stat-label {
    font-size: var(--fs-text-sm);
    color: var(--sub-text);
}

.contact-card {
    position: relative;
    width: 100%;
    max-width: 600px;
    height: auto;
    overflow: visible;
}

.contact-card img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.contact-card-mobile {
    display: block !important;
}
.contact-card {
    display: none;
}
.form-builder-card {
    display: none;
}

.h-inherit {
    height: inherit;
}

/* Workflow Section */
.workflow-section {
    padding: 60px 0;
}

.workflow-section .boxes-layout-mobile {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}
.workflow-section .boxes-layout-mobile .empty-box-4 {
    margin-right: 0px;
}
.workflow-section .boxes-layout-mobile .workflow-icon{
    background: transparent;
}
.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--main-text);
    margin-bottom: 40px;
}

.section-description {
    font-size: var(--fs-text-md);
    color: var(--sub-text);
    margin-bottom: 40px;
    text-align: center;
}

/* Empty Boxes Layout */
.empty-boxes-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    gap: 100px;
    margin: 60px auto;
    max-width: 800px;
    justify-items: center;
    align-items: center;
    padding: 20px;
    width: 100%;
    transform: translateX(-35px);
}
.boxes-layout-mobile {
    display: none !important;
}
.empty-box {
    width: 300px;
    height: 225px;
    min-width: 300px;
    min-height: 225px;
    border: 4px solid #000000 !important;
    background: transparent !important;
    display: block !important;
    box-sizing: border-box;
    flex-shrink: 0;
    visibility: visible !important;
    opacity: 1 !important;
}

.empty-box-1 {
    grid-column: 1 / span 2;
    grid-row: 1;
    justify-self: center;
    padding: 20px;
}

.empty-box-4 {
    grid-column: 1;
    grid-row: 2;
    justify-self: end;
    /* margin-right: 120px; */
    padding: 20px;
}

.empty-box-2 {
    grid-column: 2;
    grid-row: 2;
    justify-self: end;
    padding: 20px;
}

.empty-box-3 {
    grid-column: 1 / span 2;
    grid-row: 3;
    justify-self: center;
    padding: 20px;
}

/* Arrow from Box 4 to Box 1 */
.empty-box-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    z-index: 1;
    pointer-events: none;
}

.arrow-4-to-1 {
    grid-column: 1;
    grid-row: 1 / span 2;
    width: 150px;
    height: 150px;
    justify-self: start;
    align-self: center;
    margin-left: 60px;
    margin-top: -130px;
}

.arrow-1-to-2 {
    grid-column: 2;
    grid-row: 1 / span 2;
    width: 150px;
    height: 150px;
    justify-self: end;
    align-self: center;
    margin-right: 60px;
    margin-top: -130px;
    transform: rotate(120deg);
}

.arrow-2-to-3 {
    grid-column: 2;
    grid-row: 2 / span 2;
    width: 150px;
    height: 150px;
    justify-self: end;
    align-self: center;
    margin-right: 60px;
    margin-top: 170px;
    transform: rotate(180deg);
}

.arrow-4 {
    grid-column: 1;
    grid-row: 2 / span 2;
    width: 150px;
    height: 150px;
    justify-self: start;
    align-self: center;
    margin-left: 60px;
    margin-top: 170px;
    transform: rotate(-90deg);
}

.workflow-icon {
    width: 40px;
    height: 40px;
    background: red;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

/* Use Cases page styles */
.section-subtitle {
    font-size: var(--fs-text-lg);
    font-weight: var(--bold-font-weight);
    color: var(--main-text);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.section-subtitle:first-of-type {
    margin-top: 1rem;
}

.indented-list {
    padding-left: 2rem;
    margin-left: 0;
    margin-bottom: 1rem;
}

.indented-list li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

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

.workflow-title {
    font-size: var(--fs-text-md);
    font-weight: var(--bold-font-weight);
    color: var(--main-text);
    line-height: 1.4;
    margin: 0;
}

.workflow-description {
    font-size: var(--fs-text-sm);
    color: var(--main-text);
    line-height: 1.6;
    margin: 0;
}

.workflow-indicators {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-top: auto;
    justify-content: space-between;
    border-top: 1px solid #d1d5db;
    padding: 7px 0 0 0;
}

.workflow-indicators .indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid #d1d5db;
    background: transparent;
}

.workflow-indicators .indicator.active {
    background: red;
    border-color: red;
}

/* Service Section */
.service-section {
    padding: 60px 0;
}

.service-section table {
    width: 100%;
    border-collapse: collapse;
}

/* Why Choose Section */
.why-choose-section {
    padding: 60px 0;
}

.features-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.feature-card {
    padding: 24px;
    border-radius: var(--border-radius-xl);
    background: #fff;
}

.feature-card.secondary-card {
    background: var(--secondary-light);
    border: 1px solid var(--secondary-color);
}

.feature-card.accent-card {
    background: var(--accent-color-light);
    border: 1px solid var(--accent-color);
}

.display-flex-column {
    display: flex;
    flex-direction: column;
}

.justify-content-between {
    justify-content: space-between;
}

.feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.feature-icon.blue {
    background: var(--secondary-color);
}

.feature-icon.purple {
    background: var(--accent-color);
}

.feature-card h3 {
    font-size: var(--fs-text-xl);
    font-weight: var(--bold-font-weight);
    margin-bottom: 16px;
    color: var(--main-text);
}

.feature-card p {
    font-size: var(--fs-text-sm);
    color: var(--sub-text);
    line-height: 1.5;
    margin-bottom: 16px;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    font-size: var(--fs-text-sm);
    color: var(--main-text);
    padding: 5px 0;
    padding-left: 24px;
    position: relative;
}

.feature-list li::before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Tablet Styles for Content */
@media (min-width: 768px) {
    .hero {
        padding: 80px 0 100px;
    }

    .hero-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 60px;
        align-items: start;
    }

    .hero-title {
        font-size: 2.5rem;
    }


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

    .contact-card-mobile {
        display: none !important;
    }
    .contact-card {
        display: block;
    }
    .form-builder-card {
        display: block;
    }
}

/* Desktop Styles for Content */
@media (min-width: 1024px) {
    .hero {
        padding: 100px 0 140px;
    }

    .hero-title {
        font-size: var(--fs-display-lg);
    }

    .empty-boxes-layout {
        gap: 100px;
        transform: translateX(-35px);
    }

    .empty-box-4 {
        /* margin-right: 120px; */
    }

    .empty-box-2 {
        margin-left: 120px;
    }
    .workflow-section .boxes-layout-mobile .empty-box-4 {
        margin-right: 0px;
    }
    .workflow-section .boxes-layout-mobile .empty-box-2 {
        margin-left: 0px;
    }
}

/* ============================================
   INFO SECTION STYLES
   ============================================ */
.info-section {
    padding: 60px 0;
}

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

.info-intro {
    margin-bottom: 40px;
    border-bottom: 1px solid #d1d5db;
    padding-bottom: 30px;
}

.info-intro p {
    margin-bottom: 15px;
    line-height: 1.6;
    font-size: var(--fs-text-md);
}

.info-content {
    line-height: 1.7;
}

.info-content h2 {
    font-size: 1.5rem;
    margin-top: 40px;
    margin-bottom: 15px;
    color: var(--main-text);
    font-weight: var(--bold-font-weight);
}

.info-content h3 {
    font-size: 1.25rem;
    margin-top: 30px;
    margin-bottom: 12px;
    color: var(--main-text);
    font-weight: var(--bold-font-weight);
}

.info-content p {
    margin-bottom: 20px;
    color: var(--sub-text);
    font-size: var(--fs-text-md);
}

.info-content ul {
    margin-bottom: 20px;
    padding-left: 25px;
    color: var(--sub-text);
}

.info-content li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.info-content a {
    color: var(--primary-color);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.info-content a:not(.btn):hover {
    text-decoration: underline;
    color: #059669; /* Darker green hover - matches webmobile */
}

.info-content a:hover .external-link-icon {
    opacity: 1;
}

.external-link-icon {
    width: 14px;
    height: 14px;
    display: inline-block;
    vertical-align: middle;
    margin-left: 4px;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.info-content strong {
    color: var(--main-text);
    font-weight: var(--bold-font-weight);
}

/* Form Builder Card */
.form-builder-card {
    position: relative;
    width: 100%;
    max-width: 600px;
    height: auto;
    overflow: visible;
}

.form-builder-card img {
    max-width: 100%;
    height: auto;
}

/* Workflow Grid */
.workflow-grid {
    width: 100%;
    margin: 40px 0;
}

.workflow-grid img {
    width: 100%;
    height: auto;
}

.w-100 {
    width: 100%;
}

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

.pt-0 {
    padding-top: 0;
}

.capture-data-section {
    padding: 80px 0;
}

/* Hero Badge Variants */
.accent-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-color);
    border-radius: 50%;
    display: inline-block;
}

.secondary-dot {
    width: 8px;
    height: 8px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: inline-block;
}

.warning-dot {
    width: 8px;
    height: 8px;
    background: #F97316;
    border-radius: 50%;
    display: inline-block;
}

/* Hero Content Variants */
.form-editor .hero-badge {
    background: var(--accent-color-light);
    color: var(--accent-color);
}

.human-resources .hero-badge {
    background: var(--secondary-light);
    color: var(--secondary-color);
}

.healthcare .hero-badge {
    background: #FFEEE2;
    color: #F97316;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 16px;
    margin-top: 32px;
    flex-wrap: wrap;
}

/* Button Styles from webmobile - Complete */
.btn,
a.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 1rem;
    border: none;
    border-radius: 6px;
    font-weight: var(--bold-font-weight);
    font-size: var(--fs-text-sm);
    cursor: pointer;
    text-decoration: none !important;
    transition: all 0.2s ease;
    white-space: nowrap;
    justify-content: center;
    height: 36px;
}

/* Remove all link styling from buttons */
a.btn,
a.btn:link,
a.btn:visited,
a.btn:hover,
a.btn:active,
a.btn:focus {
    text-decoration: none !important;
    color: inherit;
}

a.btn:visited {
    color: inherit !important;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #ffffff !important;
}

.btn-primary,
a.btn-primary {
    color: #ffffff !important;
}

.btn-primary[aria-label="Start your free trial"]::after {
    content: '→';
    margin-left: 0.3rem;
    font-size: 1.1em;
    display: inline-block;
    vertical-align: middle;
    transition: transform 0.2s ease;
}

.btn-primary[aria-label="Start your free trial"]:hover::after {
    transform: translateX(3px);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-primary:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.btn-secondary {
    border: 1px solid var(--border-secondary);
    background-color: var(--bg-primary);
    color: var(--main-text);
}

.btn-secondary:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-secondary:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Button variants */
.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.btn:active {
    transform: translateY(0);
}

/* Responsive adjustments for info section */
@media (max-width: 768px) {
    .header-contact-btn {
        display: none;
    }
    
    .empty-box-arrow {
        display: none;
    }
    
    .info-section {
        padding: 40px 0;
    }

    .info-content h2 {
        font-size: 1.25rem;
        margin-top: 30px;
    }

    .info-content h3 {
        font-size: 1.125rem;
    }

    .capture-data-section {
        padding: 60px 0;
    }
    .empty-boxes-layout {
        display: none;
    }
    .boxes-layout-mobile {
        display: flex !important;
    }
}

@media (max-width: 640px) {
    .info-section {
        padding: 30px 0;
    }

    .capture-data-section {
        padding: 40px 0;
    }
}

/* ============================================
   ADDITIONAL LAYOUT ELEMENTS FROM WEBMOBILE
   ============================================ */

/* Scroll Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.animated {
    opacity: 1;
}

.fade-in-up {
    transform: translateY(30px);
}

.fade-in-up.animated {
    transform: translateY(0);
}

.fade-in-left {
    transform: translateX(-30px);
}

.fade-in-left.animated {
    transform: translateX(0);
}

.fade-in-right {
    transform: translateX(30px);
}

.fade-in-right.animated {
    transform: translateX(0);
}

.scale-in {
    transform: scale(0.95);
}

.scale-in.animated {
    transform: scale(1);
}

/* Page Load Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* Text Alignment Utilities */
.text-align-left {
    text-align: left;
}

.text-align-right {
    text-align: right;
}

/* Width Utilities */
.w-100 {
    width: 100%;
}

/* Padding Utilities */
.pb-0 {
    padding-bottom: 0;
}

/* Additional Icon Styles */
.icon {
    width: 20px;
    height: 20px;
    display: inline-block;
}

.icon svg {
    width: 100%;
    height: 100%;
}

/* ============================================
   ADDITIONAL LINK STYLES FROM WEBMOBILE
   ============================================ */

/* General link styles (excluding nav bar) */
a:not(.nav-link):not(.submenu a):not(.sub-nav a):not(.logo-link) {
    transition: color 0.2s ease, text-decoration 0.2s ease;
}

/* Hero section links */
.hero a,
.hero-left a,
.hero-description a {
    color: var(--primary-color);
    font-weight: var(--medium-font-weight);
}

.hero a:not(.btn):hover,
.hero-left a:not(.btn):hover,
.hero-description a:not(.btn):hover {
    color: #059669;
    text-decoration: underline;
}

/* Section links */
.section-title a,
.section-description a {
    color: var(--primary-color);
}

.section-title a:not(.btn):hover,
.section-description a:not(.btn):hover {
    text-decoration: underline;
    color: #059669; /* Darker green hover - matches webmobile */
}

/* Feature card links */
.feature-card a {
    color: var(--primary-color);
    text-decoration: none;
}

.feature-card a:not(.btn):hover {
    text-decoration: underline;
    color: #059669; /* Darker green hover - matches webmobile */
}

/* Stats links */
.stats a {
    color: var(--primary-color);
    text-decoration: none;
}

.stats a:not(.btn):hover {
    text-decoration: underline;
    color: #059669; /* Darker green hover - matches webmobile */
}

/* Workflow section links */
.workflow-section a,
.empty-box a {
    color: var(--primary-color);
    text-decoration: none;
}

.workflow-section a:not(.btn):hover,
.empty-box a:not(.btn):hover {
    text-decoration: underline;
    color: #059669; /* Darker green hover - matches webmobile */
}

/* Service section links */
.service-section a,
.service-section table a {
    color: var(--primary-color);
    text-decoration: none;
}

.service-section a:not(.btn):hover,
.service-section table a:not(.btn):hover {
    text-decoration: underline;
    color: #059669; /* Darker green hover - matches webmobile */
}

/* Link focus states (excluding nav bar) */
a:focus:not(.nav-link):not(.submenu a):not(.sub-nav a):not(.logo-link) {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    border-radius: 2px;
}

/* Visited link styles (excluding nav bar and buttons) */
a:visited:not(.nav-link):not(.submenu a):not(.sub-nav a):not(.logo-link):not(.btn) {
    color: var(--accent-color);
}

a:visited:hover:not(.nav-link):not(.submenu a):not(.sub-nav a):not(.logo-link):not(.btn) {
    color: var(--primary-color);
}

/* ============================================
   CONTACT FORM STYLES
   ============================================ */
.contact-container {
    max-width: 800px;
    margin: 60px auto;
}

.contact-title {
    margin-bottom: 10px;
}

.contact-intro {
    margin-bottom: 40px;
    color: var(--sub-text);
}

.alert-success {
    background-color: var(--success-color-light);
    border: 1px solid var(--success-color);
    border-radius: var(--border-radius-md);
    padding: 16px;
    margin-bottom: 24px;
    color: var(--success-color);
}

.alert-error {
    background-color: var(--error-color-light);
    border: 1px solid var(--error-color);
    border-radius: var(--border-radius-md);
    padding: 16px;
    margin-bottom: 24px;
    color: var(--error-color);
}

.contact-form {
    background: var(--bg-secondary);
    padding: 40px;
    border-radius: var(--border-radius-lg);
}

.form-group {
    margin-bottom: 24px;
}

.form-group-large {
    margin-bottom: 32px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: var(--medium-font-weight);
    color: var(--main-text);
}

.form-label-required {
    color: var(--error-color);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-primary);
    border-radius: var(--border-radius-md);
    font-size: var(--fs-text-md);
    transition: border-color 0.3s;
    font-family: inherit;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--border-focus);
}

.form-textarea {
    resize: vertical;
}

.captcha-container {
    margin-bottom: 32px;
    background: var(--bg-primary);
    padding: 20px;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-secondary);
}

.captcha-question {
    margin-bottom: 12px;
    font-size: var(--fs-text-lg);
    font-weight: var(--bold-font-weight);
    color: var(--primary-color);
}

.captcha-input {
    width: 200px;
    padding: 12px;
    border: 1px solid var(--border-primary);
    border-radius: var(--border-radius-md);
    font-size: var(--fs-text-md);
    transition: border-color 0.3s;
}

.captcha-input:focus {
    outline: none;
    border-color: var(--border-focus);
}

.form-submit {
    width: 100%;
    padding: 14px;
    font-size: var(--fs-text-md);
    font-weight: var(--medium-font-weight);
}

/* ============================================
   CONTACT CONFIRMATION STYLES
   ============================================ */
.confirmation-container {
    max-width: 700px;
    margin: 2rem auto;
    padding: 2rem;
    text-align: center;
}

.confirmation-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.confirmation-title {
    font-size: var(--fs-display-md, 2.5rem);
    color: var(--main-text, #101828);
    margin-bottom: 1rem;
    font-weight: var(--bold-font-weight, 600);
}

.confirmation-message {
    font-size: var(--fs-text-lg, 1.125rem);
    color: var(--sub-text, #535862);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.confirmation-data {
    background: var(--bg-secondary, #f8f9fa);
    border-radius: var(--border-radius-lg, 12px);
    padding: 2rem;
    margin: 2rem 0;
    text-align: left;
}

.confirmation-subtitle {
    font-size: var(--fs-display-xs, 1.5rem);
    color: var(--main-text, #101828);
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: var(--bold-font-weight, 600);
}

.confirmation-field {
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-primary, #f5f5f5);
}

.confirmation-field:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.confirmation-field-message {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--border-secondary, #d1d5db);
}

.confirmation-label {
    display: block;
    font-size: var(--fs-text-sm, 0.875rem);
    color: var(--sub-text, #535862);
    margin-bottom: 0.5rem;
    font-weight: var(--medium-font-weight, 500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.confirmation-value {
    display: block;
    font-size: var(--fs-text-md, 1rem);
    color: var(--main-text, #101828);
    font-weight: var(--regular-font-weight, 400);
    word-wrap: break-word;
}

.confirmation-message-text {
    white-space: pre-wrap;
    line-height: 1.6;
    padding: 1rem;
    background: var(--bg-primary, #ffffff);
    border-radius: var(--border-radius-md, 8px);
    border: 1px solid var(--border-secondary, #d1d5db);
    margin-top: 0.5rem;
}

.confirmation-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin: 2rem 0;
}

.confirmation-info {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--primary-light, #d1fae5);
    border-radius: var(--border-radius-lg, 12px);
    border-left: 4px solid var(--primary-color, #10b981);
}

.confirmation-info p {
    margin: 0;
    font-size: var(--fs-text-sm, 0.875rem);
    color: var(--main-text, #101828);
    line-height: 1.6;
}

.confirmation-info a {
    color: var(--primary-color, #10b981);
    text-decoration: none;
    font-weight: var(--medium-font-weight, 500);
}

.confirmation-info a:hover {
    text-decoration: underline;
}


/* Ensure all buttons have no underline */
button,
button:hover,
button:focus,
button:active,
.btn,
.btn:hover,
.btn:focus,
.btn:active,
.btn:visited,
a.btn,
a.btn:hover,
a.btn:focus,
a.btn:active,
a.btn:visited {
    text-decoration: none !important;
}

@media (max-width: 768px) {
    .contact-form {
        padding: 24px;
    }
    
    .form-input,
    .form-textarea,
    .captcha-input {
        font-size: 16px; /* Prevents zoom on iOS */
        min-height: 44px;
    }
    
    .confirmation-container {
        padding: 1rem;
        margin: 1rem auto;
    }
    
    .confirmation-title {
        font-size: var(--fs-display-sm, 1.875rem);
    }
    
    .confirmation-data {
        padding: 1.5rem;
    }
    
    .confirmation-actions {
        flex-direction: column;
    }
    
    .confirmation-actions .btn {
        width: 100%;
    }
}

