:root {
    --green-primary: #4CAF50;
    --green-dark: #2E7D32;
    --green-light: #81C784;
    --blue-primary: #1a237e;
    --blue-light: #3949ab;
    --orange-accent: #FF9800;
    --orange-light: #FFB74D;
    --white: #ffffff;
    --gray-50: #fafafa;
    --gray-100: #f5f5f5;
    --gray-200: #eeeeee;
    --gray-600: #757575;
    --gray-700: #616161;
    --gray-800: #424242;
    --gray-900: #212121;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--gray-800);
    line-height: 1.6;
    background: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

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

a:hover {
    color: var(--green-dark);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 2rem;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}

.navbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--gray-800);
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

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

.nav-links .dropdown {
    position: relative;
}

.nav-links .dropdown-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.nav-links .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 200px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
}

.nav-links .dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-links .dropdown-menu a {
    display: block;
    padding: 0.75rem 1.25rem;
    color: var(--gray-800);
}

.nav-links .dropdown-menu a:hover {
    background: var(--gray-50);
    color: var(--green-primary);
}

.nav-cta {
    background: var(--green-primary);
    color: white !important;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
}

.nav-cta:hover {
    background: var(--green-dark);
    color: white !important;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Page Header */
.page-header {
    padding: 8rem 2rem 4rem;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 50%, rgba(76, 175, 80, 0.05) 100%);
    text-align: center;
}

.page-header h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.15rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

.breadcrumb {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin-bottom: 1rem;
}

.breadcrumb a {
    color: var(--gray-600);
}

.breadcrumb a:hover {
    color: var(--green-primary);
}

/* Sections */
section {
    padding: 5rem 2rem;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.section-header h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    color: var(--gray-900);
    margin-bottom: 1rem;
    font-weight: 800;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--gray-700);
}

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

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

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 4px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.1), rgba(76, 175, 80, 0.2));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.card h3 {
    font-size: 1.3rem;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.card p {
    color: var(--gray-600);
    line-height: 1.7;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 1.5rem;
}

.stat-number {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--green-primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray-600);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--green-primary), var(--green-dark));
    color: white;
    box-shadow: 0 4px 20px rgba(76, 175, 80, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(76, 175, 80, 0.4);
    color: white;
}

.btn-secondary {
    background: white;
    color: var(--gray-800);
    border: 2px solid var(--gray-200);
}

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

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

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

/* Background variants */
.bg-gray {
    background: var(--gray-50);
}

.bg-blue {
    background: linear-gradient(135deg, var(--blue-primary), var(--blue-light));
    color: white;
}

.bg-blue h2, .bg-blue h3 {
    color: white;
}

.bg-blue p {
    color: rgba(255,255,255,0.9);
}

.bg-blue .stat-number {
    color: var(--orange-accent);
}

.bg-blue .stat-label {
    color: rgba(255,255,255,0.8);
}

/* Info Box */
.info-box {
    background: linear-gradient(135deg, rgba(26, 35, 126, 0.05), rgba(57, 73, 171, 0.05));
    border-left: 4px solid var(--blue-primary);
    padding: 1.5rem;
    border-radius: 0 12px 12px 0;
    margin: 1.5rem 0;
}

.info-box h4 {
    color: var(--blue-primary);
    margin-bottom: 0.5rem;
}

.info-box p {
    color: var(--gray-600);
    font-size: 0.95rem;
    margin: 0;
}

/* Warning Box */
.warning-box {
    background: rgba(255, 152, 0, 0.1);
    border-left: 4px solid var(--orange-accent);
    padding: 1.5rem;
    border-radius: 0 12px 12px 0;
    margin: 1.5rem 0;
}

.warning-box p {
    color: var(--gray-800);
    font-size: 0.9rem;
    margin: 0;
}

/* Tables */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

.data-table th,
.data-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--gray-200);
}

.data-table th {
    background: var(--gray-50);
    font-weight: 600;
    color: var(--gray-800);
    font-size: 0.9rem;
}

.data-table tr:last-child td {
    border-bottom: none;
}

/* Tariff Cards */
.tariff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.tariff-card {
    background: var(--gray-50);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.tariff-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.tariff-card.featured {
    background: linear-gradient(135deg, var(--green-primary), var(--green-dark));
    color: white;
}

.tariff-card h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.tariff-card .price {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--green-primary);
}

.tariff-card.featured .price {
    color: white;
}

.tariff-card .price-sub {
    font-size: 0.9rem;
    color: var(--gray-600);
}

.tariff-card.featured .price-sub {
    color: rgba(255,255,255,0.8);
}

.tariff-card ul {
    list-style: none;
    margin: 1.5rem 0;
    text-align: left;
}

.tariff-card li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.95rem;
}

.tariff-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--green-primary);
    font-weight: bold;
}

.tariff-card.featured li::before {
    color: var(--orange-light);
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, var(--green-primary), var(--blue-primary));
    transform: translateX(-50%);
    border-radius: 2px;
}

.timeline-item {
    display: flex;
    margin-bottom: 2rem;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-content {
    width: 45%;
    background: white;
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: 5%;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 5%;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 1.5rem;
    width: 16px;
    height: 16px;
    background: var(--green-primary);
    border: 4px solid white;
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 0 4px rgba(76, 175, 80, 0.2);
}

.timeline-date {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--green-primary);
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.timeline-content h4 {
    font-size: 1rem;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.timeline-content p {
    font-size: 0.9rem;
    color: var(--gray-600);
}

/* FAQ Accordion */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    overflow: hidden;
}

.faq-question {
    padding: 1.25rem 1.5rem;
    font-weight: 600;
    color: var(--gray-900);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: var(--gray-50);
}

.faq-question::after {
    content: '▼';
    font-size: 0.8rem;
    color: var(--gray-600);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.25rem;
    max-height: 500px;
}

.faq-answer p {
    color: var(--gray-600);
    line-height: 1.7;
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 5rem 2rem;
}

.cta-box {
    max-width: 700px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--gray-900), var(--blue-primary));
    padding: 4rem;
    border-radius: 30px;
    color: white;
}

.cta-box h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: white;
}

.cta-box p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
footer {
    background: var(--gray-900);
    color: white;
    padding: 3rem 2rem;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.footer-brand img {
    height: 40px;
    margin-bottom: 0.5rem;
    background: white;
    padding: 8px 12px;
    border-radius: 8px;
}

.footer-brand .payoff {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--orange-accent);
    margin-bottom: 0.25rem;
}

.footer-brand p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
}

.footer-links h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: white;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: white;
}

.footer-contact a {
    color: var(--orange-accent);
}

.footer-bottom {
    max-width: 1200px;
    margin: 2rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}

/* Link Cards */
.link-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.link-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--gray-50);
    border-radius: 16px;
    text-decoration: none;
    color: var(--gray-900);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-200);
}

.link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    color: var(--gray-900);
    background: white;
}

.link-card-icon {
    font-size: 2rem;
}

.link-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: var(--gray-900);
    font-weight: 700;
}

.link-card p {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.5;
}

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

/* Responsive */
@media (max-width: 968px) {
    .timeline::before {
        left: 20px;
    }

    .timeline-item,
    .timeline-item:nth-child(odd) {
        flex-direction: column;
    }

    .timeline-content,
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        width: calc(100% - 50px);
        margin-left: 50px !important;
        margin-right: 0 !important;
    }

    .timeline-dot {
        left: 20px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none !important;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        gap: 0;
        z-index: 999;
    }
    
    .nav-links.mobile-open {
        display: flex !important;
    }
    
    .nav-links li {
        width: 100%;
        list-style: none;
    }
    
    .nav-links > li > a,
    .nav-links > li > .dropdown-toggle {
        display: block;
        padding: 1rem;
        border-bottom: 1px solid var(--gray-200);
        color: var(--gray-800);
        font-size: 1rem;
    }
    
    .nav-links .dropdown-toggle {
        cursor: pointer;
    }
    
    .nav-links .dropdown-menu {
        position: static;
        box-shadow: none;
        padding: 0;
        margin: 0;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: var(--gray-50);
        border-radius: 0;
    }
    
    .nav-links .dropdown-menu a {
        padding: 0.75rem 1rem 0.75rem 2rem;
        border-bottom: 1px solid var(--gray-200);
    }
    
    .nav-links .nav-cta {
        margin: 1rem 0 0 0;
        text-align: center;
        border-radius: 50px;
    }

    .mobile-menu-btn {
        display: block;
        font-size: 1.5rem;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0.5rem;
    }

    .page-header {
        padding: 7rem 1.5rem 3rem;
    }

    section {
        padding: 3rem 1.5rem;
    }

    .cta-box {
        padding: 2.5rem 1.5rem;
    }

    .footer-inner {
        text-align: center;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .link-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    html {
        overflow-x: hidden;
    }
    
    body {
        overflow-x: hidden;
    }
    
    .page-header {
        padding: 6rem 1rem 2rem;
    }
    
    .page-header h1 {
        font-size: 1.75rem;
    }
    
    section {
        padding: 2.5rem 1rem;
    }
    
    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .cta-box {
        padding: 2rem 1rem;
        border-radius: 20px;
    }
    
    .cta-box h2 {
        font-size: 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}
