/* Global Styles */
:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --primary-light: #3b82f6;
    --secondary-color: #64748b;
    --accent-color: #10b981;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 14px;
    scroll-behavior: smooth;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: var(--bg-white);
}

/* Header Styles */
.site-header {
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.5rem;
    color: white !important;
    text-decoration: none;
}

.logo-img {
    height: 40px;
    width: auto;
}

.brand-text {
    color: white;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: white !important;
}

.btn-contact {
    margin-left: 0.5rem;
    background-color: white;
    color: var(--primary-color) !important;
    border: none;
    padding: 0.5rem 1.5rem !important;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-contact:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--primary-dark) !important;
}

/* Language Switcher */
.navbar-nav .dropdown-menu {
    background-color: white;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    border-radius: 8px;
    margin-top: 0.5rem;
}

.navbar-nav .dropdown-item {
    color: var(--text-dark);
    padding: 0.5rem 1rem;
    transition: background-color 0.2s ease;
}

.navbar-nav .dropdown-item:hover {
    background-color: var(--bg-light);
    color: var(--primary-color);
}

.navbar-nav .dropdown-toggle {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
}

.navbar-nav .dropdown-toggle:hover {
    color: white !important;
}

.navbar-nav form {
    margin: 0;
}

.navbar-nav .dropdown-item button {
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    padding: 0;
    color: inherit;
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    margin-bottom: 0;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(var(--shadow-xl));
}

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* Problem Section */
.problem-section {
    background-color: var(--bg-white);
}

.problem-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.problem-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.problem-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.problem-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.problem-card p {
    color: var(--text-light);
    margin: 0;
}

/* Solution Section */
.solution-section {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.feature-card h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
}

/* Smart Balance Section */
.smart-balance-section {
    background-color: var(--bg-white);
}

.balance-features {
    list-style: none;
    padding: 0;
}

.balance-features li {
    margin-bottom: 2rem;
    padding-left: 2rem;
    position: relative;
}

.balance-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.5rem;
}

.balance-features li strong {
    display: block;
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.balance-features li p {
    color: var(--text-light);
    margin: 0;
}

.balance-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.balance-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    width: 100%;
    max-width: 400px;
}

.balance-header {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.balance-amount {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.balance-details {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1.5rem;
}

.balance-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.balance-item:last-child {
    margin-bottom: 0;
}

/* Process Section */
.process-section {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.process-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    height: 100%;
}

.process-card h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.process-list {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.process-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-dark);
    border-bottom: 1px solid var(--border-color);
}

.process-list li:last-child {
    border-bottom: none;
}

.process-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.process-list ol li {
    counter-increment: step-counter;
}

.process-note {
    background-color: var(--bg-light);
    padding: 1rem;
    border-radius: 8px;
    color: var(--text-light);
    font-style: italic;
    margin: 0;
}

/* Advantages Section */
.advantages-section {
    background-color: var(--bg-white);
}

.advantage-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.advantage-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: block;
}

.advantage-card h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.advantage-card p {
    color: var(--text-light);
    margin: 0;
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 5rem 0;
}

.contact-section .section-title {
    color: white;
}

.contact-section .section-description {
    color: rgba(255, 255, 255, 0.9);
}

/* Connection Page Styles */
.connection-hero {
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
    color: white;
    padding: 4rem 0;
    margin-top: 0;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.page-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
}

.connection-steps {
    padding: 5rem 0;
    background-color: var(--bg-white);
}

.steps-timeline {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.steps-timeline::before {
    content: "";
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--primary-light) 100%);
}

.step-item {
    display: flex;
    margin-bottom: 3rem;
    position: relative;
}

.step-item:last-child {
    margin-bottom: 0;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: var(--shadow-lg);
    z-index: 1;
}

.step-content {
    margin-left: 2rem;
    flex: 1;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.step-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.step-content p {
    color: var(--text-light);
    margin: 0;
    line-height: 1.7;
}

.step-substeps {
    margin-top: 1.5rem;
}

.substep {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background-color: var(--bg-light);
    border-radius: 8px;
}

.substep:last-child {
    margin-bottom: 0;
}

.substep h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.substep ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.substep ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-dark);
}

.substep ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.25rem;
}

.connection-benefits {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.benefit-icon {
    font-size: 1.5rem;
}

/* Buttons */
.btn {
    border-radius: 8px;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background-color: transparent;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* Footer */
.site-footer {
    background-color: var(--text-dark);
    color: white;
    padding: 4rem 0 2rem;
    margin-top: 0;
}

.site-footer h5 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: white;
}

.site-footer p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.2);
    margin: 2rem 0 1rem;
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: white;
    background-color: transparent;
}

.btn-outline-light:hover {
    background-color: white;
    color: var(--text-dark);
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Typography */
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1.5rem;
        line-height: 1.3;
    }

    .hero-description {
        font-size: 1rem;
        line-height: 1.6;
    }

    .section-title {
        font-size: 2rem;
        line-height: 1.3;
    }

    .page-title {
        font-size: 2rem;
    }

    .page-subtitle {
        font-size: 1rem;
    }

    /* Hero Section */
    .hero-section {
        padding: 3rem 0;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    /* Navigation */
    .navbar-nav {
        margin-top: 1rem;
        padding-top: 1rem;
    }

    .btn-contact {
        margin-left: 0;
        margin-top: 0.5rem;
        width: 100%;
        text-align: center;
    }

    .navbar-nav .dropdown-menu {
        width: 100%;
        margin-top: 0.5rem;
    }

    /* Cards */
    .problem-card,
    .feature-card,
    .advantage-card,
    .process-card {
        margin-bottom: 1.5rem;
    }

    .problem-card h4,
    .feature-card h4,
    .advantage-card h4 {
        font-size: 1.125rem;
    }

    .problem-card p,
    .feature-card p,
    .advantage-card p {
        font-size: 0.9rem;
    }

    /* Connection Page */
    .connection-hero {
        padding: 3rem 0;
    }

    .steps-timeline::before {
        left: 20px;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }

    .step-content {
        margin-left: 1.5rem;
        padding: 1.5rem;
    }

    .step-content h3 {
        font-size: 1.25rem;
    }

    .step-content p {
        font-size: 0.9rem;
    }

    .substep {
        padding: 1rem;
        margin-bottom: 1rem;
    }

    .substep h4 {
        font-size: 1rem;
    }

    .substep ul li {
        font-size: 0.9rem;
    }

    .benefit-item {
        padding: 0.75rem;
        font-size: 0.9rem;
    }

    /* About Page */
    .mission-visual {
        margin-top: 2rem;
    }

    .mission-card {
        padding: 1.5rem;
    }

    .value-card,
    .team-card {
        padding: 1.5rem;
    }

    .team-description {
        padding: 1.5rem;
    }

    .approach-item {
        flex-direction: column;
    }

    .approach-number {
        margin-right: 0;
        margin-bottom: 1rem;
    }

    .approach-content {
        padding: 1.5rem;
    }

    /* Balance Section */
    .balance-card {
        padding: 2rem 1.5rem;
    }

    .balance-amount {
        font-size: 2rem;
    }

    .balance-features li {
        margin-bottom: 1.5rem;
        padding-left: 1.5rem;
    }

    .balance-features li strong {
        font-size: 1.125rem;
    }

    .balance-features li p {
        font-size: 0.9rem;
    }

    /* Process Section */
    .process-list li {
        font-size: 0.9rem;
        padding: 0.5rem 0;
        padding-left: 1.5rem;
    }

    .process-note {
        font-size: 0.85rem;
        padding: 0.75rem;
    }

    /* Footer */
    .site-footer {
        padding: 3rem 0 1.5rem;
    }

    .site-footer .row > div {
        margin-bottom: 2rem;
    }

    /* Contact Section */
    .contact-section {
        padding: 3rem 0;
    }

    /* Spacing */
    section {
        padding: 3rem 0;
    }

    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    /* Images */
    .hero-image img {
        max-width: 100%;
        margin-top: 2rem;
    }

    .logo-img {
        height: 35px;
    }

    .brand-text {
        font-size: 1.25rem;
    }
}

/* Extra small devices (phones, less than 576px) */
@media (max-width: 575px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .page-title {
        font-size: 1.75rem;
    }

    .step-content {
        padding: 1rem;
    }

    .step-content h3 {
        font-size: 1.125rem;
    }

    .problem-card,
    .feature-card,
    .advantage-card,
    .process-card,
    .value-card,
    .team-card {
        padding: 1.25rem;
    }

    .balance-card {
        padding: 1.5rem 1rem;
    }

    .balance-amount {
        font-size: 1.75rem;
    }

    .navbar-brand {
        font-size: 1.125rem;
    }

    .logo-img {
        height: 30px;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767px) {
    .hero-title {
        font-size: 2.25rem;
    }

    .section-title {
        font-size: 1.875rem;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991px) {
    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.75rem;
    }

    .section-title {
        font-size: 2.25rem;
    }

    .step-content {
        padding: 1.75rem;
    }
}

/* About Page Styles */
.about-hero {
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
    color: white;
    padding: 4rem 0;
    margin-top: 0;
}

.about-mission {
    padding: 5rem 0;
    background-color: var(--bg-white);
}

.mission-visual {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mission-card {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    border: 2px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mission-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.mission-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.mission-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.mission-card p {
    color: var(--text-light);
    margin: 0;
}

.about-values {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.value-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    height: 100%;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.value-card h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.value-card p {
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
}

.about-team {
    padding: 5rem 0;
    background-color: var(--bg-white);
}

.team-description {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 2.5rem;
    border-radius: 16px;
    margin-bottom: 2rem;
}

.team-description p {
    font-size: 1.125rem;
    color: var(--text-dark);
    line-height: 1.8;
    margin: 0;
}

.team-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    text-align: center;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.team-avatar {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: block;
}

.team-card h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.team-role {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.team-card p {
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
}

.about-approach {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.approach-steps {
    max-width: 800px;
    margin: 0 auto;
}

.approach-item {
    display: flex;
    margin-bottom: 2.5rem;
    align-items: flex-start;
}

.approach-item:last-child {
    margin-bottom: 0;
}

.approach-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
    margin-right: 1.5rem;
}

.approach-content {
    flex: 1;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.approach-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.approach-content p {
    color: var(--text-light);
    margin: 0;
    line-height: 1.7;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
.btn:focus,
.nav-link:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}
