/*
 Theme Name:   CareCash
 Theme URI:    https://carecashpay.com
 Description:  Custom CareCash theme built on Hello Elementor
 Author:       CareCash
 Author URI:   https://carecashpay.com
 Template:     hello-elementor
 Version:      2.0.0
 Text Domain:  carecash
*/

/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
    --cc-primary: #059669;
    --cc-primary-dark: #047857;
    --cc-primary-deeper: #064e3b;
    --cc-primary-light: #34d399;
    --cc-accent: #10b981;
    --cc-mint: #d1fae5;
    --cc-soft-green: #ecfdf5;

    --cc-text-dark: #111827;
    --cc-text: #374151;
    --cc-text-light: #6b7280;
    --cc-text-muted: #9ca3af;
    --cc-white: #ffffff;
    --cc-bg-light: #f9fafb;
    --cc-border: #e5e7eb;

    --cc-shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --cc-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --cc-shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --cc-shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);

    --cc-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --cc-radius: 8px;
    --cc-radius-lg: 12px;
    --cc-radius-xl: 16px;
}

/* ============================================
   GLOBAL RESET & BASE
   ============================================ */
body {
    font-family: var(--cc-font);
    color: var(--cc-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a:hover {
    color: var(--cc-primary-dark);
}

/* ============================================
   WORDPRESS OVERRIDES — fix artifacts
   ============================================ */
.page-header { display: none !important; }

.page-content > p:empty,
.page-content > p > br:only-child { display: none; }

.site-main,
.page-content {
    max-width: none !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

.page-content > * {
    max-width: none !important;
}

/* Override WP block constrained layout */
.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
    max-width: none !important;
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.cc-header {
    background: var(--cc-white);
    border-bottom: 1px solid var(--cc-border);
    padding: 0 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--cc-shadow-sm);
}

.cc-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.cc-logo {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--cc-primary);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    letter-spacing: -0.02em;
}

.cc-logo:hover { color: var(--cc-primary-dark); }

.cc-logo svg {
    width: 36px;
    height: 36px;
}

.cc-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.cc-nav li { list-style: none; }

.cc-nav a {
    color: var(--cc-text-light);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 0;
    transition: color 0.2s ease;
    position: relative;
}

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

.cc-nav a:hover::after,
.cc-nav .current-menu-item a::after,
.cc-nav .current_page_item a::after {
    width: 100%;
}

.cc-nav a:hover { color: var(--cc-text-dark); }

.cc-nav-cta {
    background: var(--cc-primary) !important;
    color: var(--cc-white) !important;
    padding: 0.55rem 1.25rem !important;
    border-radius: var(--cc-radius);
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    transition: all 0.2s ease !important;
}

.cc-nav-cta::after { display: none !important; }

.cc-nav-cta:hover {
    background: var(--cc-primary-dark) !important;
    color: var(--cc-white) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(5,150,105,0.3);
}

/* Mobile hamburger */
.cc-mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.cc-mobile-toggle svg {
    width: 24px;
    height: 24px;
    color: var(--cc-text-dark);
}

@media (max-width: 768px) {
    .cc-mobile-toggle { display: block; }
    .cc-nav {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--cc-white);
        flex-direction: column;
        padding: 1rem 2rem;
        border-bottom: 1px solid var(--cc-border);
        box-shadow: var(--cc-shadow-lg);
        gap: 0.5rem;
    }
    .cc-nav.open { display: flex; }
    .cc-nav a::after { display: none; }
}

/* ============================================
   HERO — DARK VARIANT (Home, Practices)
   ============================================ */
.cc-hero-dark {
    background: #0a1a12;
    background-image:
        radial-gradient(ellipse 80% 50% at 50% -10%, rgba(5,150,105,0.25) 0%, transparent 70%),
        radial-gradient(ellipse 50% 60% at 85% 100%, rgba(16,185,129,0.12) 0%, transparent 70%);
    color: var(--cc-white);
    padding: 6rem 2rem 5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cc-hero-dark h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--cc-white);
    margin-bottom: 1.25rem;
    line-height: 1.1;
    letter-spacing: -0.025em;
}

.cc-hero-dark p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.75);
    margin-bottom: 2.25rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

/* ============================================
   HERO — GREEN GRADIENT VARIANT
   ============================================ */
.cc-hero-green {
    background: linear-gradient(135deg, #064e3b 0%, #047857 50%, #059669 100%);
    color: var(--cc-white);
    padding: 5rem 2rem 4.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cc-hero-green::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
    border-radius: 50%;
}

.cc-hero-green h1 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--cc-white);
    margin-bottom: 1.25rem;
    line-height: 1.1;
    letter-spacing: -0.025em;
}

.cc-hero-green p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

/* ============================================
   HERO — LIGHT VARIANT (Pricing)
   ============================================ */
.cc-hero-light {
    background: linear-gradient(135deg, var(--cc-soft-green) 0%, #d1fae5 50%, #a7f3d0 100%);
    color: var(--cc-text-dark);
    padding: 5rem 2rem 4.5rem;
    text-align: center;
}

.cc-hero-light h1 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--cc-text-dark);
    margin-bottom: 1.25rem;
    line-height: 1.1;
    letter-spacing: -0.025em;
}

.cc-hero-light p {
    font-size: 1.15rem;
    color: var(--cc-text);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

/* Shared hero inner */
.cc-hero-inner {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.7s ease-out;
}

.cc-hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .cc-hero-dark,
    .cc-hero-green,
    .cc-hero-light {
        padding: 3.5rem 1.5rem 3rem;
    }
    .cc-hero-dark h1,
    .cc-hero-green h1,
    .cc-hero-light h1 {
        font-size: 2.25rem;
    }
    .cc-hero-dark p,
    .cc-hero-green p,
    .cc-hero-light p {
        font-size: 1rem;
    }
}

/* ============================================
   STATS BAR
   ============================================ */
.cc-stats {
    background: #071a0f;
    padding: 2.5rem 2rem;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.cc-stats-inner {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.cc-stat-number {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--cc-primary-light);
    line-height: 1;
    margin-bottom: 0.4rem;
}

.cc-stat-label {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (max-width: 768px) {
    .cc-stats-inner {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    .cc-stat-number { font-size: 1.75rem; }
}

/* ============================================
   BUTTONS
   ============================================ */
.cc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.75rem;
    border-radius: var(--cc-radius);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.25s ease;
    border: 2px solid transparent;
    text-align: center;
    line-height: 1.4;
}

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

.cc-btn-primary:hover {
    background: var(--cc-primary-dark);
    border-color: var(--cc-primary-dark);
    color: var(--cc-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(5,150,105,0.35);
}

.cc-btn-accent {
    background: var(--cc-primary-light);
    color: var(--cc-primary-deeper);
    border-color: var(--cc-primary-light);
    font-weight: 700;
}

.cc-btn-accent:hover {
    background: #6ee7b7;
    border-color: #6ee7b7;
    color: var(--cc-primary-deeper);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(52,211,153,0.35);
}

.cc-btn-outline {
    background: transparent;
    color: var(--cc-primary);
    border-color: var(--cc-primary);
}

.cc-btn-outline:hover {
    background: var(--cc-primary);
    color: var(--cc-white);
    transform: translateY(-2px);
}

.cc-btn-outline-light {
    background: transparent;
    color: var(--cc-white);
    border-color: rgba(255,255,255,0.4);
}

.cc-btn-outline-light:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.7);
    color: var(--cc-white);
    transform: translateY(-2px);
}

.cc-btn-white {
    background: var(--cc-white);
    color: var(--cc-primary-dark);
    border-color: var(--cc-white);
    font-weight: 700;
}

.cc-btn-white:hover {
    background: var(--cc-soft-green);
    border-color: var(--cc-soft-green);
    color: var(--cc-primary-deeper);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(255,255,255,0.2);
}

.cc-btn-lg {
    padding: 1rem 2.25rem;
    font-size: 1.05rem;
}

/* ============================================
   SECTIONS
   ============================================ */
.cc-section {
    padding: 5rem 2rem;
}

.cc-section-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.cc-section-alt {
    background: var(--cc-bg-light);
}

.cc-section-mint {
    background: var(--cc-soft-green);
}

.cc-section-title {
    font-size: 2.25rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--cc-text-dark);
    letter-spacing: -0.02em;
}

.cc-section-subtitle {
    font-size: 1.1rem;
    color: var(--cc-text-light);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .cc-section { padding: 3rem 1.5rem; }
    .cc-section-title { font-size: 1.75rem; }
    .cc-section-subtitle { font-size: 1rem; margin-bottom: 2rem; }
}

/* ============================================
   CARDS / FEATURES GRID
   ============================================ */
.cc-grid {
    display: grid;
    gap: 1.5rem;
}

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

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

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

.cc-card {
    background: var(--cc-white);
    border: 1px solid var(--cc-border);
    border-radius: var(--cc-radius-xl);
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
}

.cc-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    border-radius: var(--cc-radius-xl) var(--cc-radius-xl) 0 0;
    background: transparent;
    transition: background 0.3s ease;
}

.cc-card:hover {
    box-shadow: var(--cc-shadow-lg);
    transform: translateY(-4px);
    border-color: transparent;
}

.cc-card:hover::before {
    background: linear-gradient(90deg, var(--cc-primary), var(--cc-primary-light));
}

.cc-card-icon {
    width: 52px;
    height: 52px;
    background: var(--cc-soft-green);
    border-radius: var(--cc-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    color: var(--cc-primary);
}

.cc-card-icon svg {
    width: 24px;
    height: 24px;
}

.cc-card h3 {
    font-size: 1.15rem;
    font-weight: 650;
    margin-bottom: 0.75rem;
    color: var(--cc-text-dark);
}

.cc-card p {
    color: var(--cc-text-light);
    font-size: 0.95rem;
    line-height: 1.65;
}

/* Centered card variant */
.cc-card-center {
    text-align: center;
}

.cc-card-center .cc-card-icon {
    margin: 0 auto 1.25rem;
}

/* ============================================
   STEPS (How It Works)
   ============================================ */
.cc-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
}

/* Connector line behind steps */
.cc-steps::before {
    content: '';
    position: absolute;
    top: 28px;
    left: calc(16.66% + 28px);
    right: calc(16.66% + 28px);
    height: 2px;
    background: linear-gradient(to right, var(--cc-primary), var(--cc-primary-light), var(--cc-primary));
    z-index: 0;
}

@media (max-width: 768px) {
    .cc-steps { grid-template-columns: 1fr; }
    .cc-steps::before { display: none; }
}

.cc-step {
    text-align: center;
    padding: 0 1rem;
    position: relative;
    z-index: 1;
}

.cc-step-number {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--cc-primary), var(--cc-primary-dark));
    color: var(--cc-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 auto 1.25rem;
    box-shadow: 0 4px 14px rgba(5,150,105,0.3);
}

.cc-step h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--cc-text-dark);
}

.cc-step p {
    color: var(--cc-text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.cc-testimonials {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .cc-testimonials { grid-template-columns: 1fr; }
}

.cc-testimonial {
    background: var(--cc-white);
    border: 1px solid var(--cc-border);
    border-left: 4px solid var(--cc-primary);
    border-radius: var(--cc-radius-lg);
    padding: 2rem;
    transition: box-shadow 0.3s ease;
}

.cc-testimonial:hover {
    box-shadow: var(--cc-shadow);
}

.cc-testimonial-stars {
    color: #f59e0b;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.cc-testimonial p {
    font-size: 1rem;
    color: var(--cc-text);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 1.25rem;
}

.cc-testimonial-author {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--cc-text-dark);
}

/* ============================================
   PRICING CARDS
   ============================================ */
.cc-pricing-card {
    background: var(--cc-white);
    border: 2px solid var(--cc-border);
    border-radius: var(--cc-radius-xl);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.cc-pricing-card:hover {
    box-shadow: var(--cc-shadow-lg);
    transform: translateY(-4px);
}

.cc-pricing-card.featured {
    border-color: var(--cc-primary);
    box-shadow: var(--cc-shadow);
}

.cc-pricing-card.featured::before {
    content: 'Most Popular';
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--cc-primary), var(--cc-primary-dark));
    color: var(--cc-white);
    padding: 0.3rem 1.25rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

.cc-pricing-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--cc-text-dark);
}

.cc-pricing-card .cc-price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--cc-primary);
    margin: 1rem 0;
    line-height: 1;
}

.cc-pricing-card .cc-price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--cc-text-light);
}

.cc-pricing-card .cc-price-note {
    font-size: 0.85rem;
    color: var(--cc-text-muted);
    margin-top: 0.25rem;
}

.cc-pricing-card ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 2rem;
    text-align: left;
}

.cc-pricing-card li {
    padding: 0.5rem 0;
    color: var(--cc-text);
    font-size: 0.95rem;
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
}

.cc-pricing-card li::before {
    content: '';
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 2px;
    background: var(--cc-soft-green);
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='%23059669' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 14px;
}

/* ============================================
   COMPARISON TABLE
   ============================================ */
.cc-table-wrap {
    max-width: 850px;
    margin: 0 auto;
    border-radius: var(--cc-radius-xl);
    overflow: hidden;
    box-shadow: var(--cc-shadow);
}

.cc-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--cc-white);
}

.cc-table thead {
    background: linear-gradient(135deg, var(--cc-primary-deeper), var(--cc-primary-dark));
}

.cc-table th {
    padding: 1rem 1.5rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--cc-white);
}

.cc-table th:not(:first-child) {
    text-align: right;
}

.cc-table td {
    padding: 1rem 1.5rem;
    font-size: 0.95rem;
    color: var(--cc-text);
    border-bottom: 1px solid var(--cc-border);
}

.cc-table td:not(:first-child) {
    text-align: right;
}

.cc-table .cc-table-old {
    color: var(--cc-text-muted);
    text-decoration: line-through;
}

.cc-table .cc-table-price {
    color: var(--cc-primary);
    font-weight: 700;
}

.cc-table .cc-table-save {
    color: var(--cc-primary);
    font-weight: 700;
    font-size: 0.85rem;
    background: var(--cc-soft-green);
    padding: 0.25rem 0.6rem;
    border-radius: 20px;
    display: inline-block;
}

.cc-table tbody tr:last-child td {
    border-bottom: none;
}

.cc-table tbody tr:hover {
    background: var(--cc-bg-light);
}

@media (max-width: 600px) {
    .cc-table th,
    .cc-table td { padding: 0.75rem 0.75rem; font-size: 0.85rem; }
}

/* ============================================
   CTA SECTION
   ============================================ */
.cc-cta-section {
    background: linear-gradient(135deg, var(--cc-primary-deeper) 0%, var(--cc-primary-dark) 50%, var(--cc-primary) 100%);
    padding: 5rem 2rem;
    text-align: center;
    color: var(--cc-white);
    position: relative;
    overflow: hidden;
}

.cc-cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.cc-cta-inner {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cc-cta-section h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--cc-white);
    letter-spacing: -0.02em;
}

.cc-cta-section p {
    font-size: 1.1rem;
    opacity: 0.85;
    margin-bottom: 2rem;
    color: var(--cc-white);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .cc-cta-section { padding: 3.5rem 1.5rem; }
    .cc-cta-section h2 { font-size: 1.75rem; }
}

/* ============================================
   BADGE
   ============================================ */
.cc-badge {
    display: inline-block;
    background: rgba(52,211,153,0.15);
    color: var(--cc-primary-light);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.25rem;
    border: 1px solid rgba(52,211,153,0.2);
}

.cc-badge-dark {
    background: rgba(52,211,153,0.1);
    color: var(--cc-primary-light);
    border-color: rgba(52,211,153,0.2);
}

.cc-badge-light {
    background: var(--cc-soft-green);
    color: var(--cc-primary-dark);
    border-color: var(--cc-mint);
}

/* ============================================
   FORMS
   ============================================ */
.cc-form-wrap {
    max-width: 640px;
    margin: 0 auto;
    background: var(--cc-white);
    border: 1px solid var(--cc-border);
    border-radius: var(--cc-radius-xl);
    padding: 2.5rem;
    box-shadow: var(--cc-shadow);
}

.cc-form-wrap h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-align: center;
}

.cc-form-wrap .cc-form-desc {
    color: var(--cc-text-light);
    text-align: center;
    margin-bottom: 2rem;
}

.cc-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

@media (max-width: 480px) {
    .cc-form-row { grid-template-columns: 1fr; }
}

.cc-form-group {
    margin-bottom: 1rem;
}

.cc-form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--cc-text-dark);
    margin-bottom: 0.375rem;
}

.cc-form-group input,
.cc-form-group select,
.cc-form-group textarea {
    width: 100%;
    padding: 0.7rem 0.9rem;
    border: 1.5px solid var(--cc-border);
    border-radius: var(--cc-radius);
    font-size: 0.95rem;
    font-family: var(--cc-font);
    color: var(--cc-text-dark);
    transition: all 0.2s ease;
    box-sizing: border-box;
    background: var(--cc-white);
}

.cc-form-group input:focus,
.cc-form-group select:focus,
.cc-form-group textarea:focus {
    outline: none;
    border-color: var(--cc-primary);
    box-shadow: 0 0 0 3px rgba(5,150,105,0.12);
}

.cc-form-group input::placeholder {
    color: var(--cc-text-muted);
}

.cc-form-submit {
    width: 100%;
    padding: 0.9rem;
    background: linear-gradient(135deg, var(--cc-primary), var(--cc-primary-dark));
    color: var(--cc-white);
    border: none;
    border-radius: var(--cc-radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    margin-top: 0.5rem;
}

.cc-form-submit:hover {
    box-shadow: 0 4px 14px rgba(5,150,105,0.35);
    transform: translateY(-1px);
}

.cc-form-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.cc-form-success {
    background: var(--cc-soft-green);
    border: 1px solid var(--cc-mint);
    border-radius: var(--cc-radius);
    padding: 1.5rem;
    text-align: center;
    color: var(--cc-primary-dark);
}

.cc-form-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: var(--cc-radius);
    padding: 0.75rem 1rem;
    color: #b91c1c;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.cc-hp-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
    overflow: hidden;
}

/* ============================================
   FOOTER
   ============================================ */
.cc-footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 4rem 2rem 2rem;
}

.cc-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2.5rem;
}

@media (max-width: 768px) {
    .cc-footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 480px) {
    .cc-footer-inner { grid-template-columns: 1fr; }
}

.cc-footer-brand {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--cc-white);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cc-footer h4 {
    color: var(--cc-white);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
}

.cc-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cc-footer li {
    margin-bottom: 0.6rem;
}

.cc-footer a {
    color: #94a3b8;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.cc-footer a:hover {
    color: var(--cc-white);
}

.cc-footer-bottom {
    max-width: 1200px;
    margin: 2.5rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid #1e293b;
    text-align: center;
    font-size: 0.85rem;
    color: #64748b;
}

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

.cc-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.cc-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* stagger children */
.cc-reveal.visible .cc-card:nth-child(1),
.cc-reveal.visible .cc-step:nth-child(1),
.cc-reveal.visible .cc-testimonial:nth-child(1),
.cc-reveal.visible .cc-pricing-card:nth-child(1) { transition-delay: 0s; }

.cc-reveal.visible .cc-card:nth-child(2),
.cc-reveal.visible .cc-step:nth-child(2),
.cc-reveal.visible .cc-testimonial:nth-child(2),
.cc-reveal.visible .cc-pricing-card:nth-child(2) { transition-delay: 0.1s; }

.cc-reveal.visible .cc-card:nth-child(3),
.cc-reveal.visible .cc-step:nth-child(3),
.cc-reveal.visible .cc-testimonial:nth-child(3),
.cc-reveal.visible .cc-pricing-card:nth-child(3) { transition-delay: 0.2s; }

.cc-reveal.visible .cc-card:nth-child(4) { transition-delay: 0.3s; }

.cc-reveal .cc-card,
.cc-reveal .cc-step,
.cc-reveal .cc-testimonial,
.cc-reveal .cc-pricing-card {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.cc-reveal.visible .cc-card,
.cc-reveal.visible .cc-step,
.cc-reveal.visible .cc-testimonial,
.cc-reveal.visible .cc-pricing-card {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   UTILITIES
   ============================================ */
.cc-text-center { text-align: center; }
.cc-text-primary { color: var(--cc-primary); }
.cc-mb-0 { margin-bottom: 0; }
.cc-mb-2 { margin-bottom: 1rem; }
.cc-mb-4 { margin-bottom: 2rem; }
.cc-mt-2 { margin-top: 1rem; }
.cc-mt-4 { margin-top: 2rem; }
.cc-max-w-narrow { max-width: 800px; margin-left: auto; margin-right: auto; }

/* WP admin bar offset */
body.logged-in .cc-header { top: 32px; }
@media (max-width: 782px) {
    body.logged-in .cc-header { top: 46px; }
}
