/* Base Styles */
:root {
    --primary: #063972;
    --primary-dark: #0b488c;
    --primary-light: #E8F0FE;
    --text-main: #1A202C;
    --text-muted: #4A5568;
    --bg-light: #F7FAFC;
    --bg-white: #FFFFFF;
    --border-color: #E2E8F0;
    --gradient-primary: linear-gradient(135deg, #063972 0%, #108ddfd2 100%);
    --gradient-soft: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);
    --gradient-blue: linear-gradient(135deg, #E8F0FE 0%, #FFFFFF 100%);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text-main);
    font-weight: 700;
    line-height: 1.2;
}

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

ul {
    list-style: none;
}

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

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

/* Typography Utilities */
.text-center {
    text-align: center;
}

.text-white {
    color: var(--bg-white);
}

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

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-sm {
    padding: 8px 15px;
    font-size: 1rem;
}

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

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    color: var(--bg-white);
}

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

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    border-bottom: 1px solid transparent;
    padding: 20px 0;
}

.navbar.scrolled {
    padding: 12px 0;
    border-bottom-color: var(--border-color);
    box-shadow: var(--shadow-sm);
}

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

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

.navbar-menu {
    display: flex;
    flex: 1;
    justify-content: space-between;
    align-items: center;
    margin-left: 64px;
}

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

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

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

.nav-links a.active {
    color: var(--primary);
    text-decoration: underline;
    font-weight: 700;
}

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

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

/* Sections Base */
section {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    background: var(--gradient-soft);
}

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

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 32px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.hero-note {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.hero-image {
    perspective: 1000px;
}

.dashboard-mockup {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transform: rotateY(-10deg) rotateX(5deg);
    transition: var(--transition);
}

.dashboard-mockup:hover {
    transform: rotateY(0) rotateX(0);
}

.mockup-header {
    background: var(--bg-light);
    padding: 12px 16px;
    display: flex;
    gap: 8px;
    border-bottom: 1px solid var(--border-color);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red {
    background: #FF5F56;
}

.dot.yellow {
    background: #FFBD2E;
}

.dot.green {
    background: #27C93F;
}

.mockup-body {
    display: flex;
    height: 400px;
}

.mockup-sidebar {
    width: 80px;
    background: var(--bg-light);
    border-right: 1px solid var(--border-color);
    padding: 24px 16px;
}

.mockup-line {
    height: 8px;
    background: var(--border-color);
    border-radius: 4px;
    margin-bottom: 16px;
}

.w-50 {
    width: 50%;
}

.w-60 {
    width: 60%;
}

.w-70 {
    width: 70%;
}

.w-80 {
    width: 80%;
}

.mockup-content {
    flex: 1;
    padding: 24px;
    background: var(--bg-white);
}

.mockup-cards {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.mockup-card {
    flex: 1;
    height: 60px;
    background: var(--primary-light);
    border-radius: var(--radius-md);
}

.mockup-table {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.mockup-row {
    height: 40px;
    border-bottom: 1px solid var(--border-color);
}

.mockup-row:last-child {
    border-bottom: none;
}

.mockup-row:nth-child(even) {
    background: var(--bg-light);
}

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

.benefit-card {
    background: var(--bg-white);
    padding: 40px 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid transparent;
}

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

.benefit-icon {
    width: 64px;
    height: 64px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 24px;
}

.benefit-card h3 {
    margin-bottom: 12px;
}

/* Features */
.feature-row {
    display: flex;
    align-items: center;
    gap: 64px;
    margin-bottom: 100px;
}

.feature-row:last-child {
    margin-bottom: 0;
}

.feature-row.reverse {
    flex-direction: row-reverse;
}

.feature-text {
    flex: 1;
}

.feature-text h2 {
    font-size: 2.5rem;
    margin-bottom: 24px;
}

.feature-text p {
    font-size: 1.125rem;
    margin-bottom: 32px;
}

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

.feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--text-main);
}

.btn-link {
    font-size: 1.125rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

.btn-link:hover {
    gap: 4px;
    margin-right: -4px;
}

.feature-image {
    flex: 1;
}

.illustration-box {
    aspect-ratio: 4/3;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
}

.blue-gradient {
    background: var(--gradient-primary);
}

.soft-gradient {
    background: var(--bg-light);
}

/* Testimonials */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.testimonial-card {
    background: var(--bg-white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    text-align: left;
}

.stars {
    color: #FFBD2E;
    margin-bottom: 16px;
}

.quote {
    font-size: 1.125rem;
    font-style: italic;
    margin-bottom: 24px;
    color: var(--text-main);
}

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

.author-avatar {
    width: 48px;
    height: 48px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.author-info strong {
    display: block;
    color: var(--text-main);
}

.author-info span {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Pricing Preview */
.pricing-cards {
    display: flex;
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

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

.pricing-card {
    flex: 1;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    position: relative;
    transition: var(--transition);
}

.pricing-card.popular {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: scale(1.05);
}

.pricing-card:hover {
    box-shadow: var(--shadow-md);
}

.badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--bg-white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 16px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.price span {
    font-size: 1rem;
    color: var(--text-muted);
    margin-top: 8px;
}

.pricing-desc {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
}

.pricing-features {
    text-align: left;
    margin-bottom: 32px;
}

.pricing-features li {
    margin-bottom: 12px;
    display: flex;
    gap: 8px;
    align-items: center;
}

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

/* CTA Section */
.cta-section {
    background: var(--primary);
    color: var(--bg-white);
    padding: 100px 0;
}

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

.cta-section p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    color: var(--primary-light);
}

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

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

.footer-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.footer-col h3 {
    font-size: 1rem;
    margin-bottom: 16px;
    color: var(--text-main);
}

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

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

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
}

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

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

.animate-up {
    animation: fadeInUp 0.8s ease backwards;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-cta {
        justify-content: center;
    }

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

    .feature-row,
    .feature-row.reverse {
        flex-direction: column;
        text-align: center;
    }

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

    .navbar-menu {
        display: none;
    }

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

    .navbar-menu.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-white);
        padding: 32px 24px;
        box-shadow: var(--shadow-lg);
        border-bottom: 1px solid var(--border-color);
        gap: 24px;
        z-index: 1000;
        animation: slideDown 0.3s ease-out;
    }

    .navbar-menu.active .nav-links,
    .navbar-menu.active .nav-actions {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 16px;
        text-align: center;
    }

    .navbar-menu.active .nav-actions {
        padding-top: 24px;
        border-top: 1px solid var(--border-color);
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

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

@media (max-width: 768px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .pricing-cards {
        flex-direction: column;
    }

    .pricing-card.popular {
        transform: scale(1);
    }
}

@media (max-width: 576px) {
    .footer-container {
        grid-template-columns: 1fr;
    }

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