/* Base Theme Variables and Aesthetics */
:root {
    --primary-blue: #0b5ee6;
    --dark-blue: #0849b3;
    --light-blue-bg: #f0f5ff;
    --text-main: #1f2937;
    --text-muted: #6b7280;
    --white: #ffffff;
    --border-color: #e5e7eb;
    --gradient-hero: linear-gradient(135deg, #ffffff 0%, #f0f5ff 100%);
    --gradient-btn: linear-gradient(90deg, #0b5ee6, #0849b3);
}

/* Base Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
}

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

a {
    text-decoration: none;
    color: var(--text-main);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-blue);
}

ul {
    list-style: none;
}

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

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: var(--gradient-btn);
    color: var(--white) !important;
    box-shadow: 0 4px 6px -1px rgba(11, 94, 230, 0.2), 0 2px 4px -1px rgba(11, 94, 230, 0.1);
}

.btn-primary:hover {
    box-shadow: 0 10px 15px -3px rgba(11, 94, 230, 0.3), 0 4px 6px -2px rgba(11, 94, 230, 0.2);
    transform: translateY(-2px);
    color: var(--white);
}

.btn-primary i {
    transition: transform 0.3s ease;
}

.btn-primary:hover i {
    transform: translateX(4px);
}

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

.btn-outline:hover {
    background-color: var(--primary-blue);
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(11, 94, 230, 0.1);
}

/* --- Navigation --- */
header {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    transition: padding 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

header.scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    background: rgba(255, 255, 255, 0.95);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
    transition: height 0.3s ease;
}

header.scrolled .navbar {
    height: 70px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.logo-img {
    height: 48px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links li a {
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    padding: 5px 0;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: var(--primary-blue);
    transition: width 0.3s ease;
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
    width: 100%;
}

.nav-links li a.btn {
    padding: 12px 24px;
}

.nav-links li a.btn::after {
    display: none;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-blue);
}

/* --- Hero Section --- */
.hero {
    padding: 180px 0 120px;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(11,94,230,0.08) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.hero-text {
    flex: 1;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards 0.2s;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 24px;
    color: var(--text-main);
    letter-spacing: -1px;
    font-weight: 800;
}

.hero-text p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 32px;
    max-width: 90%;
}

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

.hero-image {
    flex: 1.2;
    position: relative;
    opacity: 0;
    transform: translateX(30px);
    animation: fadeInRight 0.8s ease forwards 0.4s;
}

.dashboard-mockup {
    width: 100%;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(11, 94, 230, 0.15);
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.dashboard-mockup img {
    border-radius: 8px;
    display: block;
    width: 100%;
    height: auto;
}

/* --- Features Section --- */
.features {
    padding: 120px 0;
    background-color: var(--white);
    text-align: center;
}

.section-title {
    font-size: 2.25rem;
    margin-bottom: 16px;
    color: var(--text-main);
    font-weight: 700;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    background: var(--white);
    padding: 48px 32px;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-color);
    position: relative;
    top: 0;
}

.feature-card:hover {
    top: -10px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: rgba(11, 94, 230, 0.3);
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 24px;
    display: inline-block;
    padding: 16px;
    background: var(--light-blue-bg);
    border-radius: 50%;
}

.feature-card h3 {
    margin-bottom: 16px;
    font-size: 1.35rem;
    color: var(--text-main);
    font-weight: 700;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

/* --- Split Section (Testimonial & Why Us) --- */
.split-section {
    padding: 120px 0;
    background-color: #fafbfc;
}

.split-container {
    display: flex;
    gap: 80px;
}

.split-column {
    flex: 1;
}

.testimonial-card {
    background: var(--white);
    padding: 32px;
    border-radius: 16px;
    margin-bottom: 24px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
    display: flex;
    gap: 20px;
    align-items: flex-start;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.user-img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: var(--border-color);
    object-fit: cover;
}

.testimonial-text {
    font-style: italic;
    font-size: 1.05rem;
    margin-bottom: 16px;
    color: var(--text-main);
}

.why-list {
    margin-top: 40px;
}

.why-list li {
    margin-bottom: 32px;
    position: relative;
    padding-left: 36px;
}

.why-list li::before {
    content: '\f058'; /* FontAwesome check-circle */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--primary-blue);
    font-size: 1.4rem;
}

.why-list h4 {
    font-size: 1.2rem;
    color: var(--text-main);
    margin-bottom: 8px;
    font-weight: 700;
}

.why-list p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

/* --- CTA Section --- */
.cta-section {
    padding: 100px 0;
    background: var(--gradient-btn);
    text-align: center;
    color: var(--white);
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    color: var(--white);
    font-weight: 800;
}

.cta-section p {
    font-size: 1.15rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section .btn {
    background: var(--white);
    color: var(--primary-blue) !important;
    font-size: 1.1rem;
    padding: 16px 36px;
}

.cta-section .btn:hover {
    background: #f8f9fa;
    color: var(--dark-blue) !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
}

/* --- Footer --- */
footer {
    background-color: var(--white);
    padding: 80px 0 32px;
    border-top: 1px solid var(--border-color);
}

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

.footer-col h4 {
    margin-bottom: 24px;
    color: var(--text-main);
    font-size: 1.1rem;
    font-weight: 700;
}

.footer-col ul li {
    margin-bottom: 14px;
}

.footer-col ul li a {
    color: var(--text-muted);
    font-size: 0.95rem;
}

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

.footer-col ul li i {
    width: 24px;
    color: var(--primary-blue);
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* --- 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); }
}

/* Scroll Reveal Classes */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive Design (Mobile & Tablet) --- */
@media (max-width: 1024px) {
    .hero-text h1 { font-size: 3rem; }
    .hero-content { gap: 40px; }
}

@media (max-width: 991px) {
    .navbar { height: 80px; }
    header.scrolled .navbar { height: 70px; }
    
    .hero {
        padding: 140px 0 80px;
    }
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    .hero-text p {
        margin: 0 auto 32px;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero-image {
        width: 100%;
        margin-top: 40px;
    }
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .split-container {
        flex-direction: column;
        gap: 60px;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        padding: 24px;
        box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
        align-items: flex-start;
        gap: 20px;
    }
    .nav-links.active {
        display: flex;
    }
    .nav-links li {
        width: 100%;
    }
    .nav-links li a.btn {
        display: block;
        text-align: center;
    }
    .menu-toggle {
        display: block;
    }
    .hero {
        padding: 120px 0 80px;
    }
    .hero-text h1 {
        font-size: 2.5rem;
    }
    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .testimonial-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}
