/* Landing Page Styles */

/* Base */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    line-height: 1.6;
    background-color: #f9fafb;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    color: #00509d;
    font-weight: 700;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

p {
    margin-bottom: 1rem;
}

/* Layout */
.section {
    padding: 4rem 0;
}

.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.my-4 {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.py-8 {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.py-12 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.py-16 {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mt-8 {
    margin-top: 2rem;
}

.mt-12 {
    margin-top: 3rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mb-12 {
    margin-bottom: 3rem;
}

/* Grid Layout */
.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.flex-wrap {
    flex-wrap: wrap;
}

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

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

.justify-between {
    justify-content: space-between;
}

.grid {
    display: grid;
}

.grid-cols-1 {
    grid-template-columns: repeat(1, 1fr);
}

.grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-cols-4 {
    grid-template-columns: repeat(4, 1fr);
}

.gap-4 {
    gap: 1rem;
}

.gap-8 {
    gap: 2rem;
}

/* Colors */
.bg-white {
    background-color: #fff;
}

.bg-gray-50 {
    background-color: #f9fafb;
}

.bg-gray-100 {
    background-color: #f3f4f6;
}

.bg-primary {
    background-color: #ffd500;
}

.bg-secondary {
    background-color: #00509d;
}

.text-white {
    color: #fff;
}

.text-black {
    color: #000;
}

.text-gray-600 {
    color: #4b5563;
}

.text-gray-700 {
    color: #374151;
}

.text-gray-800 {
    color: #1f2937;
}

.text-primary {
    color: #ffd500;
}

.text-secondary {
    color: #00509d;
}

/* Components */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    border: none;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.btn-primary {
    background-color: #ffd500;
    color: #00509d;
    font-weight: bold;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    background-color: #ffe14d;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    background-color: #00509d;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.btn-secondary:hover {
    background-color: #0066cc;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.btn-secondary:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid currentColor;
}

/* Card */
.card {
    background-color: #fff;
    border-radius: 0.75rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    padding: 1.75rem;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.card-body {
    padding: 1.25rem 0;
}

.card-title {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #00509d;
}

/* Features */
.feature-icon {
    width: 4rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 1.25rem;
    font-size: 1.75rem;
    background-color: #ffd500;
    color: #00509d;
    box-shadow: 0 8px 15px rgba(255, 213, 0, 0.3);
    margin-left: auto;
    margin-right: auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(255, 213, 0, 0.4);
}

.feature-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background-color: #fff;
    border-radius: 0.75rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #00509d;
}

.feature-description {
    color: #4b5563;
    line-height: 1.6;
}

/* Cost Comparison */
.cost-comparison-section {
    position: relative;
    overflow: hidden;
}

.cost-comparison-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 213, 0, 0.05) 0%, rgba(0, 80, 157, 0.05) 100%);
    z-index: 0;
    pointer-events: none;
}

.vs-card {
    position: relative;
    background-color: #fff;
    border-radius: 1.25rem;
    padding: 2.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    z-index: 1;
}

.vs-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.vs-card h3 {
    color: #00509d;
    margin-bottom: 1.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 2px solid rgba(0, 0, 0, 0.05);
}

.vs-card.highlighted {
    border: 3px solid #ffd500;
    box-shadow: 0 15px 35px rgba(255, 213, 0, 0.2);
}

.vs-card.highlighted:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(255, 213, 0, 0.3);
}

.vs-card.highlighted:before {
    content: 'REKOMENDASI';
    position: absolute;
    top: 0;
    right: 2rem;
    background: #ffd500;
    color: #00509d;
    font-weight: bold;
    font-size: 0.75rem;
    padding: 0.5rem 1.5rem;
    border-radius: 0 0 0.75rem 0.75rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.vs-card .price-highlight {
    font-size: 1.75rem;
    font-weight: 800;
    color: #00509d;
}

.vs-card li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.vs-card li:last-child {
    border-bottom: none;
}

.vs-card .feature-available {
    color: #10b981;
    font-weight: 600;
}

.vs-card .feature-unavailable {
    color: #ef4444;
    font-weight: 600;
}

.vs-card .total-price {
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 2px solid rgba(0, 0, 0, 0.1);
    font-size: 1.5rem;
    font-weight: 800;
}

.vs-card .employee-total {
    color: #ef4444;
}

.vs-card .dfasist-total {
    color: #10b981;
}

.savings-banner {
    background: linear-gradient(90deg, #00509d, #0066cc);
    color: white;
    text-align: center;
    padding: 1.5rem;
    border-radius: 1rem;
    margin-top: 2rem;
    box-shadow: 0 10px 25px rgba(0, 80, 157, 0.3);
    position: relative;
    overflow: hidden;
    transform: translateZ(0);
}

.savings-banner:before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.1) 100%);
    transform: rotate(30deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) rotate(45deg);
    }
}

.savings-amount {
    font-size: 2rem;
    font-weight: 800;
    color: #ffd500;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Chart styles */
.chart-container {
    position: relative;
    margin: 0 auto;
    max-width: 900px;
    transition: all 0.3s ease;
}

.chart-container:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.chart-legend-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.5rem;
    border-radius: 0.5rem;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.chart-legend-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.legend-color {
    width: 30px;
    height: 6px;
    border-radius: 3px;
    margin-bottom: 0.5rem;
}

.vs-card .check-icon {
    color: #10b981;
    margin-right: 0.5rem;
}

.vs-card .times-icon {
    color: #ef4444;
    margin-right: 0.5rem;
}

.vs-diagram {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2rem 0;
}

.vs-circle {
    width: 4rem;
    height: 4rem;
    background: linear-gradient(45deg, #00509d, #0066cc);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 1.25rem;
    position: relative;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(0, 80, 157, 0.3);
}

.vs-line {
    height: 3px;
    background: linear-gradient(90deg, #ffd500, #00509d);
    flex-grow: 1;
    max-width: 150px;
    position: relative;
    z-index: 1;
}

/* FAQs */
.faq-question {
    cursor: pointer;
    padding: 1rem;
    background-color: #f9fafb;
    border-radius: 0.375rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    padding: 0 1rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
}

.faq-answer.active {
    max-height: 500px;
    padding: 1rem;
}

.rotate-180 {
    transform: rotate(180deg);
}

/* Pricing */
.pricing-card {
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    padding: 2.5rem 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    border-color: rgba(255, 213, 0, 0.5);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
    transform: translateY(-10px);
}

.pricing-card-popular {
    border: none;
    background-color: #fff;
    color: #00509d;
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.15);
}

.pricing-card-popular:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #ffd500, #ffeb80);
}

.pricing-card-popular .pricing-title {
    color: #00509d;
}

.pricing-popular-badge {
    position: absolute;
    top: 12px;
    right: -35px;
    background-color: #ffd500;
    color: #00509d;
    font-weight: 600;
    font-size: 0.8rem;
    padding: 5px 40px;
    transform: rotate(45deg);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.pricing-card .btn {
    margin-top: auto;
}

.pricing-title {
    font-size: 1.5rem;
    color: #00509d;
    margin-bottom: 0.5rem;
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.pricing-features {
    margin-bottom: 1.5rem;
}

.pricing-feature {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.pricing-feature i {
    color: #ffd500;
    margin-right: 0.5rem;
}

/* Testimonials */
.testimonial {
    text-align: center;
    padding: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
    background-color: #fff;
    border-radius: 1rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.testimonial:before {
    content: '\201C';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 4rem;
    color: rgba(255, 213, 0, 0.3);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-content {
    font-style: italic;
    margin-bottom: 1.75rem;
    color: #4b5563;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    font-weight: 700;
    color: #00509d;
    margin-bottom: 0.25rem;
}

.testimonial-position {
    font-size: 0.9rem;
    color: #6b7280;
    margin-bottom: 1rem;
}

.testimonial-avatar {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    overflow: hidden;
    border: 3px solid #ffd500;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Header & Navigation */
header {
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 50;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.navbar a {
    text-decoration: none;
    color: #374151;
    font-weight: 500;
}

.navbar-brand {
    display: flex;
    align-items: center;
}

.navbar-brand img {
    height: 2.5rem;
}

.navbar-menu {
    display: flex;
    gap: 1.5rem;
}

.navbar-menu a {
    transition: color 0.3s ease;
}

.navbar-menu a:hover {
    color: #00509d;
}

/* Mobile Navigation */
.mobile-menu-button {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #374151;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    padding: 1rem 0;
}

.mobile-menu a {
    padding: 0.75rem 0;
    border-bottom: 1px solid #e5e7eb;
}

/* Hero Section */
.hero {
    background-color: #f3f4f6;
    position: relative;
    overflow: hidden;
}

.hero:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23000000' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: 0;
    opacity: 0.7;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #00509d, #0066cc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    line-height: 1.2;
}

.hero p {
    font-size: 1.35rem;
    margin-bottom: 2.5rem;
    color: #4b5563;
    max-width: 600px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-image {
    max-width: 100%;
    height: auto;
}

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

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

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

.hidden {
    display: none;
}

.shadow {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.rounded {
    border-radius: 0.375rem;
}

.rounded-lg {
    border-radius: 0.5rem;
}

.rounded-full {
    border-radius: 9999px;
}

/* Responsive */
@media (max-width: 1024px) {
    .container {
        max-width: 960px;
    }
    .grid-cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 720px;
    }
    .grid-cols-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    .grid-cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .hero {
        padding: 4rem 0;
    }
    .section {
        padding: 3rem 0;
    }
    .navbar-menu {
        display: none;
    }
    .mobile-menu-button {
        display: block;
    }
    .mobile-menu.show {
        display: flex;
    }
}

@media (max-width: 640px) {
    .container {
        max-width: 100%;
    }
    .grid-cols-2, .grid-cols-3, .grid-cols-4 {
        grid-template-columns: 1fr;
    }
    .hero-title {
        font-size: 2rem;
    }
    .hero {
        padding: 3rem 0;
    }
    .section {
        padding: 2.5rem 0;
    }
}

/* Footer */
footer {
    background-color: #00509d;
    color: #fff;
    padding: 3rem 0;
}

.footer-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #fff;
}

.footer-links a {
    color: #e5e7eb;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Custom Class for Chart */
.chart-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.max-w-4xl {
    max-width: 56rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.prose {
    max-width: 65ch;
    color: #374151;
}

.prose a {
    color: #00509d;
    text-decoration: underline;
}

.prose h1, .prose h2, .prose h3 {
    color: #00509d;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.prose p, .prose ul, .prose ol {
    margin-bottom: 1rem;
}

.prose ul, .prose ol {
    padding-left: 1.5rem;
}

.prose li {
    margin-bottom: 0.5rem;
}

.prose blockquote {
    border-left: 4px solid #e5e7eb;
    padding-left: 1rem;
    color: #6b7280;
    font-style: italic;
}
