/*
Theme Name: FastCredit
Theme URI: https://example.com/fastcredit
Author: Developer
Author URI: https://example.com
Description: Профессиональная тема WordPress для сервиса быстрых кредитов и займов. Современный дизайн, встроенный калькулятор, адаптивная вёрстка.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fastcredit
Tags: one-column, custom-menu, featured-images, translation-ready, blog
*/

/* ==========================================================================
   Design Tokens
   ========================================================================== */
:root {
    /* Colors */
    --fc-primary: #2563EB;
    --fc-primary-dark: #1D4ED8;
    --fc-primary-light: #DBEAFE;
    --fc-secondary: #10B981;
    --fc-secondary-dark: #059669;
    --fc-secondary-light: #D1FAE5;
    --fc-accent: #F59E0B;
    --fc-accent-dark: #D97706;
    --fc-danger: #EF4444;
    --fc-dark: #0F172A;
    --fc-gray-900: #1E293B;
    --fc-gray-800: #334155;
    --fc-gray-700: #475569;
    --fc-gray-600: #64748B;
    --fc-gray-500: #94A3B8;
    --fc-gray-400: #CBD5E1;
    --fc-gray-300: #E2E8F0;
    --fc-gray-200: #F1F5F9;
    --fc-gray-100: #F8FAFC;
    --fc-white: #FFFFFF;

    /* Gradients */
    --fc-gradient-hero: linear-gradient(135deg, #0F172A 0%, #1E3A5F 50%, #2563EB 100%);
    --fc-gradient-cta: linear-gradient(135deg, #2563EB 0%, #7C3AED 100%);
    --fc-gradient-card: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
    --fc-gradient-green: linear-gradient(135deg, #059669 0%, #10B981 100%);

    /* Typography */
    --fc-font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --fc-font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    --fc-text-xs: 0.75rem;
    --fc-text-sm: 0.875rem;
    --fc-text-base: 1rem;
    --fc-text-lg: 1.125rem;
    --fc-text-xl: 1.25rem;
    --fc-text-2xl: 1.5rem;
    --fc-text-3xl: 1.875rem;
    --fc-text-4xl: 2.25rem;
    --fc-text-5xl: 3rem;
    --fc-text-6xl: 3.75rem;

    /* Spacing */
    --fc-space-xs: 0.25rem;
    --fc-space-sm: 0.5rem;
    --fc-space-md: 1rem;
    --fc-space-lg: 1.5rem;
    --fc-space-xl: 2rem;
    --fc-space-2xl: 3rem;
    --fc-space-3xl: 4rem;
    --fc-space-4xl: 6rem;
    --fc-space-5xl: 8rem;

    /* Border Radius */
    --fc-radius-sm: 0.375rem;
    --fc-radius-md: 0.5rem;
    --fc-radius-lg: 0.75rem;
    --fc-radius-xl: 1rem;
    --fc-radius-2xl: 1.5rem;
    --fc-radius-full: 9999px;

    /* Shadows */
    --fc-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --fc-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --fc-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --fc-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --fc-shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --fc-shadow-glow: 0 0 30px rgba(37, 99, 235, 0.3);

    /* Transitions */
    --fc-transition-fast: 150ms ease;
    --fc-transition-base: 250ms ease;
    --fc-transition-slow: 350ms ease;

    /* Container */
    --fc-container-max: 1200px;
    --fc-container-padding: 1.5rem;
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--fc-font-primary);
    font-size: var(--fc-text-base);
    line-height: 1.6;
    color: var(--fc-gray-800);
    background-color: var(--fc-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--fc-primary);
    text-decoration: none;
    transition: color var(--fc-transition-fast);
}

a:hover {
    color: var(--fc-primary-dark);
}

ul, ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--fc-font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--fc-dark);
}

/* ==========================================================================
   Layout
   ========================================================================== */
.fc-container {
    width: 100%;
    max-width: var(--fc-container-max);
    margin-inline: auto;
    padding-inline: var(--fc-container-padding);
}

.fc-section {
    padding-block: var(--fc-space-4xl);
}

.fc-section--alt {
    background-color: var(--fc-gray-100);
}

.fc-section__header {
    text-align: center;
    max-width: 700px;
    margin-inline: auto;
    margin-bottom: var(--fc-space-3xl);
}

.fc-section__badge {
    display: inline-block;
    font-size: var(--fc-text-sm);
    font-weight: 600;
    color: var(--fc-primary);
    background-color: var(--fc-primary-light);
    padding: var(--fc-space-xs) var(--fc-space-md);
    border-radius: var(--fc-radius-full);
    margin-bottom: var(--fc-space-md);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.fc-section__title {
    font-size: var(--fc-text-4xl);
    margin-bottom: var(--fc-space-md);
}

.fc-section__subtitle {
    font-size: var(--fc-text-lg);
    color: var(--fc-gray-600);
    line-height: 1.7;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.fc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--fc-space-sm);
    font-family: var(--fc-font-primary);
    font-size: var(--fc-text-base);
    font-weight: 600;
    padding: 0.875rem 2rem;
    border: none;
    border-radius: var(--fc-radius-lg);
    cursor: pointer;
    transition: all var(--fc-transition-base);
    text-decoration: none;
    line-height: 1;
    white-space: nowrap;
}

.fc-btn--primary {
    color: var(--fc-white);
    background: var(--fc-gradient-cta);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
}

.fc-btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
    color: var(--fc-white);
}

.fc-btn--secondary {
    color: var(--fc-white);
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(4px);
}

.fc-btn--secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
    color: var(--fc-white);
}

.fc-btn--green {
    color: var(--fc-white);
    background: var(--fc-gradient-green);
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
}

.fc-btn--green:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
    color: var(--fc-white);
}

.fc-btn--outline {
    color: var(--fc-primary);
    background: transparent;
    border: 2px solid var(--fc-primary);
}

.fc-btn--outline:hover {
    background: var(--fc-primary);
    color: var(--fc-white);
}

.fc-btn--lg {
    font-size: var(--fc-text-lg);
    padding: 1rem 2.5rem;
}

.fc-btn--sm {
    font-size: var(--fc-text-sm);
    padding: 0.625rem 1.25rem;
}

.fc-btn--full {
    width: 100%;
}

/* ==========================================================================
   Header
   ========================================================================== */
.fc-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all var(--fc-transition-base);
    padding-block: var(--fc-space-md);
}

.fc-header--scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: var(--fc-shadow-md);
    padding-block: var(--fc-space-sm);
}

.fc-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.fc-logo {
    display: flex;
    align-items: center;
    gap: var(--fc-space-sm);
    font-size: var(--fc-text-xl);
    font-weight: 800;
    color: var(--fc-white);
    text-decoration: none;
}

.fc-header--scrolled .fc-logo {
    color: var(--fc-dark);
}

.fc-logo__icon {
    width: 40px;
    height: 40px;
    background: var(--fc-gradient-green);
    border-radius: var(--fc-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--fc-text-xl);
    color: var(--fc-white);
}

.fc-logo__text span {
    color: var(--fc-secondary);
}

/* Navigation */
.fc-nav {
    display: flex;
    align-items: center;
    gap: var(--fc-space-2xl);
}

.fc-nav__menu {
    display: flex;
    align-items: center;
    gap: var(--fc-space-xl);
}

.fc-nav__link {
    font-size: var(--fc-text-sm);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    transition: color var(--fc-transition-fast);
    position: relative;
}

.fc-nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--fc-secondary);
    transition: width var(--fc-transition-base);
}

.fc-nav__link:hover::after {
    width: 100%;
}

.fc-nav__link:hover {
    color: var(--fc-white);
}

.fc-header--scrolled .fc-nav__link {
    color: var(--fc-gray-700);
}

.fc-header--scrolled .fc-nav__link:hover {
    color: var(--fc-primary);
}

.fc-nav__phone {
    display: flex;
    align-items: center;
    gap: var(--fc-space-sm);
    font-weight: 600;
    color: var(--fc-white);
    font-size: var(--fc-text-sm);
}

.fc-header--scrolled .fc-nav__phone {
    color: var(--fc-dark);
}

/* Mobile hamburger */
.fc-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: var(--fc-space-sm);
    background: none;
    border: none;
}

.fc-hamburger span {
    width: 24px;
    height: 2px;
    background: var(--fc-white);
    transition: all var(--fc-transition-fast);
}

.fc-header--scrolled .fc-hamburger span {
    background: var(--fc-dark);
}

/* ==========================================================================
   Hero
   ========================================================================== */
.fc-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--fc-gradient-hero);
    overflow: hidden;
}

.fc-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: fc-pulse 8s ease-in-out infinite;
}

.fc-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: fc-pulse 6s ease-in-out infinite reverse;
}

@keyframes fc-pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.fc-hero__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--fc-space-3xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.fc-hero__content {
    animation: fc-fadeInUp 0.8s ease forwards;
}

@keyframes fc-fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.fc-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: var(--fc-space-sm);
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--fc-secondary);
    padding: var(--fc-space-sm) var(--fc-space-lg);
    border-radius: var(--fc-radius-full);
    font-size: var(--fc-text-sm);
    font-weight: 500;
    margin-bottom: var(--fc-space-xl);
}

.fc-hero__badge-dot {
    width: 8px;
    height: 8px;
    background: var(--fc-secondary);
    border-radius: 50%;
    animation: fc-blink 1.5s ease-in-out infinite;
}

@keyframes fc-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.fc-hero__title {
    font-size: var(--fc-text-5xl);
    color: var(--fc-white);
    margin-bottom: var(--fc-space-lg);
    line-height: 1.1;
}

.fc-hero__title-highlight {
    background: linear-gradient(135deg, var(--fc-secondary), var(--fc-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.fc-hero__text {
    font-size: var(--fc-text-lg);
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--fc-space-2xl);
    line-height: 1.7;
    max-width: 500px;
}

.fc-hero__actions {
    display: flex;
    gap: var(--fc-space-md);
    margin-bottom: var(--fc-space-2xl);
}

.fc-hero__stats {
    display: flex;
    gap: var(--fc-space-2xl);
}

.fc-hero__stat {
    text-align: left;
}

.fc-hero__stat-value {
    font-size: var(--fc-text-2xl);
    font-weight: 800;
    color: var(--fc-white);
}

.fc-hero__stat-label {
    font-size: var(--fc-text-sm);
    color: rgba(255, 255, 255, 0.5);
}

/* Hero Card (Calculator Preview) */
.fc-hero__card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--fc-radius-2xl);
    padding: var(--fc-space-2xl);
    animation: fc-fadeInUp 0.8s ease 0.3s forwards;
    opacity: 0;
}

.fc-hero__card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--fc-space-xl);
}

.fc-hero__card-title {
    color: var(--fc-white);
    font-size: var(--fc-text-xl);
    font-weight: 700;
}

.fc-hero__card-badge {
    background: var(--fc-gradient-green);
    color: var(--fc-white);
    font-size: var(--fc-text-xs);
    font-weight: 600;
    padding: var(--fc-space-xs) var(--fc-space-md);
    border-radius: var(--fc-radius-full);
}

/* ==========================================================================
   Calculator Widget
   ========================================================================== */
.fc-calc {
    background: var(--fc-white);
    border-radius: var(--fc-radius-2xl);
    box-shadow: var(--fc-shadow-2xl);
    overflow: hidden;
}

.fc-calc--hero {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: none;
}

.fc-calc__body {
    padding: var(--fc-space-2xl);
}

.fc-calc__group {
    margin-bottom: var(--fc-space-xl);
}

.fc-calc__label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--fc-space-sm);
}

.fc-calc__label-text {
    font-size: var(--fc-text-sm);
    font-weight: 500;
    color: var(--fc-gray-700);
}

.fc-calc--hero .fc-calc__label-text {
    color: rgba(255, 255, 255, 0.7);
}

.fc-calc__label-value {
    font-size: var(--fc-text-lg);
    font-weight: 700;
    color: var(--fc-primary);
}

.fc-calc--hero .fc-calc__label-value {
    color: var(--fc-secondary);
}

.fc-calc__slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: var(--fc-gray-300);
    outline: none;
    cursor: pointer;
}

.fc-calc--hero .fc-calc__slider {
    background: rgba(255, 255, 255, 0.15);
}

.fc-calc__slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--fc-primary);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.4);
    cursor: pointer;
    transition: transform var(--fc-transition-fast);
}

.fc-calc__slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

.fc-calc__slider::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--fc-primary);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.4);
    cursor: pointer;
    border: none;
}

.fc-calc__result {
    background: var(--fc-gray-100);
    border-radius: var(--fc-radius-xl);
    padding: var(--fc-space-xl);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--fc-space-md);
}

.fc-calc--hero .fc-calc__result {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.fc-calc__result-item {
    text-align: center;
    padding: var(--fc-space-md);
}

.fc-calc__result-label {
    font-size: var(--fc-text-xs);
    color: var(--fc-gray-600);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--fc-space-xs);
}

.fc-calc--hero .fc-calc__result-label {
    color: rgba(255, 255, 255, 0.5);
}

.fc-calc__result-value {
    font-size: var(--fc-text-xl);
    font-weight: 800;
    color: var(--fc-dark);
}

.fc-calc--hero .fc-calc__result-value {
    color: var(--fc-white);
}

.fc-calc__result-value--highlight {
    color: var(--fc-secondary);
}

.fc-calc--hero .fc-calc__result-value--highlight {
    color: var(--fc-secondary);
}

/* ==========================================================================
   Advantages (Features)
   ========================================================================== */
.fc-advantages__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--fc-space-xl);
}

.fc-advantage {
    background: var(--fc-gradient-card);
    border: 1px solid var(--fc-gray-300);
    border-radius: var(--fc-radius-xl);
    padding: var(--fc-space-2xl);
    transition: all var(--fc-transition-base);
    position: relative;
    overflow: hidden;
}

.fc-advantage::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--fc-gradient-cta);
    transform: scaleX(0);
    transition: transform var(--fc-transition-base);
}

.fc-advantage:hover {
    transform: translateY(-4px);
    box-shadow: var(--fc-shadow-xl);
    border-color: var(--fc-primary-light);
}

.fc-advantage:hover::before {
    transform: scaleX(1);
}

.fc-advantage__icon {
    width: 56px;
    height: 56px;
    border-radius: var(--fc-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--fc-text-2xl);
    margin-bottom: var(--fc-space-lg);
}

.fc-advantage__icon--blue {
    background: var(--fc-primary-light);
    color: var(--fc-primary);
}

.fc-advantage__icon--green {
    background: var(--fc-secondary-light);
    color: var(--fc-secondary);
}

.fc-advantage__icon--amber {
    background: #FEF3C7;
    color: var(--fc-accent);
}

.fc-advantage__title {
    font-size: var(--fc-text-xl);
    margin-bottom: var(--fc-space-sm);
}

.fc-advantage__text {
    font-size: var(--fc-text-sm);
    color: var(--fc-gray-600);
    line-height: 1.7;
}

/* ==========================================================================
   How It Works (Steps)
   ========================================================================== */
.fc-steps__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--fc-space-xl);
    position: relative;
}

.fc-steps__grid::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 12.5%;
    width: 75%;
    height: 2px;
    background: var(--fc-gray-300);
    z-index: 0;
}

.fc-step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.fc-step__number {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--fc-white);
    border: 3px solid var(--fc-gray-300);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--fc-text-2xl);
    font-weight: 800;
    color: var(--fc-gray-500);
    margin-inline: auto;
    margin-bottom: var(--fc-space-xl);
    transition: all var(--fc-transition-base);
}

.fc-step:hover .fc-step__number {
    background: var(--fc-primary);
    border-color: var(--fc-primary);
    color: var(--fc-white);
    transform: scale(1.1);
    box-shadow: var(--fc-shadow-glow);
}

.fc-step__title {
    font-size: var(--fc-text-lg);
    margin-bottom: var(--fc-space-sm);
}

.fc-step__text {
    font-size: var(--fc-text-sm);
    color: var(--fc-gray-600);
    line-height: 1.6;
}

/* ==========================================================================
   Calculator Section (standalone)
   ========================================================================== */
.fc-calculator-section {
    background: var(--fc-gradient-hero);
    position: relative;
    overflow: hidden;
}

.fc-calculator-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.fc-calculator-section .fc-section__title {
    color: var(--fc-white);
}

.fc-calculator-section .fc-section__subtitle {
    color: rgba(255, 255, 255, 0.6);
}

.fc-calculator-section .fc-section__badge {
    background: rgba(16, 185, 129, 0.15);
    color: var(--fc-secondary);
}

.fc-calculator__wrapper {
    max-width: 700px;
    margin-inline: auto;
    position: relative;
    z-index: 1;
}

/* ==========================================================================
   Trust Indicators
   ========================================================================== */
.fc-trust__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--fc-space-xl);
}

.fc-trust-item {
    text-align: center;
    padding: var(--fc-space-xl);
}

.fc-trust-item__value {
    font-size: var(--fc-text-4xl);
    font-weight: 800;
    color: var(--fc-primary);
    margin-bottom: var(--fc-space-xs);
}

.fc-trust-item__label {
    font-size: var(--fc-text-sm);
    color: var(--fc-gray-600);
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.fc-testimonials__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--fc-space-xl);
}

.fc-testimonial {
    background: var(--fc-white);
    border: 1px solid var(--fc-gray-300);
    border-radius: var(--fc-radius-xl);
    padding: var(--fc-space-2xl);
    transition: all var(--fc-transition-base);
}

.fc-testimonial:hover {
    box-shadow: var(--fc-shadow-lg);
    transform: translateY(-2px);
}

.fc-testimonial__stars {
    display: flex;
    gap: 2px;
    margin-bottom: var(--fc-space-md);
    color: var(--fc-accent);
    font-size: var(--fc-text-lg);
}

.fc-testimonial__text {
    font-size: var(--fc-text-sm);
    color: var(--fc-gray-700);
    line-height: 1.7;
    margin-bottom: var(--fc-space-lg);
    font-style: italic;
}

.fc-testimonial__author {
    display: flex;
    align-items: center;
    gap: var(--fc-space-md);
}

.fc-testimonial__avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--fc-gradient-cta);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--fc-white);
    font-weight: 700;
    font-size: var(--fc-text-lg);
}

.fc-testimonial__name {
    font-size: var(--fc-text-sm);
    font-weight: 600;
    color: var(--fc-dark);
}

.fc-testimonial__role {
    font-size: var(--fc-text-xs);
    color: var(--fc-gray-500);
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.fc-faq__list {
    max-width: 800px;
    margin-inline: auto;
}

.fc-faq-item {
    border: 1px solid var(--fc-gray-300);
    border-radius: var(--fc-radius-lg);
    margin-bottom: var(--fc-space-md);
    overflow: hidden;
    transition: all var(--fc-transition-fast);
}

.fc-faq-item:hover {
    border-color: var(--fc-primary-light);
}

.fc-faq-item__question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--fc-space-lg) var(--fc-space-xl);
    cursor: pointer;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    font-family: var(--fc-font-primary);
    font-size: var(--fc-text-base);
    font-weight: 600;
    color: var(--fc-dark);
    transition: color var(--fc-transition-fast);
}

.fc-faq-item__question:hover {
    color: var(--fc-primary);
}

.fc-faq-item__icon {
    font-size: var(--fc-text-xl);
    color: var(--fc-primary);
    transition: transform var(--fc-transition-base);
    flex-shrink: 0;
}

.fc-faq-item.active .fc-faq-item__icon {
    transform: rotate(45deg);
}

.fc-faq-item__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--fc-transition-slow);
}

.fc-faq-item.active .fc-faq-item__answer {
    max-height: 300px;
}

.fc-faq-item__answer-inner {
    padding: 0 var(--fc-space-xl) var(--fc-space-lg);
    font-size: var(--fc-text-sm);
    color: var(--fc-gray-600);
    line-height: 1.7;
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
.fc-cta {
    background: var(--fc-gradient-cta);
    position: relative;
    overflow: hidden;
}

.fc-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.fc-cta__inner {
    text-align: center;
    position: relative;
    z-index: 1;
}

.fc-cta__title {
    font-size: var(--fc-text-4xl);
    color: var(--fc-white);
    margin-bottom: var(--fc-space-md);
}

.fc-cta__text {
    font-size: var(--fc-text-lg);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--fc-space-2xl);
    max-width: 600px;
    margin-inline: auto;
}

.fc-cta__actions {
    display: flex;
    justify-content: center;
    gap: var(--fc-space-md);
}

.fc-cta .fc-btn--primary {
    background: var(--fc-white);
    color: var(--fc-primary);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.fc-cta .fc-btn--primary:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.fc-footer {
    background: var(--fc-dark);
    color: rgba(255, 255, 255, 0.7);
    padding-top: var(--fc-space-4xl);
}

.fc-footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--fc-space-3xl);
    padding-bottom: var(--fc-space-3xl);
}

.fc-footer__brand-text {
    font-size: var(--fc-text-sm);
    line-height: 1.7;
    margin-top: var(--fc-space-lg);
    max-width: 300px;
}

.fc-footer__title {
    font-size: var(--fc-text-sm);
    font-weight: 700;
    color: var(--fc-white);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--fc-space-lg);
}

.fc-footer__links {
    display: flex;
    flex-direction: column;
    gap: var(--fc-space-md);
}

.fc-footer__link {
    font-size: var(--fc-text-sm);
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--fc-transition-fast);
}

.fc-footer__link:hover {
    color: var(--fc-secondary);
}

.fc-footer__contact-item {
    display: flex;
    align-items: center;
    gap: var(--fc-space-sm);
    font-size: var(--fc-text-sm);
    margin-bottom: var(--fc-space-md);
}

.fc-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-block: var(--fc-space-xl);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: var(--fc-text-xs);
    color: rgba(255, 255, 255, 0.4);
}

.fc-footer__socials {
    display: flex;
    gap: var(--fc-space-md);
}

.fc-footer__social {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--fc-text-sm);
    transition: all var(--fc-transition-fast);
    text-decoration: none;
}

.fc-footer__social:hover {
    background: var(--fc-primary);
    color: var(--fc-white);
}

/* ==========================================================================
   Page Content
   ========================================================================== */
.fc-page {
    padding-top: 100px;
    min-height: 60vh;
}

.fc-page__header {
    background: var(--fc-gradient-hero);
    padding: var(--fc-space-4xl) 0 var(--fc-space-3xl);
    text-align: center;
}

.fc-page__title {
    font-size: var(--fc-text-4xl);
    color: var(--fc-white);
    margin-bottom: var(--fc-space-md);
}

.fc-page__breadcrumb {
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--fc-text-sm);
}

.fc-page__breadcrumb a {
    color: rgba(255, 255, 255, 0.6);
}

.fc-page__breadcrumb a:hover {
    color: var(--fc-white);
}

.fc-page__content {
    padding: var(--fc-space-3xl) 0;
}

.fc-page__content h2 {
    font-size: var(--fc-text-3xl);
    margin-bottom: var(--fc-space-lg);
    margin-top: var(--fc-space-2xl);
}

.fc-page__content h3 {
    font-size: var(--fc-text-2xl);
    margin-bottom: var(--fc-space-md);
    margin-top: var(--fc-space-xl);
}

.fc-page__content p {
    margin-bottom: var(--fc-space-lg);
    line-height: 1.8;
}

.fc-page__content ul,
.fc-page__content ol {
    margin-bottom: var(--fc-space-lg);
    padding-left: var(--fc-space-xl);
}

.fc-page__content li {
    margin-bottom: var(--fc-space-sm);
    line-height: 1.7;
    list-style: disc;
}

.fc-page__content ol li {
    list-style: decimal;
}

/* ==========================================================================
   Blog
   ========================================================================== */
.fc-posts__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--fc-space-xl);
}

.fc-post-card {
    background: var(--fc-white);
    border: 1px solid var(--fc-gray-300);
    border-radius: var(--fc-radius-xl);
    overflow: hidden;
    transition: all var(--fc-transition-base);
}

.fc-post-card:hover {
    box-shadow: var(--fc-shadow-lg);
    transform: translateY(-4px);
}

.fc-post-card__image {
    aspect-ratio: 16 / 10;
    background: var(--fc-gray-200);
    overflow: hidden;
}

.fc-post-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--fc-transition-slow);
}

.fc-post-card:hover .fc-post-card__image img {
    transform: scale(1.05);
}

.fc-post-card__body {
    padding: var(--fc-space-xl);
}

.fc-post-card__meta {
    font-size: var(--fc-text-xs);
    color: var(--fc-gray-500);
    margin-bottom: var(--fc-space-sm);
}

.fc-post-card__title {
    font-size: var(--fc-text-lg);
    margin-bottom: var(--fc-space-sm);
}

.fc-post-card__title a {
    color: var(--fc-dark);
}

.fc-post-card__title a:hover {
    color: var(--fc-primary);
}

.fc-post-card__excerpt {
    font-size: var(--fc-text-sm);
    color: var(--fc-gray-600);
    line-height: 1.6;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
    .fc-hero__inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .fc-hero__text {
        margin-inline: auto;
    }

    .fc-hero__actions {
        justify-content: center;
    }

    .fc-hero__stats {
        justify-content: center;
    }

    .fc-hero__card {
        max-width: 500px;
        margin-inline: auto;
    }

    .fc-advantages__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .fc-steps__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .fc-steps__grid::before {
        display: none;
    }

    .fc-trust__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .fc-testimonials__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .fc-footer__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .fc-posts__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --fc-container-padding: 1rem;
    }

    .fc-section {
        padding-block: var(--fc-space-3xl);
    }

    .fc-section__title {
        font-size: var(--fc-text-3xl);
    }

    .fc-hero__title {
        font-size: var(--fc-text-4xl);
    }

    .fc-hamburger {
        display: flex;
    }

    .fc-nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--fc-dark);
        flex-direction: column;
        justify-content: center;
        z-index: 999;
    }

    .fc-nav.active {
        display: flex;
    }

    .fc-nav__menu {
        flex-direction: column;
        gap: var(--fc-space-xl);
    }

    .fc-nav__link {
        font-size: var(--fc-text-xl);
        color: var(--fc-white);
    }

    .fc-advantages__grid,
    .fc-steps__grid,
    .fc-trust__grid,
    .fc-testimonials__grid,
    .fc-posts__grid {
        grid-template-columns: 1fr;
    }

    .fc-footer__grid {
        grid-template-columns: 1fr;
    }

    .fc-footer__bottom {
        flex-direction: column;
        gap: var(--fc-space-md);
        text-align: center;
    }

    .fc-hero__actions {
        flex-direction: column;
        align-items: center;
    }

    .fc-hero__stats {
        flex-direction: column;
        align-items: center;
    }

    .fc-cta__actions {
        flex-direction: column;
        align-items: center;
    }

    .fc-cta__title {
        font-size: var(--fc-text-3xl);
    }

    .fc-calc__result {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .fc-hero__title {
        font-size: var(--fc-text-3xl);
    }

    .fc-section__title {
        font-size: var(--fc-text-2xl);
    }

    .fc-btn--lg {
        width: 100%;
    }
}
