:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary-color: #8b5cf6;
    --secondary-dark: #7c3aed;
    --secondary-light: #a78bfa;
    
    --text-primary: #1f2937;
    --text-secondary: #b6b8bc;
    --text-tertiary: #9ca3af;
    
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-tertiary: #f3f4f6;
    
    --border-color: #e5e7eb;
    --border-color-light: #f3f4f6;
    
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --gradient-secondary: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
    
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 6rem;
    --spacing-4xl: 8rem;
    --spacing-5xl: 10rem;
    
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    
    --transition: all 0.3s ease;
}

/* Smooth Transitions for All Elements */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    line-height: 1.6;
    opacity: 0;
    animation: pageLoad 0.5s ease-out forwards;
}

@keyframes pageLoad {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* Navigation */
.navbar {
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo a {
    font-size: 24px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    transition: var(--transition);
}

.logo a:hover {
    opacity: 0.8;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-xl);
    align-items: center;
}

.nav-menu li {
    pointer-events: auto;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    pointer-events: auto;
    cursor: pointer;
    display: block;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-color);
}

.btn-primary-nav {
    background: var(--gradient-primary);
    color: white !important;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--radius-lg);
    display: inline-block;
    pointer-events: auto !important;
    cursor: pointer !important;
    text-decoration: none !important;
}

.btn-primary-nav:hover {
    opacity: 0.9;
    text-decoration: none !important;
}

.btn-primary-nav:active {
    text-decoration: none !important;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-md);
    margin: calc(-var(--spacing-md));
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    background: var(--gradient-primary);
    color: white;
    padding: var(--spacing-3xl) 0;
    text-align: center;
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: var(--spacing-lg);
    line-height: 1.2;
    animation: fadeInDown 0.8s ease-out;
}

.hero-subtitle {
    font-size: 18px;
    margin-bottom: var(--spacing-xl);
    opacity: 0.95;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-lg);
    justify-content: center;
    margin-bottom: var(--spacing-3xl);
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: var(--spacing-3xl);
    margin-top: var(--spacing-2xl);
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.stat-item h3 {
    font-size: 28px;
    margin-bottom: var(--spacing-sm);
}

.stat-item p {
    opacity: 0.9;
    font-size: 14px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-xl);
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 16px;
    text-align: center;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

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

.btn-large {
    padding: var(--spacing-md) var(--spacing-2xl);
    font-size: 18px;
}

.btn-block {
    width: 100%;
}

/* Features Section */
.features {
    padding: var(--spacing-3xl) 0;
    background: var(--bg-secondary);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.section-header h2 {
    font-size: 36px;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.section-header p {
    font-size: 18px;
    color: var(--text-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
}

.feature-card {
    background: white;
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color-light);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

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

.feature-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    margin: calc(-var(--spacing-xl)) calc(-var(--spacing-xl)) var(--spacing-lg) calc(-var(--spacing-xl));
    transition: var(--transition);
    opacity: 0.85;
}

.feature-card:hover .feature-image {
    opacity: 1;
    transform: scale(1.05);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: var(--spacing-lg);
    margin-top: var(--spacing-md);
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: var(--spacing-md);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* CTA Section */
.cta-section {
    background: var(--gradient-primary);
    color: white;
    padding: var(--spacing-3xl) 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 36px;
    margin-bottom: var(--spacing-md);
}

.cta-section p {
    font-size: 18px;
    margin-bottom: var(--spacing-xl);
    opacity: 0.95;
}

/* Page Header */
.page-header {
    background: var(--gradient-secondary);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: var(--spacing-2xl) 0;
    text-align: center;
    margin-bottom: 0;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(50, 50, 50, 0.65);
    z-index: 0;
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-size: 42px;
    margin-bottom: var(--spacing-md);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-header p {
    font-size: 18px;
    opacity: 0.95;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Story Section */
.story-section {
    padding: var(--spacing-3xl) 0;
}

.story-content h2 {
    font-size: 32px;
    margin-bottom: var(--spacing-xl);
    color: var(--text-primary);
}

.story-content p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
}

/* Mission Section */
.mission-section {
    padding: var(--spacing-3xl) 0;
    background: var(--bg-secondary);
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
}

.mission-card {
    background: white;
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--primary-color);
}

.mission-card h3 {
    font-size: 20px;
    margin-bottom: var(--spacing-md);
    color: var(--primary-color);
}

.mission-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Team Section */
.team-section {
    padding: var(--spacing-3xl) 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
}

.team-card {
    background: white;
    padding: 0;
    border-radius: var(--radius-xl);
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color-light);
    transition: var(--transition);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

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

.team-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

.team-card:hover .team-image {
    transform: scale(1.05);
}

.team-info {
    padding: var(--spacing-lg);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.team-avatar {
    font-size: 64px;
    margin-bottom: var(--spacing-md);
}

.team-card h3 {
    font-size: 18px;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.team-role {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
}

.team-card p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* Stats Section */
.stats-section {
    padding: var(--spacing-3xl) 0;
    background: var(--bg-secondary);
}

.stats-section h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: var(--spacing-3xl);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-xl);
}

.stat-card {
    background: white;
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.stat-card h3 {
    font-size: 32px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-sm);
}

.stat-card p {
    color: var(--text-secondary);
}

/* Services Section */
.services-overview {
    padding: var(--spacing-3xl) 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
}

.service-card {
    background: white;
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color-light);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.service-icon {
    font-size: 42px;
    margin-bottom: var(--spacing-md);
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: var(--spacing-md);
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Detailed Services */
.detailed-services {
    padding: var(--spacing-3xl) 0;
    background: var(--bg-secondary);
}

.service-detail {
    margin-bottom: var(--spacing-3xl);
    background: white;
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
}

.service-detail:last-child {
    margin-bottom: 0;
}

.service-detail h2 {
    font-size: 28px;
    margin-bottom: var(--spacing-lg);
    color: var(--primary-color);
}

.service-detail p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    line-height: 1.8;
}

.features-list {
    list-style: none;
    padding: 0;
}

.features-list li {
    padding-left: 25px;
    margin-bottom: var(--spacing-md);
    color: var(--text-secondary);
    position: relative;
}

.features-list li:before {
    content: '✓';
    position: absolute;
    top: -2px;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 18px;
}

/* Use Cases */
.use-cases {
    padding: var(--spacing-3xl) 0;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
}

.use-case-card {
    background: white;
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--secondary-color);
}

.use-case-card h3 {
    font-size: 18px;
    margin-bottom: var(--spacing-md);
}

.use-case-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Pricing Section */
.pricing-section {
    padding: var(--spacing-3xl) 0;
}

.pricing-faq h2 {
    margin-bottom: var(--spacing-xl);
}

.billing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-3xl);
}

.toggle-checkbox {
    display: none;
}

.toggle-label {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    cursor: pointer;
}

.toggle-switch {
    width: 50px;
    height: 28px;
    background: var(--border-color);
    border-radius: 14px;
    position: relative;
    transition: var(--transition);
}

.toggle-checkbox:checked + .toggle-label .toggle-switch {
    background: var(--primary-color);
}

.toggle-switch::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    background: white;
    border-radius: 50%;
    top: 2px;
    left: 2px;
    transition: var(--transition);
}

.toggle-checkbox:checked + .toggle-label .toggle-switch::after {
    left: 24px;
}

.save-badge {
    background: var(--primary-color);
    color: white;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-md);
    font-size: 12px;
    font-weight: 600;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-3xl);
}

.pricing-card {
    background: white;
    border: 2px solid var(--border-color-light);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    transition: var(--transition);
    position: relative;
}

.pricing-card .btn-block {
    margin-bottom: var(--spacing-lg);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured .badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: white;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 12px;
}

.pricing-card h3 {
    font-size: 24px;
    margin-bottom: var(--spacing-lg);
}

.price {
    display: flex;
    align-items: baseline;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.amount {
    font-size: 42px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.period {
    color: var(--text-secondary);
}

.plan-description {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
}

.pricing-features {
    margin-bottom: var(--spacing-xl);
}

.pricing-features li {
    padding: var(--spacing-sm) 0;
    padding-left: var(--spacing-lg);
    border-bottom: 1px solid var(--border-color-light);
    color: var(--text-secondary);
}

.pricing-features li:before {
    top: 5px;
}

.pricing-features li:last-child {
    border-bottom: none;
}

/* Comparison Table */
.comparison-section h2 {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
    font-size: 32px;
}

.comparison-table-wrapper {
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.comparison-table thead {
    background: var(--gradient-primary);
    color: white;
}

.comparison-table th {
    padding: var(--spacing-lg);
    text-align: left;
    font-weight: 600;
}

.comparison-table td {
    padding: var(--spacing-lg);
    border-bottom: 1px solid var(--border-color-light);
    color: var(--text-secondary);
}

.comparison-table tbody tr:hover {
    background: var(--bg-secondary);
}

/* FAQ Styling */
.faq-section {
    padding: var(--spacing-3xl) 0;
}

.faq-category {
    margin-bottom: var(--spacing-3xl);
}

.faq-category h2 {
    font-size: 28px;
    margin-bottom: var(--spacing-xl);
    color: var(--text-primary);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.faq-item {
    background: white;
    border: 1px solid var(--border-color-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    margin-bottom: var(--spacing-xl);
}

.faq-item:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.faq-question {
    width: 100%;
    padding: var(--spacing-lg);
    border: none;
    background: white;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    transition: var(--transition);
}

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

.faq-question[aria-expanded="true"] {
    background: var(--bg-secondary);
}

.faq-icon {
    font-size: 20px;
    transition: transform 0.3s ease;
    display: inline-block;
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(90deg);
}

.faq-answer {
    padding: 0 var(--spacing-lg) var(--spacing-lg);
    color: var(--text-secondary);
    line-height: 1.8;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-question[aria-expanded="true"] + .faq-answer {
    max-height: 500px;
    padding: var(--spacing-lg);
}

.faq-answer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.faq-answer a:hover {
    text-decoration: underline;
}

/* Blog Section */
.blog-section {
    padding: var(--spacing-3xl) 0;
}

.blog-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: var(--spacing-xl);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-xl);
}

.blog-card {
    background: white;
    border: 1px solid var(--border-color-light);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.blog-featured-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-featured-image {
    transform: scale(1.08);
}

.blog-image {
    width: 100%;
    height: 200px;
    background: var(--gradient-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
}

.blog-content {
    padding: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-meta {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    font-size: 13px;
}

.blog-date {
    color: var(--text-secondary);
}

.blog-category {
    background: var(--primary-color);
    color: white;
    padding: 2px 8px;
    border-radius: var(--radius-md);
    font-weight: 600;
}

.blog-card h3 {
    font-size: 18px;
    margin-bottom: var(--spacing-md);
    line-height: 1.4;
    flex-grow: 1;
}

.blog-card h3 a {
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
}

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

.blog-card p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
}

.read-more:hover {
    transform: translateX(5px);
}

/* Blog Sidebar */
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
}

.sidebar-widget {
    background: white;
    padding: var(--spacing-lg);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color-light);
}

.sidebar-widget h4 {
    font-size: 18px;
    margin-bottom: var(--spacing-lg);
    color: var(--text-primary);
}

.search-form {
    display: flex;
    gap: var(--spacing-sm);
}

.search-form input {
    flex: 1;
    padding: var(--spacing-sm) var(--spacing-md);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    font-size: 14px;
}

.search-form button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: var(--transition);
}

.search-form button:hover {
    background: var(--primary-dark);
}

.recent-posts-list {
    list-style: none;
}

.recent-posts-list li {
    padding: var(--spacing-md) 0;
    border-bottom: 1px solid var(--border-color-light);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--spacing-md);
}

.recent-posts-list li:last-child {
    border-bottom: none;
}

.recent-posts-list a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    flex: 1;
}

.recent-posts-list a:hover {
    color: var(--primary-color);
}

.post-date {
    color: var(--text-tertiary);
    font-size: 12px;
    white-space: nowrap;
}

.subscribe-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.subscribe-form input {
    padding: var(--spacing-sm) var(--spacing-md);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    font-size: 14px;
}

.sidebar-widget p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
}

.form-note {
    font-size: 12px !important;
    color: var(--text-tertiary) !important;
    text-align: center;
    margin-top: var(--spacing-sm);
}

.categories-list {
    list-style: none;
}

.categories-list li {
    padding: var(--spacing-md) 0;
    border-bottom: 1px solid var(--border-color-light);
}

.categories-list li:last-child {
    border-bottom: none;
}

.categories-list a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    transition: var(--transition);
}

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

.categories-list span {
    color: var(--text-tertiary);
}

/* Blog Detail */
.blog-detail-section {
    padding: var(--spacing-3xl) 0;
}

.breadcrumb {
    margin-bottom: var(--spacing-sm);
    font-size: 14px;
    color: var(--text-secondary);
}

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

.breadcrumb a:hover {
    text-decoration: underline;
}

.blog-detail-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: var(--spacing-xl);
}

.blog-detail-content {
    background: white;
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
}

.article-header {
    margin-bottom: var(--spacing-xl);
    border-bottom: 2px solid var(--border-color-light);
    padding-bottom: var(--spacing-xl);
}

.article-header h1 {
    font-size: 42px;
    line-height: 1.2em;
    margin-bottom: var(--spacing-lg);
    color: var(--text-primary);
}

.article-meta {
    display: flex;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
    font-size: 14px;
    color: var(--text-secondary);
}

.article-meta > * {
    display: flex;
    align-items: center;
}

.article-body {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
}

.article-body h2 {
    font-size: 28px;
    margin: var(--spacing-xl) 0 var(--spacing-lg);
    color: var(--text-primary);
}

.article-body p {
    margin-bottom: var(--spacing-lg);
}

.article-body ul {
    margin-left: var(--spacing-xl);
    margin-bottom: var(--spacing-lg);
}

.article-body li {
    margin-bottom: var(--spacing-sm);
}

.article-footer {
    margin-top: var(--spacing-2xl);
    padding-top: var(--spacing-xl);
    border-top: 2px solid var(--border-color-light);
}

.article-featured-image img {
    max-width: 100%;
}

.share-section {
    margin-bottom: var(--spacing-xl);
}

.share-section h3 {
    font-size: 18px;
    margin-bottom: var(--spacing-md);
}

.share-buttons {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.share-btn {
    padding: var(--spacing-sm) var(--spacing-lg);
    background: var(--bg-secondary);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: var(--radius-lg);
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
}

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

.related-articles {
    margin-top: var(--spacing-xl);
}

.related-articles h3 {
    font-size: 18px;
    margin-bottom: var(--spacing-lg);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: var(--spacing-lg);
}

.related-card {
    background: var(--bg-secondary);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.related-card:hover {
    background: var(--primary-color);
}

.related-card a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    transition: var(--transition);
}

.related-card:hover a {
    color: white;
}

.author-widget {
    background: var(--bg-secondary);
}

.author-bio {
    text-align: center;
}

.author-avatar {
    font-size: 48px;
    margin-bottom: var(--spacing-md);
}

.author-widget h5 {
    font-size: 16px;
    margin-bottom: var(--spacing-sm);
}

.author-widget p {
    font-size: 13px !important;
    color: var(--text-secondary);
}

.cta-widget {
    background: var(--gradient-primary);
    color: white;
    text-align: center;
}

.cta-widget h3 {
    color: white;
}

.cta-widget p {
    color: rgba(255,255,255,0.9);
}

/* Pagination */
.pagination {
    display: flex;
    gap: var(--spacing-md);
    margin-top: var(--spacing-2xl);
    justify-content: center;
    flex-wrap: wrap;
}

.pagination-link {
    padding: var(--spacing-sm) var(--spacing-lg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
}

.pagination-link:hover:not(.disabled) {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.pagination-link.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.pagination-link.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Contact Section */
.contact-section {
    padding: var(--spacing-3xl) 0;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.form-group label {
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: var(--spacing-md);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    font-size: 16px;
    font-family: inherit;
    transition: var(--transition);
}

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

.form-group.checkbox {
    flex-direction: row;
    align-items: center;
}

.form-group.checkbox input {
    width: 20px;
    height: 20px;
    margin: 0;
}

.form-group.checkbox label {
    margin: 0;
}

.error-message {
    color: #dc2626;
    font-size: 13px;
    display: none;
}

.error-message.show {
    display: block;
}

.form-message {
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    text-align: center;
    display: none;
}

.form-message.success {
    background: #d1fae5;
    color: #065f46;
    display: block;
}

.form-message.error {
    background: #fee2e2;
    color: #991b1b;
    display: block;
}

.contact-info-wrapper h2 {
    font-size: 28px;
    margin-bottom: var(--spacing-xl);
}

.contact-info-card {
    background: white;
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-lg);
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--primary-color);
}

.contact-info-card h3 {
    font-size: 18px;
    margin-bottom: var(--spacing-md);
    color: var(--primary-color);
}

.contact-info-card p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-sm);
}

.contact-info-card a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.contact-info-card a:hover {
    text-decoration: underline;
}

.response-times,
.quick-links {
    list-style: none;
}

.response-times li,
.quick-links li {
    padding: var(--spacing-sm) 0;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color-light);
}

.response-times li:last-child,
.quick-links li:last-child {
    border-bottom: none;
}

.quick-links a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.quick-links a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background: var(--text-primary);
    color: white;
    padding: var(--spacing-3xl) 0 var(--spacing-xl);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-2xl);
}

.footer-section h4 {
    margin-bottom: var(--spacing-lg);
    font-size: 16px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: var(--spacing-md);
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    font-size: 14px;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--spacing-xl);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-lg);
}

.footer-bottom p {
    font-size: 13px;
    opacity: 0.8;
}

.social-links {
    display: flex;
    gap: var(--spacing-lg);
}

.social-links a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.25);
    opacity: 1;
}

/* ============================================
   CASE STUDIES PAGE STYLES
   ============================================ */

.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--spacing-2xl);
    margin-top: var(--spacing-2xl);
}

.case-study-card {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color-light);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.case-study-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.case-study-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.case-study-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.case-study-card:hover .case-study-image img {
    transform: scale(1.08);
}

.case-study-content {
    padding: var(--spacing-xl);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.case-study-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-lg);
}

.case-study-header h3 {
    font-size: 22px;
    margin: 0;
}

.case-study-industry {
    background: var(--primary-color);
    color: white;
    padding: 4px 12px;
    border-radius: var(--radius-md);
    font-size: 12px;
    font-weight: 600;
}

.case-study-challenge {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: var(--spacing-lg);
    line-height: 1.6;
}

.case-study-results {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    padding: var(--spacing-lg);
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
}

.result-item {
    text-align: center;
}

.result-number {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    margin-bottom: 4px;
}

.result-label {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 600;
}

.case-study-quote {
    border-left: 4px solid var(--primary-color);
    padding: 0 0 0 var(--spacing-lg);
    margin: var(--spacing-lg) 0;
    font-style: italic;
    color: var(--text-primary);
    flex-grow: 1;
}

.case-study-quote footer {
    font-style: normal;
    color: var(--text-secondary);
    margin-top: var(--spacing-sm);
    font-size: 13px;
}

/* ============================================
   SECURITY PAGE STYLES
   ============================================ */

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-2xl);
    margin-top: var(--spacing-2xl);
}

.cert-card {
    background: white;
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color-light);
    transition: var(--transition);
}

.cert-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.cert-icon {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    font-weight: 700;
}

.cert-card h3 {
    font-size: 18px;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.cert-card p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

.security-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-2xl);
    margin-top: var(--spacing-2xl);
}

.security-feature {
    background: white;
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color-light);
    transition: var(--transition);
}

.security-feature:hover {
    box-shadow: var(--shadow-lg);
}

.security-feature h3 {
    font-size: 18px;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.security-feature p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

.practices-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-2xl);
    margin-top: var(--spacing-2xl);
}

.practice-item {
    background: white;
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color-light);
}

.practice-item h3 {
    font-size: 18px;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.practice-item p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

.reliability-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-2xl);
    margin-top: var(--spacing-2xl);
}

.reliability-stat {
    background: white;
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    text-align: center;
    border: 2px solid var(--primary-color);
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    margin-bottom: var(--spacing-sm);
}

.stat-label {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    display: block;
    margin-bottom: var(--spacing-sm);
}

.reliability-stat p {
    color: var(--text-secondary);
    font-size: 14px;
}

.residency-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-2xl);
    margin-top: var(--spacing-2xl);
}

.residency-card {
    background: white;
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color-light);
    transition: var(--transition);
}

.residency-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.residency-card h3 {
    font-size: 18px;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.residency-card p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* ============================================
   TESTIMONIALS SECTION STYLES
   ============================================ */

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: var(--spacing-2xl);
    margin-top: var(--spacing-2xl);
}

.testimonial-card {
    background: white;
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color-light);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.testimonial-stars {
    font-size: 16px;
    color: #fbbf24;
    margin-bottom: var(--spacing-md);
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 15px;
    color: var(--text-primary);
    line-height: 1.8;
    margin-bottom: var(--spacing-lg);
    flex-grow: 1;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--border-color-light);
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-color);
}

.testimonial-info {
    display: flex;
    flex-direction: column;
}

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

.testimonial-role {
    font-size: 13px;
    color: var(--text-secondary);
}

/* ============================================
   HOW IT WORKS PAGE STYLES
   ============================================ */

.how-it-works-timeline {
    position: relative;
}

.how-it-works-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
    top: 50px;
}

.timeline-step {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
    margin-bottom: var(--spacing-4xl);
    position: relative;
}

.timeline-step:last-child {
    margin-bottom: 0;
}

.timeline-step-alt {
    grid-template-columns: 1fr 1fr;
    grid-auto-flow: dense;
}

.timeline-step-alt .step-image {
    order: 2;
}

.timeline-step-alt .step-content {
    order: 1;
}

.step-number {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    border: 4px solid white;
    box-shadow: 0 0 0 8px var(--primary-color);
    z-index: 10;
}

.step-content h2 {
    font-size: 28px;
    margin-bottom: var(--spacing-lg);
    color: var(--text-primary);
}

.step-content p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--spacing-lg);
}

.step-features {
    list-style: none;
    margin: 0;
    padding: 0;
    margin-top: var(--spacing-md);
}

.step-features li {
    padding: 10px 0 10px 35px;
    position: relative;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 8px;
}

.step-features li:before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 18px;
    width: 24px;
    text-align: center;
}

.step-image {
    width: 100%;
}

.step-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

/* Timeline Benefits */
.timeline-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-2xl);
    margin-top: var(--spacing-3xl);
}

.benefit-item {
    background: white;
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    border-left: 4px solid var(--primary-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.benefit-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.benefit-period {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 4px 12px;
    border-radius: var(--radius-md);
    font-size: 12px;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
}

.benefit-item h3 {
    font-size: 18px;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.benefit-item p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

/* FAQ List */
.faq-list {
    display: grid;
    gap: var(--spacing-lg);
}

.faq-item {
    background: white;
    border: 1px solid var(--border-color-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-lg);
    cursor: pointer;
    font-weight: 600;
    color: var(--text-primary);
    user-select: none;
    transition: var(--transition);
}

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

.faq-question::after {
    content: '+';
    font-size: 24px;
    transition: var(--transition);
}

.faq-item[open] .faq-question {
    background: var(--bg-secondary);
}

.faq-item[open] .faq-question::after {
    content: '−';
}

.faq-answer {
    padding: var(--spacing-lg);
    color: var(--text-secondary);
    line-height: 1.8;
}

.faq-answer p {
    margin: 0;
}

/* Responsive Timeline */
@media (max-width: 768px) {
    .how-it-works-timeline::before {
        display: none;
    }

    .timeline-step {
        grid-template-columns: 1fr;
        gap: var(--spacing-2xl);
        margin-bottom: var(--spacing-2xl);
    }

    .timeline-step-alt {
        grid-template-columns: 1fr;
    }

    .timeline-step-alt .step-image {
        order: 1;
    }

    .timeline-step-alt .step-content {
        order: 2;
    }

    .step-number {
        position: static;
        transform: none;
        margin-bottom: var(--spacing-lg);
    }
}

/* ============================================
   CONDENSED HOW IT WORKS (HOMEPAGE)
   ============================================ */

.how-it-works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-2xl);
    margin-top: var(--spacing-2xl);
}

.how-it-works-card {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color-light);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
}

.how-it-works-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.how-it-works-card > img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
    margin-top: var(--spacing-md);
}

.how-it-works-card:hover > img {
    transform: scale(1.08);
}

.how-it-works-card h3 {
    font-size: 20px;
    margin: var(--spacing-lg) var(--spacing-lg) var(--spacing-sm) var(--spacing-lg);
    color: var(--text-primary);
}

.how-it-works-card p {
    padding: 0 var(--spacing-lg) var(--spacing-lg) var(--spacing-lg);
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

/* ============================================
   HOW IT WORKS PAGE STYLES
   ============================================ */

.how-it-works-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-2xl);
    margin-top: var(--spacing-2xl);
}

.how-it-works-card {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color-light);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    text-align: center;
}

.how-it-works-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.how-step-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: var(--spacing-lg);
}

.how-it-works-card h3 {
    font-size: 20px;
    margin: var(--spacing-md) 0;
    color: var(--text-primary);
}

.how-it-works-card p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    padding: 0 var(--spacing-lg);
}

.how-it-works-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
}

.how-it-works-card:hover img {
    transform: scale(1.05);
}

.step-guide {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
    margin-bottom: var(--spacing-3xl);
    padding: var(--spacing-2xl) 0;
    border-bottom: 1px solid var(--border-color-light);
}

.step-guide-reverse {
    direction: rtl;
}

.step-guide-reverse > * {
    direction: ltr;
}

.step-number {
    font-size: 72px;
    font-weight: 700;
    color: var(--primary-color);
    opacity: 0.1;
    position: absolute;
    top: 20px;
    left: 20px;
}

.step-number-right {
    font-size: 72px;
    font-weight: 700;
    color: var(--primary-color);
    opacity: 0.1;
    position: relative;
}

.step-content {
    position: relative;
}

.step-content h3 {
    font-size: 32px;
    margin-bottom: var(--spacing-lg);
    color: var(--text-primary);
}

.step-content p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: var(--spacing-lg);
}

.step-features {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-top: var(--spacing-md);
    text-align: left;
}

.step-features li {
    padding: 10px 0 10px 30px;
    color: var(--text-secondary);
    font-size: 15px;
    position: relative;
    line-height: 1.5;
    margin-bottom: 8px;
}

.step-features li:before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 8px;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 18px;
    width: 24px;
    text-align: center;
}

.step-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: var(--radius-xl);
}

.step-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.step-guide:hover .step-image img {
    transform: scale(1.05);
}

.video-container {
    margin-top: var(--spacing-2xl);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.video-placeholder {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: var(--radius-xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
}

.video-placeholder:hover {
    transform: scale(1.02);
}

.play-button {
    font-size: 80px;
    margin-bottom: var(--spacing-lg);
    opacity: 0.8;
    transition: var(--transition);
}

.video-placeholder:hover .play-button {
    opacity: 1;
    transform: scale(1.1);
}

.timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-2xl);
    margin-top: var(--spacing-2xl);
}

.timeline-item {
    background: white;
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    border-left: 4px solid var(--primary-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.timeline-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.timeline-date {
    font-size: 14px;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.timeline-content h4 {
    font-size: 18px;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.timeline-content p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

.integrations-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-2xl);
}

.integration-item {
    background: white;
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid var(--border-color-light);
    font-weight: 600;
    color: var(--text-primary);
    transition: var(--transition);
}

.integration-item:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.faq-items {
    display: grid;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-2xl);
}

.faq-item {
    background: white;
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color-light);
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.faq-item h4 {
    font-size: 16px;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
}

.faq-item p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .step-guide,
    .step-guide-reverse {
        grid-template-columns: 1fr;
        direction: ltr;
        gap: var(--spacing-xl);
    }

    .step-guide-reverse > * {
        direction: ltr;
    }

    .step-image {
        height: 250px;
    }
}

/* ============================================
   INTEGRATIONS PAGE STYLES
   ============================================ */

.integrations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-2xl);
    margin-top: var(--spacing-2xl);
}

.integration-card {
    background: white;
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color-light);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.integration-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.integration-icon {
    font-size: 48px;
    margin-bottom: var(--spacing-md);
}

.integration-card h3 {
    font-size: 20px;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.integration-card p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: var(--spacing-lg);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-2xl);
    margin-top: var(--spacing-2xl);
}

.category-card {
    background: white;
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    text-align: center;
    border: 2px solid var(--border-color-light);
    transition: var(--transition);
    cursor: pointer;
}

.category-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.category-card h3 {
    font-size: 18px;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.category-card p {
    color: var(--text-secondary);
    font-size: 14px;
}

.api-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-2xl);
    margin-top: var(--spacing-2xl);
}

.api-card {
    background: white;
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color-light);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.api-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.api-card h3 {
    font-size: 20px;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.api-card p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: var(--spacing-lg);
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-2xl);
    margin-top: var(--spacing-2xl);
}

.resource-card {
    background: white;
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color-light);
    transition: var(--transition);
}

.resource-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.resource-card h4 {
    font-size: 18px;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.resource-card p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

.success-stories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-2xl);
    margin-top: var(--spacing-2xl);
}

.story-card {
    background: white;
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    border-left: 4px solid var(--primary-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.story-card h4 {
    font-size: 16px;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.story-card p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    font-style: italic;
    margin-bottom: var(--spacing-md);
}

.story-company {
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 600;
    font-style: normal;
}

/* ============================================
   COMPARISON PAGE STYLES
   ============================================ */

.table-responsive {
    overflow-x: auto;
    margin-top: var(--spacing-2xl);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.comparison-table thead {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
}

.comparison-table th {
    padding: var(--spacing-lg);
    text-align: left;
    font-weight: 600;
    border: none;
}

.comparison-table td {
    padding: var(--spacing-lg);
    border-bottom: 1px solid var(--border-color-light);
}

.comparison-table tbody tr:hover {
    background: var(--bg-secondary);
}

.feature-name {
    font-weight: 600;
    color: var(--text-primary);
    min-width: 200px;
}

.feature-check {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 18px;
}

.pricing-comparison {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-2xl);
    margin-top: var(--spacing-2xl);
}

.pricing-col {
    background: white;
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.pricing-col h3 {
    font-size: 24px;
    margin-bottom: var(--spacing-xl);
    text-align: center;
    color: var(--text-primary);
}

.pricing-tier {
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    border: 2px solid var(--border-color-light);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.pricing-tier:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.tier-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

.tier-price {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--spacing-lg);
}

.tier-price span {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 400;
}

.tier-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tier-features li {
    padding: var(--spacing-sm) 0;
    color: var(--text-secondary);
    font-size: 13px;
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-2xl);
    margin-top: var(--spacing-2xl);
}

.reason-card {
    background: white;
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color-light);
    text-align: center;
    transition: var(--transition);
}

.reason-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.reason-card h3 {
    font-size: 20px;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.reason-card p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

/* Responsive table */
@media (max-width: 768px) {
    .comparison-table {
        font-size: 12px;
    }

    .comparison-table th,
    .comparison-table td {
        padding: var(--spacing-md);
    }

    .feature-name {
        min-width: 150px;
    }
}

/* ============================================
   IMPROVED SPACING & LAYOUT FIXES
   ============================================ */

/* Better spacing between major sections */
.section {
    padding: var(--spacing-3xl) 0;
}

.section-alt {
    padding: var(--spacing-3xl) 0;
    background: var(--bg-secondary);
}

/* Extra spacing for hero sections */
.hero {
    padding: 120px 0;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.page-header {
    padding: var(--spacing-5xl) 0;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.page-header h1 {
    font-size: 48px;
    margin-bottom: var(--spacing-md);
}

.page-header p {
    font-size: 18px;
    color: var(--text-secondary);
}

/* FAQ section improvements */
.faq-section {
    padding: var(--spacing-3xl) 0;
}

.faq-category {
    margin-bottom: var(--spacing-3xl);
}

.faq-category:last-child {
    margin-bottom: 0;
}

.faq-category h2 {
    font-size: 28px;
    margin-bottom: var(--spacing-2xl);
    color: var(--text-primary);
    padding-bottom: var(--spacing-lg);
    border-bottom: 2px solid var(--primary-color);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.faq-item {
    background: white;
    border: 1px solid var(--border-color-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.faq-question {
    width: 100%;
    padding: var(--spacing-lg);
    border: none;
    background: white;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

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

.faq-question[aria-expanded="true"] {
    background: var(--bg-secondary);
}

.faq-icon {
    font-size: 20px;
    transition: transform 0.3s ease;
    display: inline-block;
    font-weight: bold;
    color: var(--primary-color);
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(90deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    line-height: 1.8;
}

.faq-question[aria-expanded="true"] + .faq-answer {
    max-height: 800px;
    padding: 0 var(--spacing-lg) var(--spacing-lg) var(--spacing-lg);
}

/* Better spacing for content */
.faq-answer p {
    margin-bottom: var(--spacing-md);
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

/* Improve CTA block spacing */
.cta-block {
    padding: var(--spacing-3xl);
    background: white;
    border-radius: var(--radius-xl);
    text-align: center;
}

.cta-block h2 {
    font-size: 36px;
    margin-bottom: var(--spacing-md);
}

.cta-block p {
    font-size: 18px;
    margin-bottom: var(--spacing-2xl);
    color: var(--text-secondary);
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-lg);
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive mobile menu improvements */
@media (max-width: 768px) {
    .section {
        padding: var(--spacing-2xl) 0;
    }

    .section-alt {
        padding: var(--spacing-2xl) 0;
    }

    .hero {
        padding: 80px 0;
        min-height: 400px;
    }

    .page-header {
        padding: var(--spacing-2xl) 0;
    }

    .page-header h1 {
        font-size: 32px;
    }

    .faq-category h2 {
        font-size: 22px;
    }

    .cta-block {
        padding: var(--spacing-2xl);
    }
}

/* Footer social icons - make sure they're white */
.footer-social {
    display: flex;
    gap: var(--spacing-lg);
}

.footer-social a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.footer-social a:hover {
    background: rgba(255, 255, 255, 0.25);
    opacity: 1;
    opacity: 0.8;
}

/* ============================================
   HERO SLIDER STYLES
   ============================================ */

.slider-container {
    position: relative;
    width: 100%;
    max-height: 600px;
    overflow: hidden;
    background: var(--bg-secondary);
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 600px;
}

.slider-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.slider-slide.active {
    opacity: 1;
}

.slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}

.slider-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 10;
    max-width: 600px;
    width: 90%;
    animation: slideInUp 0.8s ease-out;
}

.slider-content h1 {
    font-size: 48px;
    margin-bottom: var(--spacing-lg);
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.slider-content p {
    font-size: 20px;
    margin-bottom: var(--spacing-2xl);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    opacity: 0.95;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translate(-50%, -40%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--spacing-lg);
    z-index: 20;
}

.slider-btn {
    background: rgba(255, 255, 255, 0.3);
    border: none;
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s ease;
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.1);
}

/* Slider Indicators */
.slider-indicators {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 20;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: white;
    width: 30px;
    border-radius: 6px;
}

/* Hero Stats Section */
.hero-stats-section {
    background: var(--bg-secondary);
    padding: var(--spacing-2xl) 0;
    border-top: 1px solid var(--border-color);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-2xl);
    text-align: center;
}

.stat-item h3 {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.stat-item p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .slider-wrapper {
        height: 400px;
    }

    .slider-content h1 {
        font-size: 32px;
    }

    .slider-content p {
        font-size: 16px;
    }

    .slider-controls {
        bottom: 10px;
    }

    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .slider-indicators {
        bottom: 60px;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-lg);
    }
}
