/* ===================================
   MEDIQLO — Design System & Styles
   ================================== */

/* ---- CSS Variables / Design Tokens ---- */
:root {
    /* Colors — White + Hospital Green */
    --bg-primary: #ffffff;
    --bg-secondary: #f4f9f7;
    --bg-card: #ffffff;
    --bg-card-hover: #f0f7f4;
    --bg-elevated: #f4f9f7;

    --text-primary: #1a2e2a;
    --text-secondary: #4a6860;
    --text-muted: #7f9b93;
    --text-accent: #0B8A6F;

    --accent-primary: #0B8A6F;
    --accent-secondary: #0a7a62;
    --accent-purple: #0D9E7E;
    --accent-green: #10B981;
    --accent-blue: #0B8A6F;
    --accent-orange: #F59E0B;

    --gradient-primary: linear-gradient(135deg, #0B8A6F 0%, #10B981 50%, #34D399 100%);
    --gradient-hero: linear-gradient(135deg, #0B8A6F 0%, #10B981 100%);
    --gradient-card: linear-gradient(135deg, rgba(11, 138, 111, 0.04) 0%, rgba(16, 185, 129, 0.04) 100%);
    --gradient-popular: linear-gradient(135deg, #0B8A6F 0%, #10B981 50%, #34D399 100%);

    --border-color: rgba(11, 138, 111, 0.1);
    --border-hover: rgba(11, 138, 111, 0.2);
    --border-accent: rgba(11, 138, 111, 0.35);

    --shadow-sm: 0 2px 8px rgba(11, 138, 111, 0.06);
    --shadow-md: 0 4px 20px rgba(11, 138, 111, 0.08);
    --shadow-lg: 0 8px 40px rgba(11, 138, 111, 0.1);
    --shadow-glow: 0 0 60px rgba(11, 138, 111, 0.12);
    --shadow-glow-purple: 0 0 60px rgba(13, 158, 126, 0.12);

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Space Grotesk', 'Inter', sans-serif;

    /* Sizing */
    --container-max: 1200px;
    --container-narrow: 800px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---- Reset & Base ---- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* ---- Section Headers ---- */
.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 64px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(0, 212, 170, 0.1);
    border: 1px solid rgba(0, 212, 170, 0.2);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all var(--transition-smooth);
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-hero);
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(11, 138, 111, 0.25);
}

.btn-primary:hover {
    box-shadow: 0 6px 30px rgba(11, 138, 111, 0.35);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1.5px solid var(--border-hover);
}

.btn-outline:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 10px 24px;
    font-size: 0.85rem;
}

.btn-full {
    width: 100%;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all var(--transition-smooth);
    background: transparent;
}

.navbar.scrolled {
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 20px rgba(11, 138, 111, 0.06);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.5rem;
    z-index: 1001;
}

.logo-icon {
    font-size: 1.6rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
    transition: width var(--transition-smooth);
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    padding: 10px 24px;
    background: var(--gradient-hero);
    color: #ffffff;
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: var(--radius-md);
    transition: all var(--transition-smooth);
}

.nav-cta:hover {
    box-shadow: 0 4px 20px rgba(11, 138, 111, 0.3);
    transform: translateY(-1px);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

.navbar.scrolled .hamburger span {
    background: var(--text-primary);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 140px;
    overflow: hidden;
}

.hero-bg-elements {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(11, 138, 111, 0.12) 0%, transparent 70%);
    top: -200px;
    left: -100px;
    animation: orbFloat 12s ease-in-out infinite;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
    top: -100px;
    right: -150px;
    animation: orbFloat 15s ease-in-out infinite reverse;
}

@keyframes orbFloat {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -20px) scale(1.05);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.95);
    }
}

.hero-grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(11, 138, 111, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(11, 138, 111, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 20%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 20%, transparent 80%);
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(11, 138, 111, 0.08);
    border: 1px solid rgba(11, 138, 111, 0.18);
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--accent-primary);
    margin-bottom: 28px;
    animation: fadeInUp 0.8s ease-out;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--accent-primary);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(11, 138, 111, 0.4);
    }

    50% {
        opacity: 0.8;
        box-shadow: 0 0 0 6px rgba(11, 138, 111, 0);
    }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease-out 0.1s both;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 36px;
    line-height: 1.7;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 48px auto 0;
    padding: 0 24px;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.hero-image-container {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
}

.hero-image-glow {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 100px;
    background: radial-gradient(ellipse, rgba(11, 138, 111, 0.12) 0%, transparent 70%);
    filter: blur(40px);
    pointer-events: none;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---- Image Placeholders ---- */
.image-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #f4f9f7 0%, #e8f5f0 100%);
    border: 2px dashed rgba(11, 138, 111, 0.2);
    border-radius: var(--radius-md);
    transition: all var(--transition-smooth);
}

.image-placeholder:hover {
    border-color: var(--accent-primary);
    background: linear-gradient(135deg, rgba(11, 138, 111, 0.06) 0%, rgba(16, 185, 129, 0.06) 100%);
}

.placeholder-icon {
    font-size: 2rem;
    opacity: 0.6;
}

.placeholder-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--accent-primary);
    font-family: 'Courier New', monospace;
    background: rgba(11, 138, 111, 0.08);
    padding: 3px 10px;
    border-radius: 4px;
}

.placeholder-desc {
    font-size: 0.72rem;
    color: var(--text-muted);
    text-align: center;
    max-width: 280px;
}

.hero-placeholder {
    min-height: 400px;
    border-radius: var(--radius-xl);
}

.logo-placeholder {
    min-height: 50px;
    min-width: 160px;
    border-radius: var(--radius-sm);
}

.feature-placeholder {
    min-height: 220px;
}

.showcase-placeholder {
    min-height: 300px;
}

.showcase-placeholder-sm {
    min-height: 160px;
    flex: 1;
}

.avatar-placeholder {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    min-height: unset;
    font-size: 0.6rem;
    border-width: 1.5px;
}

.avatar-placeholder .placeholder-label {
    font-size: 0.55rem;
    padding: 1px 5px;
}

/* ============================================
   TRUSTED BY
   ============================================ */
.trusted-by {
    padding: 60px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.trusted-label {
    text-align: center;
    font-size: 0.82rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
    margin-bottom: 28px;
}

.trusted-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.trusted-logo-item {
    opacity: 0.6;
    transition: opacity var(--transition-smooth);
}

.trusted-logo-item:hover {
    opacity: 1;
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features {
    padding: 120px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 36px;
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-smooth);
}

.feature-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card-large {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.feature-card-large .feature-image-area {
    margin-top: 0;
}

.feature-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: rgba(11, 138, 111, 0.08);
    color: var(--accent-primary);
}

.feature-icon.icon-purple {
    background: rgba(13, 158, 126, 0.08);
    color: var(--accent-purple);
}

.feature-icon.icon-green {
    background: rgba(16, 185, 129, 0.08);
    color: var(--accent-green);
}

.feature-tag {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--accent-primary);
    background: rgba(0, 212, 170, 0.08);
    padding: 4px 12px;
    border-radius: 50px;
}

.feature-tag.tag-purple {
    color: var(--accent-purple);
    background: rgba(13, 158, 126, 0.06);
}

.feature-tag.tag-green {
    color: var(--accent-green);
    background: rgba(16, 185, 129, 0.06);
}

.feature-title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-desc {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.feature-list li::before {
    content: '✓';
    color: var(--accent-primary);
    font-weight: 700;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.feature-image-area {
    margin-top: 20px;
}

.feature-img {
    width: 100%;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    object-fit: cover;
    object-position: top center;
    max-height: 280px;
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.feature-img:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.feature-img-mobile {
    max-height: 400px;
    width: auto;
    max-width: 240px;
    margin: 0 auto;
    aspect-ratio: 9/16;
    object-fit: cover;
    object-position: top center;
    border-radius: 20px;
    border: 3px solid #1a1a1a;
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.how-it-works {
    padding: 100px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.steps-grid {
    display: flex;
    align-items: flex-start;
    gap: 0;
    position: relative;
}

.step-card {
    flex: 1;
    text-align: center;
    padding: 32px 24px;
    position: relative;
}

.step-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.4;
    margin-bottom: 16px;
    line-height: 1;
}

.step-card h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.step-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.step-connector {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--border-color) 0%, var(--accent-primary) 50%, var(--border-color) 100%);
    margin-top: 56px;
    flex-shrink: 0;
    opacity: 0.5;
}

/* ============================================
   SHOWCASE / CASE STUDY
   ============================================ */
.showcase {
    padding: 120px 0;
}

.showcase-content {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.showcase-block {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 48px;
    align-items: center;
}

.showcase-block.showcase-reverse {
    grid-template-columns: 1.1fr 1fr;
    direction: rtl;
}

.showcase-block.showcase-reverse>* {
    direction: ltr;
}

.showcase-label {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--accent-primary);
    margin-bottom: 12px;
}

.showcase-info h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.showcase-info p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

.showcase-results {
    display: flex;
    gap: 32px;
    margin-bottom: 24px;
}

.result-item {
    display: flex;
    flex-direction: column;
}

.result-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.result-text {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.showcase-images {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.showcase-images-row {
    display: flex;
    gap: 16px;
}

.showcase-img {
    width: 100%;
    border-radius: var(--radius-lg);
    /* Slightly more rounded */
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
    border: 1px solid var(--border-color);
    display: block;
    /* Remove inline gap */
}

.showcase-img:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-primary);
}

.showcase-img-hero {
    /* Main desktop image */
    aspect-ratio: 16/9;
    object-fit: cover;
    object-position: top center;
}

.showcase-images-row .showcase-img {
    flex: 1;
    height: 280px;
    /* Fixed height for the row */
    object-fit: cover;
    object-position: top left;
}

.showcase-images-row .phone-mockup {
    object-fit: cover;
    /* Fill the card area, usually looks better than tiny phone */
    object-position: top center;
    border: 4px solid #1a1a1a;
    /* Dark bezel */
}

/* ---- Client Quote ---- */
.client-quote {
    margin-top: 80px;
    padding: 48px;
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    text-align: center;
    position: relative;
}

.quote-mark {
    font-family: Georgia, serif;
    font-size: 6rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 0.5;
    opacity: 0.4;
    margin-bottom: 8px;
}

.client-quote blockquote {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 720px;
    margin: 0 auto 28px;
    font-style: italic;
}

.quote-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.quote-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--accent-primary);
    flex-shrink: 0;
}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.quote-author strong {
    display: block;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.quote-author span {
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* ============================================
   PRICING SECTION
   ============================================ */
.pricing {
    padding: 120px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 40px 32px 36px;
    display: flex;
    flex-direction: column;
    transition: all var(--transition-smooth);
    position: relative;
    box-shadow: var(--shadow-sm);
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-hover);
}

/* Popular Card */
.pricing-card-popular {
    border-color: rgba(11, 138, 111, 0.3);
    background: linear-gradient(180deg, rgba(11, 138, 111, 0.06) 0%, var(--bg-card) 40%);
    box-shadow: var(--shadow-glow);
    transform: scale(1.04);
    z-index: 2;
}

.pricing-card-popular:hover {
    transform: scale(1.04) translateY(-6px);
    box-shadow: 0 0 80px rgba(11, 138, 111, 0.12);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 20px;
    background: var(--gradient-hero);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 50px;
    white-space: nowrap;
}

/* Premium Card */
.pricing-card-premium {
    border-color: rgba(13, 158, 126, 0.2);
    background: linear-gradient(180deg, rgba(13, 158, 126, 0.04) 0%, var(--bg-card) 40%);
}

.pricing-card-premium:hover {
    box-shadow: var(--shadow-glow-purple);
}

.pricing-card-header {
    margin-bottom: 24px;
}

.plan-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 12px;
}

.plan-name {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.plan-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.pricing-card-body {
    flex: 1;
}

.price {
    display: flex;
    align-items: baseline;
    gap: 2px;
    margin-bottom: 4px;
}

.price-currency {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-secondary);
}

.price-amount {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1;
}

.price-period {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-left: 4px;
}

.price-maintenance {
    font-size: 0.82rem;
    color: var(--accent-primary);
    font-weight: 600;
    margin-bottom: 28px;
    padding: 6px 0;
    border-bottom: 1px solid var(--border-color);
}

.price-maintenance span {
    color: var(--text-muted);
    font-weight: 400;
}

.plan-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
}

.plan-features li.included {
    color: var(--text-secondary);
}

.plan-features li.included svg {
    color: var(--accent-primary);
    flex-shrink: 0;
}

.plan-features li.not-included {
    color: var(--text-muted);
    opacity: 0.5;
}

.plan-features li.not-included svg {
    color: var(--text-muted);
    flex-shrink: 0;
}

.btn-plan {
    margin-top: auto;
    padding: 14px 32px;
    background: rgba(11, 138, 111, 0.04);
    border: 1px solid var(--border-hover);
    color: var(--text-primary);
    border-radius: var(--radius-md);
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-smooth);
    text-align: center;
    font-family: var(--font-primary);
}

.btn-plan:hover {
    background: rgba(11, 138, 111, 0.08);
    border-color: var(--accent-primary);
    transform: translateY(-2px);
}

.pricing-card-popular .btn-plan {
    background: var(--gradient-hero);
    color: #ffffff;
    border: none;
}

.pricing-card-popular .btn-plan:hover {
    box-shadow: 0 6px 25px rgba(11, 138, 111, 0.3);
}

.btn-plan-premium {
    border-color: rgba(13, 158, 126, 0.3);
}

.btn-plan-premium:hover {
    border-color: var(--accent-purple);
    background: rgba(13, 158, 126, 0.08);
}

.pricing-note {
    margin-top: 48px;
    text-align: center;
    padding: 20px 32px;
    background: rgba(11, 138, 111, 0.04);
    border: 1px solid rgba(11, 138, 111, 0.12);
    border-radius: var(--radius-lg);
}

.pricing-note p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ============================================
   WHY US
   ============================================ */
.why-us {
    padding: 120px 0;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.why-card {
    padding: 36px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: all var(--transition-smooth);
    box-shadow: var(--shadow-sm);
}

.why-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.why-icon {
    font-size: 2.2rem;
    margin-bottom: 16px;
}

.why-card h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.why-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================
   FAQ SECTION (GEO)
   ============================================ */
.faq-section {
    padding: 100px 0;
    background: var(--bg-primary);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.faq-card {
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: transform var(--transition-smooth);
}

.faq-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-primary);
}

.faq-card h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.faq-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   CTA / CONTACT SECTION
   ============================================ */
.cta-section {
    padding: 120px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

.cta-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 16px;
}

.cta-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 36px;
    line-height: 1.7;
}

.cta-contact-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: all var(--transition-smooth);
}

.contact-card:hover {
    border-color: var(--border-hover);
    transform: translateX(4px);
}

.contact-icon {
    font-size: 1.5rem;
}

.contact-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    display: block;
}

.contact-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: color var(--transition-fast);
}

.contact-value:hover {
    color: var(--accent-primary);
}

/* ---- Contact Form ---- */
.cta-form-wrapper {
    position: relative;
}

.cta-form {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.cta-form h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 28px;
    text-align: center;
}

.form-group {
    margin-bottom: 16px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 0.9rem;
    transition: all var(--transition-fast);
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group select {
    cursor: pointer;
    color: var(--text-muted);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%237f9b93' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-group select option {
    background: var(--bg-card);
    color: var(--text-primary);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(11, 138, 111, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.cta-form .btn-primary {
    margin-top: 8px;
    padding: 16px 32px;
    font-size: 1rem;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: 80px 0 40px;
    border-top: 1px solid var(--border-color);
    background: #0f2e25;
    color: #d4e8e2;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer .logo-text {
    color: #d4e8e2;
}

.footer-brand p {
    font-size: 0.88rem;
    color: #8fb8ab;
    margin-top: 16px;
    line-height: 1.6;
    max-width: 300px;
}

.footer-links-group h4 {
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #d4e8e2;
    margin-bottom: 20px;
}

.footer-links-group ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links-group a {
    font-size: 0.88rem;
    color: #8fb8ab;
    transition: color var(--transition-fast);
}

.footer-links-group a:hover {
    color: #34D399;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom p {
    font-size: 0.82rem;
    color: #6d9e8e;
}

/* ============================================
   SCROLL ANIMATIONS (IntersectionObserver)
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-card-large {
        grid-column: 1;
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 460px;
        margin: 0 auto;
    }

    .pricing-card-popular {
        transform: none;
    }

    .pricing-card-popular:hover {
        transform: translateY(-6px);
    }

    .showcase-block,
    .showcase-block.showcase-reverse {
        display: flex;
        flex-direction: column;
        gap: 32px;
        margin-bottom: 40px;
    }

    .showcase-block .showcase-info {
        order: 1;
    }

    .showcase-block .showcase-images {
        order: 2;
    }

    .cta-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .nav-links,
    .nav-cta {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255, 255, 255, 0.97);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        align-items: center;
        justify-content: center;
        gap: 28px;
        z-index: 1000;
    }

    .nav-links.active a {
        font-size: 1.3rem;
        color: var(--text-primary);
    }

    .hero {
        padding-top: 110px;
        min-height: auto;
        padding-bottom: 40px;
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .hero-actions {
        flex-direction: column;
        gap: 12px;
    }

    .hero-actions .btn {
        width: 100%;
        max-width: 320px;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
    }

    .stat-divider {
        display: none;
    }

    .hero-placeholder {
        min-height: 250px;
    }

    .steps-grid {
        flex-direction: column;
        align-items: center;
    }

    .step-connector {
        width: 2px;
        height: 40px;
        margin-top: 0;
    }

    .showcase-placeholder {
        min-height: 200px;
    }

    .showcase-images-row {
        flex-direction: column;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .showcase,
    .pricing,
    .why-us {
        padding: 60px 0;
    }

    .client-quote {
        margin-top: 40px;
        padding: 32px 24px;
    }

    /* Fix for massive full-page screenshots expanding on mobile */
    /* Fix for massive full-page screenshots expanding on mobile */
    .showcase-images-row .showcase-img {
        height: 240px !important;
        flex: none;
        object-position: top center;
    }

    /* Special handling for phone mockups on mobile */
    .showcase-images-row .showcase-img.phone-mockup {
        height: auto !important;
        max-width: 240px;
        aspect-ratio: 9/16;
        margin: 0 auto;
        border-radius: 24px;
        border: 4px solid #1a1a1a;
    }
}

/* Prevent horizontal scroll globally */
html,
body {
    overflow-x: hidden;
}


@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.7rem;
    }

    .cta-form {
        padding: 28px 20px;
    }

    .pricing-card {
        padding: 32px 24px 28px;
    }

    .client-quote {
        padding: 32px 24px;
    }
}
/* ---- Trusted Logos (Actual Images) ---- */
.trusted-logo-img {
    max-height: 50px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.trusted-logo-img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}


/* ---- Brand Logo ---- */
.brand-logo {
    height: 36px;
    width: auto;
    margin-right: 10px;
}
