/* Variables */
:root {
    --primary-color: #2563EB;
    /* Royal Blue */
    --primary-dark: #1E40AF;
    --secondary-color: #10B981;
    /* Emerald Green */
    --accent-color: #F59E0B;
    /* Amber */
    --dark-bg: #0F172A;
    /* Slate 900 */
    --light-bg: #F8FAFC;
    /* Slate 50 */
    --text-main: #334155;
    /* Slate 700 */
    --text-light: #64748B;
    /* Slate 500 */
    --white: #ffffff;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --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);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--white);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--dark-bg);
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-family: var(--font-heading);
    cursor: pointer;
    border: 2px solid transparent;
}

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

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

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

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

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

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

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-text {
    color: var(--primary-color);
    background: none;
}

.btn-text:hover {
    text-decoration: underline;
}

.full-width {
    display: block;
    width: 100%;
    text-align: center;
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    padding: 8px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--dark-bg);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo span {
    color: var(--primary-color);
}

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

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text-main);
    font-weight: 500;
}

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

.nav-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark-bg);
}

/* Hero Section */
.hero {
    padding-top: 170px;
    padding-bottom: 80px;
    background: linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 100%);
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.badge {
    display: inline-block;
    background: #DBEAFE;
    color: var(--primary-color);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero h1 span {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 40px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 20px;
}

.stat-item strong {
    display: block;
    font-size: 1.5rem;
    color: var(--dark-bg);
}

.stat-item span {
    font-size: 0.9rem;
    color: var(--text-light);
}

.stat-divider {
    width: 2px;
    height: 40px;
    background-color: #CBD5E1;
}

.image-placeholder {
    width: 100%;
    height: 400px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background-color: #CBD5E1;
}

.gradient-bg {
    background: linear-gradient(45deg, var(--primary-color), var(--primary-dark));
}

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

.placeholder-text {
    position: absolute;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.5rem;
    font-weight: 700;
    z-index: 2;
    background: rgba(0, 0, 0, 0.3);
    padding: 10px 20px;
    border-radius: 10px;
    backdrop-filter: blur(5px);
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.hero-wave svg {
    position: relative;
    display: block;
    width: calc(157% + 1.3px);
    height: 60px;
}

.hero-wave .shape-fill {
    fill: #FFFFFF;
}

/* Pain Points */
.pain-points {
    padding: 80px 0;
}

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

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 50px;
}

.pain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.pain-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s;
    border: 1px solid #F1F5F9;
}

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

.icon-box {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.icon-box.danger {
    background: #FEE2E2;
    color: #EF4444;
}

.icon-box.warning {
    background: #FEF3C7;
    color: #F59E0B;
}

.icon-box.info {
    background: #DBEAFE;
    color: #2563EB;
}

.pain-card h3 {
    margin-bottom: 10px;
    font-size: 1.25rem;
}

.pain-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.solution-bridge {
    margin-top: 50px;
    text-align: center;
    position: relative;
}

.connector-line {
    width: 2px;
    height: 40px;
    background: #CBD5E1;
    margin: 0 auto;
}

.solution-badge {
    background: var(--secondary-color);
    color: var(--white);
    display: inline-block;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 700;
    margin-top: 10px;
    box-shadow: var(--shadow-md);
}

/* Features */
.features {
    padding: 80px 0;
    background: var(--light-bg);
}

.feature-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.soft-shadow {
    box-shadow: var(--shadow-lg);
    background: #fff;
}

.feature-content h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.feature-content .highlight {
    color: var(--primary-color);
}

.feature-list {
    margin-bottom: 30px;
}

.feature-list li {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.check-icon {
    color: var(--secondary-color);
    font-size: 1.4rem;
    margin-top: 2px;
}

.feature-list h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.feature-list p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Expansion */
.expansion {
    padding: 80px 0;
    background: var(--dark-bg);
    color: var(--white);
}

.expansion h2 {
    color: var(--white);
    margin-bottom: 20px;
}

.expansion p {
    color: #94A3B8;
    margin-bottom: 50px;
}

.map-container {
    max-width: 800px;
    margin: 0 auto 50px;
}

.map-placeholder {
    width: 100%;
    height: 400px;
    background: #1E293B;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.country-flags {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.flag-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.flag-item img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s;
}

.flag-item:hover img {
    transform: scale(1.1);
    border-color: var(--white);
}

.flag-item span {
    font-size: 0.9rem;
    color: #CBD5E1;
}

/* Pricing */
.pricing {
    padding: 80px 0;
    background: var(--light-bg);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.pricing-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    position: relative;
    border: 1px solid #E2E8F0;
    display: flex;
    flex-direction: column;
}

.pricing-card.popular {
    transform: scale(1.05);
    border: 2px solid var(--primary-color);
    box-shadow: var(--shadow-lg);
    z-index: 10;
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: var(--white);
    padding: 4px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

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

.plan-header h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark-bg);
}

.period {
    color: var(--text-light);
    font-size: 0.9rem;
}

.plan-features {
    margin-bottom: 40px;
    flex-grow: 1;
}

.plan-features li {
    margin-bottom: 15px;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 10px;
}

.plan-features i {
    color: var(--secondary-color);
}

/* Candidates Access */
.candidates-access {
    background: var(--primary-color);
    padding: 60px 0;
    margin: 40px 0;
}

.candidate-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.candidate-text h3 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 15px;
}

.candidate-text p {
    color: #DBEAFE;
    margin-bottom: 25px;
    max-width: 600px;
    font-size: 1.1rem;
}

.candidate-icon {
    font-size: 8rem;
    color: rgba(255, 255, 255, 0.2);
}

/* Footer */
.footer {
    background: var(--white);
    padding: 80px 0 30px;
    border-top: 1px solid #F1F5F9;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo {
    display: block;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.5rem;
    color: var(--dark-bg);
    margin-bottom: 20px;
}

.footer-col p {
    color: var(--text-light);
    margin-bottom: 20px;
}

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

.social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #F1F5F9;
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--primary-color);
    color: var(--white);
}

.footer-col h4 {
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.footer-col a {
    display: block;
    color: var(--text-light);
    margin-bottom: 12px;
}

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

.footer-bottom {
    border-top: 1px solid #F1F5F9;
    padding-top: 30px;
    color: #94A3B8;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {

    .hero-container,
    .feature-container,
    .candidate-box {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        margin-bottom: 40px;
    }

    .hero-buttons,
    .hero-stats {
        justify-content: center;
    }

    .feature-list li {
        justify-content: center;
        text-align: left;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
    }

    .candidate-icon {
        display: none;
    }
}

@media (max-width: 768px) {

    .nav-links,
    .nav-actions {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

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

    .hero-stats {
        flex-direction: column;
        gap: 10px;
    }

    .stat-divider {
        display: none;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

/* Benefits (Reverse Layout) */
.benefits {
    padding: 80px 0;
    background: var(--white);
}

.feature-container.reverse {
    direction: rtl;
    /* simple trick for reversing grid, reset in children */
}

.feature-container.reverse>* {
    direction: ltr;
}

@media (min-width: 992px) {
    .feature-container.reverse .feature-image {
        order: 2;
    }

    .feature-container.reverse .feature-content {
        order: 1;
    }
}

/* Testimonials */
.testimonials {
    padding: 100px 0;
    background: linear-gradient(to bottom, #F8FAFC, #EFF6FF);
}

/* Carousel Styles */
.carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 50px auto 0;
    padding: 0 40px;
    /* Space for buttons */
}

.carousel-track-container {
    overflow: hidden;
    width: 100%;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    margin: 0;
    padding: 0;
    list-style: none;
}

.carousel-slide {
    min-width: 33.333%;
    /* Show 3 */
    padding: 0 15px;
    box-sizing: border-box;
}

.testimonial-card {
    background: var(--white);
    padding: 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #E2E8F0;
    height: 100%;
    /* Equal height */
    display: flex;
    flex-direction: column;
}

.review-text {
    flex-grow: 1;
    /* Pushes reviewer down */
}

/* Navigation Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--white);
    border: 1px solid #E2E8F0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--primary-color);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
    z-index: 10;
}

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

.prev-btn {
    left: 0;
}

.next-btn {
    right: 0;
}

/* Dots Navigation */
.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: #CBD5E1;
    cursor: pointer;
    transition: background 0.3s;
    padding: 0;
}

.carousel-dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

/* Responsive Carousel */
@media (max-width: 992px) {
    .carousel-slide {
        min-width: 50%;
        /* Show 2 */
    }
}

@media (max-width: 768px) {
    .carousel-slide {
        min-width: 100%;
        /* Show 1 */
    }

    .carousel-container {
        padding: 0;
    }

    .carousel-btn {
        display: none;
        /* Hide arrows on mobile, use swipe/dots? Or keep small */
    }
}

.quote-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    opacity: 0.3;
    margin-bottom: 15px;
}

.review-text {
    color: var(--text-main);
    font-size: 1rem;
    font-style: italic;
    margin-bottom: 25px;
    line-height: 1.6;
}

.reviewer {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid #F1F5F9;
    padding-top: 15px;
}

.avatar {
    width: 45px;
    height: 45px;
    background: var(--dark-bg);
    border-radius: 50%;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.info h5 {
    font-size: 0.95rem;
    color: var(--dark-bg);
    margin-bottom: 2px;
}

.info span {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* Placeholder Content Styles */
.placeholder-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: #CBD5E1;
    /* Fallback color */
    color: var(--white);
    text-align: center;
}

.placeholder-content i {
    font-size: 4rem;
    margin-bottom: 10px;
    opacity: 0.8;
}

.placeholder-content span {
    font-size: 1.5rem;
    font-weight: 700;
}