/* ========================================
   ISO CLINIC - CSS STYLES
   ======================================== */

/* CSS Variables */
:root {
    --royal-blue: #5159f2;
    --cyan-teal: #2bd5c1;
    --text-primary: #101827;
    --text-secondary: #6B7280;
    --bg-primary: #F7F8FC;
    --bg-white: #FFFFFF;
    --shadow-card: 0 18px 50px rgba(16, 24, 39, 0.10);
    --shadow-card-sm: 0 10px 30px rgba(16, 24, 39, 0.08);
    --radius-xl: 1.5rem;
    --radius-lg: 1rem;
    --radius-md: 0.625rem;
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* Utility Classes */
.gradient-text {
    background: linear-gradient(135deg, var(--royal-blue) 0%, var(--cyan-teal) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mobile-only {
    display: none;
}

/* ========================================
   NAVIGATION
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    width: 2rem;
    height: 2rem;
    background: var(--royal-blue);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.625rem;
    font-weight: 700;
}

.logo-text {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1.125rem;
}

.nav-links {
    display: flex;
    flex-direction: row;
    /* Explicitly horizontal */
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-size: 0.875rem;
    color: var(--text-secondary);
    transition: color 0.2s;
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 0.5rem;
}

.menu-toggle span {
    width: 20px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: white;
    padding: 1.5rem;
    flex-direction: column;
    gap: 1rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    z-index: 1001;
}

.mobile-menu.active {
    display: flex !important;
}


.mobile-link {
    padding: 0.75rem 0;
    color: var(--text-secondary);
    border-bottom: 1px solid #eee;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 9999px;
    transition: all 0.2s;
}

.btn-primary {
    background: var(--royal-blue);
    color: white;
}

.btn-primary:hover {
    background: #4047d9;
    transform: translateY(-1px);
}

.btn-ghost {
    background: transparent;
    color: var(--text-primary);
}

.btn-ghost:hover {
    color: var(--royal-blue);
}

.btn-lg {
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
}

.btn-cyan {
    background: var(--cyan-teal);
    color: white;
}

.btn-cyan:hover {
    background: #24c4b1;
}

.btn-royal {
    background: var(--royal-blue);
    color: white;
}

.btn-outline {
    background: transparent;
    border: 1px solid #e5e7eb;
    color: var(--text-primary);
}

.btn-outline:hover {
    border-color: var(--royal-blue);
    color: var(--royal-blue);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    min-height: 100vh;
    padding-top: 80px;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle, rgba(16, 24, 39, 0.04) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    min-height: calc(100vh - 80px);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: white;
    border-radius: 9999px;
    box-shadow: var(--shadow-card-sm);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.badge svg {
    width: 1rem;
    height: 1rem;
}

.badge-dot {
    width: 0.5rem;
    height: 0.5rem;
    background: var(--cyan-teal);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.hero-title {
    font-size: 3.3rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 480px;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.icon {
    width: 1rem;
    height: 1rem;
}

/* Hero Visual */
.hero-visual {
    position: relative;
}

.hero-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.hero-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.dashboard-card {
    position: absolute;
    bottom: -40px;
    left: -60px;
    width: 380px;
    background: white;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-card);
    z-index: 10;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.card-header h3 {
    font-size: 1rem;
}

.card-subtitle {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.stats-grid {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    width: 100%;
}

.stat-box {
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    padding: 1rem;
    width: 100%;
    flex: 1;
    min-width: 0;
}

.stat-icon {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--royal-blue);
    margin-bottom: 0.5rem;
}

.stat-icon.cyan {
    color: var(--cyan-teal);
}

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

.stat-label {
    display: block;
    font-size: 0.625rem;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}

.stat-value {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.stat-change {
    font-size: 0.625rem;
}

.stat-change.positive {
    color: var(--cyan-teal);
}

.stat-change.warning {
    color: var(--royal-blue);
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--bg-primary);
    border-radius: var(--radius-md);
}

.activity-icon {
    width: 2rem;
    height: 2rem;
    background: rgba(81, 89, 242, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--royal-blue);
    flex-shrink: 0;
}

.activity-icon svg {
    width: 1rem;
    height: 1rem;
}

.activity-info {
    flex: 1;
}

.activity-title {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
}

.activity-desc {
    display: block;
    font-size: 0.625rem;
    color: var(--text-secondary);
}

.trend-icon {
    width: 1rem;
    height: 1rem;
    color: var(--cyan-teal);
    flex-shrink: 0;
}

.quick-actions {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.quick-label {
    display: block;
    font-size: 0.625rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.quick-buttons {
    display: flex;
    gap: 0.5rem;
}

.quick-btn {
    flex: 1;
    padding: 0.5rem;
    border-radius: var(--radius-md);
    font-size: 0.75rem;
    font-weight: 500;
    transition: all 0.2s;
}

.quick-btn.btn-royal {
    background: rgba(81, 89, 242, 0.1);
    color: var(--royal-blue);
}

.quick-btn.btn-royal:hover {
    background: var(--royal-blue);
    color: white;
}

.quick-btn.btn-cyan {
    background: rgba(43, 213, 193, 0.1);
    color: var(--cyan-teal);
}

.quick-btn.btn-cyan:hover {
    background: var(--cyan-teal);
    color: white;
}

/* ========================================
   PARTNERS SECTION
   ======================================== */
.partners {
    padding: 4rem 1.5rem;
    background: var(--bg-primary);
}

.partners-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.partners-title {
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.partners-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.partner-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.partner-logo img {
    height: 200px;
    /* Enlarge logos */
    width: auto;
    object-fit: contain;
}

.partner-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* ========================================
   FEATURES SECTION
   ======================================== */
.features {
    padding: 6rem 1.5rem;
    background: var(--bg-primary);
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
}

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

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1rem;
    color: var(--text-secondary);
}

/* Feature Row */
.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
}

.feature-row.reverse {
    direction: rtl;
}

.feature-row.reverse>* {
    direction: ltr;
}

.feature-row:last-child {
    margin-bottom: 0;
}

.feature-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

.feature-badge.royal {
    background: rgba(81, 89, 242, 0.1);
    color: var(--royal-blue);
}

.feature-badge.cyan {
    background: rgba(43, 213, 193, 0.1);
    color: var(--cyan-teal);
}

.feature-badge svg {
    width: 0.875rem;
    height: 0.875rem;
}

.feature-title {
    font-size: 1.875rem;
    margin-bottom: 1rem;
}

.feature-description {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.feature-list {
    margin-bottom: 1.5rem;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
}

.check-icon {
    width: 1.25rem;
    height: 1.25rem;
    background: rgba(43, 213, 193, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.check-icon::after {
    content: '';
    width: 0.375rem;
    height: 0.625rem;
    border: solid var(--cyan-teal);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) translate(-1px, -1px);
}

.feature-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--royal-blue);
    font-size: 0.875rem;
    font-weight: 500;
    transition: gap 0.2s;
}

.feature-link:hover {
    gap: 0.75rem;
}

.feature-link svg {
    width: 1rem;
    height: 1rem;
}

/* Feature Visual */
.feature-visual {
    position: relative;
}

.feature-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.feature-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.floating-card {
    position: absolute;
    bottom: -30px;
    left: -40px;
    width: 280px;
    background: white;
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    box-shadow: var(--shadow-card);
}

.floating-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.floating-header span {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.floating-header svg {
    width: 1rem;
    height: 1rem;
    color: var(--royal-blue);
}

.floating-value {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.floating-label {
    display: block;
    font-size: 0.625rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.mini-chart {
    display: flex;
    gap: 0.25rem;
    align-items: flex-end;
    height: 60px;
}

.bar {
    flex: 1;
    background: rgba(81, 89, 242, 0.2);
    border-radius: 2px;
    position: relative;
}

.bar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--royal-blue);
    border-radius: 2px;
    height: 70%;
}

/* Schedule Card */
.floating-card.schedule .floating-header svg {
    color: var(--cyan-teal);
}

.schedule-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.schedule-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
    background: var(--bg-primary);
    border-radius: var(--radius-md);
}

.schedule-item.next {
    background: rgba(43, 213, 193, 0.1);
    border: 1px solid rgba(43, 213, 193, 0.3);
}

.schedule-time {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-secondary);
    width: 40px;
}

.schedule-info {
    flex: 1;
}

.schedule-name {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
}

.schedule-type {
    display: block;
    font-size: 0.625rem;
    color: var(--text-secondary);
}

.next-badge {
    padding: 0.25rem 0.5rem;
    background: var(--cyan-teal);
    color: white;
    font-size: 0.625rem;
    border-radius: 9999px;
}

/* Patient Card */
.floating-card.patient .floating-header svg {
    color: var(--royal-blue);
}

.patient-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.patient-avatar {
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(81, 89, 242, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--royal-blue);
}

.patient-name {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
}

.patient-id {
    display: block;
    font-size: 0.625rem;
    color: var(--text-secondary);
}

.patient-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.meta-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
}

.meta-label {
    color: var(--text-secondary);
}

/* Prescription Card */
.floating-card.prescription .floating-header svg {
    color: var(--cyan-teal);
}

.prescription-info {
    margin-bottom: 0.75rem;
}

.drug-name {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.drug-sig {
    display: block;
    font-size: 0.625rem;
    color: var(--text-secondary);
}

.pharmacy-box {
    padding: 0.5rem;
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    margin-bottom: 0.75rem;
}

.pharmacy-label {
    display: block;
    font-size: 0.625rem;
    color: var(--text-secondary);
}

.pharmacy-name {
    display: block;
    font-size: 0.75rem;
}

/* Invoice Card */
.floating-card.invoice .floating-header svg {
    color: var(--royal-blue);
}

.invoice-items {
    margin-bottom: 0.75rem;
}

.invoice-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    padding: 0.25rem 0;
}

.invoice-row span:first-child {
    color: var(--text-secondary);
}

.invoice-total {
    display: flex;
    justify-content: space-between;
    font-weight: 500;
    padding-top: 0.5rem;
    border-top: 1px solid #eee;
    margin-bottom: 0.75rem;
}

.total-amount {
    color: var(--royal-blue);
}

/* Stock Card */
.floating-card.stock .floating-header svg {
    color: var(--cyan-teal);
}

.stock-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.stock-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stock-name {
    font-size: 0.75rem;
}

.stock-badge {
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    font-size: 0.625rem;
    font-weight: 500;
}

.stock-badge.good {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
}

.stock-badge.low {
    background: rgba(234, 179, 8, 0.1);
    color: #ca8a04;
}

.stock-link {
    font-size: 0.625rem;
    color: var(--cyan-teal);
    font-weight: 500;
}

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

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */
.testimonials {
    padding: 6rem 1.5rem;
    background: var(--bg-primary);
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
}

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

.testimonial-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-card);
}

.testimonial-stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.testimonial-stars svg {
    width: 1rem;
    height: 1rem;
    color: #fbbf24;
}

.quote-icon {
    width: 2rem;
    height: 2rem;
    color: rgba(81, 89, 242, 0.2);
    margin-bottom: 1rem;
}

.testimonial-quote {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

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

.author-avatar {
    width: 2.5rem;
    height: 2.5rem;
    background: linear-gradient(135deg, rgba(81, 89, 242, 0.2), rgba(43, 213, 193, 0.2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--royal-blue);
}

.author-name {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
}

.author-role {
    display: block;
    font-size: 0.75rem;
    color: var(--text-secondary);
}



.stat-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-card-sm);
}

.stat-icon-box {
    width: 3rem;
    height: 3rem;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.stat-icon-box.royal {
    background: rgba(81, 89, 242, 0.1);
    color: var(--royal-blue);
}

.stat-icon-box.cyan {
    background: rgba(43, 213, 193, 0.1);
    color: var(--cyan-teal);
}

.stat-icon-box.green {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
}

.stat-icon-box.orange {
    background: rgba(249, 115, 22, 0.1);
    color: #ea580c;
}

.stat-icon-box svg {
    width: 1.25rem;
    height: 1.25rem;
}

.stat-number {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 1.875rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.stat-label-text {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* ========================================
   CLIENT LOGOS SLIDER
   ======================================== */
.client-logos {
    padding: 4rem 0;
    background: var(--bg-primary);
    overflow: hidden;
}

.client-logos-container {
    max-width: 1400px;
    margin: 0 auto;
}

.client-logos-title {
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.logos-slider {
    position: relative;
    overflow: hidden;
}

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

.logos-slider::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-primary), transparent);
}

.logos-slider::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-primary), transparent);
}

.logos-track {
    display: flex;
    gap: 1.5rem;
    animation: scroll 15s linear infinite;
}

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

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.logo-item {
    flex-shrink: 0;
}

.logo-box {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 1.5rem;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card-sm);
    min-width: 340px;
    min-height: 120px;
}

.logo-box img {
    width: 300px;
    max-height: 100px;
    object-fit: contain;
}

/* ========================================
   COMPARISON SECTION
   ======================================== */
.comparison {
    padding: 6rem 1.5rem;
    background: var(--bg-primary);
}

.comparison-container {
    max-width: 1000px;
    margin: 0 auto;
}

/* Mobile Comparison Cards */
.comparison-cards-mobile {
    display: none;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.comparison-card-item {
    background: white;
    border-radius: var(--radius-md);
    padding: 1rem;
    box-shadow: var(--shadow-card-sm);
}

.comparison-card-item.highlight {
    border-left: 3px solid var(--royal-blue);
}

.comparison-card-item.price {
    background: linear-gradient(135deg, rgba(81, 89, 242, 0.05), rgba(43, 213, 193, 0.05));
}

.comparison-feature {
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.comparison-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.comparison-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem;
    background: #f9fafb;
    border-radius: 0.5rem;
    font-size: 0.625rem;
}

.comparison-col.iso {
    background: rgba(81, 89, 242, 0.1);
}

.comparison-col .check {
    color: var(--cyan-teal);
    font-weight: bold;
}

.comparison-col .cross {
    color: #9ca3af;
}

.comparison-col .price-tag {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* Desktop Comparison Table */
.comparison-table-desktop {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    margin-bottom: 2rem;
}

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

.comparison-table th,
.comparison-table td {
    padding: 1rem 1.5rem;
    text-align: left;
}

.comparison-table thead {
    background: linear-gradient(135deg, rgba(81, 89, 242, 0.05), rgba(43, 213, 193, 0.05));
}

.comparison-table th {
    font-weight: 600;
    font-size: 0.875rem;
}

.comparison-table th.iso-header {
    background: var(--royal-blue);
    color: white;
}

.comparison-table tbody tr {
    border-bottom: 1px solid #f3f4f6;
}

.comparison-table tbody tr:nth-child(even) {
    background: #f9fafb;
}

.comparison-table tbody tr.highlight {
    background: rgba(81, 89, 242, 0.03);
}

.comparison-table tbody tr.price-row {
    background: linear-gradient(135deg, rgba(81, 89, 242, 0.05), rgba(43, 213, 193, 0.05));
}

.comparison-table td {
    font-size: 0.875rem;
}

.comparison-table td.iso-cell {
    text-align: center;
}

.check-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    background: rgba(43, 213, 193, 0.2);
    border-radius: 50%;
    color: var(--cyan-teal);
    font-size: 0.75rem;
}

.cross-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    background: #f3f4f6;
    border-radius: 50%;
    color: #9ca3af;
    font-size: 0.75rem;
}

.price-highlight {
    font-weight: 600;
    color: var(--royal-blue);
}

.price-text {
    color: var(--text-secondary);
}

/* Comparison Footer */
.comparison-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(81, 89, 242, 0.05), rgba(43, 213, 193, 0.05));
    border-radius: var(--radius-lg);
}

.comparison-footer-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-icon {
    width: 3rem;
    height: 3rem;
    background: rgba(81, 89, 242, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--royal-blue);
}

.footer-icon svg {
    width: 1.25rem;
    height: 1.25rem;
}

.footer-title {
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.footer-subtitle {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.comparison-guarantee {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.comparison-guarantee svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--cyan-teal);
}

/* ========================================
   PRICING SECTION
   ======================================== */
.pricing {
    padding: 6rem 1.5rem;
    background: var(--bg-primary);
}

.pricing-container {
    max-width: 1100px;
    margin: 0 auto;
}

/* Billing Toggle */
.billing-toggle {
    display: flex;
    justify-content: center;
    gap: 0.25rem;
    padding: 0.25rem;
    background: white;
    border-radius: 9999px;
    box-shadow: var(--shadow-card-sm);
    max-width: fit-content;
    margin: 0 auto 3rem;
}

.toggle-btn {
    padding: 0.625rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 9999px;
    transition: all 0.2s;
    position: relative;
}

.toggle-btn.active {
    background: var(--royal-blue);
    color: white;
}

.toggle-btn:not(.active) {
    color: var(--text-secondary);
}

.toggle-btn:not(.active):hover {
    color: var(--text-primary);
}

.save-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    padding: 0.125rem 0.5rem;
    background: rgba(43, 213, 193, 0.2);
    color: var(--cyan-teal);
    font-size: 0.625rem;
    border-radius: 9999px;
}

.pricing-grid {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 2rem;
    margin-bottom: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 3rem;
    box-shadow: var(--shadow-card-sm);
    position: relative;
    flex: 1;
    max-width: 500px;
}

.pricing-card.popular {
    border: 2px solid var(--royal-blue);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.375rem 1rem;
    background: var(--royal-blue);
    color: white;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 9999px;
}

.promo-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    margin-top: 0.5rem;
    background: linear-gradient(135deg, #ef4444, #f97316);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 9999px;
    animation: pulse 2s infinite;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 6px -1px rgba(239, 68, 68, 0.3);
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.pricing-header {
    margin-bottom: 1.5rem;
}

.pricing-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.pricing-icon.starter {
    background: rgba(81, 89, 242, 0.1);
    color: var(--royal-blue);
}

.pricing-icon.professional {
    background: rgba(43, 213, 193, 0.1);
    color: var(--cyan-teal);
}

.pricing-icon.enterprise {
    background: rgba(249, 115, 22, 0.1);
    color: #ea580c;
}

.pricing-icon svg {
    width: 1.25rem;
    height: 1.25rem;
}

.pricing-name {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.pricing-subtitle {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.pricing-price {
    margin-bottom: 0.5rem;
}

.pricing-price .price {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 600;
}

.pricing-price .period {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.pricing-desc {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.pricing-features {
    margin-bottom: 1.5rem;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
}

.pricing-features li.disabled {
    color: var(--text-secondary);
}

.cross-icon {
    width: 1.25rem;
    height: 1.25rem;
    background: #f3f4f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cross-icon::after {
    content: '';
    width: 8px;
    height: 2px;
    background: #9ca3af;
}

.pricing-card .btn {
    width: 100%;
}

/* Trust Badges */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.trust-item .check-icon {
    margin-top: 0;
}

/* ========================================
   FAQ SECTION
   ======================================== */
.faq {
    padding: 6rem 1.5rem;
    background: var(--bg-primary);
}

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

.faq-list {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card-sm);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
}

.faq-question h3 {
    font-size: 1.125rem;
    font-weight: 500;
    margin: 0;
    padding-right: 1.5rem;
}

.faq-toggle {
    position: relative;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.faq-toggle::before,
.faq-toggle::after {
    content: '';
    position: absolute;
    background-color: var(--text-primary);
    transition: transform 0.3s ease;
}

.faq-toggle::before {
    top: 11px;
    left: 4px;
    width: 16px;
    height: 2px;
}

.faq-toggle::after {
    top: 4px;
    left: 11px;
    width: 2px;
    height: 16px;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    background: #f9fafb;
}

.faq-answer p {
    margin: 0;
    padding: 0 1.5rem 1.5rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    /* arbitrary large enough height */
    padding-top: 0.5rem;
}

/* ========================================
   FOOTER CTA SECTION
   ======================================== */
.footer-cta {
    padding: 6rem 1.5rem;
    background: white;
}

.footer-cta-container {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.cta-content {
    padding: 0 1rem;
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.cta-form {
    display: flex;
    gap: 0.75rem;
    max-width: 480px;
    margin: 0 auto 1.5rem;
}

.input-wrapper {
    flex: 1;
    position: relative;
}

.input-wrapper svg {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1.25rem;
    height: 1.25rem;
    color: var(--text-secondary);
}

.input-wrapper input {
    width: 100%;
    padding: 0.875rem 1rem 0.875rem 3rem;
    border: 1px solid #e5e7eb;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    transition: border-color 0.2s;
}

.input-wrapper input:focus {
    outline: none;
    border-color: var(--royal-blue);
}

.cta-phone {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.cta-phone a {
    color: var(--royal-blue);
    font-weight: 500;
}

.cta-phone a:hover {
    text-decoration: underline;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    padding: 4rem 1.5rem 2rem;
    background: var(--royal-blue);
    /* Primary color */
    color: white;
    /* Contrast text */
    border-top: none;
}

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

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    max-width: 280px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-logo .logo-icon {
    background: white;
    color: var(--royal-blue);
}

.footer-logo .logo-text {
    color: white;
}

.footer-desc {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}

.contact-item svg {
    width: 1rem;
    height: 1rem;
}

.footer-links h4 {
    font-size: 0.875rem;
    margin-bottom: 1rem;
    color: white;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.2s;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.2s;
}

.social-link:hover {
    background: white;
    color: var(--royal-blue);
}

.social-link svg {
    width: 1rem;
    height: 1rem;
}

/* ========================================
   RESPONSIVE STYLES
   ======================================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .hero-visual {
        order: -1;
    }

    .hero-image img {
        height: 300px;
    }

    .dashboard-card {
        position: relative;
        bottom: auto;
        left: auto;
        width: 100%;
        margin-top: -40px;
    }

    .feature-row {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .feature-row.reverse {
        direction: ltr;
    }

    .floating-card {
        position: relative;
        bottom: auto;
        left: auto;
        width: 100%;
        margin-top: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .feature-title {
        font-size: 1.5rem;
    }

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

    .stats-grid {
        flex-direction: row;
    }

    .pricing-grid {
        flex-direction: column;
        align-items: center;
    }

    .pricing-card.popular {
        transform: none;
    }

    .comparison-table-desktop {
        display: none;
    }

    .comparison-cards-mobile {
        display: flex;
    }

    .comparison-footer {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

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

    .cta-title {
        font-size: 2rem;
    }

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

@media (max-width: 768px) {

    .nav-links,
    .nav-actions {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .mobile-only {
        display: block;
    }

    .hero {
        padding-top: 70px;
    }

    .hero-container {
        padding: 1.5rem;
        min-height: auto;
    }

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

    .hero-description {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn-lg {
        width: 100%;
        justify-content: center;
    }

    .partners-logos {
        gap: 2rem;
    }

    .partner-logo img {
        height: 60px;
    }

    .features {
        padding: 3rem 1rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .feature-title {
        font-size: 1.25rem;
    }

    .feature-image img {
        height: 250px;
    }

    .feature-row {
        margin-bottom: 3rem;
    }

    .stats-grid {
        flex-direction: row;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .trust-badges {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .badge {
        font-size: 0.625rem;
        padding: 0.375rem 0.75rem;
    }

    .stats-grid {
        flex-direction: column;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .feature-list li {
        font-size: 0.8125rem;
    }

    .cta-title {
        font-size: 1.5rem;
    }

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

    .comparison-col {
        flex-direction: row;
        justify-content: space-between;
    }
}

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}