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

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

:root {
    --primary-50: #f0f9ff;
    --primary-100: #e0f2fe;
    --primary-200: #bae6fd;
    --primary-300: #7dd3fc;
    --primary-400: #38bdf8;
    --primary-500: #0ea5e9;
    --primary-600: #0284c7;
    --primary-700: #0369a1;
    --primary-800: #075985;
    --primary-900: #0c4a6e;
    
    --navy-50: #f8fafc;
    --navy-100: #f1f5f9;
    --navy-200: #e2e8f0;
    --navy-300: #cbd5e1;
    --navy-400: #94a3b8;
    --navy-500: #64748b;
    --navy-600: #475569;
    --navy-700: #334155;
    --navy-800: #1e293b;
    --navy-900: #0f172a;
    --navy-950: #020617;
    
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-700: #374151;
}

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

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--navy-900);
    background: linear-gradient(135deg, #f9fafb 0%, #f0f9ff 100%);
}

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

header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(14, 165, 233, 0.1);
}

.top-bar {
    background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 100%);
    color: white;
    padding: 0.75rem 0;
    font-size: 0.875rem;
}

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

.top-bar a {
    color: white;
    text-decoration: none;
    transition: color 0.2s;
}

.top-bar a:hover {
    color: var(--primary-400);
}

.top-bar-links {
    display: flex;
    gap: 1.5rem;
}

nav {
    padding: 1rem 0;
}

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

.logo {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy-900);
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo img {
    height: 45px;
    margin-right: 0.75rem;
}

.logo span {
    color: var(--primary-600);
}

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

.nav-menu a {
    color: var(--navy-700);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.2s;
    padding-bottom: 0.25rem;
}

.nav-menu a:hover {
    color: var(--navy-900);
}

.nav-menu a.active {
    color: var(--navy-900);
    font-weight: 600;
    border-bottom: 2px solid var(--primary-600);
}

.dropdown {
    position: relative;
}

.dropdown-toggle {
    background: none;
    border: none;
    color: var(--navy-700);
    font-weight: 500;
    cursor: pointer;
    font-size: 0.9rem;
    font-family: inherit;
    padding: 0;
}

.dropdown-toggle.active {
    color: var(--navy-900);
    font-weight: 600;
    border-bottom: 2px solid var(--primary-600);
    padding-bottom: 0.25rem;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0.75rem;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    min-width: 15rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(14, 165, 233, 0.1);
}

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

.dropdown-menu a {
    display: block;
    padding: 1rem 1.5rem;
    color: var(--navy-700);
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
}

.dropdown-menu a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
    transition: height 0.3s;
}

.dropdown-menu a:hover::before {
    height: 60%;
}

.dropdown-menu a:hover {
    background: linear-gradient(90deg, var(--primary-50) 0%, transparent 100%);
    color: var(--primary-700);
    padding-left: 1.75rem;
}

.dropdown-menu a:first-child {
    border-radius: 1rem 1rem 0 0;
}

.dropdown-menu a:last-child {
    border-radius: 0 0 1rem 1rem;
}

.dropdown-menu a.active {
    font-weight: 600;
    color: var(--primary-600);
}

.hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0c4a6e 100%);
    color: white;
    padding: 7rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(14, 165, 233, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(56, 189, 248, 0.15) 0%, transparent 50%);
    animation: pulse 8s ease-in-out infinite;
}

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

.hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    background: linear-gradient(135deg, #ffffff 0%, #e0f2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.8s ease-out;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    color: rgba(255,255,255,0.95);
    font-weight: 300;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto 2.5rem;
}

.stat-card {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(20px);
    padding: 2rem;
    border-radius: 1.25rem;
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.stat-card:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.stat-card .number {
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-300) 0%, var(--primary-100) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-card .label {
    font-size: 0.95rem;
    font-weight: 500;
    color: white;
}

.stat-card p {
    color: white !important;
    opacity: 1 !important;
}

.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-700) 100%);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 25px rgba(2, 132, 199, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(2, 132, 199, 0.4);
}

.btn-secondary {
    display: inline-block;
    background: white;
    color: var(--navy-900);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    border: 2px solid var(--primary-200);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.btn-secondary:hover {
    background: var(--primary-50);
    border-color: var(--primary-400);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

section {
    padding: 5rem 0;
    position: relative;
}

section.bg-white {
    background: white;
}

section.bg-gray {
    background: linear-gradient(135deg, #f9fafb 0%, #f0f9ff 50%, #f9fafb 100%);
}

.section-title {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--navy-900) 0%, var(--primary-700) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--navy-600);
    margin-bottom: 3rem;
    font-weight: 400;
    line-height: 1.8;
}

.card {
    background: linear-gradient(135deg, #1e3a5f 0%, #2d4a6f 100%);
    border-radius: 1.25rem;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(14, 165, 233, 0.2);
    position: relative;
    overflow: hidden;
}

.card h3 {
    color: #38bdf8;
    font-weight: 700;
}

.card p {
    color: white;
}

.card .icon-circle {
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.2) 0%, rgba(14, 165, 233, 0.3) 100%);
    box-shadow: 0 8px 20px rgba(56, 189, 248, 0.3);
}

.card .icon-circle::before {
    background: linear-gradient(135deg, #38bdf8, #0ea5e9);
}

.card .icon-circle svg {
    color: #38bdf8;
}

.card:hover .icon-circle svg {
    color: #7dd3fc;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #38bdf8, #0ea5e9);
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover::before {
    transform: scaleX(1);
}

.card:hover {
    box-shadow: 0 20px 50px rgba(56, 189, 248, 0.4);
    transform: translateY(-8px);
}

.feature-card {
    background: linear-gradient(135deg, #1e3a5f 0%, #2d4a6f 100%);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(14, 165, 233, 0.2);
    position: relative;
}

.feature-card h3 {
    color: #38bdf8;
    font-weight: 700;
}

.feature-card p {
    color: white;
}

.feature-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 1rem;
    padding: 2px;
    background: linear-gradient(135deg, #38bdf8, #0ea5e9);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s;
}

.feature-card:hover::after {
    opacity: 1;
}

.feature-card:hover {
    box-shadow: 0 15px 40px rgba(56, 189, 248, 0.4);
    transform: translateY(-8px) scale(1.02);
}

.grid {
    display: grid;
    gap: 2rem;
}

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

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.icon-circle {
    width: 5rem;
    height: 5rem;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.2) 0%, rgba(14, 165, 233, 0.3) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    box-shadow: 0 8px 20px rgba(56, 189, 248, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.icon-circle::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: linear-gradient(135deg, #38bdf8, #0ea5e9);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s;
}

.feature-card:hover .icon-circle::before,
.card:hover .icon-circle::before {
    opacity: 0.3;
}

.feature-card:hover .icon-circle,
.card:hover .icon-circle {
    transform: scale(1.1) rotate(5deg);
    animation: float 3s ease-in-out infinite;
}

.icon-circle svg {
    width: 2.5rem;
    height: 2.5rem;
    color: #38bdf8;
    transition: all 0.3s;
}

.feature-card:hover .icon-circle svg,
.card:hover .icon-circle svg {
    color: #7dd3fc;
}

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

.bg-white {
    background: white;
}

.bg-gray {
    background: var(--gray-50);
}

.bg-primary {
    background: var(--primary-600);
    color: white;
}

.bg-navy {
    background: var(--navy-900);
    color: white;
}

footer {
    background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 100%);
    color: var(--gray-300);
    padding: 4rem 0;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-600), transparent);
}

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

footer h3, footer h4 {
    color: white;
    margin-bottom: 1rem;
}

footer ul {
    list-style: none;
}

footer ul li {
    margin-bottom: 0.5rem;
}

footer a {
    color: var(--gray-300);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}

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

.footer-bottom {
    border-top: 1px solid var(--navy-800);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.875rem;
}

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

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--primary-200);
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-year {
    flex: 1;
    text-align: right;
    padding-right: 2rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-600);
}

.timeline-dot {
    width: 1rem;
    height: 1rem;
    background: var(--primary-600);
    border-radius: 50%;
    position: relative;
    z-index: 10;
}

.timeline-content {
    flex: 1;
    padding-left: 2rem;
}

.timeline-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--navy-900);
    margin-bottom: 0.25rem;
}

.timeline-content p {
    color: var(--navy-600);
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hero {
        padding: 4rem 0;
    }
    
    .hero h1 {
        font-size: 2.25rem;
    }
    
    .hero p {
        font-size: 1.125rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .btn-primary, .btn-secondary {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
    
    .timeline::before {
        left: 1rem;
    }
    
    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 3rem;
    }
    
    .timeline-year {
        text-align: left;
        padding-right: 0;
        margin-bottom: 0.5rem;
    }
    
    .timeline-dot {
        position: absolute;
        left: 0.625rem;
        top: 0.5rem;
    }
    
    .timeline-content {
        padding-left: 0;
    }
}

.checkmark {
    color: var(--primary-600);
    margin-right: 0.5rem;
}

ul.feature-list {
    list-style: none;
    padding: 0;
}

ul.feature-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.75rem;
    color: white;
}

.prose {
    max-width: 65ch;
    margin: 0 auto;
}

.prose p {
    margin-bottom: 1rem;
    line-height: 1.75;
}

/* Login Modal */
.login-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    padding: 2.5rem;
    border-radius: 1rem;
    max-width: 450px;
    width: 90%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.close-modal {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    font-size: 2rem;
    font-weight: 300;
    color: var(--navy-600);
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s;
}

.close-modal:hover {
    color: var(--navy-900);
}

.modal-content h2 {
    color: var(--navy-900);
    margin-bottom: 0.5rem;
    font-size: 1.75rem;
}

.modal-content p {
    color: var(--navy-600);
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--navy-900);
    font-weight: 600;
}

.form-group input {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-500);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.modal-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-cancel {
    flex: 1;
    padding: 0.875rem 1.5rem;
    background: #e5e7eb;
    color: var(--navy-700);
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-cancel:hover {
    background: #d1d5db;
}

.btn-login {
    flex: 1;
    padding: 0.875rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(14, 165, 233, 0.3);
}

/* Header Buttons */
.header-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn-header {
    padding: 0.5rem 1rem;
    border: 2px solid var(--primary-600);
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 0.85rem;
}

.btn-header-outline {
    color: var(--primary-600);
    background: transparent;
}

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

.btn-header-filled {
    background: var(--primary-600);
    color: white;
}

.btn-header-filled:hover {
    background: var(--primary-700);
    transform: translateY(-2px);
}

/* Contact Form */
.contact-form {
    max-width: 700px;
    margin: 0 auto;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-family: inherit;
    min-height: 150px;
    resize: vertical;
    transition: all 0.3s;
}

.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-500);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

/* Tabs */
.tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    border-bottom: 2px solid #e5e7eb;
    margin-bottom: 1.5rem;
}

.tab-btn {
    background: none;
    border: none;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--navy-600);
    cursor: pointer;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: all 0.2s;
    font-family: inherit;
}

.tab-btn:hover {
    color: var(--primary-600);
}

.tab-btn.active {
    color: var(--primary-600);
    border-bottom-color: var(--primary-500);
}

.tab-content {
    display: none;
    color: var(--navy-700);
    line-height: 1.7;
}

.tab-content.active {
    display: block;
}

.tab-content ul {
    padding-left: 1.25rem;
    margin-bottom: 1rem;
}

.tab-content li {
    margin-bottom: 0.5rem;
}

/* Info Boxes */
.info-box {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}

.info-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.info-box-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary-500);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.info-box-icon svg {
    width: 28px;
    height: 28px;
    color: #ffffff;
}

.info-box h3 {
    font-size: 1.35rem;
    color: var(--navy-900);
    margin-bottom: 1rem;
}

.info-box ul {
    padding-left: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--navy-700);
    line-height: 1.7;
}

.info-box li {
    margin-bottom: 0.5rem;
}

.info-box p {
    color: var(--navy-700);
    line-height: 1.7;
}
