﻿@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --accent: #3b82f6;
    --bg-light: #f8fafc;
    --text-dark: #0f172a;
    --text-muted: #64748b;
    --white: #ffffff;
    --shadow: 0 10px 30px -10px rgba(37, 99, 235, 0.15);
    --border-color: rgba(37, 99, 235, 0.1);
    --header-bg: rgba(255, 255, 255, 0.8);
    --danger: #ef4444;
    --success: #22c55e;
}

[data-theme="dark"] {
    --bg-light: #0f172a;
    --text-dark: #f8fafc;
    --text-muted: #94a3b8;
    --white: #1e293b;
    --border-color: rgba(255, 255, 255, 0.1);
    --header-bg: rgba(15, 23, 42, 0.8);
    --danger: #ef4444;
    --success: #22c55e;
}

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

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

.container {
    max-width: 1600px;
    width: 92%;
    margin: 0 auto;
}

header {
    background-color: var(--header-bg);
    backdrop-filter: blur(12px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo i {
    animation: rotateLogo 6s infinite linear;
}

@keyframes rotateLogo {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.nav-menu {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: color 0.3s ease;
}

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

.btn {
    background-color: var(--primary);
    color: var(--white);
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.btn:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.hero {
    padding: 160px 0 100px;
    background: radial-gradient(circle at 80% 20%, rgba(37, 99, 235, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 10% 80%, rgba(59, 130, 246, 0.05) 0%, transparent 50%);
    text-align: center;
    position: relative;
}

.hero-title {
    font-size: 56px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--text-dark);
    animation: fadeInUp 1s ease both;
}

.hero-title span {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 20px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 40px;
    font-weight: 500;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-checklist {
    display: grid;
    grid-template-columns: repeat(2, minmax(240px, auto));
    justify-content: center;
    gap: 16px 40px;
    list-style: none;
    margin: 0 auto 40px;
    max-width: 700px;
    text-align: left;
    animation: fadeInUp 1s ease 0.3s both;
}

.hero-checklist li {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-checklist li i {
    color: var(--success);
    font-size: 18px;
}

@media (max-width: 768px) {
    .hero-checklist {
        grid-template-columns: 1fr;
        gap: 12px;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
    animation: fadeInUp 1s ease 0.4s both;
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    box-shadow: none;
}

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

.features {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 50px;
}

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

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

.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 24px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid rgba(37, 99, 235, 0.05);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px -15px rgba(37, 99, 235, 0.25);
}

.feature-icon {
    font-size: 36px;
    color: var(--primary);
    margin-bottom: 24px;
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-muted);
}

.pricing {
    padding: 80px 0;
    background-color: rgba(37, 99, 235, 0.02);
}

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

.pricing-card {
    background: var(--white);
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(37, 99, 235, 0.05);
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -15px rgba(37, 99, 235, 0.3);
    border-color: var(--primary);
}

.pricing-card.popular {
    border: 2px solid #ef4444;
}

.pricing-card.popular .badge {
    background-color: #ef4444;
}

.badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--primary);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
}

.plan-name {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 10px;
}

.plan-price {
    font-size: 40px;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 30px;
}

.plan-price span {
    font-size: 16px;
    color: var(--text-muted);
    font-weight: 500;
}

.plan-features {
    list-style: none;
    margin-bottom: 30px;
}

.plan-features li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.plan-features li i {
    color: #22c55e;
}

.blog-section {
    padding: 80px 0;
}

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

.blog-card {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px -15px rgba(37, 99, 235, 0.25);
}

.blog-img {
    height: 220px;
    background-size: cover;
    background-position: center;
    background-color: #e2e8f0;
}

.blog-content {
    padding: 30px;
}

.blog-date {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 10px;
}

.blog-title {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--text-dark);
    text-decoration: none;
    display: block;
    transition: color 0.3s ease;
}

.blog-title:hover {
    color: var(--primary);
}

.blog-desc {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 20px;
}

footer {
    background-color: #0b1329;
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 20px;
}

.footer-brand p {
    color: #94a3b8;
}

.footer-links h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    border-t: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    color: #64748b;
    font-size: 14px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.theme-toggle, .notification-bell {
    background: none;
    border: none;
    font-size: 18px;
    color: var(--text-dark);
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.theme-toggle:hover, .notification-bell:hover {
    background-color: rgba(37, 99, 235, 0.08);
}

.notification-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background-color: #ef4444;
    color: white;
    font-size: 9px;
    font-weight: 700;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dropdown-notifications {
    display: none;
    position: absolute;
    right: 0;
    top: 45px;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    width: 300px;
    box-shadow: var(--shadow);
    z-index: 1001;
    overflow: hidden;
}

.dropdown-notifications.show {
    display: block;
}

.notification-header {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
    font-weight: 700;
    color: var(--text-dark);
    font-size: 14px;
}

.notification-list {
    max-height: 200px;
    overflow-y: auto;
}

.notification-item {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
    text-decoration: none;
    display: block;
    color: var(--text-dark);
}

.notification-item:hover {
    background-color: rgba(37, 99, 235, 0.02);
}

.notification-item p {
    font-size: 13px;
    margin-bottom: 4px;
    line-height: 1.4;
}

.notification-item span {
    font-size: 11px;
    color: var(--text-muted);
}


.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 22px;
    color: var(--text-dark);
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.mobile-toggle:hover {
    background-color: rgba(37, 99, 235, 0.08);
}

@media (max-width: 991px) {
    .desktop-auth {
        display: none !important;
    }
    
    .mobile-auth-item {
        display: block !important;
    }

    .mobile-toggle {
        display: flex;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        border-bottom: 1px solid var(--border-color);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
        z-index: 999;
    }
    
    .nav-menu.show {
        display: flex;
    }
    
    .nav-link {
        display: block;
        padding: 8px 0;
    }
    
    .welcome-text {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 40px;
    }
    .hero-desc {
        font-size: 16px;
    }
    .hero-btns {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .nav-auth {
        gap: 8px;
    }
    
    .btn-portal, .btn-admin {
        padding: 8px 12px !important;
        font-size: 13px !important;
    }
    
    .btn-logout {
        padding: 8px 10px !important;
    }
}


.stats-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--primary) 0%, #1e40af 100%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-number {
    font-size: 42px;
    font-weight: 900;
    color: #ffffff;
    line-height: 1.2;
}

.stat-label {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    margin-top: 6px;
}


.infra-section {
    padding: 80px 0;
}

.infra-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.infra-card {
    background: var(--white);
    padding: 32px 24px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(37, 99, 235, 0.05);
    transition: all 0.3s ease;
    text-align: center;
}

.infra-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary);
    box-shadow: 0 16px 32px -10px rgba(37, 99, 235, 0.2);
}

.infra-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(37, 99, 235, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
    color: var(--primary);
}

.infra-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.infra-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

.infra-sub {
    margin-top: 8px;
    font-style: italic;
    opacity: 0.85;
}


.faq-section {
    padding: 80px 0;
    background-color: rgba(37, 99, 235, 0.02);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--white);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary);
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    text-align: left;
    font-family: 'Inter', sans-serif;
}

.faq-question i {
    transition: transform 0.3s ease;
    color: var(--primary);
    font-size: 14px;
    flex-shrink: 0;
    margin-left: 12px;
}

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

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

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 24px 20px;
}

.faq-answer p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 15px;
}


.cta-section {
    padding: 80px 0;
}

.cta-content {
    background: linear-gradient(135deg, var(--primary) 0%, #1e40af 100%);
    border-radius: 24px;
    padding: 60px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-content::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.cta-content h2 {
    font-size: 36px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    max-width: 500px;
    margin: 0 auto 30px;
}

.cta-btns {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.cta-btns .btn {
    background: #ffffff;
    color: var(--primary);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.cta-btns .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.cta-btns .btn-secondary {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.5);
    color: #ffffff;
    box-shadow: none;
}

.cta-btns .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #ffffff;
}


.policy-section {
    padding: 120px 0 80px;
}

.policy-content {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 24px;
    padding: 50px 40px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(37, 99, 235, 0.05);
}

.policy-content h1 {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 30px;
    text-align: center;
}

.policy-content h1 span {
    color: var(--primary);
}

.policy-content h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 30px 0 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(37, 99, 235, 0.1);
}

.policy-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 20px 0 10px;
}

.policy-content p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 12px;
}

.policy-content ul {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 12px;
    padding-left: 20px;
}

.policy-content ul li {
    margin-bottom: 6px;
}

.policy-content strong {
    color: var(--text-dark);
}

.policy-content .highlight-box {
    background: rgba(37, 99, 235, 0.05);
    border-left: 4px solid var(--primary);
    padding: 16px 20px;
    border-radius: 0 12px 12px 0;
    margin: 20px 0;
}

.policy-content .highlight-box p {
    margin-bottom: 0;
    color: var(--text-dark);
    font-weight: 500;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .stat-number {
        font-size: 32px;
    }
    .cta-content {
        padding: 40px 24px;
    }
    .cta-content h2 {
        font-size: 28px;
    }
    .policy-content {
        padding: 30px 20px;
    }
}


.ticker-banner {
    background-color: var(--primary);
    color: #ffffff;
    padding: 10px 0;
    overflow: hidden;
    white-space: nowrap;
    font-weight: 600;
    font-size: 14px;
    position: relative;
    z-index: 1000;
}

.ticker-text {
    display: inline-block;
    padding-left: 100%;
    animation: ticker 25s linear infinite;
}

@keyframes ticker {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-100%, 0, 0); }
}
