/* ===== CSS VARIABLES ===== */
:root {
    --primary: #206D99;
    --primary-dark: #1D4ED8;
    --primary-light: #3B82F6;
    --primary-bg-start: #1E40AF;
    --secondary: #14B8A6;
    --cyan: #38BDF8;
    --dark: #F9FAFB;
    --darker: #F3F4F6;
    --light: #FFFFFF;
    --gray: #6B7280;
    --light-gray: #D1D5DB;
    --border: #E5E7EB;
    --text-primary: #111827;
    --text-secondary: #374151;
    --text-muted: #6B7280;
    --error: #ef4444;
    --error-bg: #fef2f2;
}

/* --primary-dark: #1D4ED8; ---- updated to #206D99; */


/* :root {
    --primary: #2563EB;
    --primary-dark: #1E40AF;
    --primary-light: #60A5FA;
    --primary-bg-start: #F0F7FF;

    --secondary: #10B981;
    --cyan: #22D3EE;

    --dark: #F8FAFC;
    --darker: #F1F5F9;
    --light: #FFFFFF;

    --gray: #64748B;
    --light-gray: #E2E8F0;
    --border: #E5E7EB;

    --text-primary: #0F172A;
    --text-secondary: #334155;
    --text-muted: #64748B;
} */

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: clamp(50px, 8vw, 80px) 0; /* This was updated -  100px 0;*/
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    margin-top: -10px;     /* This is a new addition */
}

.section-subtitle {
    text-align: center;
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 2rem;  /* This was updated -  0 auto 4rem;*/
    line-height: 1.6;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
    background-color: rgba(30, 41, 59, 0.8);
    color: white;
    border: 2px solid var(--border);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background-color: rgba(51, 65, 85, 0.8);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border-color: var(--primary);
}

/* ===== HEADER & NAVIGATION ===== */
header {
    background-color: rgba(255, 255, 255, 0.95); /* Changed to white */
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--border);
}

/*--Added to increase width of header----*/
header .container {
    max-width: 1400px;
}

header.scrolled {
    background-color: rgba(255, 255, 255, 0.98); /* Changed to white */
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.15);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    z-index: 1001;
    transition: all 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: clamp(16px, 2vw, 24px);   /*updated---gap: clamp(20px, 3vw, 30px);---*/   
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary); /* Changed to dark gray */
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    position: relative;
    white-space: nowrap;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary); /* Will now be visible */
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-links a:hover, .nav-links a.active::after {
   width: 100%;
}

/* Dropdown Styles */
.dropdown {
    position: relative;
}

.dropdown-toggle::after {
    content: ' ▼';
    font-size: 0.7em;
    margin-left: 5px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--light);
    min-width: 200px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    margin-top: 5px;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--border);
}

.dropdown-menu a:last-child {
    border-bottom: none;
}

.dropdown-menu a:hover {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
}

.dropdown-menu a.active {
    background: rgba(59, 130, 246, 0.2);
    color: var(--primary);
}

.nav-buttons {
    display: flex;
    gap: clamp(12px, 2vw, 15px);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-primary);
    cursor: pointer;
    z-index: 1001;
    transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
    color: var(--primary);
}

/* ===== HERO SECTION ===== */
.hero {
    padding-top: 120px;     /* This was updated - 160px;*/
    background: linear-gradient(135deg, var(--darker) 0%, var(--dark) 50%, var(--light) 100%);
    position: relative;
    overflow: hidden;
    color: var(--text-primary); 
    min-height: 90vh;     /* This was updated - 100vh;*/
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(37, 99, 235, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(30, 64, 175, 0.08) 0%, transparent 50%);
    animation: float 8s ease-in-out infinite;
    z-index: 1;
}

.geometric-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

.shape {
    position: absolute;
    opacity: 0.1;
    border: 1px solid var(--primary);
}

.shape-1 {
    width: 100px;
    height: 100px;
    top: 10%;
    left: 10%;
    border-radius: 20px;
    animation: rotate 20s linear infinite;
}

/* .shape-2 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    right: 10%;
    border-radius: 50%;
    animation: pulse 8s ease-in-out infinite;
} */

.shape-3 {
    width: 80px;
    height: 80px;
    top: 50%;
    left: 80%;
    transform: rotate(45deg);
    animation: float-shape 12s ease-in-out infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.1; }
    50% { transform: scale(1.1); opacity: 0.15; }
}

@keyframes float-shape {
    0%, 100% { transform: translateY(0px) rotate(45deg); }
    50% { transform: translateY(-20px) rotate(45deg); }
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;      
    text-align: center;
    padding: 80px 0 40px;     /* This was updated - 80px 0 60px; */
    position: relative;
    z-index: 3;
}

.hero-text {
    max-width: 900px;
    margin-bottom: 30px;
}

/* .hero-text h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 2rem;
    line-height: 1.1;

    background: linear-gradient(
        90deg,
        var(--text-primary),
        var(--primary)
    );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;

    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
} */

.hero-text h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 2rem;
    line-height: 1.1;

    background: linear-gradient(
        90deg,
        var(--text-primary) 0%,
        var(--text-primary) 0%,
        var(--primary) 100%
    );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;

    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

/* .hero-text h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 2rem;
    line-height: 1.1;
    color: var(--text-primary);
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
} */

.hero-text p {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    margin-bottom: 3rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: min(90%, 700px);
    margin-left: auto;
    margin-right: auto;
}

.hero-text .punchline {
    font-size: clamp(1.5rem, 2.5vw, 1.8rem); /* grows on larger screens */
    font-weight: 700;                         /* bold, but H1 is heavier */
    color: var(--primary);                    /* brand color for emphasis */
    margin-bottom: 2rem;                      /* spacing from buttons/subtext */
    letter-spacing: 1.2px;                    /* subtle spacing for impact */
    line-height: 1.2;                         /* compact, readable */
    /* text-transform: uppercase;                optional for extra punch */
} 


.hero-buttons {
    display: flex;
    gap: clamp(15px, 2vw, 20px);
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== HERO IMAGE KANBAN ANIMATION ===== */
.hero-image {
    width: 100%;
    margin: 50px 0;
    position: relative;
    z-index: 3;
}

.kanban-body{
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 84px 20px 20px 20px;
    background: #f7f7f8 ;
    border-radius: 0px 0px 12px 12px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);

    /* padding-top: 132px;
    padding-left: 20px; */
}

.hero-image .header-banner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  /* height: 125px; */
  overflow: hidden;
  z-index: 1;
}

.hero-image .header-banner img {
  width: 100%;
  height: auto;
  object-fit: contain; /* keeps it nicely cropped */
}

.board{
    display: flex;
    gap: 24px;
}

.hero-image .column {
    width: 260px;
    display: flex;
    flex-direction: column;
    height: 650px;
    margin-top: 0;
    padding-top: 0;
}

.hero-image .column-header {
    background: #fff;
    border-radius: 12px;
    padding: 20px 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    margin-bottom: 10px;
    border: 1px solid #ccc;
}

.hero-image .column-title {
    font-size: 14px;
    color: #111827;
}

.hero-image .column-count {
    font-size: 12px;
    color: #6b7280;
    font-weight: 500;
    margin-left: 4px;
}

.hero-image .column-actions {
    display: flex;
    gap: 8px;
    font-size: 14px;
    cursor: pointer;
    color: #6b7280;
}

.hero-image .column-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    overflow: hidden;
}

.hero-image .card {
    background: #fff9c4;
    border-radius: 12px;
    padding: 10px 14px 5px 14px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    border: 1px solid #ccc;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: transform 0.4s ease;
    cursor: grab;
    align-items: flex-start; /* left-align children inside flex */
    text-align: left;        /* ensure text inside blocks aligns left */
}

.hero-image .column-cards .card {
transition: transform 1s ease; /* slower vertical shift */
}

.hero-image .card-id { font-size: 14px; background: #eef2ff; color: #4f46e5; padding: 2px 8px; border-radius: 6px; width: fit-content; font-weight: 500;}
.hero-image .card-status { font-size: 12px; color: #1e1e1e;}
.hero-image .card-priority { font-size: 12px; color: #6b7280; padding: 2px 8px; border-radius: 6px; width: fit-content; }
.hero-image .card-priority.critical { background: #fee2e2; color: #dc2626; }
.hero-image .card-priority.medium { background: #fef3c7; color: #b45309; }
.hero-image .card-priority.low { background: #d1fae5; color: #065f46; }
.hero-image .card-date { font-size: 12px; color: #1e1e1e; }
.hero-image .card-title { font-size: 13px; color: #1e1e1e; }
.hero-image .card-checkbox input { width: 16px; height: 16px; cursor: pointer; }



/* Collapsed Column */
.column.collapsed { width: 50px; }
.column.collapsed .column-header { padding: 20px 25px; display: flex; align-items: center; justify-content: center; border: 1px solid #ccc; }
.column-body { position: relative; width: 100%; height: 525px; border: 1px solid #ccc; overflow: hidden; border-radius: 12px 12px 0px 0px; }
.rotated-column-name { writing-mode: vertical-rl; text-orientation: mixed; margin-top: 20px; margin-left: 5px; font-weight: 600; font-size: 14px; white-space: nowrap; color: #111827; }
.no-drop-indicator {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%) scale(0.8);
font-size: 20px;
opacity: 0;
transition: all 0.3s ease;
pointer-events: none;
}

.column.collapsed.active-deny .no-drop-indicator {
opacity: 1;
transform: translate(-50%, -50%) scale(1);
}

.grabbing-hand {
position: absolute;
width: 32px;
height: 32px;
z-index: 10001;
pointer-events: none;
font-size: 22px;
line-height: 1;
display: none;
color: #616161;
font-weight: bold;
/* Center the hand */
top: 0;
left: 0;
transform: translate(-50%, -50%) scale(1);
transition: top 1.4s ease, left 1.4s ease, transform 0.25s ease;

/* For debugging - remove background later */
background: transparent;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
opacity: 0.60;
filter: drop-shadow(0 2px 6px rgba(0,0,0,0.25));
}

.grabbing-hand.visible {
display: flex;
}

/* Slight lift & rotation while card is floating */
.grabbing-hand.lifted {
transform: translate(-50%, -50%) scale(1.15) !important;
}

/* Optional: Add a slight drop shadow when lifted for more depth */
/* .grabbing-hand.lifted::after {
content: '';
position: absolute;
width: 100%;
height: 100%;
border-radius: 50%;
box-shadow: 0 5px 10px rgba(0,0,0,0.2);
z-index: -1;
} */

/* Floating animated card */
.floating-card {
position: absolute;
z-index: 100;
pointer-events: auto;
width: 260px;
box-shadow: 0 8px 20px rgba(0,0,0,0.06);
transition: top 1.5s ease, left 1.5s ease, box-shadow 0.3s ease, transform 0.25s ease;

}


/* Pre-lift: tiny delayed lift before moving horizontally */
.floating-card.pre-lift {
transform: translateY(-10px);
transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Lift: stronger shadow while floating */
.floating-card.lift {
box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}

/* Micro bounce on landing */
@keyframes microBounce {
0%   { transform: translateY(0); }
30%  { transform: translateY(-6px); }  /* bounce up slightly */
50%  { transform: translateY(2px); }   /* bounce down */
70%  { transform: translateY(-2px); }  /* small recoil */
100% { transform: translateY(0); }     /* settle */
}

.floating-card.bounce {
animation: microBounce 0.4s ease forwards;
}




/* ===== TRUSTED PARTNERS CAROUSEL ===== */
.trusted-partners {
    background: rgba(255, 255, 255, 0.8);
    padding: 50px 0;
    position: relative;
    z-index: 3;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: 20px;
    margin: 0 20px;
}

.partners-title {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 40px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.partners-container {
    position: relative;
    overflow: hidden;
}

.partners-carousel {
    display: flex;
    animation: scroll 35s linear infinite;
    gap: 60px;
    padding: 0 20px;
}

.partner-logo {
    flex-shrink: 0;
    color: var(--text-secondary);
    font-weight: 700;
    font-size: 2rem;
    opacity: 0.8;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    padding: 0 25px;
}

.partner-logo:hover {
    opacity: 1;
    transform: scale(1.1);
    color: var(--text-primary);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-200px * 8));
    }
}

/* ===== BENEFITS SECTION ===== */
.benefits {
    /* background-color: var(--dark); */
    background: var(--light);
    position: relative;
}

.benefits::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to bottom, var(--dark), transparent);
    z-index: 1;
    pointer-events: none;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: clamp(20px, 3vw, 40px);    /* This was updated - 40px;*/
    margin-top: 40px;    /* This was updated - 60px;*/
    position: relative;
    z-index: 2;
}

.benefit-card {
    background: var(--light);
    border-radius: 20px;
    padding: 50px 35px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid var(--border);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--cyan) 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    border-color: var(--primary);
}

.benefit-card:hover::before {
    transform: scaleX(1);
}

.benefit-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--cyan) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    transition: all 0.3s ease;
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.1) rotate(5deg);
}

.benefit-icon i {
    font-size: 2.2rem;
    color: white;
}

.benefit-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.benefit-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1.1rem;
}

/* ===== RESULTS SECTION ===== */
.results {
    /* background: linear-gradient(135deg, var(--light) 0%, var(--dark) 100%); */
    background: linear-gradient(135deg, var(--light) 0%, rgba(32, 109, 153, 0.06) 100%);
    position: relative;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: clamp(20px, 3vw, 30px);    /* This was updated - 40px;*/
    margin-top: 40px;      /* This was updated - 60px;*/
}

.result-card {
    text-align: center;
    padding: 50px 30px;
    background: var(--light);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.result-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--primary);
}

.result-number {
    font-size: 4rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 15px;
    line-height: 1;
    background: linear-gradient(135deg, var(--primary) 0%, var(--cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.result-text {
    font-size: 1.3rem;
    color: var(--text-primary);
    font-weight: 600;
}

/* ===== PRODUCT DEMO SECTION ===== */
.product-demo {
    /* background-color: var(--dark); */
    background: #f8fafc;
    position: relative;
}


.video-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto 50px;
    display: flex;
    align-items: center;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
    cursor: pointer;
}

.video-container:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.video-thumb {
    width: 100%;
    display: block;
    transition: all 0.4s ease;
}

.video-container:hover .video-thumb {
    transform: scale(1.02);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 50px;
    color: white;
    background: rgba(0,0,0,0.6);
    border-radius: 50%;
    padding: 10px 20px;
    pointer-events: none; /* allows clicks on the container */
}


.demo-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(20px, 3vw, 30px);    /* This was updated - 40px;*/
    margin-top: 40px;     /* This was updated - 60px;*/
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.demo-feature {
    text-align: center;
    padding: 40px 30px;
    border-radius: 15px;
    transition: all 0.3s ease;
    background: var(--light);
    border: 1px solid var(--border);
}

.demo-feature:hover {
    background: var(--darker);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-color: var(--primary);
}

.demo-feature i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.demo-feature:hover i {
    transform: scale(1.2);
}

.demo-feature h4 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--text-primary);
    font-weight: 700;
}

.demo-feature p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

/* ===== COMMENTS & NOTIFICATIONS SECTION ===== */
.comments-section {
    /* background: linear-gradient(135deg, var(--light) 0%, var(--dark) 100%); */
    background: linear-gradient(135deg, var(--light) 0%, rgba(32, 109, 153, 0.06) 100%);
    position: relative;
}

.comments-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.comments-text h2 {
    text-align: left;
    margin-bottom: 2rem;
}

.comments-text p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.comments-features {
    list-style: none;
}

.comments-features li {
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}

.comments-features li i {
    color: var(--secondary);
    margin-right: 15px;
    font-size: 1.3rem;
    background: rgba(6, 214, 160, 0.1);
    padding: 10px;
    border-radius: 10px;
}

.comments-image {
    text-align: center;
    position: relative;
}

.comments-image img {
    width: 100%;
    max-width: 600px;
    height: auto;
    /* object-fit: contain; */
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
    border: 1px solid var(--border);
}

.comments-image img:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
    background-color: var(--dark);
    /* background: var(--light); */
    position: relative;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: clamp(20px, 3vw, 30px);    /* This was updated - 40px;*/
    margin-top: 40px;    /* This was updated - 60px;*/
}

.testimonial-card {
    background: var(--light);
    border-radius: 20px;
    padding: 50px 40px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 12px;
    right: 30px;
    font-size: 6rem;
    color: var(--primary);
    opacity: 0.1;
    font-family: serif;
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    border-color: var(--primary);
}

.testimonial-text {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 30px;
    font-style: italic;
    position: relative;
    z-index: 2;
}

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

.author-avatar {
    border-radius: 50%;
    overflow: hidden;
    display: inline-block;
    margin-right: 20px;
    flex-shrink: 0;
}

.author-avatar img {
    display: block;
}

.author-info h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    font-weight: 700;
    color: var(--text-primary);
}

.author-info p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ===== FAQ SECTION ===== */
.faq-section {
    background: linear-gradient(135deg, var(--light) 0%, var(--dark) 100%);
    position: relative;
}

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

.faq-item {
    margin-bottom: 20px;
    border: 1px solid var(--border);
    border-radius: 15px;
    overflow: hidden;
    background: var(--light);
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.faq-question {
    padding: 30px;
    background: var(--light);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.3rem;
    font-weight: 600;
    transition: all 0.3s ease;
    color: var(--text-primary);
}

.faq-question:hover {
    background: var(--darker);
}

.faq-question i {
    color: var(--primary);
    transition: all 0.3s ease;
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    background: var(--light);
    line-height: 1.7;
    color: var(--text-secondary);
}

.faq-item.active .faq-answer {
    padding: 0 30px 30px;
    max-height: 500px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
    padding: 80px 0;   /* This was updated - 120px 0;*/
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(30, 64, 175, 0.3) 0%, transparent 50%);
    animation: float 10s ease-in-out infinite;
}

.cta-section h2 {
    color: white;
    margin-bottom: 2rem;
    font-size: clamp(2rem, 5vw, 3.5rem);
    position: relative;
    z-index: 2;
}

.cta-section p {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: rgba(255, 255, 255, 0.9);
    max-width: min(90%, 600px);
    margin: 0 auto 4rem;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

.cta-buttons {
    display: flex;
    gap: clamp(15px, 2vw, 25px);
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.cta-section .btn-primary {
    background: linear-gradient(195deg, #ffffff 5%, var(--primary-light) 100%);
    color: var(--primary);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border: 2px solid white;
}

.cta-section .btn-primary:hover {
    background: linear-gradient(135deg, white 0%, white 100%);
    color: var(--primary-dark);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.cta-section .btn-secondary {
    background-color: rgba(255, 255, 255, 0.15);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(20px);
}

.cta-section .btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.25);
    border: 2px solid white;
}

/* ===== PAGE HEADER ===== */
.page-header {
    padding-top: 160px;
    background: linear-gradient(135deg, var(--darker) 0%, var(--dark) 50%, var(--light) 100%);
    position: relative;
    overflow: hidden;
    color: var(--text-primary);  /* CHANGE from white */
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(37, 99, 235, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(30, 64, 175, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(37, 99, 235, 0.05) 0%, transparent 50%);
    animation: float 8s ease-in-out infinite;
    z-index: 1;
}

.page-header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 20px;
    position: relative;
    z-index: 3;
}

.page-header h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: var(--text-primary);  /* CHANGE from white */
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);  /* Lighter shadow */
}

.page-header p {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    margin-bottom: 3rem;
    color: var(--text-secondary);  /* CHANGE from #cbd5e1 */
    line-height: 1.6;
    max-width: min(90%, 700px);
    margin-left: auto;
    margin-right: auto;
}

/* ===== FEATURE NAVIGATION ===== */
.feature-nav {
    position: sticky;
    top: 80px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 999;
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
}

.feature-nav-container {
    display: flex;
    justify-content: center;
    gap: clamp(20px, 3vw, 40px);
    flex-wrap: wrap;
}

.feature-nav-item {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    padding: 10px 0;
    position: relative;
    transition: all 0.3s ease;
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    white-space: nowrap;
}

.feature-nav-item:hover, .feature-nav-item.active {
    color: var(--text-primary);
}

.feature-nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.feature-nav-item.active::after, .feature-nav-item:hover::after {
    width: 100%;
}

/* ===== CONTENT SECTIONS ===== */
.content-section {
    background-color: var(--dark);
    position: relative;
    padding: 100px 0;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 350px), 1fr));
    gap: clamp(30px, 4vw, 60px);
    align-items: start;
}

.content-block {
    background: var(--light);
    border-radius: 20px;
    padding: clamp(30px, 4vw, 50px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    height: fit-content;
}

.content-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--primary);
}

.content-visual {
    text-align: center;
    margin-bottom: 30px;
}

.content-visual img {
    width: 100%;
    /* max-width: 400px; */
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.content-text h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.content-text p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 25px;
    font-size: clamp(1rem, 1.5vw, 1.1rem);
}

/* ===== DEMO CONTAINER ===== */
.demo-container {
    background: var(--light);
    border-radius: 20px;
    padding: clamp(30px, 4vw, 50px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border);
    margin: 40px 0;
    width: 100%;
}

.demo-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.demo-title {
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    font-weight: 700;
    color:  var(--text-primary);
}

.demo-controls {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.demo-btn {
    padding: 10px 20px;
    background: var(--darker);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-secondary);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.demo-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.demo-content {
    min-height: 300px;
    background: var(--darker);
    border-radius: 15px;
    border: 1px solid var(--border);
    padding: 30px;
}

/* ===== INTEGRATIONS GRID ===== */
.integrations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: clamp(25px, 3vw, 40px);
    margin-top: 40px;    /* This was updated - 40px;*/
}

.integration-card {
    background: var(--light);
    border-radius: 20px;
    padding: clamp(30px, 4vw, 50px) clamp(25px, 3vw, 35px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
    border: 1px solid var(--border);
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.integration-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    border-color: var(--primary);
}

.integration-icon {
    width: clamp(70px, 10vw, 90px);
    height: clamp(70px, 10vw, 90px);
    background: linear-gradient(135deg, var(--primary) 0%, var(--cyan) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    transition: all 0.3s ease;
}

.integration-card:hover .integration-icon {
    transform: scale(1.1) rotate(5deg);
}

.integration-icon i {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    color: white;
}

.integration-card h3 {
    font-size: clamp(1.3rem, 2.5vw, 1.5rem);
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.integration-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    margin-bottom: 25px;
    flex-grow: 1;
}

pre {
    background: var(--darker);
    padding: 20px;
    border-radius: 12px;
    overflow-x: auto;
    border: 1px solid var(--border);
}

code {
    font-family: monospace;
    color: var(--text-primary);
}

/* ===== FEATURE LISTS ===== */
.feature-list {
    list-style: none;
    margin: 25px 0;
}

.feature-list li {
    margin-bottom: clamp(10px, 2vw, 15px);
    display: flex;
    align-items: flex-start;
    color: var(--text-secondary);
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    line-height: 1.5;
}

.feature-list i {
    color: var(--secondary);
    margin-right: 12px;
    font-size: 1.1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

/* ===== PRICING SPECIFIC STYLES ===== */
.pricing-section {
    padding: 100px 0;
}

.billing-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.toggle-label {
    color: var(--text-secondary);
    font-weight: 600;
    font-size: clamp(0.9rem, 1.5vw, 1rem);
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #334155;
    transition: .4s;
    border-radius: 34px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .toggle-slider {
    background-color: var(--primary);
}

input:checked + .toggle-slider:before {
    transform: translateX(30px);
}

.savings-badge {
    background: var(--secondary);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: clamp(25px, 3vw, 40px);
    margin-bottom: 80px;
}

.pricing-card {
    background: var(--light);
    border-radius: 20px;
    padding: clamp(30px, 4vw, 50px) clamp(25px, 3vw, 40px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border);
    transition: all 0.4s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pricing-card.featured {
    border-color: var(--primary);
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    border-color: var(--primary);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.plan-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
}

.plan-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--border);
}

.plan-name {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.pricing-row {
  display: flex;
  justify-content: center;   /* centers both prices */
  align-items: center;
  gap: 20px;                 /* spacing between $ and £ */
  flex-wrap: wrap;           /* prevents overflow on small screens */
  margin-left: 0;            /* REMOVE the left shift */
}

/* .pricing-row{
    display: flex;           
    margin-left: 20px;              
} */

.plan-price-free {
    font-size: clamp(2rem, 5vw, 2.1rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 10px;
}


.plan-price {
    /* font-size: clamp(2.5rem, 5vw, 3.5rem); */
    display: flex;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 10px;
    position: relative;
    align-items: flex-start;
}

.amount {
    font-size: clamp(2rem, 5vw, 3.2rem);
    position:relative;
}

.currency {
    font-size: clamp(0.8rem, 1.5vw, 1.5rem);
    margin-right: 2px;
    margin-top: 0.2em;
}

.cents {
    font-size: clamp(0.8rem, 1.5vw, 1.5rem);
    margin-top: 0.2em;
}

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

.plan-description {
    color: var(--text-secondary);
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    line-height: 1.6;
}

.plan-features {
    flex-grow: 1;
    margin: 30px 0;
}

.plan-actions {
    text-align: center;
    margin-top: auto;
}

/* ===== COMPARISON TABLE ===== */
.comparison-section {
    background: linear-gradient(135deg, var(--light) 0%, var(--dark) 100%);
}

.comparison-table {
    background: var(--light);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border);
}

.table-header {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    background: var(--light);
    padding: 25px 30px;
    border-bottom: 1px solid var(--border);
}

.table-header-cell {
    text-align: center;
    font-weight: 700;
    color: var(--text-primary);
    font-size: clamp(1rem, 2vw, 1.2rem);
}

.table-header-cell:first-child {
    text-align: left;
}

.table-row {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    padding: 20px 30px;
    border-bottom: 1px solid var(--border);
    align-items: center;
}

.table-row:last-child {
    border-bottom: none;
}

.table-row.category-header {
    background: var(--primary);
    font-weight: 700;
    color: var(--light);
    font-size: 1.1rem;
}

.table-cell {
    text-align: center;
    color: var(--text-secondary);
}

.table-cell:first-child {
    text-align: left;
    color: var(--text-secondary);
}

.feature-check {
    color: var(--secondary);
    font-size: 1.2rem;
}

.feature-unavailable {
    color: var(--text-muted);
    font-size: 1.2rem;
}

/* ===== USER STORIES STYLES ===== */
.stories-section {
    padding: 100px 0;
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 350px), 1fr));
    gap: clamp(25px, 3vw, 40px);    /* This was updated - 40px;*/
    margin-top: 40px;    /* This was updated - 60px;*/
}

.story-card {
    background: var(--light);
    border-radius: 20px;
    padding: clamp(30px, 4vw, 40px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.story-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    border-color: var(--primary);
}

.story-content {
    flex-grow: 1;
    margin-bottom: 25px;
}

.story-text {
    font-size: clamp(1rem, 1.5vw, 1.1rem);
    color: var(--text-secondary);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
}

.story-text::before {
    content: '"';
    font-size: 4rem;
    color: var(--primary);
    position: absolute;
    top: -50px;
    left: -18px;
    opacity: 0.3;
    font-family: serif;
}

.story-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.story-avatar {
    width: 85px;
    height: 100px;
    border-radius: 50%;
    /* background: linear-gradient(135deg, var(--primary) 0%, var(--cyan) 100%); */
    display: flex;
    align-items: center;
    justify-content: center;
    /* color: white;
    font-weight: bold;
    font-size: 1.2rem; */
    flex-shrink: 0;
    overflow:hidden
}

.story-info h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.story-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ===== BLOG STYLES ===== */
.blog-section {
    padding: 100px 0;
}

.blog-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    background: var(--light);
    border: 1px solid var(--border);
    border-radius: 25px;
    color: var(--text-secondary);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active, .filter-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.featured-post {
    background: var(--light);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border);
    margin-bottom: 60px;
    transition: all 0.3s ease;
}

.featured-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    border-color: var(--primary);
}

.featured-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 50px;
}

.featured-image {
    border-radius: 15px;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.featured-post:hover .featured-image img {
    transform: scale(1.05);
}

.featured-text h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.featured-excerpt {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.post-meta {
    display: flex;
    gap: 20px;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 25px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 350px), 1fr));
    gap: clamp(25px, 3vw, 40px);
}

.blog-card {
    background: var(--light);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    border-color: var(--primary);
}

.blog-image {
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-content {
    padding: 25px;
}

.blog-category {
    display: inline-block;
    background: rgba(59, 130, 246, 0.2);
    color: var(--primary);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.blog-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
    line-height: 1.4;
}

.blog-excerpt {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.read-more {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: var(--primary-light);
}

/* ===== BLOG POST STYLES ===== */
.blog-post {
    padding-top: 140px;
}

.post-header {
    background: linear-gradient(135deg, var(--darker) 0%, var(--dark) 50%, var(--light) 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.post-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(30, 64, 175, 0.08) 0%, transparent 50%);
    animation: float 8s ease-in-out infinite;
    z-index: 1;
}

.breadcrumb {
    margin-bottom: 30px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

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

.breadcrumb a:hover {
    color: var(--primary-light);
}

.post-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 30px;
    color: var(--text-primary);
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.author-avatar {
    /* width: 70px;
    height: 100px; */
    border-radius: 50%;
    /* background: linear-gradient(135deg, var(--primary) 0%, var(--cyan) 100%); */
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
}

.author-info {
    flex: 1;
}

.author-name {
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.post-date {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.meta-stats {
    display: flex;
    gap: 20px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.meta-stat {
    display: flex;
    align-items: center;
    gap: 5px;
}

.featured-image {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.post-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.post-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin: 60px 0 20px 0;
    color: var(--text-primary);
    line-height: 1.3;
    text-align: left;
}

.post-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 40px 0 15px 0;
    color: var(--text-primary);
}

.post-content p {
    margin-bottom: 25px;
}

.post-content ul, .post-content ol {
    margin: 25px 0;
    padding-left: 30px;
}

.post-content li {
    margin-bottom: 10px;
}

.post-content blockquote {
    border-left: 4px solid var(--primary);
    padding-left: 25px;
    margin: 40px 0;
    font-style: italic;
    color: var(--text-secondary);
    font-size: 1.2rem;
}

.code-block {
    background: var(--darker);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 25px;
    margin: 30px 0;
    overflow-x: auto;
}

.code-block pre {
    margin: 0;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.tip-box {
    background: rgba(6, 214, 160, 0.1);
    border: 1px solid var(--secondary);
    border-radius: 10px;
    padding: 25px;
    margin: 30px 0;
}

.tip-box h4 {
    color: var(--secondary);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.post-actions {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 40px 0;
    margin: 60px 0;
}

.social-share {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.social-share span {
    font-weight: 600;
    color: var(--text-primary);
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--light);
    border: 1px solid var(--border);
    border-radius: 25px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.share-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.author-bio {
    display: flex;
    gap: 25px;
    align-items: flex-start;
    background: var(--light);
    border-radius: 15px;
    padding: 40px;
    margin: 60px 0;
    border: 1px solid var(--border);
}

.author-bio h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.author-bio p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.related-posts {
    margin-top: 80px;
}

.related-posts h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--text-primary);
    text-align: center;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 350px), 1fr));
    gap: 30px;
}

.related-card {
    background: var(--light);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--primary);
}

.related-image {
    height: 180px;
    overflow: hidden;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-card:hover .related-image img {
    transform: scale(1.05);
}

.related-content {
    padding: 25px;
}

.related-category {
    display: inline-block;
    background: rgba(59, 130, 246, 0.2);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.related-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
    line-height: 1.4;
}

.related-meta {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ===== FORM STYLES ===== */
.contact-form,
.signup-form,
.login-form {
    margin-top: 30px;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--darker);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-muted);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
}

.form-group small {
    display: block;
    margin-top: 5px;
    color: var(--text-muted);
    font-size: 0.8rem;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 3px;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: normal;
}

/* Error message */
.form-group small.error {
    color: var(--error, #ef4444);
}

/* Input error state */
.form-group input.error-input,
.form-group select.error-input,
.form-group textarea.error-input {
    border-color: var(--error, #ef4444);
    background-color: var(--error-bg, #fef2f2);
}

/* Focus state when error */
.form-group input.error-input:focus,
.form-group select.error-input:focus,
.form-group textarea.error-input:focus {
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

/* ===== FOOTER ===== */
footer {
    background: linear-gradient(135deg, var(--darker) 0%, var(--dark) 100%);
    color: var(--text-primary);
    padding: clamp(60px, 8vw, 80px) 0 30px;
    position: relative;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: clamp(40px, 5vw, 60px);
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
}

.footer-column h3 {
    color: var(--text-primary);
    margin-bottom: 30px;
    font-size: clamp(1.2rem, 2vw, 1.4rem);
    font-weight: 700;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: clamp(0.9rem, 1.5vw, 1.05rem);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.footer-about p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 30px;
    font-size: clamp(0.9rem, 1.5vw, 1.05rem);
}

.contact-info {
    margin-bottom: 30px;
}

.contact-info p {
    color: var(--text-secondary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    font-size: clamp(0.9rem, 1.5vw, 1.05rem);
}

.contact-info i {
    margin-right: 12px;
    color: var(--primary-light);
    font-size: 1.1rem;
}

.contact-info a {
    color: var(--text-secondary);
    text-decoration: none;
}

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

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-primary);
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-links a:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.95rem;
    position: relative;
    z-index: 2;
}

.footer-bottom a {
    color: var(--text-secondary);
    text-decoration: none;
}

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

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

@keyframes float {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
        background-position: 0% 0%;
    }
    50% { 
        transform: translateY(-10px) rotate(0.5deg); 
        background-position: 100% 100%;
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

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

.demo-container h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
}


/* ===== RESPONSIVE DESIGN ===== */
@media (min-width: 769px) {
    .comments-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .comments-text h2 {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .navbar {
        position: relative !important;
        z-index: 1001;
    }

    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 104px;
        left: 0;
        right: 0;
        height: 406px; /* your fixed menu height */
        background: var(--light);
        flex-direction: column;
        padding: 30px 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        /* border-radius: 0 0 20px 20px; */
        gap: 20px;
        /* z-index: 1500; */
        border: 1px solid var(--border);
    }

    .nav-links.active {
        display: flex;
        transform: translateZ(0);
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: transparent;
        border: none;
        margin-left: 20px;
        margin-top: 10px;
    }

    .dropdown-menu a {
        padding: 8px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-buttons {
        display: none;
        position: absolute;
        top: 480px;
        left: 0;
        right: 0;
        background: var(--light);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        /* z-index: 1400; */
        border-radius: 0 0 20px 20px;
        box-shadow: 0 10px 10px rgba(0,0,0,0.3);
        /* border: 1px solid var(--border); */
    }

    .nav-buttons.active {
        display: flex;
    }

    .nav-buttons .btn {
        width: 100%;
        text-align: center;
        margin: 5px 0;
        padding: 16px 24px;
    }

    .btn-secondary {
        background-color: rgba(30, 41, 59, 0.8);
        color: white;
        border: 2px solid var(--border);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
        backdrop-filter: blur(10px);
    }

    .btn-secondary:hover {
        background-color: rgba(51, 65, 85, 0.8);
        transform: translateY(-3px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
        border-color: var(--primary);
    }

    .hero-text h1 {
        font-size: 2.8rem;
    }
    
    .hero-text p {
        font-size: 1.2rem;
    }
    
    h2 {
        font-size: 2.5rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .results-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .demo-features {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .comments-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .cta-section h2 {
        font-size: 2.5rem;
    }

    .cta-section p {
        font-size: 1.2rem;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }

    .table-header, .table-row {
        grid-template-columns: 1fr;
        gap: 15px;
        text-align: center;
    }

    .table-header-cell:first-child, .table-cell:first-child {
        text-align: center;
        font-weight: 700;
        color: var(--text-primary);
    }

    .table-row.category-header {
        margin-top: 30px;
    }

    .featured-content {
        grid-template-columns: 1fr;
        padding: 30px;
    }

    .featured-image img {
        height: 200px;
    }

    .post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .author-bio {
        flex-direction: column;
        text-align: center;
    }

    .social-share {
        justify-content: center;
        text-align: center;
    }

    /* Touch effects for mobile */
    .btn:active,
    .benefit-card:active,
    .testimonial-card:active {
        transform: scale(0.95);
        transition: transform 0.1s ease;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2.2rem;
    }
    
    .hero-buttons, .cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .results-grid {
        grid-template-columns: 1fr;
    }
    
    .demo-features {
        grid-template-columns: 1fr;
    }
    
    .comments-image img {
        height: 300px;
    }

    .hero-image img {
        border-radius: 15px;
    }

    .trusted-partners {
        margin: 0 10px;
        border-radius: 15px;
    }

    .container {
        padding: 0 15px;
    }

    section {
        padding: 60px 0;
    }

    .blog-content {
        padding: 20px;
    }

    .featured-content {
        padding: 20px;
    }

    .author-bio, .post-actions {
        padding: 25px;
    }

    .related-content {
        padding: 20px;
    }

    .post-header {
        padding: 60px 0;
    }
}

/* Default: show animated kanban */
.hero-kanban {
    display: block;
}

.hero-kanban-mobile {
    display: none;
}

/* Mobile & tablets (touch devices) */
@media (hover: none) and (pointer: coarse) {
    .hero-kanban {
        display: none !important;
    }

    .hero-kanban-mobile {
        display: block !important;
        text-align: center;
        margin: 40px 0;
    }

    .hero-kanban-mobile img {
        width: 100%;
        max-width: 600px;
        height: auto;
        border-radius: 12px;
        box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    }
}

.calendly-overlay .calendly-popup-close{
    display: none;
}

@media (max-width: 480px) {
  .pricing-row {
    gap: 12px;
  }

  .amount {
    font-size: 1.8rem;
  }
}


/* ===== CASE STUDIES SECTION ===== */
.case-studies {
    /* background: linear-gradient(135deg, var(--light) 0%, var(--dark) 100%); */
    background: linear-gradient(135deg, var(--light) 0%, rgba(32, 109, 153, 0.06) 100%);
    position: relative;
}

.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: clamp(20px, 3vw, 30px);
    margin-top: 40px;
}

.case-study-card {
    background: var(--light);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.case-study-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    border-color: var(--primary);
}

/* Top accent line (consistent with benefit cards) */
.case-study-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--cyan) 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.case-study-card:hover::before {
    transform: scaleX(1);
}

.case-study-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 20px;
}

.case-study-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.case-study-card p {
    color: var(--text-secondary);
    margin-bottom: 15px;
    line-height: 1.6;
}

.case-study-card ul {
    list-style: none;
    margin-bottom: 20px;
}

.case-study-card ul li {
    font-size: 0.95rem;
    margin-bottom: 6px;
    color: var(--text-secondary);
}

.case-study-card a {
    text-decoration: none;
    font-weight: 600;
    color: var(--primary);
    transition: all 0.3s ease;
}

.case-study-card a:hover {
    color: var(--primary-dark);
}

/* CTA below cards */
.case-studies-cta {
    text-align: center;
    margin-top: 40px;
}

.case-study-card img {
    height: 60px;
    width: auto;
    object-fit: contain;
    margin-bottom: 20px;
}

.case-studies .testimonial-card::before {
    display: none;
}

/* =========================
   CASE STUDY TITLE
========================= */
.case-title {
    margin-bottom: 16px;
    line-height: 1.4;
    font-size: 20px;
    font-weight: 600;
}

/* =========================
   BEFORE / AFTER CONTAINER
========================= */
.case-summary {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

/* =========================
   INDIVIDUAL BLOCKS
========================= */
.case-block {
    padding: 14px;
    border-radius: 10px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
}

.case-block.before {
    border-left: 4px solid var(--light-gray);
    background: #f9fafb;
}

.case-block.after {
    border-left: 4px solid var(--primary);
    background: rgba(32, 109, 153, 0.06);
}

/* Labels */
.case-block .label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #6b7280;
    display: block;
    margin-bottom: 6px;
}

/* Text */
.case-block p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #111827;
}

/* =========================
   FEATURE LIST
========================= */
.feature-list {
    margin: 14px 0;
    padding-left: 18px;
}

.feature-list li {
    margin-bottom: 6px;
    line-height: 1.4;
}

/* =========================
   CTA BUTTON SPACING
========================= */
.testimonial-card .btn {
    margin-top: 10px;
}

/* =========================
   MOBILE FIRST (DEFAULT)
========================= */
/* Already stacked vertically above */

/* =========================
   TABLET / DESKTOP LAYOUT
========================= */
@media (min-width: 768px) {
    .case-summary {
        flex-direction: row;
    }

    .case-block {
        flex: 1;
    }
}

/* =========================
   LARGE DESKTOP OPTIMIZATION
========================= */
@media (min-width: 1024px) {
    .case-title {
        font-size: 22px;
    }

    .case-block {
        padding: 16px;
    }
}

/* =========================
   CASE STUDY FEATURE LIST
========================= */
.case-feature-list {
    list-style: none;
    margin: 16px 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.case-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;

    font-size: 14px;
    line-height: 1.5;
    color: #111827;

    padding: 10px 12px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 10px;

    transition: all 0.2s ease;
}

/* Hover for desktop polish */
.case-feature-list li:hover {
    background: #f3f4f6;
    transform: translateY(-1px);
}

/* Optional: make emoji consistent */
.case-feature-list li {
    font-variant-emoji: normal;
}

/* =========================
   CASE STUDY HEADER
========================= */
.case-header {
    margin-bottom: 14px;
}

.case-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6b7280;
    background: #f3f4f6;
    padding: 4px 8px;
    border-radius: 6px;
    margin-bottom: 8px;
}

.case-header h3 {
    margin: 0;
    font-size: 20px;
    line-height: 1.4;
}



/* =========================
   CASE STUDY PAGE
========================= */

.case-study-hero {
    padding: 100px 20px 40px;
    text-align: center;
    background: linear-gradient(135deg, var(--light) 0%, var(--dark) 100%);
}

.case-study-header {
    text-align: center;
    padding-top: 140px; /* fixes header overlap */
    padding-bottom: 60px;
    background: linear-gradient(135deg, var(--light) 0%, var(--dark) 100%);
}

.case-study-header h1 {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 800;
    margin-bottom: 15px;
}

.section-eyebrow {
    display: inline-block;
    margin-bottom: 1rem;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(32, 109, 153, 0.1);
    color: var(--primary);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.case-study-header .section-subtitle {
    margin-top: 10px;
}


.case-study-content {
    padding: 60px 20px;
}

/* IMAGE */
.case-image {
    margin-bottom: 40px;
    text-align: center;
}

.case-image img {
    width: 100%;
    max-width: 900px;
    border-radius: 12px;
}

/* RESULTS (reuse your style) */
.results-grid {
    margin: 40px 0;
}

/* BEFORE / AFTER */
.case-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 50px;
}

.case-block {
    padding: 20px;
    border-radius: 10px;
    background: var(--light);
    border: 1px solid var(--border);
}

.case-block.before {
    border-left: 4px solid var(--primary);
}

.case-block.after {
    border-left: 4px solid var(--secondary);
}

.case-block h3 {
    margin-bottom: 10px;
}

/* CONTENT */
.case-content {
    max-width: 800px;
    margin: 0 auto;
}

.case-content h2 {
    margin-top: 40px;
}

.case-content p {
    margin-bottom: 20px;
    line-height: 1.7;
}

/* SECTION WRAPPER */
.case-section {
    margin-bottom: 70px;
}

/* HEADINGS */
.case-section h2 {
    margin-bottom: 15px;
    position: relative;
    padding-left: 16px;
    background: var(--darker);
}

.case-section h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10%;
    height: 80%;
    width: 4px;
    background: var(--primary);
    border-radius: 2px;
}

.case-section:last-of-type {
    margin-bottom: 40px;
}

/* LEAD TEXT (important) */
.case-lead {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 22px;
    line-height: 1.8;
    max-width: 850px;
}

/* BULLET POINTS */
.case-points {
    list-style: none;
    padding: 0;
}

.case-points li {
    padding: 14px 16px;
    margin-bottom: 10px;
    background: rgba(32, 109, 153, 0.06);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 1.05rem;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
}

/* custom bullet */
.case-points li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
}



/* FEATURE LIST (custom, no conflict) */
.case-feature-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.case-feature-list li {
    font-size: 1.05rem;
    margin-bottom: 12px;
    padding-left: 5px;
}

/* QUOTE */
.case-quote {
    margin-top: 50px;
    padding: 25px;
    border-left: 4px solid var(--primary);
    background: var(--darker);
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .case-split {
        grid-template-columns: 1fr;
    }

    .case-study-hero {
        padding-top: 80px;
    }
}

/* ============================= */
/* CASE STUDY META STRIP */
/* ============================= */

.case-meta-section {
    padding: 30px 0;
    background: var(--light);
    border-bottom: 1px solid var(--border);
}

.case-meta-section .container {
    padding-left: 60px;
    padding-right: 60px;
}

.case-meta-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

/* Logo */
.case-meta-logo img {
    height: 50px;
    width: auto;
    object-fit: contain;
    opacity: 0.9;
}

/* Meta Info Container */
.case-meta-info {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    align-items: center;
}

/* Individual Meta Item */
.meta-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* Labels */
.meta-label {
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 600;
}

/* Values */
.meta-value {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

/* Link */
.meta-link {
    font-size: 15px;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    transition: 0.2s ease;
}

.meta-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* ============================= */
/* RESPONSIVE */
/* ============================= */

@media (max-width: 768px) {
    .case-meta-strip {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .case-meta-info {
        gap: 20px;
        width: 100%;
        justify-content: space-between;
    }

    .case-meta-logo img {
        height: 40px;
    }

    .meta-item {
        flex: 1 1 45%;
    }


    .case-meta-section .container {
        padding-left: 20px;
        padding-right: 20px;
    }
}
/* ============================= */
/* CASE STUDIES */
/* ============================= */

.case-trust-strip {
    padding: 20px 0;
    background: var(--dark);
    text-align: center;
    font-size: 14px;
    color: var(--text-secondary);
}

.trust-items {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.case-studies-grid {
    padding: 20px 0px 70px 0px;
}

.case-studies-grid .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.case-card {
    display: block;
    padding: 25px;
    border-radius: 16px;
    background: var(--light);
    border: 1px solid var(--border);
    text-decoration: none;
    transition: 0.3s ease;
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-color: var(--primary-light);
}

.case-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.case-card p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 15px;
    line-height: 1.5;
}

.case-tag {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    background: rgba(32, 109, 153, 0.08);
    padding: 5px 10px;
    border-radius: 999px;
}

.case-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    padding-left: 15px;
}

.case-card-logo {
    height: 24px;
    width: auto;
    margin-bottom: 10px;
    opacity: 0.8;
}



.case-nav {
    padding: 60px 0 20px;
}

.case-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    border-top: 1px solid var(--border);
    padding-top: 30px;
}

.case-nav-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    text-align: center;
    flex: 1;
}

.case-nav-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    transition: 0.2s ease;
    white-space: nowrap;
}

.case-nav-link:hover {
    color: var(--primary-dark);
    transform: translateX(3px);
}

.case-nav-link.prev:hover {
    transform: translateX(-3px);
}

.back-link {
    display: inline-block;
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--primary);
    text-decoration: none;
}

/* ===== MOBILE FIX ===== */
@media (max-width: 768px) {

    .case-nav-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 12px;
    }

    .case-nav-link {
        width: 100%;
    }

    .case-nav-link.prev,
    .case-nav-link.next {
        font-size: 13px;
    }

}

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

@media (max-width: 768px) {
    .benefits-grid-2x2 {
        grid-template-columns: 1fr;
    }
}

.comparison-table-3col .table-header,
.comparison-table-3col .table-row {
    grid-template-columns: 1fr 1.5fr 1.5fr;
}
