/* --- VARIABLES & BASE STYLES --- */
:root {
    --primary-color: #1E3A8A; /* Darker Primary Blue */
    --secondary-color: #10B981; /* Bright Teal/Green */
    --accent-color: #F59E0B; /* Energetic Amber/Orange */
    --bg-color: #F8FAFC; /* Light, clean background */
    --surface-color: #FFFFFF;
    --text-color: #1E293B; /* Dark Slate for text */
    --text-light-color: #64748B;
    --border-color: #E2E8F0;
    
    --font-family: 'Poppins', sans-serif;
    --header-height: 80px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}
.gradient-text {
    background: linear-gradient(90deg, #1E3A8A, #1D4ED8 55%, #0EA5E9);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 1px 0 rgba(255,255,255,0.15);
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4 {
    line-height: 1.2;
    font-weight: 600;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

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

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(90deg, #1E3A8A, #1D4ED8 55%, #0EA5E9);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: 0.2px;
}
.section-header h2::after {
    content: "";
    display: block;
    width: 90px;
    height: 6px;
    border-radius: 999px;
    margin: 12px auto 0;
    background: linear-gradient(90deg, var(--primary-color), #0EA5E9);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light-color);
    max-width: 600px;
    margin: 0 auto;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-primary:hover {
    background-color: #1d4ed8;
    color: #fff;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: #fff;
    color: var(--text-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.btn-secondary:hover {
    background-color: var(--bg-color);
    transform: translateY(-2px);
}

.btn-secondary-outline {
    border-color: var(--border-color);
    color: var(--text-color);
}

.btn-secondary-outline:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.background-blob {
    position: absolute;
    opacity: 0.15;
    filter: blur(80px);
    z-index: -1;
}

.blob-1 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #3B82F6, #1E40AF);
    border-radius: 50% 70% 70% 30% / 30% 50% 50% 70%;
    top: -100px;
    right: -150px;
}

.blob-2 {
    width: 600px;
    height: 600px;
    background: var(--secondary-color);
    border-radius: 80% 20% 60% 40% / 50% 70% 30% 50%;
    bottom: -150px;
    left: -200px;
}


/* --- HEADER --- */
.header {
    background-color: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 100;
    transition: box-shadow 0.3s ease, background-color 0.3s ease, backdrop-filter 0.3s ease, -webkit-backdrop-filter 0.3s ease, border-color 0.3s ease;
    border-bottom: 1px solid transparent;
    box-shadow: none;
}

.header.scrolled {
    background-color: rgba(248, 250, 252, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

.navbar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: var(--header-height);
    gap: 40px;
}

.nav-logo {
    margin-right: auto;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    text-decoration: none;
}
.nav-logo:hover {
    color: var(--text-color); /* prevent global link hover (green) */
}
.nav-logo .logo-img {
    width: 40px;
    height: 40px;
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 8px;
}

.nav-item {
    display: list-item;
}

.nav-item-close {
    display: none;
}

.nav-link {
    color: var(--text-light-color);
    font-weight: 500;
    padding: 8px 16px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

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

.nav-link i {
    display: none;
}

.nav-item-cta {
    display: none;
}

.nav-link-cta {
    color: var(--primary-color);
    font-weight: 600;
}

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

.nav-cta {
    display: none;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--text-color);
    transition: all 0.3s ease-in-out;
}


/* --- HERO SECTION --- */
.hero {
    padding-top: calc(var(--header-height) + 30px);
    padding-bottom: 60px;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: radial-gradient(1200px 400px at 80% -10%, rgba(30,58,138,0.12), transparent),
                radial-gradient(1000px 360px at 0% 110%, rgba(30,58,138,0.10), transparent);
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-content {
    max-width: 550px;
}

.hero-tagline {
    display: inline-block;
    background-color: #DBEAFE;
    color: var(--primary-color);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-light-color);
    margin-bottom: 30px;
}

/* --- WAITLIST FORMS --- */
.waitlist-form {
    border-radius: 12px;
    margin-bottom: 10px;
}
.waitlist-form .form-row {
    display: flex;
    gap: 10px;
}
.waitlist-form input[type="email"] {
    flex: 1;
    padding: 12px 14px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-family: var(--font-family);
    font-size: 1rem;
}
.waitlist-form .form-help {
    font-size: 0.9rem;
    color: var(--text-light-color);
    margin-top: 8px;
}
.form-success {
    color: #15803d;
    font-weight: 600;
    margin-top: 8px;
}
.form-error {
    color: #b91c1c;
    font-weight: 600;
    margin-top: 8px;
}
.waitlist-form-cta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}
.waitlist-form-cta input[type="email"] {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-family: var(--font-family);
    font-size: 1rem;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}
.hero-buttons .btn i {
    margin-right: 8px;
}

.hero-image-wrapper {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-phones-container {
    position: relative;
    width: 100%;
    max-width: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image {
    display: block;
    width: 100%;
    height: auto;
}

.hero-image-main {
    max-width: 420px;
    position: relative;
    z-index: 3;
}

.hero-image-bg {
    position: absolute;
    max-width: 320px;
    opacity: 0.4;
    filter: blur(2px);
    z-index: 1;
}

.hero-image-bg-1 {
    left: -80px;
    top: 20px;
    transform: scale(0.85);
}

.hero-image-bg-2 {
    right: -80px;
    top: -20px;
    transform: scale(0.85);
}

.float-up .hero-image-wrapper {
    animation: float 6s ease-in-out infinite;
}

.float-up .hero-image-main {
    animation: float-phone 6s ease-in-out infinite;
}

.float-up .hero-image-bg-1 {
    animation: float-phone-bg-1 6s ease-in-out infinite;
}

.float-up .hero-image-bg-2 {
    animation: float-phone-bg-2 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0); }
}

@keyframes float-phone {
    0%, 100% { 
        transform: translateY(0); 
    }
    50% { 
        transform: translateY(-12px); 
    }
}

@keyframes float-phone-bg-1 {
    0%, 100% { 
        transform: scale(0.85) translateY(0); 
    }
    50% { 
        transform: scale(0.85) translateY(-8px); 
    }
}

@keyframes float-phone-bg-2 {
    0%, 100% { 
        transform: scale(0.85) translateY(0); 
    }
    50% { 
        transform: scale(0.85) translateY(-10px); 
    }
}

/* --- WHAT'S INCLUDED CHECKLIST --- */
.whats-included {
    padding: 60px 0;
    background: linear-gradient(to bottom, var(--bg-color), var(--surface-color));
}
.included-wrapper {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}
.included-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 40px;
    background: linear-gradient(90deg, #1E3A8A, #1D4ED8 55%, #0EA5E9);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.included-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    text-align: left;
}
.included-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.3s ease;
}
.included-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(30,58,138,0.1);
    border-color: var(--primary-color);
}
.included-item i {
    color: var(--secondary-color);
    font-size: 1.2rem;
    flex-shrink: 0;
}
.included-item span {
    font-weight: 500;
    color: var(--text-color);
}

/* --- SOCIAL PROOF --- */
.social-proof {
    padding-top: 40px;
    padding-bottom: 30px;
    text-align: center;
}
.social-proof p {
    color: var(--text-light-color);
    margin-bottom: 20px;
    font-weight: 500;
}
.logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    filter: grayscale(100%);
    opacity: 0.6;
}
.logos span {
    font-size: 1.2rem;
    font-weight: 600;
}
.logos i {
    margin-right: 8px;
    color: var(--primary-color);
}

/* --- FEATURES --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}
.feature-card {
    background-color: var(--surface-color);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}
.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}
.feature-icon i {
    font-size: 1.5rem;
    color: var(--text-color);
}
.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}
.feature-card p {
    color: var(--text-light-color);
}

/* --- SOLUTIONS (TABS) SECTION --- */
.solutions {
    background-color: var(--surface-color);
}
.solutions-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    background-color: var(--bg-color);
    padding: 8px;
    border-radius: 50px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}
.tab-link {
    flex: 1;
    padding: 10px 20px;
    border: none;
    background: none;
    cursor: pointer;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-light-color);
    transition: all 0.3s ease;
}
.tab-link.active, .tab-link:hover {
    background-color: var(--primary-color);
    color: #fff;
}
.solution-pane {
    display: none;
    align-items: center;
    gap: 50px;
}
.solution-pane.active {
    display: flex;
    margin-bottom: 40px;
}
.solution-pane.active:last-child {
    margin-bottom: 0;
}
.solution-pane.reverse { flex-direction: row-reverse; }
.pane-image { flex: 1; }
.pane-image img { max-width: 100%; border-radius: 16px; }
.iphone-mock {
    position: relative;
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
    padding: 0;
    background: transparent;
}
.iphone-screen {
    width: 100%;
    height: auto;
    display: block;
    background: transparent;
}
.iphone-screen img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    background: transparent;
}
.pane-text { flex: 1.2; }
.pane-text h3 { font-size: 1.8rem; margin-bottom: 15px; }
.pane-text p { color: var(--text-light-color); margin-bottom: 20px; }
.pane-text ul { list-style: none; padding-left: 0; text-align: left; }
.pane-text ul li { display: flex; align-items: center; margin-bottom: 10px; font-weight: 500; }
.pane-text ul i { color: var(--secondary-color); margin-right: 10px; }

/* How it works step title enhancements */
.step-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    letter-spacing: 0.2px;
}
.step-badge {
    display: inline-flex;
    width: 36px;
    height: 36px;
    min-width: 36px;
    flex-shrink: 0;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), #1D4ED8);
    color: #fff;
    font-size: 1rem;
    box-shadow: 0 6px 16px rgba(30,58,138,0.25);
}
.step-underline {
    width: 72px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--primary-color), #0EA5E9);
    margin: 6px 0 12px 48px; /* align under text after badge */
}

/* --- PRODUCT TOUR SECTION --- */
.product-tour-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}
.product-tour-image {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.tour-hotspot {
    position: absolute;
    width: 20px;
    height: 20px;
    cursor: pointer;
}
.tour-hotspot span {
    display: block;
    width: 100%;
    height: 100%;
    background-color: var(--accent-color);
    border-radius: 50%;
    animation: pulse 2s infinite;
}
.tour-tooltip {
    position: absolute;
    bottom: 150%;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--text-color);
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.9rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 10;
}
.tour-hotspot:hover .tour-tooltip {
    opacity: 1;
    visibility: visible;
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(245, 158, 11, 0); }
    100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

/* --- CASE STUDIES SECTION --- */
.casestudies { background-color: var(--surface-color); }
.casestudy-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
.casestudy-card { background: #fff; border-radius: 16px; overflow: hidden; border: 1px solid var(--border-color); box-shadow: 0 4px 6px rgba(0,0,0,0.02); transition: all 0.3s ease; }
.casestudy-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.07); }
.casestudy-card img { width: 100%; height: 200px; object-fit: cover; }
.casestudy-content { padding: 25px; }
.casestudy-tag { display: inline-block; background-color: #f3e8ff; color: var(--primary-color); padding: 4px 10px; border-radius: 20px; font-size: 0.8rem; font-weight: 600; margin-bottom: 15px; }
.casestudy-content h3 { font-size: 1.25rem; margin-bottom: 20px; }
.casestudy-results { display: flex; gap: 20px; border-top: 1px solid var(--border-color); padding-top: 20px; margin-bottom: 20px; }
.casestudy-results div { flex: 1; }
.casestudy-results strong { display: block; font-size: 2rem; font-weight: 700; color: var(--secondary-color); }
.casestudy-results span { font-size: 0.9rem; color: var(--text-light-color); }
.read-more { font-weight: 600; color: var(--primary-color); }
.read-more i { margin-left: 5px; transition: margin-left 0.3s ease; }
.read-more:hover i { margin-left: 10px; }

/* --- INTEGRATIONS SECTION --- */
.integrations-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 20px; }
.integration-logo { display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--surface-color); padding: 25px; border-radius: 12px; border: 1px solid var(--border-color); transition: all 0.3s ease; }
.integration-logo:hover { transform: scale(1.05); border-color: var(--primary-color); }
.integration-logo i { font-size: 2.5rem; margin-bottom: 10px; color: var(--text-color); }
.integration-logo span { font-weight: 500; }

/* --- COMPARISON SECTION --- */
.comparison { 
    background-color: var(--surface-color); 
}
.comparison-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}
.comparison-column {
    padding: 30px;
    border-radius: 12px;
}
.comparison-bad-column {
    background-color: #FEF2F2;
    border: 1px solid #FEE2E2;
}
.comparison-good-column {
    background-color: #ECFDF5;
    border: 1px solid #D1FAE5;
}
.comparison-column h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 25px;
    text-align: center;
}
.comparison-bad-column h3 {
    color: #991B1B;
}
.comparison-good-column h3 {
    color: #065F46;
}
.comparison-list-bad,
.comparison-list-good {
    list-style: none;
    padding: 0;
    margin: 0;
}
.comparison-list-bad li,
.comparison-list-good li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    font-size: 1rem;
    line-height: 1.6;
}
.comparison-list-bad li:last-child,
.comparison-list-good li:last-child {
    border-bottom: none;
}
.comparison-list-bad li i {
    color: #EF4444;
    font-size: 1.1rem;
    margin-top: 2px;
    flex-shrink: 0;
}
.comparison-list-good li i {
    color: var(--secondary-color);
    font-size: 1.1rem;
    margin-top: 2px;
    flex-shrink: 0;
}
.comparison-list-bad li {
    color: var(--text-color);
}
.comparison-list-good li {
    color: var(--text-color);
    font-weight: 500;
}

/* --- PRICING --- */
.pricing {
    background-color: var(--bg-color);
}
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: center;
}
.pricing-grid.center {
    grid-template-columns: 1fr;
    justify-items: center;
    max-width: 560px;
    margin: 0 auto;
}
.pricing-card {
    background-color: var(--surface-color);
    border: 1px solid var(--border-color);
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
}
.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}
.price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 10px 0;
}
.per-month {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-light-color);
}
.price-desc {
    color: var(--text-light-color);
    margin-bottom: 30px;
}
.features-list {
    list-style: none;
    text-align: left;
    margin-bottom: 40px;
    padding-left: 0;
}
.features-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}
.features-list i {
    color: var(--secondary-color);
    margin-right: 10px;
}
.pricing-card.popular {
    transform: scale(1.05);
    background-color: var(--surface-color);
    border: 2px solid var(--primary-color);
    position: relative;
}
.pricing-card.glass {
    background: linear-gradient(180deg, rgba(255,255,255,0.85), rgba(255,255,255,0.7));
    backdrop-filter: saturate(120%) blur(6px);
    box-shadow: 0 20px 40px rgba(17, 24, 39, 0.12);
}
.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent-color);
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}


/* --- MISSION SECTION --- */
.mission-container { display: flex; align-items: center; gap: 60px; }
.mission-image { flex: 1; }
.mission-image img { max-width: 100%; border-radius: 16px; }
.mission-content { flex: 1.2; }
.mission-content .tagline { font-size: 0.9rem; font-weight: 600; color: var(--primary-color); margin-bottom: 10px; display: block; }
.mission-content h2 { font-size: 2.5rem; margin-bottom: 20px; }
.mission-content p { color: var(--text-light-color); margin-bottom: 15px; }


/* --- FAQ --- */
.faq-container {
    max-width: 800px;
}
.faq-item {
    background-color: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
}
.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
    font-family: var(--font-family);
}
.faq-question i {
    transition: transform 0.3s ease;
}
.faq-item.active .faq-question i {
    transform: rotate(180deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}
.faq-answer p {
    padding: 0 20px 20px;
    color: var(--text-light-color);
}
.faq-item.active .faq-answer {
    max-height: 200px; /* Adjust as needed */
}


/* --- BLOG/RESOURCES SECTION --- */
.blog { background-color: var(--surface-color); }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.blog-card { display: block; background: #fff; border-radius: 16px; overflow: hidden; border: 1px solid var(--border-color); box-shadow: 0 4px 6px rgba(0,0,0,0.02); transition: all 0.3s ease; color: var(--text-color); }
.blog-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.07); }
.blog-card img { width: 100%; height: 200px; object-fit: cover; }
.blog-content { padding: 25px; }
.blog-category { display: inline-block; background: #dcfce7; color: var(--secondary-color); padding: 4px 10px; border-radius: 20px; font-size: 0.8rem; font-weight: 600; margin-bottom: 15px; }
.blog-content h3 { font-size: 1.25rem; margin-bottom: 10px; line-height: 1.4; color: var(--text-color); }
.blog-content p { color: var(--text-light-color); margin-bottom: 20px; font-size: 0.95rem; }
.blog-author { display: flex; align-items: center; gap: 10px; }
.blog-author img { width: 30px; height: 30px; border-radius: 50%; }
.blog-author span { font-size: 0.9rem; color: var(--text-light-color); }

/* --- FOOTER --- */
.footer {
    background-color: #111827;
    color: #9CA3AF;
    padding-top: 60px;
}
.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
    text-decoration: none;
}
.footer-logo:hover { color: #fff; }
.footer-logo .logo-img {
    width: 40px;
    height: 40px;
    display: block;
}
.footer-about p {
    max-width: 250px;
}
.footer-links h4 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 15px;
}
.footer-links ul {
    list-style: none;
    padding-left: 0;
}
.footer-links li {
    margin-bottom: 10px;
}
.footer-links a {
    color: #9CA3AF;
}
.footer-links a:hover {
    color: #fff;
}
.footer-bottom {
    border-top: 1px solid #374151;
    padding: 20px 0;
    margin-top: 40px;
}
.bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}
.designer-credit {
    font-style: italic;
}
.social-icons a {
    color: #9CA3AF;
    font-size: 1.2rem;
    margin-left: 15px;
}
.social-icons a:hover {
    color: #fff;
}

/* --- FOOTER WAITLIST --- */
.footer-waitlist { margin-top: 16px; }
.footer-waitlist-row { display: flex; gap: 10px; }
.footer-waitlist input[type="email"] {
    flex: 1;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #374151;
    background-color: #1f2937;
    color: #e5e7eb;
    font-family: var(--font-family);
}
.footer-waitlist input[type="email"]::placeholder { color: #9CA3AF; }
.footer-waitlist .btn { white-space: nowrap; }
.footer .form-success { color: #86efac; }
.footer .form-error { color: #fca5a5; }


/* --- ANIMATIONS --- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}
.fade-up { transform: translateY(20px); }
.fade-right { transform: translateX(-24px); }
.fade-left { transform: translateX(24px); }
.fade-up.visible, .fade-right.visible, .fade-left.visible { transform: translate(0,0); }
.feature-card.animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.feature-card.animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }
.feature-card.animate-on-scroll:nth-child(4) { transition-delay: 0.3s; }
.casestudy-card.animate-on-scroll:nth-child(2) { transition-delay: 0.2s; }
.pricing-card.animate-on-scroll:nth-child(2) { transition-delay: 0.2s; }
.pricing-card.animate-on-scroll:nth-child(3) { transition-delay: 0.4s; }
.blog-card.animate-on-scroll:nth-child(2) { transition-delay: 0.2s; }
.blog-card.animate-on-scroll:nth-child(3) { transition-delay: 0.4s; }


/* --- RESPONSIVE DESIGN --- */
@media (max-width: 992px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    .hero-content {
        max-width: 100%;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero-phones-container {
        max-width: 350px;
    }
    .hero-image-main {
        max-width: 350px;
    }
    .hero-image-bg {
        max-width: 250px;
    }
    .hero-image-bg-1 {
        left: -60px;
        top: 15px;
    }
    .hero-image-bg-2 {
        right: -60px;
        top: -15px;
    }
    .float-up .hero-image-main {
        animation: float-phone-tablet 6s ease-in-out infinite;
    }
    @keyframes float-phone-tablet {
        0%, 100% { 
            transform: translateY(0); 
        }
        50% { 
            transform: translateY(-10px); 
        }
    }
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    .pricing-card.popular {
        transform: scale(1);
    }
    .solution-pane {
        flex-direction: column;
        text-align: center;
    }
    .solution-pane.reverse { flex-direction: column; }
    .step-title {
        text-align: left;
        justify-content: flex-start;
    }
    .comparison-container {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 0 16px;
    }
    .comparison-column {
        padding: 24px 20px;
    }
    .comparison-column h3 {
        font-size: 1.25rem;
        margin-bottom: 20px;
    }
    .comparison-list-bad li,
    .comparison-list-good li {
        padding: 12px 0;
        font-size: 0.95rem;
    }
    .mission-container {
        flex-direction: column;
        text-align: center;
    }
    .mission-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 60px;
    }
    .comparison-container {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 12px;
    }
    .comparison-column {
        padding: 20px 16px;
    }
    .comparison-column h3 {
        font-size: 1.15rem;
        margin-bottom: 18px;
    }
    .comparison-list-bad li,
    .comparison-list-good li {
        padding: 10px 0;
        font-size: 0.9rem;
        gap: 10px;
    }
    .comparison-list-bad li i,
    .comparison-list-good li i {
        font-size: 1rem;
    }
    h1, .hero-title { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    .header {
        border-bottom: 1px solid var(--border-color);
    }
    .navbar {
        height: 60px;
    }
    .nav-logo {
        font-size: 1.25rem;
    }
    .hero {
        padding-top: calc(60px + 30px);
        padding-bottom: 40px;
        min-height: auto;
    }
    .hero-container {
        padding: 0 16px;
    }
    .hero-content {
        padding: 0 8px;
    }
    .hero-tagline {
        font-size: 0.75rem;
        padding: 5px 10px;
        margin-bottom: 15px;
    }
    .hero-description {
        font-size: 0.95rem;
        margin-bottom: 20px;
        line-height: 1.5;
    }
    .waitlist-form {
        padding: 10px;
        border-radius: 10px;
    }
    .waitlist-form .form-row {
        flex-direction: column;
        gap: 8px;
    }
    .waitlist-form input[type="email"] {
        padding: 10px 12px;
        font-size: 0.9rem;
        border-radius: 8px;
    }
    .waitlist-form .btn {
        width: 100%;
        padding: 10px 20px;
        font-size: 0.9rem;
        border-radius: 8px;
    }
    .waitlist-form .form-help {
        font-size: 0.8rem;
        margin-top: 6px;
    }
    .hero-phones-container {
        max-width: 200px;
        margin-top: 30px;
    }
    .hero-image-main {
        max-width: 200px;
    }
    .hero-image-bg {
        max-width: 150px;
        opacity: 0.3;
    }
    .hero-image-bg-1 {
        left: -40px;
        top: 10px;
    }
    .hero-image-bg-2 {
        right: -40px;
        top: -10px;
    }
    .float-up .hero-image-main {
        animation: float-phone-mobile 6s ease-in-out infinite;
    }
    @keyframes float-phone-mobile {
        0%, 100% { 
            transform: translateY(0); 
        }
        50% { 
            transform: translateY(-8px); 
        }
    }

    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.6);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        z-index: 998;
        pointer-events: none;
    }
    .menu-overlay.active {
        opacity: 1;
        visibility: visible;
        pointer-events: all;
    }
    .nav-menu {
        position: fixed;
        right: -80%;
        top: 0;
        width: 80%;
        height: 100vh;
        flex-direction: column;
        background-color: var(--surface-color);
        box-shadow: -4px 0 20px rgba(0,0,0,0.2);
        padding: 0 0 20px 0;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
        overflow-y: auto;
        gap: 0;
        align-items: stretch;
    }
    .nav-menu.active {
        right: 0;
    }
    .nav-item {
        padding: 0;
        margin: 0;
        display: list-item;
    }
    .nav-item-close {
        display: flex;
        justify-content: flex-end;
        padding: 15px 20px;
        border-bottom: 1px solid var(--border-color);
    }
    .nav-close {
        background: none;
        border: none;
        cursor: pointer;
        padding: 8px;
        color: var(--text-color);
        font-size: 1.3rem;
        transition: color 0.2s ease, transform 0.2s ease;
    }
    .nav-close:hover {
        color: var(--primary-color);
        transform: rotate(90deg);
    }
    .nav-link {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 14px 24px;
        font-size: 1rem;
        color: var(--text-color);
        text-decoration: none;
        transition: background-color 0.2s ease, color 0.2s ease;
        border-left: 3px solid transparent;
    }
    .nav-link:hover {
        background-color: var(--bg-color);
        color: var(--primary-color);
        border-left-color: var(--primary-color);
    }
    .nav-link i {
        display: inline-block;
        width: 20px;
        text-align: center;
        font-size: 1rem;
        color: var(--text-light-color);
        transition: color 0.2s ease;
    }
    .nav-link:hover i {
        color: var(--primary-color);
    }
    .nav-item-cta {
        display: list-item;
        margin-top: 0;
        padding-top: 0;
        border-top: none;
    }
    .nav-link-cta {
        background-color: transparent;
        color: var(--primary-color) !important;
        border-left: 3px solid transparent;
        margin: 0;
        border-radius: 0;
        justify-content: flex-start;
        font-weight: 600;
    }
    .nav-link-cta:hover {
        background-color: var(--bg-color);
        color: var(--primary-color) !important;
        border-left-color: var(--primary-color);
    }
    .nav-link-cta i {
        color: var(--primary-color) !important;
    }
    .nav-link-cta:hover i {
        color: var(--primary-color) !important;
    }
    .hamburger {
        display: block;
    }
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    .nav-cta {
        display: none;
    }
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-about p {
        margin: 0 auto;
    }
    .bottom-container {
        flex-direction: column;
    }
    .solutions-tabs { 
        flex-direction: column; 
        border-radius: 12px; 
        max-width: 100%; 
        padding: 10px;
    }
    .tab-link { 
        border-radius: 8px; 
    }
}

@media (max-width: 480px) {
    :root {
        --header-height: 56px;
    }
    .step-title {
        text-align: left;
        justify-content: flex-start;
    }
    .comparison-container {
        gap: 16px;
        padding: 0 8px;
    }
    .comparison-column {
        padding: 18px 14px;
    }
    .comparison-column h3 {
        font-size: 1.1rem;
        margin-bottom: 16px;
    }
    .comparison-list-bad li,
    .comparison-list-good li {
        padding: 8px 0;
        font-size: 0.85rem;
        gap: 8px;
        line-height: 1.5;
    }
    .comparison-list-bad li i,
    .comparison-list-good li i {
        font-size: 0.95rem;
    }
    .navbar {
        height: 56px;
    }
    .nav-logo {
        font-size: 1.15rem;
    }
    .nav-menu {
        right: -80%;
        width: 80%;

    }
    .nav-link {
        padding: 12px 20px;
        font-size: 0.95rem;
        gap: 10px;
    }
    .nav-link i {
        font-size: 0.95rem;
        width: 18px;
    }
    .hero {
        padding-top: calc(56px + 25px);
    }
    h1, .hero-title { font-size: 1.75rem; }
    .hero-title {
        margin-bottom: 15px;
    }
    .hero-tagline {
        font-size: 0.7rem;
        padding: 4px 8px;
    }
    .hero-description {
        font-size: 0.9rem;
        margin-bottom: 18px;
    }
    .waitlist-form {
        padding: 8px;
    }
    .waitlist-form input[type="email"] {
        padding: 9px 10px;
        font-size: 0.85rem;
    }
    .waitlist-form .btn {
        padding: 9px 16px;
        font-size: 0.85rem;
    }
    .waitlist-form .form-help {
        font-size: 0.75rem;
    }
    .hero-phones-container {
        max-width: 160px;
    }
    .hero-image-main {
        max-width: 160px;
    }
    .hero-image-bg {
        max-width: 120px;
        opacity: 0.25;
    }
    .hero-image-bg-1 {
        left: -30px;
        top: 8px;
    }
    .hero-image-bg-2 {
        right: -30px;
        top: -8px;
    }
}