/**
 * clearTime Care - Modern Landing Page
 * Design System: "Warm Tech Humanity"
 *
 * Typography: Plus Jakarta Sans (headings) + DM Sans (body)
 * Primary: clearTime Red #EF5350
 * Aesthetic: Soft, organic, editorial, warm
 */

/* ==========================================================================
   CSS Custom Properties - Design Tokens
   ========================================================================== */

:root {
    /* Brand Colors */
    --ct-red: #EF5350;
    --ct-red-light: #FF8A80;
    --ct-red-dark: #D32F2F;
    --ct-red-glow: rgba(239, 83, 80, 0.15);

    /* Neutrals - Warm tinted */
    --ct-dark: #1A1A2E;
    --ct-dark-soft: #2D2D44;
    --ct-gray-900: #1F2937;
    --ct-gray-700: #374151;
    --ct-gray-600: #4B5563;
    --ct-gray-500: #6B7280;
    --ct-gray-400: #9CA3AF;
    --ct-gray-200: #E5E7EB;
    --ct-gray-100: #F3F4F6;
    --ct-gray-50: #F9FAFB;

    /* Backgrounds */
    --ct-bg-warm: #FFFBF8;
    --ct-bg-cream: #FEF7F0;
    --ct-bg-blush: #FFF5F5;

    /* Typography */
    --font-display: 'Plus Jakarta Sans', -apple-system, sans-serif;
    --font-body: 'DM Sans', -apple-system, sans-serif;

    /* Spacing Scale */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    --space-4xl: 8rem;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.08);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 60px var(--ct-red-glow);

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --duration-fast: 200ms;
    --duration-normal: 400ms;
    --duration-slow: 600ms;
}

/* ==========================================================================
   Font Import
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fira+Sans:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=DM+Sans:wght@400;500;600;700&display=swap');

/* ==========================================================================
   CRITICAL OVERRIDES - Hide Theme Default Header & List Resets
   ========================================================================== */

/* Hide any JupiterX default header elements on custom landing page */
body.ct-custom-landing .jupiterx-header,
body.ct-custom-landing .jupiterx-navbar,
body.ct-custom-landing .jupiterx-masthead,
body.ct-custom-landing .jupiterx-header-behavior,
body.ct-custom-landing .elementor-element.elementor-widget-theme-post-title,
body.ct-custom-landing > .jupiterx-site > header:not(.ct-header) {
    display: none !important;
}

/* LIST RESET for custom header and footer - Remove bullets completely */
body.ct-custom-landing .ct-header ul,
body.ct-custom-landing .ct-header ol,
body.ct-custom-landing .ct-footer ul,
body.ct-custom-landing .ct-footer ol {
    list-style: none !important;
    list-style-type: none !important;
    list-style-image: none !important;
    margin: 0 !important;
    padding: 0 !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
}

body.ct-custom-landing .ct-header li,
body.ct-custom-landing .ct-footer li {
    list-style: none !important;
    list-style-type: none !important;
    list-style-image: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
}

/* Remove any pseudo-element bullets */
body.ct-custom-landing .ct-header ul::before,
body.ct-custom-landing .ct-header ul::after,
body.ct-custom-landing .ct-header ol::before,
body.ct-custom-landing .ct-header ol::after,
body.ct-custom-landing .ct-header li::before,
body.ct-custom-landing .ct-header li::after,
body.ct-custom-landing .ct-footer ul::before,
body.ct-custom-landing .ct-footer ul::after,
body.ct-custom-landing .ct-footer ol::before,
body.ct-custom-landing .ct-footer ol::after,
body.ct-custom-landing .ct-footer li::before,
body.ct-custom-landing .ct-footer li::after {
    display: none !important;
    content: none !important;
    list-style: none !important;
    width: 0 !important;
    height: 0 !important;
}

/* Re-apply flex display for header navigation */
body.ct-custom-landing .ct-header__menu {
    display: flex !important;
    align-items: center !important;
    flex-direction: row !important;
    gap: 8px !important;
}

body.ct-custom-landing .ct-header__nav {
    display: flex !important;
    align-items: center !important;
    flex-direction: row !important;
    gap: 8px !important;
}

body.ct-custom-landing .ct-header__menu li {
    display: inline-flex !important;
}

/* Re-apply column layout for footer links */
body.ct-custom-landing .ct-footer__links {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
}

body.ct-custom-landing .ct-footer__links li {
    display: block !important;
}

/* ==========================================================================
   Base Styles
   ========================================================================== */

body.ct-custom-landing {
    margin: 0;
    padding: 0;
    background: var(--ct-bg-warm);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.ct-main {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.ct-landing {
    width: 100%;
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.7;
    color: var(--ct-gray-700);
    background: var(--ct-bg-warm);
}

/* Container */
.ct-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.ct-container--narrow {
    max-width: 900px;
}

.ct-container--wide {
    max-width: 1400px;
}

/* ==========================================================================
   Typography
   ========================================================================== */

.ct-landing h1,
.ct-landing h2,
.ct-landing h3,
.ct-landing h4 {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--ct-dark);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

/* ==========================================================================
   Hero Section - Editorial Style
   ========================================================================== */

.ct-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--ct-bg-warm);
    overflow: hidden;
}

.ct-hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 70%;
    height: 140%;
    background: url('https://cleartime.care/wp-content/uploads/clearTime_care_focus_hero02.webp') center/cover no-repeat;
    border-radius: 0 0 0 40%;
    z-index: 1;
}

.ct-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        var(--ct-bg-warm) 0%,
        var(--ct-bg-warm) 35%,
        rgba(255, 251, 248, 0.9) 50%,
        rgba(255, 251, 248, 0) 65%
    );
    z-index: 2;
}

/* Organic blob decoration */
.ct-hero__blob {
    position: absolute;
    width: 600px;
    height: 600px;
    background: var(--ct-red-glow);
    border-radius: 60% 40% 70% 30% / 40% 50% 60% 50%;
    filter: blur(80px);
    opacity: 0.6;
    z-index: 0;
    animation: blob-float 20s ease-in-out infinite;
}

.ct-hero__blob--1 {
    top: -10%;
    left: -5%;
}

.ct-hero__blob--2 {
    bottom: -20%;
    right: 20%;
    width: 400px;
    height: 400px;
    animation-delay: -10s;
}

@keyframes blob-float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(5deg); }
    66% { transform: translate(-20px, 20px) rotate(-5deg); }
}

.ct-hero .ct-container {
    position: relative;
    z-index: 3;
}

.ct-hero__content {
    max-width: 580px;
    padding: var(--space-4xl) 0;
}

.ct-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    color: var(--ct-red);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-md);
    opacity: 0;
    animation: fade-up 0.8s var(--ease-out) forwards;
}

.ct-hero__eyebrow::before {
    content: '';
    width: 24px;
    height: 2px;
    background: var(--ct-red);
    border-radius: var(--radius-full);
}

.ct-hero__title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--ct-dark);
    margin: 0 0 var(--space-lg);
    opacity: 0;
    animation: fade-up 0.8s var(--ease-out) 0.1s forwards;
}

.ct-hero__title-highlight {
    color: var(--ct-red);
    position: relative;
}

.ct-hero__title-highlight::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0.1em;
    width: 100%;
    height: 0.15em;
    background: var(--ct-red-glow);
    border-radius: var(--radius-full);
    z-index: -1;
}

.ct-hero__subtitle {
    font-size: 1.25rem;
    color: var(--ct-gray-600);
    line-height: 1.7;
    margin: 0 0 var(--space-xl);
    opacity: 0;
    animation: fade-up 0.8s var(--ease-out) 0.2s forwards;
}

.ct-hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-md);
    opacity: 0;
    animation: fade-up 0.8s var(--ease-out) 0.3s forwards;
}

.ct-hero__store-link {
    display: inline-block;
    transition: transform var(--duration-fast) var(--ease-out);
}

.ct-hero__store-link:hover {
    transform: translateY(-2px);
}

.ct-hero__badge {
    height: 52px;
    width: auto;
    border-radius: var(--radius-sm);
}

@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 991px) {
    .ct-hero {
        min-height: auto;
        padding: 120px 0 60px;
    }

    .ct-hero::before {
        position: relative;
        width: 100%;
        height: 400px;
        border-radius: var(--radius-xl);
        margin-top: var(--space-xl);
    }

    .ct-hero::after {
        display: none;
    }

    .ct-hero__content {
        max-width: 100%;
        padding: 0;
    }
}

/* ==========================================================================
   Buttons - Modern Pill Style
   ========================================================================== */

.ct-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: 16px 32px;
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: all var(--duration-normal) var(--ease-out);
    position: relative;
    overflow: hidden;
}

.ct-btn--primary {
    background: var(--ct-red);
    color: #fff;
    box-shadow: 0 4px 20px rgba(239, 83, 80, 0.3);
}

.ct-btn--primary:hover {
    background: var(--ct-red-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(239, 83, 80, 0.4);
}

.ct-btn--primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%);
    opacity: 0;
    transition: opacity var(--duration-fast);
}

.ct-btn--primary:hover::before {
    opacity: 1;
}

.ct-btn--secondary {
    background: transparent;
    color: var(--ct-dark);
    border: 2px solid var(--ct-gray-200);
}

.ct-btn--secondary:hover {
    border-color: var(--ct-red);
    color: var(--ct-red);
}

.ct-btn--lg {
    padding: 20px 40px;
    font-size: 17px;
}

.ct-btn--icon {
    width: 56px;
    height: 56px;
    padding: 0;
    border-radius: 50%;
}

/* ==========================================================================
   Section Base
   ========================================================================== */

.ct-section {
    padding: var(--space-4xl) 0;
    position: relative;
}

.ct-section--alt {
    background: linear-gradient(180deg, var(--ct-bg-cream) 0%, var(--ct-bg-warm) 100%);
}

.ct-section--dark {
    background: var(--ct-dark);
    color: #fff;
}

.ct-section--dark h2,
.ct-section--dark h3 {
    color: #fff;
}

/* Section Header - Editorial Style */
.ct-section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-3xl);
}

.ct-section-header__eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 700;
    color: var(--ct-red);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: var(--space-md);
}

.ct-section-header__eyebrow::before,
.ct-section-header__eyebrow::after {
    content: '';
    width: 30px;
    height: 1px;
    background: var(--ct-red);
    opacity: 0.4;
}

.ct-section-header__title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin: 0 0 var(--space-md);
}

.ct-section-header__text {
    font-size: 1.125rem;
    color: var(--ct-gray-500);
    line-height: 1.8;
    margin: 0;
}

/* ==========================================================================
   Feature Cards - Glassmorphism Style
   ========================================================================== */

.ct-grid {
    display: grid;
    gap: var(--space-lg);
}

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

@media (max-width: 991px) {
    .ct-grid-3, .ct-grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
    .ct-grid-2, .ct-grid-3, .ct-grid-4 { grid-template-columns: 1fr; }
}

.ct-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    transition: all var(--duration-normal) var(--ease-out);
    position: relative;
    overflow: hidden;
}

.ct-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--ct-red), var(--ct-red-light));
    opacity: 0;
    transition: opacity var(--duration-normal);
}

.ct-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.ct-card:hover::before {
    opacity: 1;
}

.ct-card--bordered {
    background: #fff;
    border: 1px solid var(--ct-gray-100);
}

/* Icon Circles */
.ct-icon-circle {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--ct-red-glow) 0%, rgba(239, 83, 80, 0.08) 100%);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-md);
    transition: all var(--duration-normal) var(--ease-out);
}

.ct-card:hover .ct-icon-circle {
    background: var(--ct-red);
    transform: scale(1.05);
}

.ct-icon-circle svg {
    width: 28px;
    height: 28px;
    color: var(--ct-red);
    stroke: var(--ct-red);
    transition: color var(--duration-normal);
}

.ct-card:hover .ct-icon-circle svg {
    color: #fff;
    stroke: #fff;
}

.ct-card__title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--ct-dark);
    margin: 0 0 var(--space-sm);
}

.ct-card__text {
    color: var(--ct-gray-500);
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}

/* ==========================================================================
   Tabs - Modern Pill Style
   ========================================================================== */

.ct-tabs__nav {
    display: flex;
    justify-content: center;
    gap: var(--space-xs);
    margin-bottom: var(--space-2xl);
    padding: 6px;
    background: var(--ct-gray-100);
    border-radius: var(--radius-full);
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.ct-tabs__btn {
    padding: 14px 28px;
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    color: var(--ct-gray-500);
    background: transparent;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--duration-normal) var(--ease-out);
}

.ct-tabs__btn:hover {
    color: var(--ct-dark);
}

.ct-tabs__btn.active {
    background: #fff;
    color: var(--ct-dark);
    box-shadow: var(--shadow-md);
}

.ct-tabs__panel {
    display: none;
}

.ct-tabs__panel.active {
    display: block;
    animation: fade-up var(--duration-normal) var(--ease-out);
}

/* ==========================================================================
   Comparison Section
   ========================================================================== */

.ct-comparison {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
}

@media (max-width: 767px) {
    .ct-comparison {
        grid-template-columns: 1fr;
    }
}

.ct-comparison__column {
    background: #fff;
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.ct-comparison__column::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--ct-red), var(--ct-red-light));
}

.ct-comparison__title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ct-dark);
    margin: 0 0 var(--space-lg);
    text-align: center;
}

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

.ct-comparison__item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    padding: var(--space-sm) 0;
    font-size: 15px;
    color: var(--ct-gray-700);
    border-bottom: 1px solid var(--ct-gray-100);
}

.ct-comparison__item:last-child {
    border-bottom: none;
}

.ct-comparison__item svg {
    width: 20px;
    height: 20px;
    min-width: 20px;
    color: #10B981;
    stroke: #10B981;
    flex-shrink: 0;
    margin-top: 2px;
}

/* ==========================================================================
   Pricing Cards
   ========================================================================== */

.ct-pricing {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    align-items: stretch;
}

@media (max-width: 991px) {
    .ct-pricing {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
}

.ct-pricing__card {
    background: #fff;
    border: 1px solid var(--ct-gray-100);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    text-align: center;
    display: flex;
    flex-direction: column;
    transition: all var(--duration-normal) var(--ease-out);
    position: relative;
}

.ct-pricing__card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.ct-pricing__card--featured {
    background: var(--ct-dark);
    border: none;
    color: #fff;
    transform: scale(1.05);
    z-index: 1;
}

.ct-pricing__card--featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.ct-pricing__card--featured .ct-pricing__name,
.ct-pricing__card--featured .ct-pricing__price,
.ct-pricing__card--featured .ct-pricing__feature {
    color: #fff;
}

.ct-pricing__badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--ct-red);
    color: #fff;
    padding: 6px 20px;
    border-radius: var(--radius-full);
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ct-pricing__name {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--ct-dark);
    margin: 0 0 var(--space-sm);
}

.ct-pricing__price {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    color: var(--ct-dark);
    margin: 0;
    line-height: 1;
}

.ct-pricing__price span {
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.6;
}

.ct-pricing__period {
    font-size: 14px;
    color: var(--ct-gray-500);
    margin: var(--space-xs) 0 var(--space-lg);
}

.ct-pricing__features {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--space-xl);
    flex-grow: 1;
    text-align: left;
}

.ct-pricing__feature {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) 0;
    font-size: 15px;
    color: var(--ct-gray-700);
}

.ct-pricing__feature svg {
    width: 18px;
    height: 18px;
    color: #10B981;
    flex-shrink: 0;
}

.ct-pricing__card--featured .ct-pricing__feature svg {
    color: var(--ct-red-light);
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */

.ct-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.ct-accordion__item {
    background: #fff;
    border: 1px solid var(--ct-gray-100);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-sm);
    overflow: hidden;
    transition: all var(--duration-normal) var(--ease-out);
}

.ct-accordion__item:hover {
    border-color: var(--ct-gray-200);
}

.ct-accordion__item.active {
    box-shadow: var(--shadow-md);
}

.ct-accordion__header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-lg) var(--space-xl);
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--ct-dark);
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: color var(--duration-fast);
}

.ct-accordion__header:hover {
    color: var(--ct-red);
}

.ct-accordion__icon {
    width: 24px;
    height: 24px;
    transition: transform var(--duration-normal) var(--ease-out);
    flex-shrink: 0;
    color: var(--ct-gray-400);
}

.ct-accordion__item.active .ct-accordion__icon {
    transform: rotate(180deg);
    color: var(--ct-red);
}

.ct-accordion__content {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--duration-normal) var(--ease-out);
}

.ct-accordion__item.active .ct-accordion__content {
    max-height: 500px;
}

.ct-accordion__body {
    padding: 0 var(--space-xl) var(--space-xl);
    color: var(--ct-gray-600);
    font-size: 16px;
    line-height: 1.8;
}

/* ==========================================================================
   Blog Cards
   ========================================================================== */

.ct-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

@media (max-width: 991px) {
    .ct-blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .ct-blog-grid {
        grid-template-columns: 1fr;
    }
}

.ct-blog-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--duration-normal) var(--ease-out);
}

.ct-blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.ct-blog-card__image {
    aspect-ratio: 16/10;
    overflow: hidden;
}

.ct-blog-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--duration-slow) var(--ease-out);
}

.ct-blog-card:hover .ct-blog-card__image img {
    transform: scale(1.08);
}

.ct-blog-card__content {
    padding: var(--space-lg);
}

.ct-blog-card__category {
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 700;
    color: var(--ct-red);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-xs);
}

.ct-blog-card__title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--ct-dark);
    margin: 0;
    line-height: 1.4;
}

.ct-blog-card__title a {
    color: inherit;
    text-decoration: none;
    transition: color var(--duration-fast);
}

.ct-blog-card__title a:hover {
    color: var(--ct-red);
}

/* ==========================================================================
   CTA Section
   ========================================================================== */

.ct-cta {
    background: linear-gradient(135deg, var(--ct-dark) 0%, var(--ct-dark-soft) 100%);
    color: #fff;
    text-align: center;
    padding: var(--space-4xl) 0;
    position: relative;
    overflow: hidden;
}

.ct-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--ct-red-glow) 0%, transparent 70%);
    opacity: 0.5;
}

.ct-cta__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 800;
    color: #fff;
    margin: 0 0 var(--space-md);
    position: relative;
}

.ct-cta__text {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 550px;
    margin: 0 auto var(--space-xl);
    line-height: 1.8;
    position: relative;
}

.ct-cta__actions {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
    position: relative;
}

/* ==========================================================================
   Feature Row - Asymmetric Layout
   ========================================================================== */

.ct-feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
    margin-bottom: var(--space-4xl);
}

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

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

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

@media (max-width: 991px) {
    .ct-feature-row,
    .ct-feature-row--reverse {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
        direction: ltr;
    }
}

.ct-feature-row__image {
    position: relative;
}

.ct-feature-row__image img {
    width: 100%;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.ct-feature-row__image::before {
    content: '';
    position: absolute;
    inset: -20px;
    background: var(--ct-red-glow);
    border-radius: var(--radius-xl);
    z-index: -1;
    opacity: 0.5;
}

.ct-feature-row__title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 800;
    color: var(--ct-dark);
    margin: 0 0 var(--space-md);
}

.ct-feature-row__text {
    font-size: 1.1rem;
    color: var(--ct-gray-600);
    line-height: 1.8;
    margin: 0 0 var(--space-lg);
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

.ct-text-center { text-align: center; }
.ct-text-gradient {
    background: linear-gradient(135deg, var(--ct-red) 0%, var(--ct-red-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Flex utilities */
.ct-flex { display: flex; }
.ct-flex-center { align-items: center; justify-content: center; }

/* Heading utilities */
.ct-heading {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--ct-dark);
    margin: 0 0 var(--space-md);
}
.ct-heading-md { font-size: 1.75rem; }
.ct-heading-lg { font-size: 2.25rem; }

/* Text utilities */
.ct-text {
    color: var(--ct-gray-600);
    margin: 0 0 var(--space-md);
}
.ct-text-lg {
    font-size: 1.125rem;
    line-height: 1.8;
}

/* Spacing */
.ct-mt-0 { margin-top: 0 !important; }
.ct-mb-0 { margin-bottom: 0 !important; }
.ct-mb-20 { margin-bottom: 20px !important; }
.ct-mb-40 { margin-bottom: 40px !important; }

/* ==========================================================================
   Scroll Animations
   ========================================================================== */

/* Elements start visible, JS adds .ct-animate class */
.ct-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity var(--duration-slow) var(--ease-out),
                transform var(--duration-slow) var(--ease-out);
}

.ct-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

.ct-animate-delay-1 { transition-delay: 0.1s; }
.ct-animate-delay-2 { transition-delay: 0.2s; }
.ct-animate-delay-3 { transition-delay: 0.3s; }
.ct-animate-delay-4 { transition-delay: 0.4s; }

/* Fallback: show elements after page load if JS fails */
@media (prefers-reduced-motion: reduce) {
    .ct-animate {
        opacity: 1;
        transform: none;
    }
}

/* No-JS fallback */
.no-js .ct-animate {
    opacity: 1;
    transform: none;
}

/* ==========================================================================
   Global SVG Fixes
   ========================================================================== */

.ct-landing svg {
    max-width: 100%;
    height: auto;
}

.ct-card svg,
.ct-comparison__item svg,
.ct-pricing__feature svg {
    width: 20px;
    height: 20px;
    min-width: 20px;
    flex-shrink: 0;
}

/* ==========================================================================
   Header - Production Ready (Matches Main Site)
   ========================================================================== */

.ct-header,
.ct-header * {
    box-sizing: border-box;
}

.ct-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #FFFFFF;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    height: 80px;
}

/* Reset all lists in header */
.ct-header ul,
.ct-header ol,
.ct-header li {
    list-style: none !important;
    list-style-type: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.ct-header ul::before,
.ct-header ul::after,
.ct-header li::before,
.ct-header li::after,
.ct-header a::before,
.ct-header a::after {
    display: none !important;
    content: none !important;
}

.ct-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
}

.ct-header__logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.ct-header__logo img {
    height: 50px;
    width: auto;
}

.ct-header__nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.ct-header__menu {
    display: flex !important;
    align-items: center;
    gap: 32px;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.ct-header__menu li {
    list-style: none !important;
    margin: 0;
    padding: 0;
}

.ct-header__link,
.ct-header .ct-header__link,
.ct-header__menu .ct-header__link,
body .ct-header__link {
    font-family: 'Fira Sans', sans-serif !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    color: #475467 !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
    padding: 0 !important;
    border: none !important;
    background: none !important;
    background-color: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.ct-header__link:hover,
.ct-header .ct-header__link:hover,
body .ct-header__link:hover {
    color: #101828 !important;
    background: none !important;
    background-color: transparent !important;
    border: none !important;
}

.ct-header__cta,
.ct-header .ct-header__cta,
body .ct-header__cta,
a.ct-header__cta {
    display: inline-flex !important;
    align-items: center !important;
    padding: 12px 24px !important;
    background: #101828 !important;
    background-color: #101828 !important;
    color: #FFFFFF !important;
    font-family: 'Fira Sans', sans-serif !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    border-radius: 8px !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
    border: none !important;
    margin-left: 0 !important;
}

.ct-header__cta:hover,
.ct-header .ct-header__cta:hover,
body .ct-header__cta:hover {
    background: #1D2939 !important;
    background-color: #1D2939 !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
    color: #FFFFFF !important;
}

/* Mobile Menu Toggle */
.ct-header__toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.ct-header__toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #101828;
    transition: all 0.3s ease;
}

.ct-header__toggle[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.ct-header__toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.ct-header__toggle[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Navigation */
body:not(.ct-custom-landing) .ct-header__mobile-nav {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: #FFFFFF;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 24px;
}

body:not(.ct-custom-landing) .ct-header__mobile-nav.active {
    display: block;
}

.ct-header__mobile-menu {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.ct-header__mobile-menu li {
    list-style: none !important;
    margin: 0;
    padding: 0;
}

.ct-header__mobile-menu a {
    display: block;
    padding: 12px 0;
    font-family: 'Fira Sans', sans-serif;
    font-size: 16px;
    color: #475467;
    text-decoration: none;
    border-bottom: 1px solid #E5E7EB;
}

.ct-header__mobile-menu a:hover {
    color: #101828;
}

.ct-header__mobile-menu li:last-child a {
    border-bottom: none;
}

@media (max-width: 768px) {
    .ct-header__nav {
        display: none;
    }

    .ct-header__toggle {
        display: flex;
    }
}

/* ==========================================================================
   Footer - Production Ready (Matches Main Site)
   ========================================================================== */

.ct-footer {
    background: #F9FAFB;
    padding: 64px 0 32px;
    border-top: 1px solid #E5E7EB;
}

/* Reset all lists in footer */
.ct-footer ul,
.ct-footer ol,
.ct-footer li {
    list-style: none !important;
    list-style-type: none !important;
    list-style-image: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.ct-footer ul::before,
.ct-footer ul::after,
.ct-footer li::before,
.ct-footer li::after,
.ct-footer a::before,
.ct-footer a::after {
    display: none !important;
    content: none !important;
}

.ct-footer__main {
    display: grid;
    grid-template-columns: 1.5fr 2fr 1fr;
    gap: 48px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

@media (max-width: 1024px) {
    .ct-footer__main {
        grid-template-columns: 1fr 1fr;
    }

    .ct-footer__app {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .ct-footer__main {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .ct-footer__app {
        grid-column: span 1;
    }
}

/* Brand Column */
.ct-footer__brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ct-footer__logo {
    display: inline-block;
}

.ct-footer__logo img {
    height: 60px;
    width: auto;
}

.ct-footer__tagline {
    font-family: 'Fira Sans', sans-serif;
    font-size: 14px;
    color: #475467;
    line-height: 1.6;
    margin: 0;
}

/* Social Links */
.ct-footer__social {
    display: flex;
    gap: 16px;
}

.ct-footer__social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #E5E7EB;
    border-radius: 50%;
    color: #475467;
    transition: all 0.2s ease;
    text-decoration: none;
}

.ct-footer__social a:hover {
    background: #101828;
    color: #FFFFFF;
}

.ct-footer__social svg {
    width: 20px;
    height: 20px;
}

/* Navigation Columns */
.ct-footer__nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

@media (max-width: 768px) {
    .ct-footer__nav {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .ct-footer__nav {
        grid-template-columns: 1fr;
    }
}

.ct-footer__col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ct-footer__heading {
    font-family: 'Fira Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #101828;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 8px 0;
}

.ct-footer__links {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.ct-footer__links li {
    display: block !important;
    list-style: none !important;
    list-style-type: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.ct-footer__links a {
    font-family: 'Fira Sans', sans-serif;
    font-size: 14px;
    color: #475467;
    text-decoration: none;
    transition: color 0.2s ease;
}

.ct-footer__links a:hover {
    color: #101828;
}

/* App Download */
.ct-footer__app {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ct-footer__app-label {
    font-family: 'Fira Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #101828;
    margin: 0;
}

.ct-footer__badge {
    width: 135px;
    height: auto;
}

.ct-footer__app a:hover .ct-footer__badge {
    opacity: 0.9;
}

/* Footer Bottom */
.ct-footer__bottom {
    max-width: 1200px;
    margin: 48px auto 0;
    padding: 24px 24px 0;
    border-top: 1px solid #E5E7EB;
}

.ct-footer__copyright {
    font-family: 'Fira Sans', sans-serif;
    font-size: 14px;
    color: #98A2B3;
    margin: 0;
}

/* ==========================================================================
   Page Layout Adjustments for Fixed Header
   ========================================================================== */

body.ct-custom-landing {
    padding-top: 0; /* Hero handles its own spacing */
}

.ct-hero {
    padding-top: 80px; /* Account for fixed header */
}
