@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Source+Sans+Pro:wght@300;400;600;700&display=swap');

:root {
    --primary: #992CC3;
    --primary-rgb: 153, 44, 195;
    --secondary: #A9862D;
    --secondary-rgb: 169, 134, 45;
    --accent: #52D1AD;
    --accent-rgb: 82, 209, 173;
    --bg: #FFFAF5;
    --bg-alt: #FAF5EF;
    --text: #2D2319;
    --text-muted: #6B5D4F;
    --section-dark: #2D2319;
    --section-accent: #FAF0E6;
    --border-color: #E8DDD2;
    --white: #ffffff;
    --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-body: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, sans-serif;
    --fs-xs: 0.75rem;
    --fs-sm: 0.875rem;
    --fs-base: 1rem;
    --fs-lg: 1.25rem;
    --fs-xl: 1.625rem;
    --fs-xxl: 2.25rem;
    --fs-hero: 3rem;
    --sp-xs: 4px;
    --sp-sm: 8px;
    --sp-md: 16px;
    --sp-lg: 24px;
    --sp-xl: 32px;
    --sp-xxl: 48px;
    --max-w: 1200px;
    --radius: 6px;
    --radius-lg: 12px;
    --shadow-sm: 0 1px 4px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 32px rgba(0,0,0,0.12);
    --transition: 0.3s ease;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-18px); }
}

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

@keyframes warmPulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: var(--fs-base);
    line-height: 1.5;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--secondary);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.25;
    color: var(--text);
    letter-spacing: -0.01em;
}

h1 { font-size: var(--fs-hero); margin-bottom: var(--sp-lg); }
h2 { font-size: var(--fs-xxl); margin-bottom: var(--sp-md); }
h3 { font-size: var(--fs-xl); margin-bottom: var(--sp-md); }
h4 { font-size: var(--fs-lg); margin-bottom: var(--sp-sm); }

p {
    margin-bottom: var(--sp-md);
    color: var(--text);
}

ul, ol {
    padding-left: var(--sp-lg);
    margin-bottom: var(--sp-md);
}

li { margin-bottom: var(--sp-xs); }

blockquote {
    border-left: 4px solid var(--secondary);
    padding: var(--sp-md) var(--sp-lg);
    margin: var(--sp-lg) 0;
    background: var(--bg-alt);
    font-style: italic;
    font-family: var(--font-heading);
    font-size: var(--fs-lg);
    color: var(--text-muted);
}

hr {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: var(--sp-xl) 0;
}

.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--sp-lg);
}

.row {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-lg);
}

.grid {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-lg);
}

.grid-2 {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-lg);
}

.grid-2 > * {
    flex: 1 1 calc(50% - var(--sp-lg));
    min-width: 280px;
}

.grid-3 {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-lg);
}

.grid-3 > * {
    flex: 1 1 calc(33.333% - var(--sp-lg));
    min-width: 260px;
}

.grid-4 {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-lg);
}

.grid-4 > * {
    flex: 1 1 calc(25% - var(--sp-lg));
    min-width: 220px;
}

.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    background: var(--white);
    border-right: 1px solid var(--border-color);
    padding: var(--sp-xl) var(--sp-lg);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.nav-container {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.logo {
    font-family: var(--font-heading);
    font-size: var(--fs-xl);
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    margin-bottom: var(--sp-xxl);
    display: block;
    line-height: 1.2;
}

.logo:hover {
    color: var(--secondary);
}

.logo span {
    display: block;
    font-size: var(--fs-xs);
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--text-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-top: var(--sp-xs);
}

.nav-menu {
    display: flex;
    flex-direction: column;
    gap: var(--sp-xs);
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
}

.nav-item {
    width: 100%;
}

.nav-link {
    display: block;
    padding: var(--sp-sm) var(--sp-md);
    color: var(--text);
    font-size: var(--fs-sm);
    font-weight: 600;
    border-radius: var(--radius);
    transition: background var(--transition), color var(--transition);
    text-decoration: none;
}

.nav-link:hover,
.nav-link.active {
    background: var(--section-accent);
    color: var(--primary);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 26px;
    color: var(--text);
    cursor: pointer;
    padding: var(--sp-sm);
    z-index: 1001;
    position: fixed;
    top: var(--sp-md);
    right: var(--sp-md);
}

main {
    margin-left: 280px;
    min-height: 100vh;
}

.hero {
    position: relative;
    min-height: 85vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    background: var(--primary);
    color: var(--white);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--accent-rgb), 0.18) 0%, transparent 70%);
    top: -90px;
    right: -80px;
    z-index: 0;
    animation: float 7s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--secondary-rgb), 0.12) 0%, transparent 70%);
    bottom: -60px;
    left: -40px;
    z-index: 0;
    animation: float 9s ease-in-out infinite reverse;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: var(--sp-xxl);
    max-width: 560px;
}

.hero-content h1 {
    color: var(--white);
    font-size: var(--fs-hero);
    margin-bottom: var(--sp-md);
    animation: fadeInUp 0.8s ease-out;
}

.hero-content p {
    color: rgba(255,255,255,0.88);
    font-size: var(--fs-lg);
    margin-bottom: var(--sp-xl);
    line-height: 1.7;
}

.hero-image {
    position: relative;
    height: 100%;
    z-index: 1;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--primary) 0%, transparent 30%);
    z-index: 2;
}

.header-hero {
    position: relative;
    padding: var(--sp-xxl) 0;
    background: linear-gradient(135deg, var(--primary) 0%, #7a1fa0 100%);
    color: var(--white);
    text-align: center;
    overflow: hidden;
}

.header-hero::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
    top: -100px;
    right: 10%;
    animation: float 8s ease-in-out infinite;
}

.header-hero h1 {
    color: var(--white);
    font-size: var(--fs-xxl);
    position: relative;
    z-index: 2;
}

.header-hero p {
    color: rgba(255,255,255,0.8);
    font-size: var(--fs-lg);
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
}

.content-section {
    padding: var(--sp-xxl) 0;
    position: relative;
}

.content-section + .content-section {
    margin-top: calc(var(--sp-xl) * -1);
    padding-top: calc(var(--sp-xxl) + var(--sp-xl));
}

.section-dark {
    background: var(--section-dark);
    color: var(--white);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
    color: var(--white);
}

.section-dark p {
    color: rgba(255,255,255,0.82);
}

.section-dark a {
    color: var(--accent);
}

.section-dark a:hover {
    color: var(--white);
}

.section-accent {
    background: var(--section-accent);
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto var(--sp-xl);
}

.section-header h2 {
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    margin: var(--sp-sm) auto 0;
    border-radius: 2px;
}

.section-header p {
    color: var(--text-muted);
    font-size: var(--fs-lg);
    margin-top: var(--sp-sm);
}

.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.35s ease, border-color 0.35s ease, transform 0.35s ease;
}

.card:hover {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.12), var(--shadow-md);
    transform: translateY(-4px);
}

.card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card:hover img {
    transform: scale(1.06);
}

.card-body {
    padding: var(--sp-lg);
}

.card-body h3 {
    font-size: var(--fs-lg);
    margin-bottom: var(--sp-sm);
}

.card-body p {
    color: var(--text-muted);
    font-size: var(--fs-sm);
}

.feature {
    padding: var(--sp-xl);
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1), rgba(var(--accent-rgb), 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--sp-md);
    font-size: 28px;
    color: var(--primary);
    transition: background 0.3s ease;
}

.feature:hover .feature-icon {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--white);
}

.feature h3 {
    font-size: var(--fs-lg);
    margin-bottom: var(--sp-sm);
}

.feature p {
    color: var(--text-muted);
    font-size: var(--fs-sm);
}

.testimonial-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--sp-xl);
    position: relative;
}

.testimonial-card::before {
    content: '\201C';
    font-family: var(--font-heading);
    font-size: 4rem;
    color: var(--accent);
    position: absolute;
    top: var(--sp-md);
    left: var(--sp-lg);
    line-height: 1;
    opacity: 0.4;
}

.testimonial-card p {
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: var(--sp-md);
    position: relative;
    z-index: 1;
}

.testimonial-card .author {
    font-weight: 600;
    color: var(--text);
    font-style: normal;
    font-size: var(--fs-sm);
}

.pricing-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--sp-xl);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.pricing-card.featured {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(var(--primary-rgb), 0.15);
    position: relative;
}

.pricing-card.featured::before {
    content: 'Popular';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--white);
    padding: var(--sp-xs) var(--sp-md);
    border-radius: 20px;
    font-size: var(--fs-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-card h3 {
    font-size: var(--fs-xl);
    margin-bottom: var(--sp-sm);
}

.pricing-card .price {
    font-size: var(--fs-xxl);
    font-weight: 700;
    color: var(--primary);
    font-family: var(--font-heading);
    margin-bottom: var(--sp-md);
}

.pricing-card .price span {
    font-size: var(--fs-sm);
    color: var(--text-muted);
    font-weight: 400;
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: var(--sp-lg);
    text-align: left;
}

.pricing-card ul li {
    padding: var(--sp-sm) 0;
    border-bottom: 1px solid var(--border-color);
    font-size: var(--fs-sm);
    color: var(--text-muted);
}

.pricing-card ul li::before {
    content: '\2713';
    color: var(--accent);
    font-weight: 700;
    margin-right: var(--sp-sm);
}

.two-col-layout {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-xxl);
    align-items: center;
}

.two-col-layout > * {
    flex: 1 1 calc(50% - var(--sp-xxl));
    min-width: 300px;
}

.two-col-layout.reverse {
    flex-direction: row-reverse;
}

.two-col-layout img {
    border-radius: var(--radius-lg);
    width: 100%;
    object-fit: cover;
}

.sidebar-layout {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-xl);
}

.sidebar-layout .main-content {
    flex: 1 1 0;
    min-width: 0;
}

.sidebar-layout .sidebar {
    flex: 0 0 300px;
    position: sticky;
    top: var(--sp-lg);
    align-self: flex-start;
}

.sidebar .sidebar-widget {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--sp-lg);
    margin-bottom: var(--sp-lg);
}

.sidebar .sidebar-widget h4 {
    font-size: var(--fs-base);
    margin-bottom: var(--sp-md);
    padding-bottom: var(--sp-sm);
    border-bottom: 2px solid var(--primary);
}

.sidebar .sidebar-widget ul {
    list-style: none;
    padding: 0;
}

.sidebar .sidebar-widget ul li {
    margin-bottom: var(--sp-sm);
}

.sidebar .sidebar-widget ul li a {
    color: var(--text-muted);
    font-size: var(--fs-sm);
    display: block;
    padding: var(--sp-xs) 0;
    border-bottom: 1px solid var(--border-color);
    transition: color var(--transition), padding-left var(--transition);
}

.sidebar .sidebar-widget ul li a:hover {
    color: var(--primary);
    padding-left: var(--sp-sm);
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.8rem;
    font-family: var(--font-body);
    font-size: var(--fs-sm);
    font-weight: 600;
    border-radius: var(--radius);
    border: 2px solid transparent;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: all var(--transition);
    line-height: 1.5;
}

.btn-primary {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
    z-index: -1;
}

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

.btn-primary:hover::before {
    transform: scaleX(1);
}

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

.btn-secondary:hover {
    background: transparent;
    color: var(--secondary);
}

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

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

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: var(--fs-base);
}

.section-dark .btn-primary {
    border-color: var(--accent);
    color: var(--accent);
}

.section-dark .btn-primary::before {
    background: var(--accent);
}

.section-dark .btn-primary:hover {
    color: var(--section-dark);
}

form {
    max-width: 600px;
}

.form-group {
    margin-bottom: var(--sp-md);
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: var(--sp-xs);
    font-size: var(--fs-sm);
    color: var(--text);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: var(--sp-sm) var(--sp-md);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: var(--fs-base);
    color: var(--text);
    background: var(--white);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
    opacity: 0.7;
}

.search-bar {
    display: flex;
    gap: var(--sp-sm);
    max-width: 560px;
}

.search-bar input {
    flex: 1;
    padding: var(--sp-sm) var(--sp-md);
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: var(--radius);
    background: rgba(255,255,255,0.12);
    color: var(--white);
    font-size: var(--fs-base);
    backdrop-filter: blur(4px);
}

.search-bar input::placeholder {
    color: rgba(255,255,255,0.6);
}

.search-bar input:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255,255,255,0.18);
}

.search-bar .btn {
    white-space: nowrap;
}

.category-grid {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-md);
    justify-content: center;
    margin-top: var(--sp-xl);
}

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--sp-sm);
    padding: var(--sp-md) var(--sp-lg);
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-lg);
    color: var(--white);
    font-size: var(--fs-sm);
    font-weight: 600;
    text-decoration: none;
    transition: background var(--transition), transform var(--transition);
    min-width: 120px;
}

.category-item i {
    font-size: var(--fs-xl);
    color: var(--accent);
}

.category-item:hover {
    background: rgba(255,255,255,0.18);
    transform: translateY(-3px);
    color: var(--white);
}

.listing-card {
    display: flex;
    gap: var(--sp-lg);
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--sp-lg);
    transition: box-shadow var(--transition), transform var(--transition);
}

.listing-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.listing-card img {
    width: 120px;
    height: 120px;
    border-radius: var(--radius);
    object-fit: cover;
    flex-shrink: 0;
}

.listing-card .listing-info h3 {
    font-size: var(--fs-lg);
    margin-bottom: var(--sp-xs);
}

.listing-card .listing-info p {
    color: var(--text-muted);
    font-size: var(--fs-sm);
    margin-bottom: var(--sp-sm);
}

.listing-card .listing-meta {
    display: flex;
    gap: var(--sp-md);
    font-size: var(--fs-xs);
    color: var(--text-muted);
}

.listing-card .listing-meta span {
    display: flex;
    align-items: center;
    gap: var(--sp-xs);
}

.rating {
    color: var(--secondary);
    font-weight: 600;
}

.badge {
    display: inline-block;
    padding: 2px var(--sp-sm);
    border-radius: 20px;
    font-size: var(--fs-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.badge-primary {
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
}

.badge-accent {
    background: rgba(var(--accent-rgb), 0.12);
    color: #2b9e80;
}

.article-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.article-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.article-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.article-card:hover img {
    transform: scale(1.05);
}

.article-card .article-body {
    padding: var(--sp-lg);
}

.article-card .article-meta {
    font-size: var(--fs-xs);
    color: var(--text-muted);
    margin-bottom: var(--sp-sm);
    display: flex;
    gap: var(--sp-md);
}

.article-card h3 {
    font-size: var(--fs-lg);
    margin-bottom: var(--sp-sm);
}

.article-card h3 a {
    color: var(--text);
}

.article-card h3 a:hover {
    color: var(--primary);
}

.article-card p {
    font-size: var(--fs-sm);
    color: var(--text-muted);
}

.stats-row {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-lg);
    justify-content: center;
    padding: var(--sp-xl) 0;
}

.stat-item {
    text-align: center;
    padding: var(--sp-md) var(--sp-xl);
}

.stat-item .stat-number {
    font-family: var(--font-heading);
    font-size: var(--fs-xxl);
    font-weight: 700;
    color: var(--accent);
    display: block;
    line-height: 1.1;
}

.stat-item .stat-label {
    font-size: var(--fs-sm);
    color: rgba(255,255,255,0.7);
    margin-top: var(--sp-xs);
    display: block;
}

.section-accent .stat-item .stat-number {
    color: var(--primary);
}

.section-accent .stat-item .stat-label {
    color: var(--text-muted);
}

.cta-section {
    text-align: center;
    padding: var(--sp-xxl) var(--sp-lg);
    background: linear-gradient(135deg, var(--primary) 0%, #7a1fa0 50%, var(--secondary) 100%);
    border-radius: var(--radius-lg);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    animation: float 6s ease-in-out infinite;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: var(--sp-md);
}

.cta-section p {
    color: rgba(255,255,255,0.85);
    max-width: 500px;
    margin: 0 auto var(--sp-lg);
    font-size: var(--fs-lg);
}

.cta-section .btn {
    border-color: var(--white);
    color: var(--white);
}

.cta-section .btn::before {
    background: var(--white);
}

.cta-section .btn:hover {
    color: var(--primary);
}

.section-divider {
    display: block;
    width: 100%;
    height: auto;
    margin: -1px 0;
    line-height: 0;
}

.section-divider svg {
    display: block;
    width: 100%;
    height: 60px;
}

.section-divider.flip {
    transform: scaleY(-1);
}

.section-angled {
    position: relative;
    clip-path: polygon(0 4%, 100% 0, 100% 96%, 0 100%);
    margin-top: -3rem;
    margin-bottom: -3rem;
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    margin-bottom: var(--sp-sm);
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--sp-md) var(--sp-lg);
    background: var(--white);
    cursor: pointer;
    font-weight: 600;
    font-size: var(--fs-base);
    border: none;
    width: 100%;
    text-align: left;
    font-family: var(--font-body);
    color: var(--text);
    transition: background var(--transition);
}

.faq-question:hover {
    background: var(--bg-alt);
}

.faq-question::after {
    content: '+';
    font-size: var(--fs-xl);
    color: var(--primary);
    transition: transform var(--transition);
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

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

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

.faq-answer-inner {
    padding: 0 var(--sp-lg) var(--sp-lg);
    color: var(--text-muted);
    font-size: var(--fs-sm);
    line-height: 1.7;
}

footer.footer-mega {
    background: var(--section-dark);
    color: rgba(255,255,255,0.75);
    padding: var(--sp-xxl) var(--sp-lg) var(--sp-lg);
}

footer.footer-mega .footer-grid {
    max-width: var(--max-w);
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-xl);
    margin-bottom: var(--sp-xl);
}

footer.footer-mega .footer-column {
    flex: 1 1 200px;
    min-width: 180px;
}

footer.footer-mega .footer-column h4 {
    color: var(--white);
    font-size: var(--fs-base);
    margin-bottom: var(--sp-md);
    font-weight: 600;
    font-family: var(--font-heading);
}

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

footer.footer-mega .footer-column li {
    margin-bottom: var(--sp-sm);
}

footer.footer-mega .footer-column a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: var(--fs-sm);
    transition: color 0.2s ease;
}

footer.footer-mega .footer-column a:hover {
    color: var(--accent);
}

footer.footer-mega .footer-copyright {
    text-align: center;
    padding-top: var(--sp-lg);
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.4);
    font-size: var(--fs-sm);
}

footer.footer-mega .footer-social {
    display: flex;
    gap: var(--sp-md);
    margin-top: var(--sp-md);
}

footer.footer-mega .footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.6);
    font-size: var(--fs-sm);
    transition: all 0.2s ease;
}

footer.footer-mega .footer-social a:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(var(--accent-rgb), 0.1);
}

[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}

[data-animate="fade-in"] {
    transform: none;
}

[data-animate="fade-in"].visible {
    opacity: 1;
}

[data-animate="slide-left"] {
    transform: translateX(-30px);
}

[data-animate="slide-left"].visible {
    opacity: 1;
    transform: translateX(0);
}

[data-animate="slide-right"] {
    transform: translateX(30px);
}

[data-animate="slide-right"].visible {
    opacity: 1;
    transform: translateX(0);
}

[data-stagger] > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

[data-stagger] > *.visible {
    opacity: 1;
    transform: translateY(0);
}

.partners-row {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-xl);
    align-items: center;
    justify-content: center;
    padding: var(--sp-lg) 0;
}

.partners-row img {
    height: 40px;
    width: auto;
    filter: grayscale(100%) opacity(0.5);
    transition: filter var(--transition);
}

.partners-row img:hover {
    filter: grayscale(0) opacity(1);
}

.breadcrumb {
    display: flex;
    gap: var(--sp-sm);
    padding: var(--sp-md) 0;
    font-size: var(--fs-sm);
    color: var(--text-muted);
    list-style: none;
}

.breadcrumb li + li::before {
    content: '/';
    margin-right: var(--sp-sm);
    color: var(--border-color);
}

.breadcrumb a {
    color: var(--text-muted);
}

.breadcrumb a:hover {
    color: var(--primary);
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-sm);
}

.tag {
    display: inline-block;
    padding: var(--sp-xs) var(--sp-sm);
    background: var(--bg-alt);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: var(--fs-xs);
    color: var(--text-muted);
    transition: all var(--transition);
}

.tag:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(var(--primary-rgb), 0.05);
}

.success-story {
    display: flex;
    gap: var(--sp-xl);
    padding: var(--sp-xl);
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    margin-bottom: var(--sp-lg);
    align-items: flex-start;
    transition: box-shadow var(--transition);
}

.success-story:hover {
    box-shadow: var(--shadow-md);
}

.success-story img {
    width: 200px;
    height: 160px;
    object-fit: cover;
    border-radius: var(--radius);
    flex-shrink: 0;
}

.success-story h3 {
    font-size: var(--fs-lg);
    margin-bottom: var(--sp-sm);
}

.success-story p {
    color: var(--text-muted);
    font-size: var(--fs-sm);
}

.news-item {
    display: flex;
    gap: var(--sp-md);
    padding: var(--sp-md) 0;
    border-bottom: 1px solid var(--border-color);
}

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

.news-item .news-date {
    flex-shrink: 0;
    width: 60px;
    text-align: center;
    padding: var(--sp-sm);
    background: var(--section-accent);
    border-radius: var(--radius);
}

.news-item .news-date .day {
    display: block;
    font-size: var(--fs-xl);
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--primary);
    line-height: 1;
}

.news-item .news-date .month {
    display: block;
    font-size: var(--fs-xs);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.news-item h3 {
    font-size: var(--fs-base);
    margin-bottom: var(--sp-xs);
}

.news-item h3 a {
    color: var(--text);
}

.news-item h3 a:hover {
    color: var(--primary);
}

.news-item p {
    font-size: var(--fs-sm);
    color: var(--text-muted);
    margin-bottom: 0;
}

@media screen and (max-width: 1024px) {
    .navbar {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        height: auto;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: var(--sp-md) var(--sp-lg);
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        overflow: visible;
    }

    .nav-container {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }

    .logo {
        margin-bottom: 0;
        font-size: var(--fs-lg);
    }

    .logo span {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
        position: static;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        border-bottom: 1px solid var(--border-color);
        box-shadow: var(--shadow-md);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
        padding: 0 var(--sp-lg);
    }

    .nav-menu.active {
        max-height: 500px;
        padding: var(--sp-md) var(--sp-lg);
    }

    .nav-link {
        padding: var(--sp-sm) 0;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-item:last-child .nav-link {
        border-bottom: none;
    }

    main {
        margin-left: 0;
        padding-top: 70px;
    }

    .hero {
        grid-template-columns: 1fr;
        min-height: 70vh;
    }

    .hero-content {
        padding: var(--sp-xl) var(--sp-lg);
    }

    .hero-content h1 {
        font-size: var(--fs-xxl);
    }

    .hero-image {
        height: 300px;
        order: -1;
    }

    .hero-image::before {
        background: linear-gradient(180deg, transparent 50%, var(--primary) 100%);
    }

    h1 { font-size: var(--fs-xxl); }
    h2 { font-size: var(--fs-xl); }

    .sidebar-layout {
        flex-direction: column;
    }

    .sidebar-layout .sidebar {
        flex: 1 1 auto;
        position: static;
    }

    .two-col-layout {
        gap: var(--sp-xl);
    }

    .listing-card {
        flex-direction: column;
    }

    .listing-card img {
        width: 100%;
        height: 180px;
    }

    .success-story {
        flex-direction: column;
    }

    .success-story img {
        width: 100%;
        height: 200px;
    }

    footer.footer-mega {
        margin-left: 0;
    }
}

@media screen and (max-width: 768px) {
    :root {
        --fs-hero: 2.25rem;
        --fs-xxl: 1.75rem;
        --fs-xl: 1.375rem;
    }

    .container {
        padding: 0 var(--sp-md);
    }

    .content-section {
        padding: var(--sp-xl) 0;
    }

    .grid-2 > *,
    .grid-3 > *,
    .grid-4 > * {
        flex: 1 1 100%;
    }

    .hero {
        min-height: 60vh;
    }

    .hero-content {
        padding: var(--sp-lg);
    }

    .hero-image {
        height: 240px;
    }

    .header-hero {
        padding: var(--sp-xl) var(--sp-md);
    }

    .search-bar {
        flex-direction: column;
    }

    .category-grid {
        gap: var(--sp-sm);
    }

    .category-item {
        min-width: 100px;
        padding: var(--sp-sm) var(--sp-md);
        font-size: var(--fs-xs);
    }

    .stats-row {
        gap: var(--sp-md);
    }

    .stat-item {
        padding: var(--sp-sm) var(--sp-md);
    }

    .two-col-layout > * {
        min-width: 100%;
    }

    .cta-section {
        padding: var(--sp-xl) var(--sp-md);
    }

    .pricing-card {
        padding: var(--sp-lg);
    }

    footer.footer-mega .footer-grid {
        flex-direction: column;
    }

    footer.footer-mega .footer-column {
        min-width: 100%;
    }
}

@media screen and (max-width: 480px) {
    :root {
        --fs-hero: 1.875rem;
        --fs-xxl: 1.5rem;
    }

    body {
        font-size: 15px;
    }

    .hero {
        min-height: auto;
    }

    .hero-content h1 {
        font-size: 1.75rem;
    }

    .btn {
        padding: 0.65rem 1.4rem;
        font-size: var(--fs-xs);
    }

    .btn-lg {
        padding: 0.75rem 1.8rem;
        font-size: var(--fs-sm);
    }

    .card img {
        height: 180px;
    }

    .listing-card {
        padding: var(--sp-md);
    }

    .news-item {
        flex-direction: column;
    }

    .news-item .news-date {
        width: auto;
        display: flex;
        gap: var(--sp-sm);
        align-items: baseline;
    }
}

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

    [data-animate] {
        opacity: 1;
        transform: none;
    }

    [data-stagger] > * {
        opacity: 1;
        transform: none;
    }
}

@media print {
    .navbar,
    .mobile-menu-toggle,
    .section-divider {
        display: none;
    }

    main {
        margin-left: 0;
    }

    body {
        color: #000;
        background: #fff;
    }
}
