/* ===================================
   Simply - SaaS Landing Page CSS
   Premium Version with Dark Mode
   =================================== */

/* CSS Variables */
:root {
    --primary: #6C5CE7;
    --primary-dark: #5F3DC4;
    --primary-light: #A29BFE;
    --secondary: #FD79A8;
    --accent: #FDCB6E;
    --dark: #2D3436;
    --gray: #636E72;
    --light: #F8F9FA;
    --white: #FFFFFF;
    --gradient-primary: linear-gradient(135deg, #667EEA 0%, #764BA2 100%);
    --gradient-secondary: linear-gradient(135deg, #F093FB 0%, #F5576C 100%);
    --shadow-sm: 0 2px 8px rgba(108, 92, 231, 0.1);
    --shadow-md: 0 4px 16px rgba(108, 92, 231, 0.15);
    --shadow-lg: 0 8px 32px rgba(108, 92, 231, 0.2);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark Mode Variables - Harmonious Color Palette */
body.dark-mode {
    --dark: #F3F4F6;
    --gray: #9CA3AF;
    --light: #1F2937;
    --white: #111827;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.6);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--white);
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--dark);
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.25rem;
}

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

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

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

section {
    padding: 80px 0;
    position: relative;
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    text-align: center;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 4px solid var(--light);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

.spinner-text {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Scroll Progress Bar */
.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: var(--gradient-primary);
    z-index: 1000;
    transition: width 0.1s ease;
}

/* Dark Mode Toggle */
.dark-mode-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    border: none;
    color: #FFFFFF;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 999;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.dark-mode-toggle:hover {
    transform: scale(1.1) rotate(15deg);
    box-shadow: 0 10px 40px rgba(108, 92, 231, 0.4);
}

/* Buttons */
.btn {
    padding: 12px 32px;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
    border: 2px solid transparent;
    text-transform: capitalize;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #FFFFFF;
    border: none;
}

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

/* Watch Demo Button - Enhanced Visibility */
.btn-outline-light {
    border: 3px solid var(--primary);
    color: var(--primary);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-outline-light:hover {
    background: var(--primary);
    color: #FFFFFF;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(108, 92, 231, 0.4);
}

body.dark-mode .btn-outline-light {
    border: 3px solid #D8B4FE;
    color: #D8B4FE;
    background: rgba(216, 180, 254, 0.15);
    box-shadow: 0 0 20px rgba(216, 180, 254, 0.3);
}

body.dark-mode .btn-outline-light:hover {
    background: #D8B4FE;
    color: #111827;
    border-color: #D8B4FE;
    box-shadow: 0 0 30px rgba(216, 180, 254, 0.5);
}

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

.btn-outline-primary:hover {
    background: var(--gradient-primary);
    color: #FFFFFF;
    border-color: transparent;
    transform: translateY(-2px);
}

body.dark-mode .btn-outline-primary {
    color: #C4B5FD;
    border-color: #C4B5FD;
}

body.dark-mode .btn-outline-primary:hover {
    background: var(--gradient-primary);
    color: #FFFFFF;
}

.btn-link {
    color: var(--primary);
    padding: 0;
}

.btn-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.btn-light {
    background: #FFFFFF;
    color: var(--primary);
    border: none;
}

.btn-light:hover {
    background: #F3F4F6;
    color: var(--primary);
}

body.dark-mode .btn-light {
    background: #374151;
    color: #C4B5FD;
}

body.dark-mode .btn-light:hover {
    background: #4B5563;
    color: #FFFFFF;
}

/* Navigation */
.navbar {
    padding: 20px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-sm);
    padding: 15px 0;
    backdrop-filter: blur(10px);
}

body.dark-mode .navbar.scrolled {
    background: rgba(17, 24, 39, 0.98);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.navbar-brand i {
    font-size: 1.8rem;
}

.nav-link {
    color: var(--dark);
    font-weight: 500;
    padding: 8px 16px !important;
    margin: 0 4px;
    border-radius: 8px;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    background: rgba(108, 92, 231, 0.05);
}

body.dark-mode .nav-link:hover,
body.dark-mode .nav-link.active {
    background: rgba(196, 181, 253, 0.1);
    color: #C4B5FD;
}

.navbar-toggler {
    border: none;
    padding: 8px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Hero Section */
.hero-section {
    padding: 60px 0 100px;
    background: linear-gradient(135deg, #F8F9FF 0%, #FFF5F8 100%);
    position: relative;
    overflow: hidden;
}

body.dark-mode .hero-section {
    background: linear-gradient(135deg, #111827 0%, #1F2937 100%);
}

#particles-js {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-background {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0.05;
    border-radius: 0 0 0 100%;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}

body.dark-mode .hero-subtitle {
    color: #C4B5FD;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 24px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--gray);
    margin-bottom: 32px;
    max-width: 540px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-image {
    padding: 60px 0;
}

body.dark-mode .clients-section {
    background: #111827;
}

.client-logo {
    text-align: center;
    padding: 20px;
    transition: var(--transition);
    opacity: 0.5;
    font-size: 3rem;
}

.client-logo:hover {
    opacity: 1;
    transform: scale(1.1);
}

.client-logo i {
    color: var(--gray);
    transition: var(--transition);
}

.client-logo:hover i {
    color: var(--primary);
}

body.dark-mode .client-logo:hover i {
    color: #C4B5FD;
}

/* Features Section */
.features-section {
    background: #F8F9FA;
}

body.dark-mode .features-section {
    background: #0F172A;
}

.feature-card {
    padding: 40px 30px;
    border-radius: 16px;
    background: #FFFFFF;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
    height: 100%;
    border: 1px solid rgba(108, 92, 231, 0.1);
}

body.dark-mode .feature-card {
    background: #1F2937;
    border-color: rgba(196, 181, 253, 0.2);
}

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

body.dark-mode .feature-card:hover {
    border-color: #C4B5FD;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #FFFFFF;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--gray);
    margin: 0;
}

/* About Section */
.about-section {
    background: #FFFFFF;
}

body.dark-mode .about-section {
    background: #111827;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.ci-cd-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gradient-primary);
    color: #FFFFFF;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: var(--shadow-md);
    animation: pulse 2s ease-in-out infinite;
}

.about-content h2 {
    margin-bottom: 20px;
}

.about-content p {
    font-size: 1.05rem;
    margin-bottom: 24px;
}

.about-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Stats Section */
.stats-section {
    background: var(--gradient-primary);
    color: #FFFFFF;
}

.stat-card {
    padding: 40px 20px;
}

.stat-number {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: #FFFFFF;
}

.stat-label {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* Info Section */
.info-section {
    background: #F8F9FA;
}

body.dark-mode .info-section {
    background: #0F172A;
}

.info-card {
    padding: 32px 24px;
    border-radius: 12px;
    background: #FFFFFF;
    transition: var(--transition);
    height: 100%;
    border: 2px solid transparent;
}

body.dark-mode .info-card {
    background: #1F2937;
}

.info-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

body.dark-mode .info-card:hover {
    border-color: #C4B5FD;
}

.info-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #FFFFFF;
    margin-bottom: 20px;
}

.info-card h4 {
    font-size: 1.15rem;
    margin-bottom: 12px;
}

.info-card p {
    font-size: 0.95rem;
    margin: 0;
}

/* Team Section */
.team-section {
    background: #FFFFFF;
}

body.dark-mode .team-section {
    background: #111827;
}

.team-card {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
    height: 100%;
    border: 1px solid rgba(108, 92, 231, 0.1);
}

body.dark-mode .team-card {
    background: #1F2937;
    border-color: rgba(196, 181, 253, 0.2);
}

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

.team-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 24px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 3rem;
}

.team-card h4 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

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

body.dark-mode .team-role {
    color: #C4B5FD;
}

.team-social {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.team-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(108, 92, 231, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: var(--transition);
}

.team-social a:hover {
    background: var(--gradient-primary);
    color: #FFFFFF;
    transform: translateY(-3px);
}

body.dark-mode .team-social a {
    background: rgba(196, 181, 253, 0.1);
    color: #C4B5FD;
}

body.dark-mode .team-social a:hover {
    background: var(--gradient-primary);
    color: #FFFFFF;
}

/* Blog Section */
.blog-section {
    background: #F8F9FA;
}

body.dark-mode .blog-section {
    background: #0F172A;
}

.blog-card {
    background: #FFFFFF;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
}

body.dark-mode .blog-card {
    background: #1F2937;
}

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

.blog-image {
    overflow: hidden;
    height: 250px;
}

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

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-content {
    padding: 24px;
}

.blog-content h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.blog-content p {
    font-size: 0.95rem;
    color: var(--gray);
    margin-bottom: 20px;
}

.blog-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Testimonials Section */
.testimonials-section {
    background: #FFFFFF;
}

body.dark-mode .testimonials-section {
    background: #111827;
}

.testimonial-swiper {
    padding-bottom: 50px;
}

.testimonial-card {
    background: #F8F9FA;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
}

body.dark-mode .testimonial-card {
    background: #1F2937;
}

.testimonial-card:hover {
    background: #FFFFFF;
    box-shadow: var(--shadow-md);
    border-color: rgba(108, 92, 231, 0.1);
}

body.dark-mode .testimonial-card:hover {
    background: #374151;
    border-color: rgba(196, 181, 253, 0.2);
}

.testimonial-content p {
    font-size: 1.125rem;
    font-style: italic;
    color: var(--dark);
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.author-avatar {
    font-size: 3.5rem;
    color: var(--primary);
}

body.dark-mode .author-avatar {
    color: #C4B5FD;
}

.author-info {
    text-align: left;
}

.author-info h5 {
    font-size: 1.125rem;
    margin-bottom: 4px;
}

.author-info p {
    font-size: 0.9rem;
    color: var(--gray);
    margin: 0;
}

.swiper-button-prev,
.swiper-button-next {
    color: var(--primary);
}

body.dark-mode .swiper-button-prev,
body.dark-mode .swiper-button-next {
    color: #C4B5FD;
}

.swiper-pagination-bullet-active {
    background: var(--primary);
}

body.dark-mode .swiper-pagination-bullet-active {
    background: #C4B5FD;
}

/* Pricing Section */
.pricing-section {
    background: #F8F9FA;
}

body.dark-mode .pricing-section {
    background: #0F172A;
}

.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
}

.toggle-label {
    font-weight: 600;
    color: var(--dark);
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 32px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #CCC;
    transition: 0.4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 24px;
    width: 24px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked+.slider {
    background: var(--primary);
}

input:checked+.slider:before {
    transform: translateX(28px);
}

.pricing-card {
    background: #FFFFFF;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    border: 2px solid transparent;
    position: relative;
}

body.dark-mode .pricing-card {
    background: #1F2937;
}

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

body.dark-mode .pricing-card:hover {
    border-color: #C4B5FD;
}

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

body.dark-mode .pricing-card.featured {
    border-color: #C4B5FD;
}

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: #FFFFFF;
    padding: 8px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
}

.pricing-header {
    text-align: center;
    margin-bottom: 30px;
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}

.currency {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

body.dark-mode .currency {
    color: #C4B5FD;
}

.amount {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--dark);
}

.period {
    font-size: 1rem;
    color: var(--gray);
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.pricing-features li {
    padding: 12px 0;
    color: var(--gray);
    display: flex;
    align-items: center;
    gap: 12px;
}

.pricing-features i {
    color: var(--primary);
    font-size: 1.125rem;
}

body.dark-mode .pricing-features i {
    color: #C4B5FD;
}

/* FAQ Section */
.faq-section {
    background: #FFFFFF;
}

body.dark-mode .faq-section {
    background: #111827;
}

.accordion-item {
    background: #F8F9FA;
    border: none;
    margin-bottom: 16px;
    border-radius: 12px;
    overflow: hidden;
}

body.dark-mode .accordion-item {
    background: #1F2937;
}

.accordion-button {
    background: #F8F9FA;
    color: var(--dark);
    font-weight: 600;
    padding: 20px 24px;
    border: none;
}

body.dark-mode .accordion-button {
    background: #1F2937;
    color: var(--dark);
}

.accordion-button:not(.collapsed) {
    background: var(--primary);
    color: #FFFFFF;
}

body.dark-mode .accordion-button:not(.collapsed) {
    background: #C4B5FD;
    color: #111827;
}

.accordion-button:focus {
    box-shadow: none;
}

.accordion-body {
    padding: 24px;
    background: #FFFFFF;
    color: var(--gray);
}

body.dark-mode .accordion-body {
    background: #111827;
    color: var(--gray);
}

/* CTA Section */
.cta-section {
    background: var(--gradient-primary);
    color: #FFFFFF;
}

.cta-section h2 {
    color: #FFFFFF;
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
}

/* Footer */
.footer {
    background: #1E272E;
    color: #B2BEC3;
}

body.dark-mode .footer {
    background: #0F172A;
}

.footer-widget h5 {
    color: #FFFFFF;
    margin-bottom: 24px;
    font-size: 1.125rem;
}

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

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

.footer-links a {
    color: #B2BEC3;
    transition: var(--transition);
}

.footer-links a:hover {
    color: #FFFFFF;
}

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

.footer-contact li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #B2BEC3;
}

.footer-contact i {
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(108, 92, 231, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--gradient-primary);
    color: #FFFFFF;
    transform: translateY(-3px);
}

.newsletter-form .input-group {
    margin-top: 16px;
}

.newsletter-form input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    padding: 12px 20px;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form input:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: none;
    color: #FFFFFF;
}

.newsletter-form .btn-primary {
    padding: 12px 24px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
}

.footer-bottom p {
    color: #B2BEC3;
    margin: 0;
}

/* Section Headers */
.section-header {
    margin-bottom: 60px;
}

.section-subtitle {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

body.dark-mode .section-subtitle {
    color: #C4B5FD;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-description {
    font-size: 1.125rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

/* Video Modal */
.modal-content {
    border-radius: 16px;
    border: none;
}

body.dark-mode .modal-content {
    background: #1F2937;
}

body.dark-mode .modal-header {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .modal-title {
    color: var(--dark);
}

body.dark-mode .btn-close {
    filter: invert(1);
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

/* Scroll Animations */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-animate.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 991px) {
    h1 {
        font-size: 2.5rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero-section {
        padding: 120px 0 80px;
    }

    .navbar-collapse {
        background: var(--white);
        padding: 20px;
        border-radius: 16px;
        margin-top: 20px;
        box-shadow: var(--shadow-md);
    }

    body.dark-mode .navbar-collapse {
        background: #1F2937;
    }
}

@media (max-width: 767px) {
    h1 {
        font-size: 2rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .stat-number {
        font-size: 3rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }

    .dark-mode-toggle {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
}