/* ===========================
   Global Styles & Variables
   =========================== */

:root {
    --primary: #1e40af;
    --primary-dark: #1e3a8a;
    --accent: #fbbf24;
    --accent-dark: #f59e0b;
    --background: #ffffff;
    --foreground: #1f2937;
    --muted: #6b7280;
    --border: #e5e7eb;
    --light-bg: #f3f4f6;
    --blue-50: #eff6ff;
    --blue-100: #dbeafe;
    --radius: 0.5rem;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--foreground);
    background-color: var(--background);
    line-height: 1.6;
}

/* ===========================
   Typography
   =========================== */

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

h1 {
    font-size: 3rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.25rem;
    letter-spacing: -0.02em;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    font-size: 1rem;
    line-height: 1.6;
}

small {
    font-size: 0.875rem;
}

/* ===========================
   Container & Layout
   =========================== */

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

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* ===========================
   Buttons
   =========================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

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

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

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

.btn-outline:hover {
    background-color: rgba(251, 191, 36, 0.1);
}

.btn-block {
    width: 100%;
}

/* ===========================
   Header & Navigation
   =========================== */

.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background-color: var(--primary);
    color: white;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 0.875rem;
}

.logo-text {
    display: none;
}

.logo-title {
    font-size: 1.125rem;
    margin: 0;
}

.logo-subtitle {
    font-size: 0.75rem;
    color: var(--muted);
    margin: 0;
}

@media (min-width: 640px) {
    .logo-text {
        display: block;
    }
}

/* Desktop Navigation */
.nav-desktop {
    display: none;
    gap: 2rem;
}

@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
    }
}

.nav-link {
    background: none;
    border: none;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--foreground);
    cursor: pointer;
    transition: color 0.3s ease;
    font-family: 'Inter', sans-serif;
}

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

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

.language-switcher {
    display: flex;
    gap: 0.5rem;
}

.lang-btn {
    width: 3rem;
    height: 2.5rem;
    border: 1px solid var(--border);
    background-color: white;
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.lang-btn.active {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
}

.lang-btn:hover:not(.active) {
    border-color: var(--primary);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

.mobile-menu-btn span {
    width: 1.5rem;
    height: 0.25rem;
    background-color: var(--foreground);
    border-radius: 0.125rem;
    transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(0.5rem, 0.5rem);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(0.4rem, -0.4rem);
}

/* Mobile Navigation */
.nav-mobile {
    display: none;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
    border-top: 1px solid var(--border);
}

.nav-mobile.active {
    display: flex;
}

@media (min-width: 768px) {
    .nav-mobile {
        display: none !important;
    }
}

.nav-link-mobile {
    background: none;
    border: none;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--foreground);
    cursor: pointer;
    text-align: left;
    transition: color 0.3s ease;
    font-family: 'Inter', sans-serif;
}

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

/* ===========================
   Hero Section
   =========================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #eff6ff 0%, #ffffff 50%, #eff6ff 100%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('../images/hero-bg-1.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    z-index: 0;
}

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

.hero-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    padding: 5rem 0;
}

@media (min-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr 1fr;
        padding: 8rem 0;
    }
}

.hero-text {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.hero-title {
    color: var(--primary);
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--muted);
}

.hero-description {
    font-size: 1.0625rem;
    color: var(--foreground);
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: fit-content;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.stat {
    text-align: left;
}

.stat-number {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--muted);
    margin: 0;
}

.hero-image {
    display: none;
}

@media (min-width: 768px) {
    .hero-image {
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

.hero-image img {
    width: 100%;
    height: 24rem;
    object-fit: cover;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
}

/* ===========================
   Section Styles
   =========================== */

section {
    padding: 5rem 0;
}

@media (min-width: 768px) {
    section {
        padding: 7rem 0;
    }
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    margin-bottom: 1rem;
    color: var(--foreground);
}

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

/* ===========================
   Services Section
   =========================== */

.services {
    background: linear-gradient(180deg, #ffffff 0%, #eff6ff 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    padding: 2rem;
    background-color: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.3s ease;
}

.service-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-4px);
    border-color: var(--primary);
}

.service-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.service-title {
    margin-bottom: 0.5rem;
    color: var(--foreground);
}

.service-description {
    color: var(--muted);
    font-size: 0.9375rem;
}

/* Additional Services */
.additional-services {
    background-color: rgba(30, 64, 175, 0.05);
    border: 1px solid rgba(30, 64, 175, 0.1);
    border-radius: 0.75rem;
    padding: 2rem;
}

.additional-title {
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.additional-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 768px) {
    .additional-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

.additional-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.dot {
    display: inline-block;
    width: 0.5rem;
    height: 0.5rem;
    background-color: var(--accent);
    border-radius: 50%;
    margin-top: 0.375rem;
    flex-shrink: 0;
}

.additional-item p {
    color: var(--foreground);
    margin: 0;
}

/* ===========================
   Calculator Section
   =========================== */

.calculator {
    background-color: white;
}

.calculator-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .calculator-content {
        grid-template-columns: 1fr 1fr;
        max-width: 56rem;
        margin: 0 auto;
    }
}

.calculator-form {
    background-color: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
}

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

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--foreground);
    font-size: 0.9375rem;
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.9375rem;
}

.radio-label input[type="radio"] {
    width: 1rem;
    height: 1rem;
    cursor: pointer;
    accent-color: var(--primary);
}

.form-input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

.form-range {
    width: 100%;
    height: 0.5rem;
    margin: 1rem 0;
    accent-color: var(--primary);
}

.range-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--muted);
}

/* Calculator Result */
.calculator-result {
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.05) 0%, rgba(30, 64, 175, 0.1) 100%);
    border: 1px solid rgba(30, 64, 175, 0.1);
    border-radius: var(--radius);
    padding: 2rem;
}

.result-title {
    color: var(--primary);
    margin-bottom: 2rem;
    font-size: 1.125rem;
}

.result-annual,
.result-monthly {
    margin-bottom: 2rem;
}

.result-label {
    font-size: 0.875rem;
    color: var(--muted);
    margin-bottom: 0.5rem;
}

.result-value {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0;
}

.result-period {
    font-size: 0.875rem;
    color: var(--muted);
    margin: 0;
}

.result-monthly {
    padding-top: 2rem;
    border-top: 1px solid rgba(30, 64, 175, 0.1);
}

.result-disclaimer {
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: var(--radius);
    padding: 1rem;
    border: 1px solid rgba(30, 64, 175, 0.1);
}

.result-disclaimer p {
    font-size: 0.75rem;
    color: var(--muted);
    font-style: italic;
    margin: 0;
}

/* ===========================
   About Section
   =========================== */

.about {
    background: linear-gradient(180deg, #eff6ff 0%, #ffffff 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

@media (min-width: 768px) {
    .about-content {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
}

.about-description {
    font-size: 1.0625rem;
    color: var(--foreground);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-item {
    display: flex;
    gap: 1rem;
}

.info-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.info-title {
    font-weight: 600;
    color: var(--foreground);
    margin: 0 0 0.25rem 0;
}

.info-value {
    color: var(--muted);
    margin: 0;
    font-size: 0.9375rem;
}

.mission-box {
    background-color: rgba(30, 64, 175, 0.05);
    border-radius: var(--radius);
    padding: 1.5rem;
    border: 1px solid rgba(30, 64, 175, 0.1);
}

.mission-title {
    color: var(--primary);
    margin: 0 0 0.75rem 0;
    font-size: 1rem;
}

.mission-text {
    color: var(--foreground);
    margin: 0;
    font-size: 0.9375rem;
}

/* Timeline */
.about-timeline {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    position: relative;
    padding-left: 3rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 1rem;
    top: 3rem;
    width: 0.25rem;
    height: calc(100% + 2rem);
    background: linear-gradient(180deg, var(--primary) 0%, var(--accent) 100%);
}

.timeline-item:last-child::before {
    display: none;
}

.timeline-marker {
    position: absolute;
    left: 0;
    top: 0;
    width: 2.25rem;
    height: 2.25rem;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
}

.timeline-marker.active {
    background-color: var(--accent);
    color: var(--foreground);
}

.timeline-item h4 {
    margin: 0 0 0.25rem 0;
    color: var(--foreground);
    font-size: 1rem;
}

.timeline-item p {
    margin: 0;
    color: var(--muted);
    font-size: 0.875rem;
}

/* Values Section */
.values-section {
    margin-top: 4rem;
}

.values-title {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--foreground);
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .values-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.value-card {
    background-color: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.value-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-4px);
    border-color: var(--primary);
}

.value-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.value-name {
    margin: 0 0 0.75rem 0;
    color: var(--foreground);
    font-size: 1rem;
}

.value-text {
    color: var(--muted);
    font-size: 0.875rem;
    margin: 0;
    line-height: 1.6;
}

/* ===========================
   Footer
   =========================== */

.footer {
    background-color: var(--primary);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 0.75rem;
}

.footer-company {
    margin: 0;
    font-size: 1rem;
}

.footer-company-desc {
    margin: 0;
    font-size: 0.75rem;
    opacity: 0.8;
}

.footer-text {
    font-size: 0.875rem;
    opacity: 0.8;
    margin: 0;
}

.footer-title {
    margin: 0 0 1rem 0;
    font-size: 0.9375rem;
    font-weight: 600;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-link {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    cursor: pointer;
    transition: color 0.3s ease;
    text-align: left;
    font-family: 'Inter', sans-serif;
    text-decoration: none;
}

.footer-link:hover {
    color: white;
}

.contact-item {
    margin-bottom: 1rem;
}

.contact-label {
    font-size: 0.75rem;
    opacity: 0.8;
    margin: 0 0 0.25rem 0;
}

.contact-value {
    font-size: 0.875rem;
    color: white;
    margin: 0;
    text-decoration: none;
}

.contact-value a {
    color: white;
    text-decoration: none;
}

.contact-value a:hover {
    text-decoration: underline;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.875rem;
    opacity: 0.8;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-copyright,
.footer-credit {
    margin: 0;
}

/* ===========================
   Responsive Design
   =========================== */

@media (max-width: 640px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

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

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

    .stat-number {
        font-size: 1.5rem;
    }

    .result-value {
        font-size: 1.75rem;
    }
}

/* ===========================
   Animations
   =========================== */

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}
