/* ============================================
   ThemeForge Pro - Main CSS
   ============================================ */

:root {
    --tf-primary: #4f46e5;
    --tf-secondary: #0ea5e9;
    --tf-accent: #f59e0b;
    --tf-text: #334155;
    --tf-heading: #0f172a;
    --tf-background: #ffffff;
    --tf-border: #e2e8f0;
    --tf-card: #ffffff;
    --tf-header-bg: #ffffff;
    --tf-footer-bg: #0f172a;
    --tf-font-body: 'Inter', system-ui, sans-serif;
    --tf-font-heading: 'Inter', system-ui, sans-serif;
    --tf-font-size: 16px;
    --tf-line-height: 1.7;
}

[data-theme="dark"] {
    --tf-text: #cbd5e1;
    --tf-heading: #f1f5f9;
    --tf-background: #0f172a;
    --tf-card: #1e293b;
    --tf-border: #334155;
    --tf-header-bg: #0f172a;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--tf-font-body);
    font-size: var(--tf-font-size);
    line-height: var(--tf-line-height);
    color: var(--tf-text);
    background: var(--tf-background);
    transition: background-color 0.35s ease, color 0.35s ease;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--tf-primary); text-decoration: none; transition: color 0.25s ease; }
a:hover { color: var(--tf-secondary); }
h1, h2, h3, h4, h5, h6 {
    font-family: var(--tf-font-heading);
    color: var(--tf-heading);
    line-height: 1.2;
    margin: 0 0 0.5em;
    font-weight: 700;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.75rem); }
p { margin: 0 0 1.2em; }
button { font-family: inherit; cursor: pointer; }

.screen-reader-text {
    position: absolute !important; width: 1px; height: 1px;
    overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap;
}
.tf-skip-link:focus {
    position: fixed; top: 10px; left: 10px;
    width: auto; height: auto; clip: auto;
    background: var(--tf-primary); color: #fff; padding: 12px 20px;
    z-index: 99999; border-radius: 6px;
}

/* Container */
.tf-container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.tf-section { padding: 80px 0; }
.tf-main { min-height: 60vh; padding: 40px 0; }

/* ========== HEADER ========== */
.tf-header {
    position: relative;
    z-index: 1000;
    background: var(--tf-header-bg);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}
.tf-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px 0;
}
.tf-site-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--tf-heading);
}
.tf-menu { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.tf-menu a {
    color: var(--tf-heading);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 0;
    position: relative;
}
.tf-menu a::after {
    content: ''; position: absolute; left: 0; bottom: 0;
    width: 0; height: 2px; background: var(--tf-primary);
    transition: width 0.3s ease;
}
.tf-menu a:hover::after { width: 100%; }

.tf-header-actions { display: flex; align-items: center; gap: 12px; }

/* ========== BUTTONS ========== */
.tf-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease;
    white-space: nowrap;
}
.tf-btn:active { transform: scale(0.97); }
.tf-btn-lg { padding: 16px 32px; font-size: 1.05rem; }
.tf-btn-primary {
    background: var(--tf-primary);
    color: #fff;
    box-shadow: 0 8px 20px -6px rgba(79, 70, 229, 0.5);
}
.tf-btn-primary:hover {
    background: var(--tf-secondary);
    color: #fff;
    transform: translateY(-2px);
}
.tf-btn-outline {
    background: transparent;
    color: var(--tf-heading);
    border-color: var(--tf-border);
}
.tf-btn-outline:hover {
    border-color: var(--tf-primary);
    color: var(--tf-primary);
    transform: translateY(-2px);
}

/* ========== HERO ========== */
.tf-hero {
    position: relative;
    overflow: hidden;
    padding: 100px 0 80px;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}
.tf-hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}
.tf-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}
.tf-hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
}
.tf-blob-1 {
    width: 400px; height: 400px;
    background: #4f46e5;
    top: -100px; left: -100px;
    animation: tf-blob-float 18s ease-in-out infinite;
}
.tf-blob-2 {
    width: 350px; height: 350px;
    background: #0ea5e9;
    bottom: -100px; right: -80px;
    animation: tf-blob-float 22s ease-in-out infinite reverse;
}
.tf-blob-3 {
    width: 300px; height: 300px;
    background: #f59e0b;
    top: 40%; left: 45%;
    opacity: 0.2;
    animation: tf-blob-float 26s ease-in-out infinite;
}

.tf-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 100px;
    background: rgba(79, 70, 229, 0.1);
    color: var(--tf-primary);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 20px;
}
.tf-hero-title { margin-bottom: 20px; }
.tf-hero-subtitle {
    font-size: 1.15rem;
    color: var(--tf-text);
    opacity: 0.85;
    margin-bottom: 32px;
}
.tf-hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}
.tf-hero-trust {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--tf-text);
    opacity: 0.8;
}
.tf-stars {
    color: var(--tf-accent);
    letter-spacing: 2px;
}

/* Browser Mockup */
.tf-hero-visual { position: relative; }
.tf-browser-mockup {
    background: var(--tf-card);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 30px 60px -20px rgba(15, 23, 42, 0.25);
    border: 1px solid var(--tf-border);
}
.tf-browser-bar {
    display: flex;
    gap: 6px;
    padding: 12px 16px;
    background: #f1f5f9;
    border-bottom: 1px solid var(--tf-border);
}
.tf-browser-bar span {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: #cbd5e1;
}
.tf-browser-bar span:nth-child(1) { background: #ef4444; }
.tf-browser-bar span:nth-child(2) { background: #f59e0b; }
.tf-browser-bar span:nth-child(3) { background: #10b981; }
.tf-browser-body {
    min-height: 320px;
    padding: 40px 20px;
    text-align: center;
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
}

.tf-float-card {
    position: absolute;
    background: #fff;
    border: 1px solid var(--tf-border);
    border-radius: 12px;
    padding: 12px 18px;
    box-shadow: 0 16px 32px -12px rgba(15, 23, 42, 0.22);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 3;
    animation: tf-float 6s ease-in-out infinite;
}
.tf-float-card strong {
    font-size: 1.1rem;
    color: var(--tf-heading);
}
.tf-float-card span {
    font-size: 0.75rem;
    color: var(--tf-text);
    opacity: 0.75;
}
.tf-card-perf {
    top: -20px; left: -30px;
    animation-delay: 0s;
}
.tf-card-rating {
    top: 40%; right: -40px;
    animation-delay: 1s;
}
.tf-card-users {
    bottom: -10px; left: 20px;
    animation-delay: 2s;
}

/* ========== SECTIONS ========== */
.tf-section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 56px;
}
.tf-eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--tf-primary);
    margin-bottom: 12px;
}
.tf-section-title { margin-bottom: 12px; }
.tf-section-desc {
    color: var(--tf-text);
    opacity: 0.8;
    margin: 0;
}

/* ========== BLOG CARDS ========== */
.tf-blog-section { background: #f8fafc; }
.tf-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.tf-blog-card {
    background: #fff;
    border: 1px solid var(--tf-border);
    border-radius: 14px;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.tf-blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px -20px rgba(15, 23, 42, 0.18);
}
.tf-post-thumb {
    display: block;
    overflow: hidden;
    aspect-ratio: 16/10;
    background: #e2e8f0;
}
.tf-post-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.tf-blog-card:hover .tf-post-thumb img { transform: scale(1.06); }
.tf-blog-card-body { padding: 24px; }
.tf-blog-card-body h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
}
.tf-blog-card-body h3 a { color: var(--tf-heading); }
.tf-blog-card-body h3 a:hover { color: var(--tf-primary); }
.tf-blog-card-body p {
    color: var(--tf-text);
    opacity: 0.85;
    font-size: 0.95rem;
}
.tf-post-meta {
    display: flex;
    gap: 12px;
    font-size: 0.8rem;
    color: var(--tf-text);
    opacity: 0.7;
    margin-bottom: 10px;
}
.tf-read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--tf-primary);
}

/* ========== FOOTER ========== */
.tf-footer {
    background: var(--tf-footer-bg);
    color: #cbd5e1;
    padding: 64px 0 24px;
}
.tf-footer-widgets {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.tf-footer-logo {
    display: inline-block;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 16px;
}
.tf-footer-col-brand p {
    color: #94a3b8;
    margin: 0;
}
.tf-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 24px;
    flex-wrap: wrap;
}
.tf-footer-copyright {
    color: #94a3b8;
    font-size: 0.9rem;
}
.tf-footer-links {
    display: flex;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.tf-footer-links a {
    color: #94a3b8;
    font-size: 0.9rem;
}
.tf-footer-links a:hover { color: #fff; }

/* ========== ANIMATIONS ========== */
@keyframes tf-blob-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%      { transform: translate(30px, -30px) scale(1.05); }
    66%      { transform: translate(-20px, 20px) scale(0.95); }
}
@keyframes tf-float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-12px); }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .tf-blog-grid { grid-template-columns: repeat(2, 1fr); }
    .tf-footer-widgets { grid-template-columns: 1fr 1fr; }
    .tf-hero-inner { grid-template-columns: 1fr; gap: 48px; }
    .tf-hero-visual { max-width: 560px; margin: 0 auto; }
}
@media (max-width: 640px) {
    .tf-container { padding: 0 16px; }
    .tf-section { padding: 56px 0; }
    .tf-hero { padding: 72px 0 56px; }
    .tf-blog-grid { grid-template-columns: 1fr; }
    .tf-footer-widgets { grid-template-columns: 1fr; gap: 28px; }
    .tf-footer-bottom { flex-direction: column; text-align: center; }
    .tf-float-card { display: none; }
}
/* ============================================
   PREMIUM UPGRADE - Additional Styles
   ============================================ */

/* Typography Scale */
:root {
    --tf-h1: clamp(2.5rem, 5vw, 4rem);
    --tf-h2: clamp(2rem, 3.5vw, 3rem);
    --tf-h3: clamp(1.5rem, 2.5vw, 2rem);
    --tf-letter-tight: -0.03em;
}
h1 { font-size: var(--tf-h1); letter-spacing: var(--tf-letter-tight); font-weight: 800; }
h2 { font-size: var(--tf-h2); letter-spacing: var(--tf-letter-tight); font-weight: 700; }
h3 { font-size: var(--tf-h3); letter-spacing: -0.02em; font-weight: 700; }

/* Glassmorphism Header */
.tf-header.is-scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
}
[data-theme="dark"] .tf-header.is-scrolled {
    background: rgba(15, 23, 42, 0.85);
}

/* Gradient Text */
.tf-gradient-text {
    background: linear-gradient(135deg, var(--tf-primary), var(--tf-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========== PRICING ========== */
.tf-pricing-section { background: #f8fafc; }
.tf-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: start;
}
.tf-pricing-card {
    background: #fff;
    border: 2px solid var(--tf-border);
    border-radius: 20px;
    padding: 40px 32px;
    text-align: center;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.tf-pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px -20px rgba(15, 23, 42, 0.2);
}
.tf-pricing-card.is-featured {
    border-color: var(--tf-primary);
    transform: scale(1.05);
    box-shadow: 0 30px 60px -20px rgba(79, 70, 229, 0.4);
}
.tf-pricing-card.is-featured:hover { transform: scale(1.05) translateY(-6px); }
.tf-pricing-badge {
    position: absolute;
    top: -12px; left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--tf-primary), var(--tf-secondary));
    color: #fff;
    padding: 6px 18px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.tf-pricing-name { font-size: 1.25rem; margin-bottom: 12px; }
.tf-pricing-price {
    margin-bottom: 24px;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
}
.tf-pricing-currency { font-size: 1.25rem; color: var(--tf-primary); font-weight: 700; }
.tf-pricing-amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--tf-heading);
    line-height: 1;
}
.tf-pricing-period { font-size: 0.9rem; color: var(--tf-text); opacity: 0.7; }
.tf-pricing-features {
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
    text-align: left;
}
.tf-pricing-features li {
    padding: 10px 0;
    border-bottom: 1px solid var(--tf-border);
    font-size: 0.95rem;
}
.tf-pricing-features li::before {
    content: '✓ ';
    color: var(--tf-primary);
    font-weight: 700;
    margin-right: 8px;
}

/* ========== FAQ ACCORDION ========== */
.tf-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.tf-accordion-item {
    background: #fff;
    border: 1px solid var(--tf-border);
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}
.tf-accordion-item.is-open {
    box-shadow: 0 12px 24px -8px rgba(15, 23, 42, 0.1);
}
.tf-accordion-trigger {
    width: 100%;
    padding: 20px 24px;
    background: transparent;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: var(--tf-heading);
    text-align: left;
}
.tf-accordion-icon {
    font-size: 1.5rem;
    color: var(--tf-primary);
    transition: transform 0.3s ease;
    line-height: 1;
}
.tf-accordion-item.is-open .tf-accordion-icon { transform: rotate(45deg); }
.tf-accordion-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}
.tf-accordion-item.is-open .tf-accordion-panel { max-height: 500px; }
.tf-accordion-content {
    padding: 0 24px 20px;
    color: var(--tf-text);
    line-height: 1.7;
}

/* ========== PORTFOLIO ========== */
.tf-portfolio-section { background: #fff; }
.tf-portfolio-filters {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}
.tf-filter-btn {
    padding: 10px 22px;
    border-radius: 100px;
    border: 1px solid var(--tf-border);
    background: #fff;
    color: var(--tf-text);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.25s ease;
}
.tf-filter-btn:hover { border-color: var(--tf-primary); color: var(--tf-primary); }
.tf-filter-btn.is-active {
    background: var(--tf-primary);
    color: #fff;
    border-color: var(--tf-primary);
}
.tf-portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.tf-portfolio-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    transition: transform 0.4s ease, opacity 0.4s ease;
}
.tf-portfolio-item.is-hidden { display: none; }
.tf-portfolio-item.is-filtering { opacity: 0; transform: scale(0.9); }
.tf-portfolio-thumb {
    position: absolute;
    inset: 0;
    transition: transform 0.6s ease;
}
.tf-portfolio-item:hover .tf-portfolio-thumb { transform: scale(1.08); }
.tf-portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(15, 23, 42, 0.9));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.35s ease;
}
.tf-portfolio-item:hover .tf-portfolio-overlay { opacity: 1; }
.tf-portfolio-overlay h3 { color: #fff; margin: 0 0 4px; font-size: 1.15rem; }
.tf-portfolio-overlay span { color: var(--tf-primary); font-size: 0.85rem; font-weight: 600; }

/* ========== STATS COUNTER ========== */
.tf-stats-section {
    background: linear-gradient(135deg, var(--tf-primary), var(--tf-secondary));
    color: #fff;
}
.tf-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}
.tf-stat-item { color: #fff; }
.tf-stat-number {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 8px;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
}
.tf-stat-label {
    font-size: 0.95rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}

/* ========== TEAM ========== */
.tf-team-section { background: #f8fafc; }
.tf-team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}
.tf-team-card {
    background: #fff;
    border: 1px solid var(--tf-border);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.tf-team-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px -20px rgba(15, 23, 42, 0.15);
}
.tf-team-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
}
.tf-team-card h3 { font-size: 1.1rem; margin-bottom: 4px; }
.tf-team-card p { color: var(--tf-primary); font-size: 0.9rem; font-weight: 600; margin: 0; }

/* Responsive for new sections */
@media (max-width: 1024px) {
    .tf-pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
    .tf-pricing-card.is-featured { transform: none; }
    .tf-portfolio-grid { grid-template-columns: repeat(2, 1fr); }
    .tf-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
    .tf-team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .tf-portfolio-grid { grid-template-columns: 1fr; }
    .tf-stats-grid { grid-template-columns: 1fr; }
    .tf-team-grid { grid-template-columns: 1fr; }
    .tf-pricing-card { padding: 32px 24px; }
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.tf-features-section { background: #fff; padding: 80px 0; }
.tf-features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.tf-feature-card { position: relative; background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 32px 28px; transition: all 0.35s ease; }
.tf-feature-card:hover { transform: translateY(-8px); box-shadow: 0 24px 48px -20px rgba(15,23,42,0.2); border-color: #4f46e5; }
.tf-feature-icon { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 12px; background: linear-gradient(135deg, #4f46e5, #0ea5e9); color: #fff; margin-bottom: 20px; }
.tf-feature-icon svg { width: 24px; height: 24px; stroke: #fff; }
.tf-feature-title { font-size: 1.15rem; font-weight: 700; color: #0f172a; margin: 0 0 8px; }
.tf-feature-desc { color: #334155; opacity: 0.8; margin: 0; font-size: 0.95rem; line-height: 1.6; }
.tf-feature-arrow { position: absolute; top: 28px; right: 28px; opacity: 0; transform: translateX(-6px); color: #4f46e5; font-size: 1.2rem; font-weight: 700; transition: all 0.3s ease; }
.tf-feature-card:hover .tf-feature-arrow { opacity: 1; transform: translateX(0); }

.tf-section-header { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.tf-eyebrow { display: inline-block; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: #4f46e5; margin-bottom: 12px; }
.tf-section-title { font-size: clamp(1.6rem, 3.5vw, 2.5rem); margin-bottom: 12px; color: #0f172a; }
.tf-section-desc { color: #334155; opacity: 0.8; margin: 0; font-size: 1.05rem; }

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

@media (max-width: 1024px) { .tf-features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .tf-features-grid { grid-template-columns: 1fr; } .tf-features-section { padding: 56px 0; } .tf-feature-card { padding: 24px 20px; } }


/* ============================================
   TESTIMONIALS
   ============================================ */
.tf-testimonials-section { background: #fff; padding: 80px 0; }
.tf-carousel { position: relative; overflow: hidden; }
.tf-carousel-track { display: flex; transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1); }
.tf-carousel-slide { flex: 0 0 100%; padding: 0 16px; }
.tf-testimonial {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 36px;
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}
.tf-testimonial-rating { color: #f59e0b; font-size: 1.2rem; margin-bottom: 16px; letter-spacing: 3px; }
.tf-testimonial-text {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #0f172a;
    margin: 0 0 24px;
    font-style: italic;
    border: none;
    padding: 0;
}
.tf-testimonial-author { display: inline-flex; align-items: center; gap: 14px; }
.tf-testimonial-author div { display: flex; flex-direction: column; text-align: left; }
.tf-testimonial-author strong { color: #0f172a; font-weight: 700; }
.tf-testimonial-author span { font-size: 0.85rem; color: #64748b; }
.tf-testimonial-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4f46e5, #0ea5e9);
    color: #fff;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.tf-carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 32px;
}
.tf-carousel-prev, .tf-carousel-next {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #0f172a;
    cursor: pointer;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}
.tf-carousel-prev:hover, .tf-carousel-next:hover {
    background: #4f46e5;
    color: #fff;
    border-color: #4f46e5;
}
.tf-carousel-dots { display: flex; gap: 8px; }
.tf-carousel-dots button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: #cbd5e1;
    padding: 0;
    cursor: pointer;
    transition: all 0.25s ease;
}
.tf-carousel-dots button.is-active { background: #4f46e5; transform: scale(1.3); }

/* ============================================
   HERO (agar missing hai to)
   ============================================ */
.tf-hero {
    position: relative;
    overflow: hidden;
    padding: 100px 0 80px;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}
.tf-hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}
.tf-hero-bg { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.tf-hero-blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.4; }
.tf-blob-1 { width: 400px; height: 400px; background: #4f46e5; top: -100px; left: -100px; animation: tf-blob-float 18s ease-in-out infinite; }
.tf-blob-2 { width: 350px; height: 350px; background: #0ea5e9; bottom: -100px; right: -80px; animation: tf-blob-float 22s ease-in-out infinite reverse; }
.tf-blob-3 { width: 300px; height: 300px; background: #f59e0b; top: 40%; left: 45%; opacity: 0.2; animation: tf-blob-float 26s ease-in-out infinite; }
.tf-badge {
    display: inline-flex;
    padding: 6px 14px;
    border-radius: 100px;
    background: rgba(79,70,229,0.1);
    color: #4f46e5;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 20px;
}
.tf-hero-title { margin-bottom: 20px; color: #0f172a; }
.tf-hero-subtitle { font-size: 1.15rem; color: #334155; opacity: 0.85; margin-bottom: 32px; }
.tf-hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 24px; }
.tf-hero-trust { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; color: #334155; opacity: 0.8; }
.tf-stars { color: #f59e0b; letter-spacing: 2px; font-size: 1.1rem; }
.tf-hero-visual { position: relative; }

/* ============================================
   BROWSER MOCKUP + FLOAT CARDS
   ============================================ */
.tf-browser-mockup {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 30px 60px -20px rgba(15,23,42,0.25);
    border: 1px solid #e2e8f0;
}
.tf-browser-bar { display: flex; gap: 6px; padding: 12px 16px; background: #f1f5f9; border-bottom: 1px solid #e2e8f0; }
.tf-browser-bar span { width: 10px; height: 10px; border-radius: 50%; }
.tf-browser-bar span:nth-child(1) { background: #ef4444; }
.tf-browser-bar span:nth-child(2) { background: #f59e0b; }
.tf-browser-bar span:nth-child(3) { background: #10b981; }
.tf-browser-body { min-height: 320px; padding: 40px 20px; text-align: center; background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%); }
.tf-float-card {
    position: absolute;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 18px;
    box-shadow: 0 16px 32px -12px rgba(15,23,42,0.22);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 3;
    animation: tf-float 6s ease-in-out infinite;
}
.tf-float-card strong { font-size: 1.1rem; color: #0f172a; }
.tf-float-card span { font-size: 0.75rem; color: #64748b; }
.tf-card-perf { top: -20px; left: -30px; }
.tf-card-rating { top: 40%; right: -40px; animation-delay: 1s; }
.tf-card-users { bottom: -10px; left: 20px; animation-delay: 2s; }

/* ============================================
   BUTTONS
   ============================================ */
.tf-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.25s ease;
    white-space: nowrap;
}
.tf-btn-lg { padding: 16px 32px; font-size: 1.05rem; }
.tf-btn-primary { background: #4f46e5; color: #fff; box-shadow: 0 8px 20px -6px rgba(79,70,229,0.5); }
.tf-btn-primary:hover { background: #0ea5e9; color: #fff; transform: translateY(-2px); }
.tf-btn-outline { background: transparent; color: #0f172a; border-color: #e2e8f0; }
.tf-btn-outline:hover { border-color: #4f46e5; color: #4f46e5; transform: translateY(-2px); }

/* ============================================
   HEADER
   ============================================ */
.tf-header {
    position: relative;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 1px 3px rgba(15,23,42,0.06);
    transition: all 0.35s ease;
}
.tf-header.is-scrolled {
    position: sticky;
    top: 0;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(15,23,42,0.08);
}
.tf-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px 0;
}
.tf-site-title { font-size: 1.5rem; font-weight: 800; color: #0f172a; }
.tf-menu { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.tf-menu a { color: #0f172a; font-weight: 500; font-size: 0.95rem; padding: 8px 0; position: relative; }
.tf-menu a::after { content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: #4f46e5; transition: width 0.3s ease; }
.tf-menu a:hover::after { width: 100%; }
.tf-header-actions { display: flex; align-items: center; gap: 12px; }
.tf-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    color: #0f172a;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.25s ease;
}
.tf-icon-btn:hover { background: rgba(79,70,229,0.1); color: #4f46e5; }

/* ============================================
   FOOTER
   ============================================ */
.tf-footer { background: #0f172a; color: #cbd5e1; padding: 64px 0 24px; }
.tf-footer-widgets {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.tf-footer-logo { display: inline-block; color: #fff; font-size: 1.5rem; font-weight: 800; margin-bottom: 16px; }
.tf-footer-col-brand p { color: #94a3b8; margin: 0; }
.tf-footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 24px; flex-wrap: wrap; }
.tf-footer-copyright { color: #94a3b8; font-size: 0.9rem; }
.tf-footer-links { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; }
.tf-footer-links a { color: #94a3b8; font-size: 0.9rem; }
.tf-footer-links a:hover { color: #fff; }
.tf-social-links { display: flex; gap: 12px; margin-top: 16px; }
.tf-social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
    font-weight: 700;
    transition: all 0.25s ease;
}
.tf-social-links a:hover { background: #4f46e5; color: #fff; }

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes tf-blob-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%      { transform: translate(30px, -30px) scale(1.05); }
    66%      { transform: translate(-20px, 20px) scale(0.95); }
}
@keyframes tf-float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-12px); }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .tf-hero-inner { grid-template-columns: 1fr; gap: 48px; }
    .tf-hero-visual { max-width: 560px; margin: 0 auto; }
    .tf-footer-widgets { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
    .tf-container { padding: 0 16px; }
    .tf-section { padding: 56px 0; }
    .tf-hero { padding: 72px 0 56px; }
    .tf-footer-widgets { grid-template-columns: 1fr; gap: 28px; }
    .tf-footer-bottom { flex-direction: column; text-align: center; }
    .tf-float-card { display: none; }
}


/* ============================================================
   THEMEFORGE PRO — COMPLETE STYLES
   ============================================================ */

/* CSS VARIABLES */
:root {
    --tf-primary: #4f46e5;
    --tf-secondary: #0ea5e9;
    --tf-accent: #f59e0b;
    --tf-text: #334155;
    --tf-heading: #0f172a;
    --tf-background: #ffffff;
    --tf-border: #e2e8f0;
    --tf-card: #ffffff;
    --tf-header-bg: #ffffff;
    --tf-footer-bg: #0f172a;
    --tf-font-body: 'Inter', system-ui, sans-serif;
    --tf-font-heading: 'Inter', system-ui, sans-serif;
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--tf-font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--tf-text);
    background: var(--tf-background);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--tf-primary); text-decoration: none; transition: color 0.25s ease; }
a:hover { color: var(--tf-secondary); }
h1, h2, h3, h4, h5, h6 {
    font-family: var(--tf-font-heading);
    color: var(--tf-heading);
    line-height: 1.2;
    margin: 0 0 0.5em;
    font-weight: 700;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.75rem); }
p { margin: 0 0 1.2em; }
button { font-family: inherit; cursor: pointer; }

/* CONTAINER */
.tf-container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.tf-section { padding: 80px 0; }
.tf-main { min-height: 60vh; padding: 40px 0; }

/* HEADER */
.tf-header {
    position: relative;
    z-index: 100;
    background: var(--tf-header-bg);
    border-bottom: 1px solid var(--tf-border);
}
.tf-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px 0;
}
.tf-site-title { font-size: 1.5rem; font-weight: 800; color: var(--tf-heading); }
.tf-menu { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.tf-menu a { color: var(--tf-heading); font-weight: 500; font-size: 0.95rem; padding: 8px 0; position: relative; }
.tf-menu a::after { content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--tf-primary); transition: width 0.3s ease; }
.tf-menu a:hover::after { width: 100%; }
.tf-header-actions { display: flex; align-items: center; gap: 12px; }
.tf-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    color: var(--tf-heading);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.25s ease;
}
.tf-icon-btn:hover { background: rgba(79,70,229,0.1); color: var(--tf-primary); }

/* BUTTONS */
.tf-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.25s ease;
    white-space: nowrap;
}
.tf-btn-lg { padding: 16px 32px; font-size: 1.05rem; }
.tf-btn-primary { background: var(--tf-primary); color: #fff !important; box-shadow: 0 8px 20px -6px rgba(79,70,229,0.5); }
.tf-btn-primary:hover { background: var(--tf-secondary); color: #fff !important; transform: translateY(-2px); }
.tf-btn-outline { background: transparent; color: var(--tf-heading); border-color: var(--tf-border); }
.tf-btn-outline:hover { border-color: var(--tf-primary); color: var(--tf-primary); transform: translateY(-2px); }

/* HERO */
.tf-hero {
    position: relative;
    overflow: hidden;
    padding: 100px 0 80px;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}
.tf-hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}
.tf-hero-bg { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.tf-hero-blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.4; }
.tf-blob-1 { width: 400px; height: 400px; background: #4f46e5; top: -100px; left: -100px; }
.tf-blob-2 { width: 350px; height: 350px; background: #0ea5e9; bottom: -100px; right: -80px; }
.tf-blob-3 { width: 300px; height: 300px; background: #f59e0b; top: 40%; left: 45%; opacity: 0.2; }
.tf-badge {
    display: inline-flex;
    padding: 6px 14px;
    border-radius: 100px;
    background: rgba(79,70,229,0.1);
    color: var(--tf-primary);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 20px;
}
.tf-hero-title { margin-bottom: 20px; }
.tf-hero-subtitle { font-size: 1.15rem; opacity: 0.85; margin-bottom: 32px; }
.tf-hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 24px; }
.tf-hero-trust { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; opacity: 0.8; }
.tf-stars { color: var(--tf-accent); letter-spacing: 2px; }

.tf-hero-visual { position: relative; }
.tf-browser-mockup {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 30px 60px -20px rgba(15,23,42,0.25);
    border: 1px solid var(--tf-border);
}
.tf-browser-bar { display: flex; gap: 6px; padding: 12px 16px; background: #f1f5f9; border-bottom: 1px solid var(--tf-border); }
.tf-browser-bar span { width: 10px; height: 10px; border-radius: 50%; }
.tf-browser-bar span:nth-child(1) { background: #ef4444; }
.tf-browser-bar span:nth-child(2) { background: #f59e0b; }
.tf-browser-bar span:nth-child(3) { background: #10b981; }
.tf-browser-body { min-height: 320px; padding: 40px 20px; text-align: center; background: linear-gradient(135deg, #f8fafc, #e0e7ff); }

.tf-float-card {
    position: absolute;
    background: #fff;
    border: 1px solid var(--tf-border);
    border-radius: 12px;
    padding: 12px 18px;
    box-shadow: 0 16px 32px -12px rgba(15,23,42,0.22);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 3;
}
.tf-float-card strong { font-size: 1.1rem; color: var(--tf-heading); }
.tf-float-card span { font-size: 0.75rem; color: var(--tf-text); }
.tf-card-perf { top: -20px; left: -30px; }
.tf-card-rating { top: 40%; right: -40px; }
.tf-card-users { bottom: -10px; left: 20px; }

/* SECTION HEADERS */
.tf-section-header { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.tf-eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--tf-primary);
    margin-bottom: 12px;
}
.tf-section-title { margin-bottom: 12px; }
.tf-section-desc { opacity: 0.8; margin: 0; }

/* FEATURES */
.tf-features-section { background: #fff; }
.tf-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.tf-feature-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--tf-border);
    border-radius: 14px;
    padding: 32px 28px;
    transition: all 0.35s ease;
}
.tf-feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 48px -20px rgba(15,23,42,0.2);
    border-color: var(--tf-primary);
}
.tf-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: linear-gradient(135deg, #4f46e5, #0ea5e9);
    color: #fff;
    margin-bottom: 20px;
}
.tf-feature-icon svg { width: 24px; height: 24px; }
.tf-feature-title { font-size: 1.15rem; margin-bottom: 8px; }
.tf-feature-desc { opacity: 0.8; margin: 0; font-size: 0.95rem; }
.tf-feature-arrow {
    position: absolute;
    top: 28px;
    right: 28px;
    opacity: 0;
    transform: translateX(-6px);
    color: var(--tf-primary);
    font-size: 1.2rem;
    font-weight: 700;
    transition: all 0.3s ease;
}
.tf-feature-card:hover .tf-feature-arrow { opacity: 1; transform: translateX(0); }

/* STATS */
.tf-stats-section {
    background: linear-gradient(135deg, var(--tf-primary), var(--tf-secondary));
    color: #fff;
    padding: 80px 0;
}
.tf-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; text-align: center; }
.tf-stat-item { color: #fff; }
.tf-stat-number {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 8px;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
}
.tf-stat-label { font-size: 0.95rem; opacity: 0.9; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; }

/* PORTFOLIO */
.tf-portfolio-section { background: #fff; padding: 80px 0; }
.tf-portfolio-filters { display: flex; gap: 10px; justify-content: center; margin-bottom: 40px; flex-wrap: wrap; }
.tf-filter-btn {
    padding: 10px 22px;
    border-radius: 100px;
    border: 1px solid var(--tf-border);
    background: #fff;
    color: var(--tf-text);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.25s ease;
}
.tf-filter-btn:hover { border-color: var(--tf-primary); color: var(--tf-primary); }
.tf-filter-btn.is-active { background: var(--tf-primary); color: #fff; border-color: var(--tf-primary); }
.tf-portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tf-portfolio-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}
.tf-portfolio-thumb { position: absolute; inset: 0; transition: transform 0.6s ease; }
.tf-portfolio-item:hover .tf-portfolio-thumb { transform: scale(1.08); }
.tf-portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(15,23,42,0.9));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.35s ease;
}
.tf-portfolio-item:hover .tf-portfolio-overlay { opacity: 1; }
.tf-portfolio-overlay h3 { color: #fff; margin: 0 0 4px; font-size: 1.15rem; }
.tf-portfolio-overlay span { color: var(--tf-secondary); font-size: 0.85rem; font-weight: 600; }

/* PRICING */
.tf-pricing-section { background: #f8fafc; padding: 80px 0; }
.tf-pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: start; }
.tf-pricing-card {
    background: #fff;
    border: 2px solid var(--tf-border);
    border-radius: 20px;
    padding: 40px 32px;
    text-align: center;
    position: relative;
    transition: all 0.4s ease;
}
.tf-pricing-card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px -20px rgba(15,23,42,0.2); }
.tf-pricing-card.is-featured {
    border-color: var(--tf-primary);
    transform: scale(1.05);
    box-shadow: 0 30px 60px -20px rgba(79,70,229,0.4);
}
.tf-pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--tf-primary), var(--tf-secondary));
    color: #fff;
    padding: 6px 18px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}
.tf-pricing-name { font-size: 1.25rem; margin-bottom: 12px; }
.tf-pricing-price { margin-bottom: 24px; display: flex; align-items: baseline; justify-content: center; gap: 2px; }
.tf-pricing-currency { font-size: 1.25rem; color: var(--tf-primary); font-weight: 700; }
.tf-pricing-amount { font-size: 3rem; font-weight: 800; color: var(--tf-heading); line-height: 1; }
.tf-pricing-period { font-size: 0.9rem; opacity: 0.7; }
.tf-pricing-features { list-style: none; margin: 0 0 28px; padding: 0; text-align: left; }
.tf-pricing-features li { padding: 10px 0; border-bottom: 1px solid var(--tf-border); font-size: 0.95rem; }
.tf-pricing-features li::before { content: '✓ '; color: var(--tf-primary); font-weight: 700; margin-right: 8px; }

/* TEAM */
.tf-team-section { background: #f8fafc; padding: 80px 0; }
.tf-team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.tf-team-card {
    background: #fff;
    border: 1px solid var(--tf-border);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.35s ease;
}
.tf-team-card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px -20px rgba(15,23,42,0.15); }
.tf-team-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #4f46e5, #0ea5e9);
}
.tf-team-card h3 { font-size: 1.1rem; margin-bottom: 4px; }
.tf-team-card p { color: var(--tf-primary); font-size: 0.9rem; font-weight: 600; margin: 0; }

/* TESTIMONIALS */
.tf-testimonials-section { background: #fff; padding: 80px 0; }
.tf-carousel { position: relative; overflow: hidden; }
.tf-carousel-track { display: flex; transition: transform 0.5s ease; }
.tf-carousel-slide { flex: 0 0 100%; padding: 0 16px; }
.tf-testimonial {
    background: #fff;
    border: 1px solid var(--tf-border);
    border-radius: 16px;
    padding: 36px;
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}
.tf-testimonial-rating { color: #f59e0b; font-size: 1.2rem; margin-bottom: 16px; letter-spacing: 3px; }
.tf-testimonial-text { font-size: 1.15rem; line-height: 1.7; color: var(--tf-heading); margin: 0 0 24px; font-style: italic; }
.tf-testimonial-author { display: inline-flex; align-items: center; gap: 14px; }
.tf-testimonial-author div { display: flex; flex-direction: column; text-align: left; }
.tf-testimonial-author strong { color: var(--tf-heading); }
.tf-testimonial-author span { font-size: 0.85rem; color: #64748b; }
.tf-testimonial-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4f46e5, #0ea5e9);
    color: #fff;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.tf-carousel-controls { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 32px; }
.tf-carousel-prev, .tf-carousel-next {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--tf-border);
    background: #fff;
    color: var(--tf-heading);
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.25s ease;
}
.tf-carousel-prev:hover, .tf-carousel-next:hover { background: var(--tf-primary); color: #fff; border-color: var(--tf-primary); }
.tf-carousel-dots { display: flex; gap: 8px; }
.tf-carousel-dots button { width: 10px; height: 10px; border-radius: 50%; border: none; background: #cbd5e1; padding: 0; cursor: pointer; }
.tf-carousel-dots button.is-active { background: var(--tf-primary); }

/* FAQ */
.tf-faq-section { background: #fff; padding: 80px 0; }
.tf-accordion { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.tf-accordion-item { background: #fff; border: 1px solid var(--tf-border); border-radius: 12px; overflow: hidden; transition: box-shadow 0.3s ease; }
.tf-accordion-item.is-open { box-shadow: 0 12px 24px -8px rgba(15,23,42,0.1); }
.tf-accordion-trigger {
    width: 100%;
    padding: 20px 24px;
    background: transparent;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: var(--tf-heading);
    text-align: left;
    font-family: inherit;
}
.tf-accordion-icon { font-size: 1.5rem; color: var(--tf-primary); transition: transform 0.3s ease; line-height: 1; }
.tf-accordion-item.is-open .tf-accordion-icon { transform: rotate(45deg); }
.tf-accordion-panel { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.tf-accordion-item.is-open .tf-accordion-panel { max-height: 500px; }
.tf-accordion-content { padding: 0 24px 20px; line-height: 1.7; }

/* BLOG */
.tf-blog-section { background: #f8fafc; padding: 80px 0; }
.tf-blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.tf-blog-card {
    background: #fff;
    border: 1px solid var(--tf-border);
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.35s ease;
}
.tf-blog-card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px -20px rgba(15,23,42,0.18); }
.tf-post-thumb { display: block; overflow: hidden; aspect-ratio: 16/10; background: #e2e8f0; }
.tf-post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.tf-blog-card:hover .tf-post-thumb img { transform: scale(1.06); }
.tf-blog-card-body { padding: 24px; }
.tf-blog-card-body h3 { font-size: 1.15rem; margin-bottom: 12px; }
.tf-post-meta { display: flex; gap: 12px; font-size: 0.8rem; opacity: 0.7; margin-bottom: 10px; }
.tf-read-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 0.9rem; color: var(--tf-primary); }

/* CTA */
.tf-cta-section { background: #f8fafc; padding: 80px 0; }
.tf-cta-box {
    background: linear-gradient(135deg, var(--tf-primary), var(--tf-secondary));
    border-radius: 20px;
    padding: 64px 40px;
    text-align: center;
    color: #fff;
}
.tf-cta-title { color: #fff; margin-bottom: 12px; }
.tf-cta-desc { color: rgba(255,255,255,0.9); max-width: 520px; margin: 0 auto 28px; }
.tf-cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.tf-cta-actions .tf-btn-primary { background: #fff; color: var(--tf-primary) !important; }
.tf-cta-actions .tf-btn-primary:hover { background: var(--tf-accent); color: #fff !important; }
.tf-cta-actions .tf-btn-outline { border-color: rgba(255,255,255,0.5); color: #fff !important; }

/* FOOTER */
.tf-footer { background: var(--tf-footer-bg); color: #cbd5e1; padding: 64px 0 24px; }
.tf-footer-widgets {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.tf-footer-logo { display: inline-block; color: #fff; font-size: 1.5rem; font-weight: 800; margin-bottom: 16px; }
.tf-footer-col-brand p { color: #94a3b8; margin: 0; }
.tf-footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 24px; flex-wrap: wrap; }
.tf-footer-copyright { color: #94a3b8; font-size: 0.9rem; }
.tf-footer-links { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; }
.tf-footer-links a { color: #94a3b8; font-size: 0.9rem; }
.tf-footer-links a:hover { color: #fff; }
.tf-social-links { display: flex; gap: 12px; margin-top: 16px; }
.tf-social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
    font-weight: 700;
    transition: all 0.25s ease;
}
.tf-social-links a:hover { background: var(--tf-primary); color: #fff; }

/* RESPONSIVE */
@media (max-width: 1024px) {
    .tf-hero-inner { grid-template-columns: 1fr; gap: 48px; }
    .tf-hero-visual { max-width: 560px; margin: 0 auto; }
    .tf-features-grid { grid-template-columns: repeat(2, 1fr); }
    .tf-portfolio-grid { grid-template-columns: repeat(2, 1fr); }
    .tf-pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
    .tf-pricing-card.is-featured { transform: none; }
    .tf-team-grid { grid-template-columns: repeat(2, 1fr); }
    .tf-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
    .tf-blog-grid { grid-template-columns: repeat(2, 1fr); }
    .tf-footer-widgets { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
    .tf-container { padding: 0 16px; }
    .tf-section { padding: 56px 0; }
    .tf-hero { padding: 72px 0 56px; }
    .tf-features-grid, .tf-portfolio-grid, .tf-team-grid, .tf-blog-grid, .tf-stats-grid { grid-template-columns: 1fr; }
    .tf-footer-widgets { grid-template-columns: 1fr; gap: 28px; }
    .tf-footer-bottom { flex-direction: column; text-align: center; }
    .tf-float-card { display: none; }
    .tf-cta-box { padding: 40px 24px; }
    .tf-pricing-card { padding: 32px 24px; }
}


/* ============================================
   HEADER & FOOTER REDESIGN
   ============================================ */

/* Modern Header */
.tf-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}
.tf-header.is-scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
}
.tf-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 16px 0;
}
.tf-branding { flex-shrink: 0; }
.tf-site-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
    text-decoration: none;
}
.tf-site-title:hover { color: #4f46e5; }

/* Navigation Menu */
.tf-primary-nav { flex: 1; display: flex; justify-content: center; }
.tf-menu {
    display: flex;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.tf-menu li { position: relative; }
.tf-menu a {
    display: block;
    padding: 10px 16px;
    color: #0f172a;
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: 8px;
    transition: all 0.25s ease;
    text-decoration: none;
}
.tf-menu a:hover {
    background: rgba(79, 70, 229, 0.08);
    color: #4f46e5;
}
.tf-menu .current-menu-item a,
.tf-menu .current_page_item a {
    color: #4f46e5;
    background: rgba(79, 70, 229, 0.08);
}

/* Submenus */
.tf-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 8px;
    list-style: none;
    margin: 8px 0 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease;
    box-shadow: 0 12px 32px -8px rgba(15, 23, 42, 0.15);
    z-index: 100;
}
.tf-menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.tf-menu .sub-menu a {
    padding: 10px 14px;
    border-radius: 6px;
}

/* Header Actions */
.tf-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.tf-icon-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    color: #0f172a;
    border-radius: 50%;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}
.tf-icon-btn:hover { background: rgba(79, 70, 229, 0.1); color: #4f46e5; }
.tf-header-cta {
    padding: 10px 20px;
    font-size: 0.9rem;
}

/* ============================================
   FOOTER REDESIGN
   ============================================ */
.tf-footer {
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    color: #cbd5e1;
    padding: 64px 0 24px;
    margin-top: 0;
}

.tf-footer-top {
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 40px;
}
.tf-footer-brand { max-width: 560px; }
.tf-footer-logo {
    display: inline-block;
    color: #fff;
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 16px;
    text-decoration: none;
    letter-spacing: -0.02em;
}
.tf-footer-logo:hover { color: #a5b4fc; }
.tf-footer-about {
    color: #94a3b8;
    font-size: 1rem;
    line-height: 1.7;
    margin: 0 0 20px;
}

/* Social Links */
.tf-social-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.tf-social-links a {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.25s ease;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.tf-social-links a:hover {
    background: linear-gradient(135deg, #4f46e5, #0ea5e9);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px -6px rgba(79, 70, 229, 0.6);
    border-color: transparent;
}
.tf-social-links a svg { width: 18px; height: 18px; }

/* Footer Widgets */
.tf-footer-widgets {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 24px;
}
.tf-footer-heading {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 20px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.tf-footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}
.tf-footer-menu li { margin-bottom: 12px; }
.tf-footer-menu a {
    color: #94a3b8;
    font-size: 0.95rem;
    transition: all 0.25s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.tf-footer-menu a::before {
    content: '→';
    opacity: 0;
    transform: translateX(-6px);
    transition: all 0.25s ease;
    display: inline-block;
    width: 0;
}
.tf-footer-menu a:hover {
    color: #fff;
    padding-left: 4px;
}
.tf-footer-menu a:hover::before {
    opacity: 1;
    transform: translateX(0);
    width: 14px;
}

.tf-footer-newsletter-text {
    color: #94a3b8;
    font-size: 0.9rem;
    margin: 0 0 14px;
}
.tf-footer-newsletter {
    display: flex;
    gap: 8px;
    flex-direction: column;
}
.tf-footer-newsletter input {
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 0.9rem;
    transition: all 0.25s ease;
}
.tf-footer-newsletter input::placeholder { color: #64748b; }
.tf-footer-newsletter input:focus {
    outline: none;
    border-color: #4f46e5;
    background: rgba(255, 255, 255, 0.08);
}
.tf-footer-newsletter button {
    width: 100%;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    border: none;
}

/* Footer Bottom */
.tf-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 24px;
    flex-wrap: wrap;
}
.tf-footer-copyright {
    color: #94a3b8;
    font-size: 0.9rem;
}
.tf-footer-links {
    display: flex;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.tf-footer-links a {
    color: #94a3b8;
    font-size: 0.9rem;
    transition: color 0.25s ease;
    text-decoration: none;
}
.tf-footer-links a:hover { color: #fff; }

/* Back to top */
.tf-back-to-top {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4f46e5, #0ea5e9);
    color: #fff;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: all 0.35s ease;
    box-shadow: 0 8px 20px -6px rgba(79, 70, 229, 0.5);
}
.tf-back-to-top.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.tf-back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px -6px rgba(79, 70, 229, 0.7);
}

/* Footer Widgets styling when using WordPress widgets */
.tf-footer .tf-widget {
    background: transparent;
    border: none;
    padding: 0;
    margin-bottom: 0;
}
.tf-footer .tf-widget-title {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 20px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.tf-footer .tf-widget ul { list-style: none; padding: 0; margin: 0; }
.tf-footer .tf-widget ul li { margin-bottom: 12px; }
.tf-footer .tf-widget ul li a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.25s ease;
}
.tf-footer .tf-widget ul li a:hover { color: #fff; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .tf-header-inner { gap: 16px; }
    .tf-menu { gap: 4px; }
    .tf-menu a { padding: 8px 12px; font-size: 0.9rem; }
    .tf-footer-widgets { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}
@media (max-width: 860px) {
    .tf-primary-nav { display: none; }
    .tf-menu-toggle { display: flex; }
    .tf-header-cta { display: none; }
}
@media (max-width: 640px) {
    .tf-footer-widgets { grid-template-columns: 1fr; gap: 28px; }
    .tf-footer-bottom { flex-direction: column; text-align: center; }
    .tf-footer-links { justify-content: center; flex-wrap: wrap; }
    .tf-social-links { justify-content: flex-start; }
    .tf-footer-logo { font-size: 1.5rem; }
}

/* ============================================
   MODERN HEADER - FIXED
   ============================================ */
.tf-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}
.tf-header.is-scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
}
.tf-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 16px 0;
}
.tf-branding {
    flex-shrink: 0;
}
.tf-site-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
    text-decoration: none;
    transition: color 0.25s ease;
}
.tf-site-title:hover { color: #4f46e5; }

/* Primary Navigation */
.tf-primary-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}
.tf-menu {
    display: flex;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.tf-menu li {
    position: relative;
}
.tf-menu a {
    display: block;
    padding: 10px 16px;
    color: #0f172a;
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.25s ease;
}
.tf-menu a:hover {
    background: rgba(79, 70, 229, 0.08);
    color: #4f46e5;
}
.tf-menu .current-menu-item > a,
.tf-menu .current_page_item > a {
    color: #4f46e5;
    background: rgba(79, 70, 229, 0.08);
}

/* Submenus */
.tf-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 8px;
    list-style: none;
    margin: 8px 0 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease;
    box-shadow: 0 12px 32px -8px rgba(15, 23, 42, 0.15);
    z-index: 100;
}
.tf-menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.tf-menu .sub-menu a {
    padding: 10px 14px;
    font-size: 0.9rem;
}

/* Header Actions */
.tf-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.tf-icon-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    color: #0f172a;
    border-radius: 50%;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}
.tf-icon-btn:hover {
    background: rgba(79, 70, 229, 0.1);
    color: #4f46e5;
}
.tf-header-cta {
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Mobile Menu Toggle */
.tf-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 10px;
    background: transparent;
    border: none;
    cursor: pointer;
    border-radius: 8px;
    transition: background 0.25s ease;
}
.tf-menu-toggle:hover { background: rgba(79, 70, 229, 0.1); }
.tf-menu-toggle span {
    display: block;
    height: 2px;
    background: #0f172a;
    border-radius: 2px;
    transition: all 0.3s ease;
}
.tf-menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.tf-menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}
.tf-menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Search Overlay */
.tf-search-overlay {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid #e2e8f0;
    padding: 20px 0;
    z-index: 999;
    box-shadow: 0 20px 40px -20px rgba(15, 23, 42, 0.2);
}
.tf-search-form {
    display: flex;
    gap: 12px;
    max-width: 720px;
    margin: 0 auto;
    align-items: center;
}
.tf-search-field {
    flex: 1;
    padding: 14px 18px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #0f172a;
    font-size: 1rem;
}
.tf-search-field:focus {
    outline: none;
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}
.tf-search-close {
    background: transparent;
    border: none;
    font-size: 1.6rem;
    color: #64748b;
    cursor: pointer;
    line-height: 1;
    padding: 4px 8px;
    border-radius: 6px;
    transition: all 0.25s ease;
}
.tf-search-close:hover {
    background: #f1f5f9;
    color: #0f172a;
}

/* Mobile Menu */
.tf-mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(340px, 85vw);
    background: #fff;
    z-index: 9999;
    padding: 80px 32px 32px;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    box-shadow: -20px 0 60px -20px rgba(15, 23, 42, 0.3);
}
.tf-mobile-menu.is-open {
    transform: translateX(0);
}
.tf-mobile-nav {
    list-style: none;
    margin: 0;
    padding: 0;
}
.tf-mobile-nav li {
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.35s ease;
}
.tf-mobile-menu.is-open .tf-mobile-nav li {
    opacity: 1;
    transform: translateX(0);
}
.tf-mobile-nav a {
    display: block;
    padding: 14px 0;
    color: #0f172a;
    font-size: 1.15rem;
    font-weight: 600;
    border-bottom: 1px solid #e2e8f0;
    text-decoration: none;
    transition: color 0.25s ease;
}
.tf-mobile-nav a:hover { color: #4f46e5; }
.tf-mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.5);
    z-index: 9998;
    opacity: 0;
    transition: opacity 0.35s ease;
    backdrop-filter: blur(2px);
}
.tf-mobile-overlay.is-open { opacity: 1; }

/* Responsive */
@media (max-width: 1024px) {
    .tf-header-inner { gap: 16px; }
    .tf-menu { gap: 4px; }
    .tf-menu a { padding: 8px 12px; font-size: 0.9rem; }
}
@media (max-width: 860px) {
    .tf-primary-nav { display: none; }
    .tf-menu-toggle { display: flex; }
    .tf-header-cta { display: none; }
}
@media (max-width: 640px) {
    .tf-header-inner { padding: 12px 0; }
    .tf-site-title { font-size: 1.25rem; }
}

/* ============================================
   MOBILE MENU + SEARCH — COMPLETE FIX
   ============================================ */

/* Hamburger Button */
.tf-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 10px;
    background: transparent;
    border: none;
    cursor: pointer;
    border-radius: 8px;
    transition: background 0.25s ease;
    position: relative;
    z-index: 10000;
}
.tf-menu-toggle:hover {
    background: rgba(79, 70, 229, 0.1);
}
.tf-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: #0f172a;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}
.tf-menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.tf-menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.tf-menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Show hamburger on mobile/tablet */
@media (max-width: 860px) {
    .tf-primary-nav { display: none !important; }
    .tf-menu-toggle { display: flex !important; }
    .tf-header-cta { display: none !important; }
}

/* Mobile Menu Drawer */
.tf-mobile-menu {
    position: fixed !important;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(340px, 85vw);
    background: #ffffff;
    z-index: 9999;
    padding: 80px 32px 32px;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    box-shadow: -20px 0 60px -20px rgba(15, 23, 42, 0.3);
    -webkit-overflow-scrolling: touch;
    display: block !important;
}
.tf-mobile-menu.is-open {
    transform: translateX(0);
}

.tf-mobile-nav {
    list-style: none;
    margin: 0;
    padding: 0;
}
.tf-mobile-nav li {
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.35s ease, transform 0.35s ease;
    list-style: none;
}
.tf-mobile-menu.is-open .tf-mobile-nav li {
    opacity: 1;
    transform: translateX(0);
}
.tf-mobile-nav a {
    display: block;
    padding: 16px 0;
    color: #0f172a;
    font-size: 1.15rem;
    font-weight: 600;
    border-bottom: 1px solid #e2e8f0;
    text-decoration: none;
    transition: color 0.25s ease;
}
.tf-mobile-nav a:hover {
    color: #4f46e5;
}

/* Mobile Overlay */
.tf-mobile-overlay {
    position: fixed !important;
    inset: 0;
    background: rgba(15, 23, 42, 0.5);
    z-index: 9998;
    opacity: 0;
    transition: opacity 0.35s ease;
    display: block !important;
    pointer-events: none;
}
.tf-mobile-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}

/* Search Overlay */
.tf-search-overlay {
    position: absolute !important;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    padding: 24px 0;
    z-index: 999;
    box-shadow: 0 20px 40px -20px rgba(15, 23, 42, 0.2);
    display: block !important;
}
.tf-search-overlay[hidden] {
    display: none !important;
}
.tf-search-form {
    display: flex;
    gap: 12px;
    max-width: 720px;
    margin: 0 auto;
    align-items: center;
    padding: 0 20px;
}
.tf-search-field {
    flex: 1;
    padding: 14px 18px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #0f172a;
    font-size: 1rem;
    font-family: inherit;
}
.tf-search-field:focus {
    outline: none;
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}
.tf-search-close {
    background: transparent;
    border: none;
    font-size: 1.75rem;
    color: #64748b;
    cursor: pointer;
    line-height: 1;
    padding: 4px 10px;
    border-radius: 6px;
    transition: all 0.25s ease;
    font-family: inherit;
}
.tf-search-close:hover {
    background: #f1f5f9;
    color: #0f172a;
}

/* Icon Buttons (Search / Dark mode / Cart) */
.tf-icon-btn {
    width: 42px;
    height: 42px;
    border: none;
    background: transparent;
    color: #0f172a;
    border-radius: 50%;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    padding: 0;
    flex-shrink: 0;
}
.tf-icon-btn:hover {
    background: rgba(79, 70, 229, 0.1);
    color: #4f46e5;
}
.tf-icon-btn svg {
    width: 20px;
    height: 20px;
    display: block;
}

/* Body Lock */
body.tf-menu-open {
    overflow: hidden !important;
}

/* ============================================
   RESPONSIVE HEADER
   ============================================ */
@media (max-width: 860px) {
    .tf-header-inner {
        gap: 12px;
        padding: 12px 0;
    }
    .tf-site-title {
        font-size: 1.25rem;
    }
    .tf-header-actions {
        gap: 4px;
    }
}
@media (max-width: 480px) {
    .tf-icon-btn {
        width: 38px;
        height: 38px;
    }
    .tf-mobile-menu {
        padding: 70px 24px 24px;
    }
}

/* ============================================
   HERO SLIDER
   ============================================ */
.tf-hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 320px;
    overflow: hidden;
    border-radius: 0 0 14px 14px;
}

.tf-hero-slider-track {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 320px;
}

.tf-hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transform: scale(1.05);
    transition: opacity 0.7s ease, transform 0.7s ease, visibility 0.7s;
    z-index: 1;
}
.tf-hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    z-index: 2;
}

.tf-hero-slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tf-hero-slide-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 40px 28px 28px;
    background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.85) 100%);
    color: #fff;
    z-index: 3;
}
.tf-hero-slide-caption h3 {
    color: #fff;
    font-size: 1.35rem;
    margin: 0;
    font-weight: 700;
    letter-spacing: -0.01em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Arrows */
.tf-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #0f172a;
    transition: all 0.25s ease;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
    padding: 0;
    opacity: 0;
}
.tf-hero-slider:hover .tf-slider-arrow {
    opacity: 1;
}
.tf-slider-arrow:hover {
    background: #4f46e5;
    color: #fff;
    transform: translateY(-50%) scale(1.08);
}
.tf-slider-prev { left: 14px; }
.tf-slider-next { right: 14px; }

.tf-slider-arrow svg {
    width: 18px;
    height: 18px;
    display: block;
}

/* Dots */
.tf-slider-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
    padding: 6px 12px;
    background: rgba(15, 23, 42, 0.4);
    border-radius: 100px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.tf-slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}
.tf-slider-dot:hover {
    background: rgba(255, 255, 255, 0.8);
}
.tf-slider-dot.is-active {
    background: #fff;
    width: 24px;
    border-radius: 4px;
}

/* Mobile */
@media (max-width: 640px) {
    .tf-hero-slider,
    .tf-hero-slider-track {
        min-height: 220px;
    }
    .tf-slider-arrow {
        width: 36px;
        height: 36px;
        opacity: 1;
    }
    .tf-slider-prev { left: 8px; }
    .tf-slider-next { right: 8px; }
    .tf-slider-arrow svg { width: 16px; height: 16px; }
    .tf-hero-slide-caption h3 { font-size: 1.1rem; }
    .tf-slider-dots { bottom: 8px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .tf-hero-slide {
        transition: opacity 0.3s ease;
        transform: none !important;
    }
    .tf-slider-arrow { transition: none; }
    .tf-slider-dot { transition: none; }
}

/* ============================================
   DEMOS SHOWCASE SECTION
   ============================================ */
.tf-demos-section {
    background: #f8fafc;
    padding: 80px 0;
}
.tf-demos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.tf-demo-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.35s ease;
}
.tf-demo-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 48px -20px rgba(15, 23, 42, 0.2);
    border-color: #4f46e5;
}
.tf-demo-image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: linear-gradient(135deg, #4f46e5, #0ea5e9);
}
.tf-demo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}
.tf-demo-card:hover .tf-demo-image img {
    transform: scale(1.08);
}
.tf-demo-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.85);
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.35s ease;
    padding: 20px;
    z-index: 2;
}
.tf-demo-card:hover .tf-demo-overlay {
    opacity: 1;
}
.tf-demo-info {
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}
.tf-demo-name {
    font-size: 1.1rem;
    margin: 0;
    color: #0f172a;
    font-weight: 700;
}
.tf-demo-category {
    font-size: 0.75rem;
    font-weight: 600;
    color: #4f46e5;
    background: rgba(79, 70, 229, 0.1);
    padding: 4px 12px;
    border-radius: 100px;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (max-width: 1024px) {
    .tf-demos-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .tf-demos-grid { grid-template-columns: 1fr; gap: 20px; }
    .tf-demo-overlay { opacity: 1; background: rgba(15, 23, 42, 0.6); }
}

/* ============================================
   PRODUCTS SECTION
   ============================================ */
.tf-products-section {
    background: #ffffff;
    padding: 80px 0;
}
.tf-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}
.tf-product-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.35s ease;
    display: flex;
    flex-direction: column;
}
.tf-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 48px -20px rgba(15, 23, 42, 0.2);
    border-color: #4f46e5;
}
.tf-product-image {
    position: relative;
    display: block;
    aspect-ratio: 1;
    overflow: hidden;
    background: #f1f5f9;
}
.tf-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}
.tf-product-card:hover .tf-product-image img {
    transform: scale(1.08);
}
.tf-product-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #4f46e5, #0ea5e9);
    color: #fff;
    font-size: 3rem;
    font-weight: 800;
}
.tf-product-sale {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, #ef4444, #f59e0b);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 12px;
    border-radius: 100px;
    z-index: 2;
}
.tf-product-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: 1;
}
.tf-product-card:hover .tf-product-overlay {
    opacity: 1;
}
.tf-product-view {
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 10px 20px;
    border: 2px solid #fff;
    border-radius: 100px;
}

.tf-product-info {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.tf-product-category {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #4f46e5;
    margin-bottom: 8px;
}
.tf-product-title {
    font-size: 1.05rem;
    margin: 0 0 8px;
    font-weight: 700;
    line-height: 1.3;
}
.tf-product-title a {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.25s ease;
}
.tf-product-title a:hover {
    color: #4f46e5;
}
.tf-product-rating {
    color: #f59e0b;
    font-size: 0.9rem;
    margin-bottom: 8px;
    letter-spacing: 2px;
}
.tf-product-rating span {
    color: #94a3b8;
    font-size: 0.8rem;
    letter-spacing: 0;
    margin-left: 4px;
}
.tf-product-price {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 16px;
}
.tf-product-price del {
    color: #94a3b8;
    font-weight: 400;
    font-size: 0.9rem;
    margin-right: 6px;
}
.tf-product-price ins {
    text-decoration: none;
    color: #4f46e5;
}
.tf-btn-add-cart {
    margin-top: auto;
    width: 100%;
    justify-content: center;
    text-align: center;
}

@media (max-width: 1024px) {
    .tf-products-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .tf-products-grid { grid-template-columns: 1fr; gap: 20px; }
}

/* ============================================
   WOOCOMMERCE PRODUCT PAGE OVERRIDES
   ============================================ */
.woocommerce div.product {
    max-width: 1200px;
    margin: 40px auto;
}
.woocommerce div.product .product_title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    color: #0f172a;
    font-weight: 800;
    margin-bottom: 16px;
}
.woocommerce div.product p.price {
    color: #4f46e5 !important;
    font-size: 1.75rem;
    font-weight: 800;
}
.woocommerce div.product .woocommerce-product-details__short-description {
    color: #475569;
    font-size: 1rem;
    line-height: 1.7;
}
.woocommerce div.product form.cart .button,
.woocommerce div.product .single_add_to_cart_button {
    background: linear-gradient(135deg, #4f46e5, #0ea5e9);
    color: #fff;
    border: none;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px -6px rgba(79, 70, 229, 0.5);
}
.woocommerce div.product form.cart .button:hover,
.woocommerce div.product .single_add_to_cart_button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px -6px rgba(79, 70, 229, 0.6);
}

/* Product tabs */
.woocommerce div.product .woocommerce-tabs ul.tabs {
    padding: 0;
    margin: 0 0 24px;
    border-bottom: 2px solid #e2e8f0;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li {
    background: transparent;
    border: none;
    margin: 0;
    padding: 0;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    padding: 14px 24px;
    color: #64748b;
    font-weight: 600;
    transition: all 0.25s ease;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
    color: #4f46e5;
    box-shadow: inset 0 -3px 0 #4f46e5;
}

/* Shop page */
.woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.woocommerce ul.products::before,
.woocommerce ul.products::after {
    display: none;
}
.woocommerce ul.products li.product {
    width: 100% !important;
    margin: 0 !important;
    float: none !important;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.35s ease;
    display: flex;
    flex-direction: column;
    padding-bottom: 20px;
}
.woocommerce ul.products li.product:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px -20px rgba(15, 23, 42, 0.18);
}
.woocommerce ul.products li.product img {
    margin: 0 !important;
    transition: transform 0.5s ease;
}
.woocommerce ul.products li.product:hover img {
    transform: scale(1.05);
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    padding: 16px 20px 6px;
    font-size: 1rem;
    color: #0f172a;
    font-weight: 700;
}
.woocommerce ul.products li.product .price {
    padding: 0 20px;
    color: #4f46e5 !important;
    font-weight: 700;
    font-size: 1.1rem;
}
.woocommerce ul.products li.product .button {
    margin: 12px 20px 0;
    background: #4f46e5 !important;
    color: #fff !important;
    border-radius: 8px;
    padding: 10px 18px;
    font-weight: 600;
    transition: all 0.25s ease;
}
.woocommerce ul.products li.product .button:hover {
    background: #0ea5e9 !important;
    transform: translateY(-1px);
}
.woocommerce span.onsale {
    background: linear-gradient(135deg, #ef4444, #f59e0b) !important;
    color: #fff !important;
    border-radius: 100px !important;
    padding: 4px 12px !important;
    min-height: auto !important;
    min-width: auto !important;
    font-weight: 700 !important;
    font-size: 0.7rem !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    top: 12px !important;
    left: 12px !important;
}

@media (max-width: 1024px) {
    .woocommerce ul.products { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .woocommerce ul.products { grid-template-columns: 1fr; }
}
