/* Modern Corporate CSS - Clean White Design */

/* CSS Variables */
:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --secondary-color: #64748b;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --dark-color: #1e293b;
    --light-color: #f8fafc;
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --border-radius: 8px;
    --border-radius-lg: 12px;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --transition: all 0.2s ease-in-out;
}

/* Reset and Base Styles */
* {
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--gray-700);
    background-color: var(--white);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1.125rem; }

p {
    margin-bottom: 1rem;
    color: var(--gray-600);
}

/* Navigation */
.navbar {
    background-color: var(--white) !important;
    border-bottom: 1px solid var(--gray-200);
    padding: 1rem 0;
    transition: var(--transition);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900) !important;
    text-decoration: none;
}

.navbar-brand:hover {
    color: var(--primary-color) !important;
}

.nav-link {
    font-weight: 500;
    color: var(--gray-600) !important;
    padding: 0.5rem 1rem !important;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-color) !important;
    background-color: var(--gray-50);
}

.nav-link.active {
    color: var(--primary-color) !important;
    background-color: var(--primary-color);
    color: var(--white) !important;
}

/* Buttons */
.btn {
    font-weight: 500;
    border-radius: var(--border-radius);
    padding: 0.75rem 1.5rem;
    border: none;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    font-size: 0.875rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: var(--white);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

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

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

.btn-light {
    background-color: var(--gray-100);
    color: var(--gray-700);
    border: 1px solid var(--gray-200);
}

.btn-light:hover {
    background-color: var(--gray-200);
    color: var(--gray-800);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
}

/* Cards */
.card {
    background-color: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    overflow: hidden;
}

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

.card-header {
    background-color: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
    padding: 1.5rem;
    font-weight: 600;
    color: var(--gray-900);
}

.card-body {
    padding: 1.5rem;
}

.card-footer {
    background-color: var(--gray-50);
    border-top: 1px solid var(--gray-200);
    padding: 1rem 1.5rem;
}

/* Forms */
.form-control {
    border: 2px solid var(--gray-200);
    border-radius: var(--border-radius);
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    transition: var(--transition);
    background-color: var(--white);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgb(37 99 235 / 0.1);
    outline: none;
}

.form-label {
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

/* Main Content */
.main-content {
    padding-top: 80px;
    min-height: calc(100vh - 80px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
    padding: 5rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero .btn {
    margin: 0.5rem;
}

/* Features Section */
.features {
    padding: 5rem 0;
    background-color: var(--white);
}

.feature-card {
    text-align: center;
    padding: 2rem;
    height: 100%;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
}

.feature-card h3 {
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--gray-600);
}

/* Stats Section */
.stats {
    background-color: var(--gray-50);
    padding: 4rem 0;
}

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

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}

.stat-label {
    font-size: 1rem;
    color: var(--gray-600);
    font-weight: 500;
}

/* Alerts */
.alert {
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    border: 1px solid transparent;
    margin-bottom: 1rem;
}

.alert-success {
    background-color: rgb(16 185 129 / 0.1);
    border-color: var(--success-color);
    color: #065f46;
}

.alert-danger {
    background-color: rgb(239 68 68 / 0.1);
    border-color: var(--danger-color);
    color: #991b1b;
}

.alert-warning {
    background-color: rgb(245 158 11 / 0.1);
    border-color: var(--warning-color);
    color: #92400e;
}

.alert-info {
    background-color: rgb(37 99 235 / 0.1);
    border-color: var(--primary-color);
    color: #1e40af;
}

/* Utilities */
.text-primary { color: var(--primary-color) !important; }
.text-secondary { color: var(--secondary-color) !important; }
.text-success { color: var(--success-color) !important; }
.text-danger { color: var(--danger-color) !important; }
.text-warning { color: var(--warning-color) !important; }
.text-muted { color: var(--gray-500) !important; }

.bg-primary { background-color: var(--primary-color) !important; }
.bg-light { background-color: var(--gray-50) !important; }
.bg-white { background-color: var(--white) !important; }

.border-primary { border-color: var(--primary-color) !important; }
.border-light { border-color: var(--gray-200) !important; }

.rounded { border-radius: var(--border-radius) !important; }
.rounded-lg { border-radius: var(--border-radius-lg) !important; }

.shadow-sm { box-shadow: var(--shadow-sm) !important; }
.shadow { box-shadow: var(--shadow) !important; }
.shadow-md { box-shadow: var(--shadow-md) !important; }
.shadow-lg { box-shadow: var(--shadow-lg) !important; }

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.125rem;
    }
    
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    .btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .main-content {
        padding-top: 70px;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 3rem 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .features {
        padding: 3rem 0;
    }
    
    .stats {
        padding: 3rem 0;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

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

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid var(--gray-200);
    border-top: 2px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: inline-block;
}

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

/* Performance Optimizations */
.card, .btn, .nav-link {
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.hero-section {
    will-change: transform, opacity;
}

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

/* Preload critical fonts */
@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-Regular.woff2') format('woff2'),
       url('../fonts/Inter-Regular.woff') format('woff');
  font-display: swap;
}

/* Optimize images */
img {
    max-width: 100%;
    height: auto;
    /* Use loading="lazy" attribute in HTML instead */
}

/* Critical CSS optimizations */
.container-fluid,
.container {
    contain: layout style;
}

/* Reduce layout shifts */
.navbar {
    contain: layout;
}

/* Optimize animations for mobile */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Modern Features Section */
.features-modern {
    background: linear-gradient(135deg, var(--white) 0%, var(--gray-50) 100%);
}

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

.feature-item {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}

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

.feature-item.feature-large {
    grid-column: span 1;
    padding: 3rem 2rem;
}

.feature-item.feature-featured {
    border: 2px solid var(--primary-color);
    background: linear-gradient(135deg, var(--white) 0%, rgb(37 99 235 / 0.02) 100%);
}

.feature-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-size: 0.875rem;
    font-weight: 600;
}

.feature-content {
    text-align: center;
}

.feature-icon-modern {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
    box-shadow: var(--shadow-md);
}

.feature-content h3 {
    color: var(--gray-900);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.feature-content p {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.feature-highlights {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.feature-highlights li {
    display: flex;
    align-items: center;
    padding: 0.75rem 0;
    color: var(--gray-700);
    border-bottom: 1px solid var(--gray-100);
}

.feature-highlights li:last-child {
    border-bottom: none;
}

.feature-highlights li i {
    color: var(--primary-color);
    margin-right: 0.75rem;
    width: 20px;
    text-align: center;
}

.feature-cta {
    margin-top: 2rem;
}

.feature-cta .btn {
    padding: 0.875rem 2rem;
    font-weight: 600;
    border-radius: var(--border-radius);
}

/* Pricing Specific Styles */
.pricing-price {
    text-align: center;
    margin: 1.5rem 0;
}

.price-amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.price-period {
    font-size: 1.25rem;
    color: var(--gray-500);
    margin-left: 0.5rem;
}

.price-save {
    margin-top: 0.5rem;
}

.price-save small {
    background: rgb(16 185 129 / 0.1);
    color: var(--success-color);
    padding: 0.25rem 0.75rem;
    border-radius: var(--border-radius);
    font-weight: 600;
}

/* Responsive Design for Features */
@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-item {
        padding: 1.5rem;
    }
    
    .feature-item.feature-large {
        padding: 2rem 1.5rem;
    }
    
    .feature-icon-modern {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .price-amount {
        font-size: 2.5rem;
    }
}

/* Hero Section Enhancements */
.feature-icon-small {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.hero-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.floating-element {
    position: absolute;
    font-size: 2rem;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.floating-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-2 {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.floating-3 {
    bottom: 30%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

.hero-overlay-card {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 2;
    animation: slideInUp 1s ease-out 0.5s both;
}

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

.hero-main-image {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.hero-main-image:hover {
    transform: scale(1.02);
}

/* Badge Styles */
.badge {
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Contact Form Styles */
.contact-form .form-control {
    border: 2px solid #e9ecef;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

.contact-form .input-group-text {
    border: 2px solid #e9ecef;
    border-radius: 0.5rem;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus + .input-group-text,
.contact-form .input-group:focus-within .input-group-text {
    border-color: var(--primary-color);
    background-color: rgba(13, 110, 253, 0.1);
}

.contact-form .form-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.contact-form textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.contact-form select.form-control {
    cursor: pointer;
}

/* Contact Info Cards */
.contact-info-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

.contact-info-card .feature-icon {
    transition: transform 0.3s ease;
}

.contact-info-card:hover .feature-icon {
    transform: scale(1.1);
}

/* FAQ Accordion Styles */
.accordion-button {
    font-weight: 600;
    padding: 1.25rem 1.5rem;
    border: none;
    background-color: #fff;
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    background-color: rgba(13, 110, 253, 0.1);
    color: var(--primary-color);
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.accordion-body {
    padding: 1.5rem;
    background-color: #f8f9fa;
    border-top: 1px solid #dee2e6;
}

.accordion-item {
    border-radius: 0.75rem !important;
    overflow: hidden;
    margin-bottom: 1rem;
}

/* Contact Page Animations */
.contact-form {
    animation: slideInUp 0.6s ease-out;
}

.contact-info-card {
    animation: fadeInUp 0.8s ease-out;
    animation-fill-mode: both;
}

.contact-info-card:nth-child(1) { animation-delay: 0.1s; }
.contact-info-card:nth-child(2) { animation-delay: 0.2s; }
.contact-info-card:nth-child(3) { animation-delay: 0.3s; }

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

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

/* Terms and Privacy Pages Styles */
.terms-content, .privacy-content {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.7;
    color: #2d3748;
}

.terms-section, .privacy-section {
    scroll-margin-top: 100px;
    margin-bottom: 3rem;
}

.terms-section h2, .privacy-section h2 {
    position: relative;
    padding-bottom: 0.75rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    color: #1a202c;
}

.terms-section h2::after, .privacy-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.terms-nav .nav-link, .privacy-nav .nav-link {
    color: #4a5568;
    padding: 0.875rem 1.25rem;
    border-radius: 0;
    border-bottom: 1px solid #e2e8f0;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
}

.terms-nav .nav-link:hover, .privacy-nav .nav-link:hover {
    background-color: #f7fafc;
    color: #667eea;
    transform: translateX(5px);
}

.terms-nav .nav-link.active, .privacy-nav .nav-link.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-left: 4px solid #4c51bf;
}

/* Table of Contents Styling */
.toc-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.toc-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 1.25rem;
    font-weight: 600;
}

/* Content Cards */
.content-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    overflow: hidden;
}

.content-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.content-card .card-body {
    padding: 2rem;
}

/* List Styling */
.styled-list {
    list-style: none;
    padding-left: 0;
}

.styled-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f7fafc;
    display: flex;
    align-items: flex-start;
}

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

.styled-list li i {
    margin-right: 0.75rem;
    margin-top: 0.125rem;
    flex-shrink: 0;
}

/* Alert Boxes */
.alert-custom {
    border: none;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    position: relative;
    overflow: hidden;
}

.alert-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: currentColor;
}

.alert-info-custom {
    background: linear-gradient(135deg, #ebf8ff 0%, #bee3f8 100%);
    color: #2b6cb0;
    border-left: 4px solid #3182ce;
}

.alert-warning-custom {
    background: linear-gradient(135deg, #fffbeb 0%, #fed7aa 100%);
    color: #c05621;
    border-left: 4px solid #dd6b20;
}

.alert-success-custom {
    background: linear-gradient(135deg, #f0fff4 0%, #c6f6d5 100%);
    color: #276749;
    border-left: 4px solid #38a169;
}

.alert-danger-custom {
    background: linear-gradient(135deg, #fff5f5 0%, #fed7d7 100%);
    color: #c53030;
    border-left: 4px solid #e53e3e;
}

/* Table Styling */
.custom-table {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.custom-table thead th {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-weight: 600;
    border: none;
    padding: 1rem;
}

.custom-table tbody td {
    padding: 1rem;
    border-bottom: 1px solid #e2e8f0;
    vertical-align: middle;
}

.custom-table tbody tr:hover {
    background-color: #f7fafc;
}

/* Button Styling */
.btn-custom-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-custom-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    color: white;
}

.btn-custom-outline {
    border: 2px solid #667eea;
    color: #667eea;
    background: transparent;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-custom-outline:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 991px) {
    .terms-nav, .privacy-nav {
        margin-bottom: 2rem;
    }
    
    .sticky-top {
        position: static !important;
    }
    
    .terms-section h2, .privacy-section h2 {
        font-size: 1.5rem;
    }
    
    .content-card .card-body {
        padding: 1.5rem;
    }
}

@media (max-width: 767px) {
    .terms-section h2, .privacy-section h2 {
        font-size: 1.25rem;
    }
    
    .content-card .card-body {
        padding: 1rem;
    }
    
    .btn-custom-primary, .btn-custom-outline {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
    }
}

/* Animation for content sections */
.terms-section, .privacy-section {
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.terms-section:nth-child(1) { animation-delay: 0.1s; }
.terms-section:nth-child(2) { animation-delay: 0.2s; }
.terms-section:nth-child(3) { animation-delay: 0.3s; }
.terms-section:nth-child(4) { animation-delay: 0.4s; }

.privacy-section:nth-child(1) { animation-delay: 0.1s; }
.privacy-section:nth-child(2) { animation-delay: 0.2s; }
.privacy-section:nth-child(3) { animation-delay: 0.3s; }
.privacy-section:nth-child(4) { animation-delay: 0.4s; }

/* Form Validation Styles */
.form-control.is-invalid {
    border-color: #dc3545;
}

.form-control.is-valid {
    border-color: #198754;
}

.invalid-feedback {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: #dc3545;
}

.valid-feedback {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: #198754;
}

/* Responsive Adjustments for Contact */
@media (max-width: 768px) {
    .contact-form .input-group {
        flex-direction: column;
    }
    
    .contact-form .input-group-text {
        border-radius: 0.5rem 0.5rem 0 0 !important;
        border-bottom: none;
    }
    
    .contact-form .form-control {
        border-radius: 0 0 0.5rem 0.5rem !important;
        border-top: none;
    }
    
    .hero-overlay-card {
        position: static;
        margin-top: 1rem;
    }
    
    .floating-element {
        display: none;
    }
    
    .feature-icon-small {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}

/* Print styles */
@media print {
    .navbar,
    .btn,
    footer {
        display: none !important;
    }
    
    .container {
        max-width: none !important;
    }
    
    .card {
        border: 1px solid #000 !important;
        box-shadow: none !important;
    }
}



/* Modern Lesson Cards */
.lessons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.modern-lesson-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

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

.modern-lesson-card.completed {
    border-color: var(--success-color);
    background: linear-gradient(135deg, var(--white) 0%, #f0fdf4 100%);
}

.lesson-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.lesson-number {
    background: var(--primary-color);
    color: var(--white);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
}

.completed .lesson-number {
    background: var(--success-color);
}

.lesson-status .completed-icon {
    color: var(--success-color);
    font-size: 1.25rem;
}

.lesson-status .play-icon {
    color: var(--gray-400);
    font-size: 1.25rem;
}

.lesson-body {
    margin-bottom: 1rem;
}

.lesson-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.lesson-description {
    color: var(--gray-600);
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.lesson-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.lesson-tags {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.difficulty-tag {
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: capitalize;
}

.difficulty-beginner {
    background: #dbeafe;
    color: #1e40af;
}

.difficulty-intermediate {
    background: #fef3c7;
    color: #92400e;
}

.difficulty-advanced {
    background: #fee2e2;
    color: #991b1b;
}

.completion-badge {
    background: #dcfce7;
    color: #166534;
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.lesson-action {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.875rem;
}

.action-text {
    transition: var(--transition);
}

.modern-lesson-card:hover .action-text {
    color: var(--primary-dark);
}

.sub-lessons-modern {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-200);
}

.sub-lessons-header {
    margin-bottom: 0.75rem;
}

.sub-count {
    font-size: 0.75rem;
    color: var(--gray-500);
    font-weight: 500;
}

.sub-lessons-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sub-lesson-modern {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    cursor: pointer;
}

.sub-lesson-modern:hover {
    background: var(--gray-50);
}

.sub-lesson-modern.completed {
    background: #f0fdf4;
}

.sub-lesson-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gray-300);
    transition: var(--transition);
}

.sub-lesson-modern.completed .sub-lesson-indicator {
    background: var(--success-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .lessons-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .modern-lesson-card {
        padding: 1rem;
    }
    
    .lesson-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
}

/* Markdown Content Styles */
.markdown-content {
    line-height: 1.7;
    color: var(--gray-800);
}

.markdown-content h1,
.markdown-content h2,
.markdown-content h3,
.markdown-content h4,
.markdown-content h5,
.markdown-content h6 {
    color: var(--gray-900);
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.markdown-content h1 {
    font-size: 2rem;
    border-bottom: 2px solid var(--gray-200);
    padding-bottom: 0.5rem;
}

.markdown-content h2 {
    font-size: 1.5rem;
    border-bottom: 1px solid var(--gray-200);
    padding-bottom: 0.3rem;
}

.markdown-content h3 {
    font-size: 1.25rem;
}

.markdown-content h4 {
    font-size: 1.1rem;
}

.markdown-content p {
    margin-bottom: 1rem;
    text-align: justify;
}

.markdown-content ul,
.markdown-content ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.markdown-content li {
    margin-bottom: 0.5rem;
}

.markdown-content blockquote {
    border-left: 4px solid var(--primary-color);
    background-color: var(--gray-50);
    padding: 1rem 1.5rem;
    margin: 1rem 0;
    font-style: italic;
    color: var(--gray-700);
}

.markdown-content code {
    background-color: var(--gray-100);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.9em;
    color: var(--primary-dark);
}

.markdown-content pre {
    background-color: var(--gray-900);
    color: var(--gray-100);
    padding: 1rem;
    border-radius: var(--border-radius);
    overflow-x: auto;
    margin: 1rem 0;
}

.markdown-content pre code {
    background-color: transparent;
    padding: 0;
    color: inherit;
}

.markdown-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.markdown-content th,
.markdown-content td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid var(--gray-200);
}

.markdown-content th {
    background-color: var(--gray-50);
    font-weight: 600;
    color: var(--gray-900);
}

.markdown-content a {
    color: var(--primary-color);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.markdown-content a:hover {
    color: var(--primary-dark);
    border-bottom-color: var(--primary-color);
}

.markdown-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    margin: 1rem 0;
    box-shadow: var(--shadow);
}

.markdown-content hr {
    border: none;
    height: 2px;
    background-color: var(--gray-200);
    margin: 2rem 0;
}

/* Audio Controls Styles */
.audio-controls {
    background-color: var(--gray-50);
    padding: 0.75rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--gray-200);
    margin-bottom: 1rem;
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.audio-controls .btn {
    font-size: 0.875rem;
    padding: 0.375rem 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    white-space: nowrap;
}

.audio-controls .btn i {
    font-size: 0.875rem;
}

.audio-controls .form-select {
    font-size: 0.875rem;
    min-width: 80px;
    padding: 0.25rem 0.5rem;
}

.audio-speed-control {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.audio-speed-control::before {
    content: "Hız:";
    font-size: 0.875rem;
    color: var(--gray-600);
    white-space: nowrap;
}

@media (max-width: 768px) {
    .audio-controls {
        flex-direction: column;
        gap: 0.5rem !important;
        align-items: stretch !important;
    }
    
    .audio-controls .btn {
        justify-content: center;
        width: 100%;
    }
    
    .audio-speed-control {
        align-self: center;
        justify-content: center;
    }
    
    .audio-speed-control::before {
        display: none;
    }
}