/* Breitling Crystal Style - Auto-themed */
:root {
    --ts-primary: #300f1a;
    --ts-accent: #f46c86;
    --ts-accent-light: #27b6c8;
    --ts-accent-dark: #0a8293;
    --ts-gold: #f5778c;
    --ts-gold-light: #1cb8ce;
    --ts-gold-dark: #0a8499;
    --ts-bg: #F0FDFA;
    --ts-bg-dark: #211531;
    --ts-text: #0a533b;
    --ts-text-light: #0a8971;
    --ts-border: #aee3e0;
    --ts-shadow: 0 4px 20px rgba(0,0,0,0.08);
    --ts-shadow-hover: rgba(22,25,41,0.2);
    --ts-shadow-glow: rgba(71,146,218,0.3);
    --ts-success: #2cac60;
    --ts-danger: #e24438;
    --ts-overlay: rgba(20,22,44,0.7);
    --ts-gradient-primary: linear-gradient(135deg, #4396d9 0%, #397ac3 50%, #4294e3 100%);
    --ts-gradient-gold: linear-gradient(135deg, #cca75f 0%, #dcc073 50%, #a79156 100%);
    --ts-gradient-hero: linear-gradient(135deg, #101d2b 0%, #2c414f 50%, #181b23 100%);
}

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

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.7;
    color: var(--ts-text);
    background: var(--ts-bg);
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(69,143,221,0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(193,174,99,0.03) 0%, transparent 50%),
        linear-gradient(180deg, #f5f6f8 0%, #ffffff 100%);
    background-attachment: fixed;
    font-size: 16px;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(67,140,220,0.008) 2px, rgba(80,146,231,0.008) 4px);
    pointer-events: none;
    z-index: 0;
}

body > * {
    position: relative;
    z-index: 1;
}

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

/* Scroll Indicator */
.ts-scroll-indicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: var(--ts-gradient-primary);
    z-index: 9999;
    transition: width 0.1s ease-out;
    box-shadow: 
        0 0 15px rgba(81,136,223,0.6),
        0 0 30px rgba(205,168,101,0.3);
    position: relative;
}

.ts-scroll-indicator::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 20px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5));
    animation: ts-shimmer 2s infinite;
}

@keyframes ts-shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Header */
.ts-header {
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--ts-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(23px) saturate(180%);
    box-shadow: 
        0 3px 17px rgba(0, 0, 0, 0.08),
        0 1px 0 rgba(255, 255, 255, 0.9) inset;
    transition: all 0.3s ease;
}

.ts-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--ts-gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ts-header.scrolled::after {
    opacity: 1;
}

.ts-header-wrapper {
    max-width:100%;
    margin: 0 auto;
    padding: 14px 21px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ts-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--ts-primary);
    font-weight: 700;
    font-size: 20px;
    letter-spacing: -0.4px;
}

.ts-brand-symbol {
    width: 37px;
    height: 40px;
    background: var(--ts-gradient-primary);
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    font-weight: 800;
    box-shadow: 
        0 4px 15px rgba(75,142,224,0.3),
        0 2px 5px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.ts-brand-symbol::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(45deg);
    animation: ts-shine 3s infinite;
}

@keyframes ts-shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.ts-brand:hover .ts-brand-symbol {
    transform: rotate(5deg) scale(1.05);
    box-shadow: 
        0 6px 20px rgba(71,151,226,0.4),
        0 3px 8px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.ts-brand-name {
    font-weight: 600;
}

.ts-navigation {
    display: flex;
    gap: 35px;
    align-items: center;
}

.ts-nav-item {
    color: var(--ts-text);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.ts-nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--ts-accent), var(--ts-gold));
    transition: width 0.3s ease;
}

.ts-nav-item:hover,
.ts-nav-item--active {
    color: var(--ts-accent);
}

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

.ts-menu-button {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.ts-menu-bar {
    width: 25px;
    height: 2px;
    background: var(--ts-primary);
    transition: all 0.3s ease;
}

.ts-menu-button.active .ts-menu-bar:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.ts-menu-button.active .ts-menu-bar:nth-child(2) {
    opacity: 0;
}

.ts-menu-button.active .ts-menu-bar:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.ts-mobile-menu {
    display: none;
    flex-direction: column;
    padding: 19px;
    background: white;
    border-top: 1px solid var(--ts-border);
}

.ts-mobile-menu.active {
    display: flex;
}

.ts-mobile-item {
    padding: 13px 0;
    color: var(--ts-text);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid var(--ts-border);
}

.ts-mobile-item:last-child {
    border-bottom: none;
}

/* Hero Section */
.ts-hero-area {
    background: var(--ts-gradient-hero);
    color: white;
    padding: 120px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.ts-hero-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(66,138,220,0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(194,170,102,0.12) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(80,151,223,0.05) 0%, transparent 70%);
    animation: ts-pulse 8s ease-in-out infinite;
}

.ts-hero-area::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 100px,
        rgba(81,141,230,0.02) 100px,
        rgba(78,148,222,0.02) 200px
    );
    animation: ts-drift 20s linear infinite;
}

@keyframes ts-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

@keyframes ts-drift {
    0% { transform: translate(0, 0); }
    100% { transform: translate(100px, 100px); }
}

.ts-hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 23px;
    position: relative;
    z-index: 2;
}

.ts-hero-tag {
    display: inline-block;
    padding: 12px 21px;
    background: rgba(79,138,233,0.2);
    border: 2px solid rgba(76,144,225,0.4);
    border-radius: 24px;
    font-size: 10px;
    font-weight: 700;
    color: var(--ts-accent-light);
    text-transform: uppercase;
    letter-spacing: 1.6px;
    margin-bottom: 28px;
    box-shadow: 
        0 5px 17px rgba(77,150,232,0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    animation: ts-fadeInUp 0.8s ease-out;
}

.ts-hero-tag::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: ts-shine 3s infinite;
}

@keyframes ts-fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ts-hero-heading {
    font-family: 'Merriweather', serif;
    font-size: 52px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 22px 0;
    color: white;
    text-shadow: 
        0 2px 10px rgba(0, 0, 0, 0.3),
        0 4px 20px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.9) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: ts-fadeInUp 1s ease-out 0.2s both;
    position: relative;
}

.ts-hero-heading::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--ts-gradient-primary);
    border-radius: 1px;
    opacity: 0.6;
}

.ts-hero-description {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin: 0 0 32px 0;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.ts-hero-buttons {
    display: flex;
    gap: 18px;
    justify-content: center;
    flex-wrap: wrap;
}

.ts-button {
    display: inline-flex;
    align-items: center;
    padding: 11px 31px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.ts-button--primary {
    background: var(--ts-gradient-primary);
    color: white;
    box-shadow: 
        0 4px 15px rgba(68,147,229,0.3),
        0 2px 5px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.ts-button--primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.ts-button--primary:hover::before {
    left: 100%;
}

.ts-button--primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 8px 25px rgba(80,140,231,0.4),
        0 4px 10px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.ts-button--primary:active {
    transform: translateY(-1px) scale(1);
}

.ts-button--secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.ts-button--secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.ts-button--large {
    padding: 19px 35px;
    font-size: 14px;
}

/* Video Section */
.ts-video-section {
    padding: 61px 0;
    background: white;
}

.ts-video-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.ts-video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 19px;
    box-shadow: 
        0 12px 37px rgba(0, 0, 0, 0.15),
        0 4px 15px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 3px solid rgba(73,149,226,0.1);
    background: linear-gradient(135deg, rgba(70,139,221,0.05), rgba(198,170,100,0.03));
    transition: all 0.4s ease;
}

.ts-video-container:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 15px 50px rgba(0, 0, 0, 0.2),
        0 8px 25px rgba(69,142,228,0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: rgba(67,138,231,0.3);
}

.ts-video-frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.ts-video-info {
    padding: 18px 0;
}

.ts-video-title {
    font-family: 'Merriweather', serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--ts-primary);
    margin-bottom: 16px;
}

.ts-video-text {
    font-size: 19px;
    color: var(--ts-text-light);
    line-height: 1.7;
}

/* Main Content */
.ts-main-content {
    padding: 62px 0;
    background: white;
}

.ts-article-content {
    max-width: 800px;
    margin: 0 auto;
}

.ts-intro-block {
    margin-bottom: 53px;
    padding: 29px;
    background: linear-gradient(135deg, rgba(80,145,222,0.05), rgba(208,176,101,0.03));
    border-radius: 10px;
    border-left: 5px solid var(--ts-accent);
}

.ts-intro-text {
    font-size: 20px;
    line-height: 1.8;
    color: var(--ts-text);
    margin-bottom: 23px;
    font-weight: 400;
}

.ts-article-content h2 {
    font-family: 'Merriweather', serif;
    font-size: 38px;
    font-weight: 700;
    color: var(--ts-primary);
    margin: 57px 0 31px 0;
    line-height: 1.3;
    position: relative;
    padding-bottom: 19px;
    background: linear-gradient(135deg, var(--ts-primary) 0%, var(--ts-accent-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ts-article-content h2::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--ts-gradient-primary);
    border-radius: 2px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ts-article-content h2:hover::before {
    opacity: 1;
}

.ts-article-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--ts-gradient-primary);
    border-radius: 1px;
    box-shadow: 0 3px 7px rgba(78,141,225,0.3);
}

.ts-article-content h3 {
    font-family: 'Merriweather', serif;
    font-size: 26px;
    font-weight: 600;
    color: var(--ts-primary);
    margin: 37px 0 18px 0;
}

.ts-article-content p {
    margin-bottom: 23px;
    line-height: 1.8;
    color: var(--ts-text);
    font-size: 16px;
}

.ts-image-container {
    margin: 47px 0;
    border-radius: 19px;
    overflow: hidden;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.12),
        0 4px 15px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    border: 3px solid rgba(74,151,227,0.1);
    background: linear-gradient(135deg, rgba(75,141,218,0.05), rgba(199,172,97,0.03));
    transition: all 0.4s ease;
}

.ts-image-container::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--ts-gradient-primary);
    border-radius: 17px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.ts-image-container:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 15px 50px rgba(0, 0, 0, 0.15),
        0 8px 25px rgba(70,144,229,0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: rgba(68,140,228,0.3);
}

.ts-image-container:hover::before {
    opacity: 0.3;
}

.ts-content-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    transform: scale(0.95);
}

.ts-content-image.loaded {
    opacity: 1;
    transform: scale(1);
}

.ts-image-container:hover .ts-content-image {
    transform: scale(1.05);
}

/* Lazy loading placeholder */
.ts-image-container .ts-image-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #f0f0f0 25%, #e6dde0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: ts-loading 1.5s infinite;
}

@keyframes ts-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* CTA Banner */
.ts-cta-banner {
    background: var(--ts-gradient-primary);
    color: white;
    padding: 58px 51px;
    border-radius: 16px;
    margin: 73px 0;
    text-align: center;
    box-shadow: 
        0 10px 40px rgba(69,147,223,0.35),
        0 4px 15px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.ts-cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: ts-rotate 20s linear infinite;
}

.ts-cta-banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 50px,
        rgba(255, 255, 255, 0.03) 50px,
        rgba(255, 255, 255, 0.03) 51px
    );
    pointer-events: none;
}

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

.ts-cta-title {
    font-family: 'Merriweather', serif;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 17px;
    text-shadow: 0 3px 9px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

.ts-cta-text {
    font-size: 19px;
    margin-bottom: 33px;
    opacity: 0.95;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

/* Testimonials Section */
.ts-testimonials-section {
    margin: 63px 0;
    padding: 52px 0;
    background: linear-gradient(135deg, #f5f6f8, white);
    border-radius: 9px;
}

.ts-testimonials-header {
    text-align: center;
    margin-bottom: 53px;
}

.ts-testimonials-title {
    font-family: 'Merriweather', serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--ts-primary);
    margin-bottom: 10px;
}

.ts-testimonials-subtitle {
    font-size: 16px;
    color: var(--ts-text-light);
}

.ts-testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.ts-testimonial-item {
    display: none;
    padding: 48px 52px;
    background: white;
    border-radius: 13px;
    box-shadow: 
        0 7px 29px rgba(0, 0, 0, 0.1),
        0 2px 10px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(75,146,226,0.1);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.ts-testimonial-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--ts-gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ts-testimonial-item--active {
    display: block;
    opacity: 1;
    transform: translateY(0);
    animation: ts-fadeInUp 0.6s ease-out;
}

.ts-testimonial-item--active::before {
    opacity: 1;
}

.ts-testimonial-content {
    text-align: center;
}

.ts-testimonial-text {
    font-size: 18px;
    line-height: 1.8;
    color: var(--ts-text);
    margin-bottom: 27px;
    font-style: italic;
    position: relative;
    padding-left: 28px;
}

.ts-testimonial-text::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 60px;
    font-family: 'Merriweather', serif;
    color: var(--ts-accent);
    opacity: 0.2;
    line-height: 1;
}

.ts-testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.ts-testimonial-name {
    font-weight: 600;
    color: var(--ts-primary);
    font-size: 16px;
}

.ts-testimonial-role {
    font-size: 14px;
    color: var(--ts-text-light);
}

.ts-testimonials-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 23px;
    margin-top: 29px;
}

.ts-slider-button {
    width: 42px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--ts-border);
    background: white;
    color: var(--ts-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.ts-slider-button:hover {
    border-color: var(--ts-accent);
    background: var(--ts-accent);
    color: white;
}

.ts-slider-dots {
    display: flex;
    gap: 15px;
}

.ts-slider-dot {
    width: 14px;
    height: 9px;
    border-radius: 50%;
    border: none;
    background: var(--ts-border);
    cursor: pointer;
    transition: all 0.3s ease;
}

.ts-slider-dot--active {
    background: var(--ts-accent);
    transform: scale(1.2);
}

/* FAQ Section */
.ts-faq-section {
    margin: 63px 0;
}

.ts-faq-header {
    text-align: center;
    margin-bottom: 49px;
}

.ts-faq-title {
    font-family: 'Merriweather', serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--ts-primary);
    margin-bottom: 13px;
}

.ts-faq-subtitle {
    font-size: 16px;
    color: var(--ts-text-light);
}

.ts-faq-list {
    display: flex;
    flex-direction: column;
    gap: 19px;
}

.ts-faq-item {
    background: white;
    border: 2px solid var(--ts-border);
    border-radius: 9px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.ts-faq-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--ts-gradient-primary);
    transform: scaleY(0);
    transition: transform 0.4s ease;
    border-radius: 11px 0 0 10px;
}

.ts-faq-item:hover {
    border-color: var(--ts-accent);
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.1),
        0 2px 8px rgba(73,142,229,0.15);
    transform: translateX(4px);
}

.ts-faq-item:hover::before,
.ts-faq-item.active::before {
    transform: scaleY(1);
}

.ts-faq-item.active {
    border-color: var(--ts-accent);
    box-shadow: 
        0 8px 30px rgba(70,149,220,0.2),
        0 4px 15px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    background: linear-gradient(135deg, #ffffff 0%, rgba(69,136,231,0.02) 100%);
}

.ts-faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 23px;
    padding: 22px 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: all 0.3s ease;
}

.ts-faq-question:hover {
    background: rgba(66,142,222,0.05);
}

.ts-faq-question-text {
    font-size: 17px;
    font-weight: 600;
    color: var(--ts-primary);
    line-height: 1.4;
}

.ts-faq-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(67,148,230,0.1);
    border-radius: 50%;
    color: var(--ts-accent);
    transition: all 0.3s ease;
}

.ts-faq-item.active .ts-faq-icon {
    transform: rotate(180deg);
    background: var(--ts-accent);
    color: white;
}

.ts-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.ts-faq-item.active .ts-faq-answer {
    max-height: 1000px;
}

.ts-faq-answer-content {
    padding: 0 24px 23px;
    font-size: 17px;
    line-height: 1.7;
    color: var(--ts-text);
}

.ts-faq-answer-content p {
    margin-bottom: 9px;
}

/* Footer */
.ts-footer {
    background: var(--ts-bg-dark);
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(80,139,225,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(208,170,104,0.08) 0%, transparent 50%);
    color: rgba(255, 255, 255, 0.8);
    padding: 73px 0 34px;
    margin-top: 100px;
    position: relative;
    overflow: hidden;
}

.ts-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--ts-gradient-primary);
}

.ts-footer::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 100px,
        rgba(79,142,232,0.02) 100px,
        rgba(76,148,227,0.02) 101px
    );
    animation: ts-drift 30s linear infinite;
    pointer-events: none;
}

.ts-footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 53px;
    margin-bottom: 49px;
    padding-bottom: 48px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.15);
    position: relative;
    z-index: 1;
}

.ts-footer-grid::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 1px;
    background: var(--ts-gradient-primary);
    opacity: 0.5;
}

.ts-footer-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 13px;
}

.ts-footer-tagline {
    font-size: 17px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
}

.ts-footer-heading {
    font-size: 16px;
    font-weight: 600;
    color: white;
    margin-bottom: 14px;
}

.ts-footer-links {
    list-style: none;
    padding: 0;
}

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

.ts-footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.ts-footer-links a:hover {
    color: var(--ts-accent);
    padding-left: 6px;
}

.ts-footer-bottom {
    padding-top: 42px;
    text-align: center;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.6);
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Additional Detail Enhancements */
.ts-article-content p {
    text-align: justify;
    text-justify: inter-word;
}

.ts-article-content p:first-of-type {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.9;
    color: var(--ts-text);
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
*:focus-visible {
    outline: 2px solid var(--ts-accent);
    outline-offset: 3px;
    border-radius: 4px;
}

/* Loading states */
.ts-loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Print styles */
@media print {
    .ts-header,
    .ts-footer,
    .ts-hero-area,
    .ts-cta-banner,
    .ts-testimonials-section {
        display: none;
    }
    
    .ts-article-content {
        max-width:100%;
    }
    
    body {
        background: white;
    }
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --ts-border: #ace2dc;
        --ts-text: #0a4a3e;
        --ts-text-light: #0a8074;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .ts-header { position: relative !important; }
    .ts-menu-button {
        display: flex;
    }

    .ts-navigation {
        display: none;
    }

    .ts-hero-heading {
        font-size: 32px;
    }

    .ts-hero-description {
        font-size: 16px;
    }

    .ts-hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .ts-button {
        width: 100%;
        justify-content: center;
    }

    .ts-video-wrapper {
        grid-template-columns: 1fr;
    }

    .ts-article-content h2 {
        font-size: 28px;
    }

    .ts-article-content h3 {
        font-size: 22px;
    }

    .ts-cta-title {
        font-size: 24px;
    }

    .ts-testimonials-title,
    .ts-faq-title {
        font-size: 28px;
    }

    .ts-faq-question {
        padding: 16px 23px;
    }

    .ts-faq-answer-content {
        padding: 0 22px 13px;
    }
}

/* ==================
   Company Logo Styles (110px height)
   ================== */
.fb-company-logo {
    width: 240px;
    height: 165px;
    object-fit: contain;
    background: var(--fb-white);
    border-radius: var(--fb-radius-sm);
    padding: 9px;
    margin-bottom: 8px;
    border: 2px solid var(--fb-gray-200);
}

.fb-company-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* ==================
   Action Buttons (Go + Review)
   ================== */
.fb-action-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fb-btn-primary {
    display: inline-block;
    padding: 7px 27px;
    background: var(--fb-secondary);
    color: var(--fb-dark);
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    border-radius: var(--fb-radius-sm);
    transition: var(--fb-transition);
    text-decoration: none;
}

.fb-btn-primary:hover {
    background: var(--fb-secondary-dark);
    color: var(--fb-dark);
    transform: translateY(-1px);
}

.fb-btn-review {
    display: inline-block;
    padding: 11px 24px;
    background: transparent;
    color: var(--fb-primary);
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    border: 2px solid var(--fb-primary);
    border-radius: var(--fb-radius-sm);
    transition: var(--fb-transition);
    text-decoration: none;
}

.fb-btn-review:hover {
    background: var(--fb-primary);
    color: var(--fb-white);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .fb-company-logo {
        width: 160px;
        height: 100px;
    }

    .fb-action-buttons {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .fb-btn-primary,
    .fb-btn-review {
        padding: 6px 17px;
        font-size: 13px;
    }
}
/* ==================
   UNIVERSAL MOBILE FIX - Company Logos & Table Adaptivity
   Applied to all sites
   ================== */
@media (max-width: 768px) {
    /* Universal logo selectors */
    [class*='company-logo'],
    [class*='CompanyLogo'],
    [class*='company_logo'],
    img[class*='logo'][class*='company'],
    .company-logo,
    .fb-company-logo,
    .catCompanyLogo,
    .tf-company-card__logo,
    .th-company-logo,
    .op-company-logo,
    .card-logo,
    .review-logo {
        width: 140px !important;
        min-width: 140px !important;
        height: auto !important;
        min-height: 80px !important;
        max-height: 100px !important;
        padding: 6px !important;
        margin: 0 auto 13px !important;
        display: block !important;
        object-fit: contain !important;
    }
    
    /* Center company info/cards */
    [class*='company-info'],
    [class*='CompanyInfo'],
    [class*='company_info'],
    .fb-company-info,
    .catCompanyInfo,
    .tf-company-card__info {
        align-items: center !important;
        text-align: center !important;
    }
    
    /* Center company name */
    [class*='company-name'],
    [class*='CompanyName'],
    .catCompanyName,
    .tf-company-card__name {
        text-align: center !important;
    }
    
    /* Center rating/stars */
    [class*='rating'],
    [class*='Rating'],
    [class*='stars'],
    [class*='Stars'],
    .catRating,
    .catStars {
        justify-content: center !important;
        text-align: center !important;
    }
    
    /* Buttons full width */
    [class*='action-btn'],
    [class*='ActionBtn'],
    [class*='btn-cta'],
    [class*='btn-primary'],
    [class*='btn-review'],
    .catBtnCta,
    .catBtnReview,
    .fb-btn-primary,
    .fb-btn-review,
    .tf-btn-primary,
    .tf-btn-outline {
        display: block !important;
        width: 100% !important;
        padding: 12px 23px !important;
        text-align: center !important;
        font-size: 14px !important;
        margin-bottom: 5px !important;
    }
    
    /* Site logo bigger */
    [class*='site-logo'] img,
    [class*='SiteLogo'] img,
    .catLogo__icon,
    .tf-logo__icon,
    .th-logo__icon,
    header [class*='logo'] img {
        min-width: 45px !important;
        min-height: 45px !important;
    }
}


/* Max width 1400px for desktop */
.ts-wrapper, .ts-content, .ts-hero-inner, .ts-companies-container, 
.ts-article, .ts-container, .ts-footer-inner, .ts-main {
    max-width: 1400px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Center buttons in company cards */
.ts-company-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}
.ts-td-action {
    text-align: center !important;
}
.ts-action-buttons {
    display: flex !important;
    justify-content: center !important;
    gap: 10px !important;
}
