:root {
    /* Colors - Modern Theme */
    --primary: #4F46E5;
    /* Indigo */
    --primary-dark: #4338ca;
    --secondary: #10B981;
    /* Emerald */
    --dark: #111827;
    /* Gray 900 */
    --light: #F9FAFB;
    /* Gray 50 */
    --gray: #6B7280;
    /* Gray 500 */
    --gray-light: #E5E7EB;
    /* Gray 200 */
    --white: #ffffff;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --container-padding: 2rem;
    --section-gap: 5rem;

    /* Transitions */
    --transition: all 0.3s ease;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--white);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.btn-primary {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 8px;
    font-weight: 600;
    border: 2px solid var(--primary);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    background-color: transparent;
    color: var(--primary);
    border-radius: 8px;
    font-weight: 600;
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.section {
    padding: var(--section-gap) 0;
}

.bg-light {
    background-color: var(--light);
}

.text-center {
    text-align: center;
}

.highlight {
    color: var(--primary);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    color: var(--dark);
}

.nav-links a:not(.btn-primary):hover {
    color: var(--primary);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--dark);
    position: relative;
    transition: var(--transition);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: var(--dark);
    transition: var(--transition);
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}

/* Hero Section */
.hero-section {
    padding: 160px 0 100px;
    /* Modern Mesh Gradient */
    background-color: #f3f4f6;
    background-image:
        radial-gradient(at 100% 0%, hsla(243, 100%, 75%, 1) 0px, transparent 50%),
        radial-gradient(at 0% 0%, hsla(158, 100%, 76%, 1) 0px, transparent 50%);
    overflow: hidden;
    position: relative;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    /* Responsive typography */
    margin-bottom: 1.5rem;
    color: var(--dark);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--gray);
    margin-bottom: 2rem;
    max-width: 500px;
    line-height: 1.7;
}

.cta-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.trust-signals {
    display: flex;
    gap: 1.5rem;
    font-size: 0.9rem;
    color: var(--gray);
    font-weight: 500;
}

.trust-signals .signal {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.trust-signals span {
    color: var(--secondary);
    font-weight: bold;
}

/* Hero Image Placeholder */
.hero-image-placeholder {
    position: relative;
    width: 100%;
    height: 450px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-blob {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, #e0e7ff, #d1fae5);
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    animation: morph 8s ease-in-out infinite;
    position: absolute;
    z-index: 1;
}

@keyframes morph {

    0%,
    100% {
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    }

    34% {
        border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%;
    }

    67% {
        border-radius: 100% 60% 60% 100% / 100% 100% 60% 60%;
    }
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 1rem;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: float 6s ease-in-out infinite;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.5);
    min-width: 160px;
}

.floating-card .emoji {
    font-size: 2rem;
    background: #f3f4f6;
    padding: 0.5rem;
    border-radius: 12px;
}

.floating-card div {
    display: flex;
    flex-direction: column;
}

.floating-card span {
    font-weight: 700;
    font-size: 1rem;
    color: var(--dark);
}

.floating-card small {
    color: var(--gray);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-1 {
    top: 10%;
    right: 10%;
    transform: rotate(5deg);
}

.card-2 {
    bottom: 15%;
    left: 5%;
    animation-delay: 2s;
    transform: rotate(-3deg);
}

.card-3 {
    top: 40%;
    right: -5%;
    animation-delay: 4s;
    transform: rotate(2deg);
}

/* Blogs Section */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--gray);
    font-size: 1.1rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border: 1px solid var(--gray-light);
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1);
}

.blog-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.placeholder-img {
    width: 100%;
    height: 100%;
    transition: var(--transition);
}

.blog-card:hover .placeholder-img {
    transform: scale(1.1);
}

.blog-content {
    padding: 1.5rem;
}

.category {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
}

.blog-content h3 {
    font-size: 1.5rem;
    margin: 0.5rem 0;
    font-family: var(--font-heading);
}

.blog-content p {
    color: var(--gray);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.read-more {
    color: var(--primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

.read-more:hover {
    text-decoration: underline;
}

/* About Section */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.about-text p {
    color: var(--gray);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.stat-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    font-family: var(--font-heading);
}

.stat-label {
    color: var(--gray);
    font-weight: 500;
}

/* Newsletter */
.newsletter-section {
    background-color: var(--dark);
    color: var(--white);
    text-align: center;
    border-radius: 20px;
    margin: 2rem var(--container-padding);
    width: auto;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-content h2 {
    margin-bottom: 1rem;
}

.newsletter-content p {
    margin-bottom: 2rem;
    color: var(--gray-light);
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.newsletter-form input {
    flex: 1;
    min-width: 250px;
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    border: none;
    font-family: var(--font-body);
}

/* Footer UI */
.footer {
    background-color: var(--light);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--gray-light);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: block;
    margin-bottom: 1rem;
}

.footer-col h4 {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col ul li a,
.footer-col ul li button {
    color: var(--gray);
    font-size: 0.95rem;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: inherit;
}

.footer-col ul li a:hover,
.footer-col ul li button:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-light);
    color: var(--gray);
    font-size: 0.875rem;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.active {
    opacity: 1;
}

.modal-content {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal.active .modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

.fade-in-left {
    opacity: 0;
    transform: translateX(20px);
    animation: fadeInLeft 0.8s ease forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        margin: 0 auto 2rem;
    }

    .cta-group {
        justify-content: center;
    }

    .about-container {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        z-index: 1001;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        padding: 2rem;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-links.active {
        right: 0;
    }

    .section {
        padding: 3rem 0;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }
}