@font-face {
    font-family: "Inter";
    src: url("../fonts/Inter.ttf") format("truetype");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

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

html,
body,
main,
section {
    overflow-x: clip;
}

.container:not(.navbar-container) {
    overflow-x: clip;
}

.navbar,
.navbar .container,
.navbar-container {
    overflow: visible;
}

img {
    max-width: 100%;
}

body {
    font-family: "Inter", sans-serif;
    background-color: #f9fafb;
    color: #1f2937;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

::selection {
    background-color: #0ea5e9;
    color: white;
}

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

.text-center { text-align: center; }
.mt-4 { margin-top: 1rem; }

:root {
    --brand-50: #f0f9ff;
    --brand-100: #e0f2fe;
    --brand-500: #0ea5e9;
    --brand-600: #0284c7;
    --brand-700: #0369a1;
    --brand-800: #075985;
    --brand-900: #0c4a6e;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-300: #d1d5db;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --success-bg: #dcfce7;
    --success-text: #16a34a;
    --border-radius: 12px;
    --border-radius-lg: 24px;
    --transition: all 0.3s ease;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--brand-500);
    color: white;
    box-shadow: 0 4px 6px -1px rgba(14, 165, 233, 0.2);
}

.btn-primary:hover {
    background-color: var(--brand-600);
    transform: translateY(-1px);
    box-shadow: 0 10px 15px -3px rgba(14, 165, 233, 0.3);
}

.btn-outline {
    background-color: white;
    color: var(--brand-700);
    border-color: var(--brand-100);
}

.btn-outline:hover {
    background-color: var(--brand-50);
}

.btn-block { width: 100%; }

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

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.form-control {
    width: 100%;
    max-width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    font-family: "Inter", sans-serif;
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
    outline: none;
    border-color: var(--brand-500);
    box-shadow: 0 0 0 3px var(--brand-100);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-notice {
    background-color: var(--gray-900);
    color: white;
    text-align: center;
    padding: 8px 16px;
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 600;
}

.navbar {
    background-color: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 80px;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 0.75rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    text-decoration: none;
    min-width: 0;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background-color: var(--brand-500);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.nav-link {
    color: var(--gray-600);
    font-weight: 500;
    transition: color 0.2s;
    text-decoration: none;
}

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

.hero {
    background-color: white;
    position: relative;
    overflow: hidden;
    padding: 4rem 0;
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.hero-content { flex: 1; z-index: 2; min-width: 0; }

.hero-badge {
    display: inline-block;
    padding: 4px 12px;
    background-color: var(--brand-50);
    color: var(--brand-600);
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero h1 span { color: var(--brand-500); display: block; }

.hero p {
    font-size: 1.125rem;
    color: var(--gray-500);
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-image-wrapper { flex: 1; position: relative; min-width: 0; }

.hero-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.services {
    padding: 6rem 0;
    background-color: var(--gray-50);
}

.services-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--brand-500);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 0.5rem;
}

.services-header p { font-size: 1.25rem; color: var(--gray-500); margin-top: 1rem; }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: 2rem;
}

.service-card {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--gray-100);
    transition: var(--transition);
}

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

.service-icon {
    width: 56px;
    height: 56px;
    background-color: var(--brand-100);
    color: var(--brand-600);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon svg { width: 28px; height: 28px; }

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

.service-card p { color: var(--gray-600); }

.services-more {
    margin-top: 3rem;
    color: var(--brand-600);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.benefits {
    padding: 6rem 0;
    background-color: white;
}

.benefits-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.benefits-intro {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
}

.benefits-list { margin-top: 2rem; display: flex; flex-direction: column; gap: 1.5rem; }

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

.benefit-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background-color: var(--success-bg);
    color: var(--success-text);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-icon svg { width: 24px; height: 24px; }

.benefit-content h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
}

.benefit-content p { color: var(--gray-600); }

.benefits-image-wrapper { position: relative; min-width: 0; }

.benefits-image-bg {
    position: absolute;
    inset: 0;
    background-color: var(--brand-100);
    border-radius: var(--border-radius-lg);
    transform: translate(20px, 20px);
    z-index: 0;
}

.benefits-image {
    position: relative;
    z-index: 1;
    width: 100%;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.contact {
    padding: 6rem 0;
    background-color: var(--brand-900);
    color: white;
}

.contact-card {
    background-color: var(--brand-800);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.contact-info { padding: 4rem; min-width: 0; }

.contact-info h2 {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.contact-info p {
    color: var(--brand-100);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.contact-features { margin-top: 2rem; }

.contact-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--brand-100);
    margin-bottom: 1rem;
}

.contact-feature svg { width: 24px; height: 24px; color: var(--brand-500); flex-shrink: 0; }

.contact-form-wrapper {
    background-color: white;
    padding: 4rem;
    color: var(--gray-800);
    min-width: 0;
}

.contact-form-wrapper h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.form-disclaimer {
    font-size: 0.75rem;
    color: var(--gray-500);
    text-align: center;
    margin-top: 1rem;
}

.form-disclaimer a {
    color: var(--brand-600);
    text-decoration: underline;
}

.footer {
    background-color: var(--gray-900);
    color: var(--gray-300);
    padding: 3rem 0;
    border-top: 1px solid var(--gray-800);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.footer-logo-icon {
    width: 32px;
    height: 32px;
    background-color: var(--gray-700);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.footer-logo-text {
    color: white;
    font-weight: 700;
    font-size: 1.25rem;
}

.footer-links { display: flex; gap: 1.5rem; font-size: 0.875rem; flex-wrap: wrap; }

.footer-links a { color: var(--gray-300); text-decoration: none; transition: color 0.2s; }

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

.footer-text { font-size: 0.875rem; color: var(--gray-500); }

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(17, 24, 39, 0.7);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.modal-overlay.active { display: flex; }

.modal-content {
    background-color: white;
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    max-width: 400px;
    width: 100%;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    text-align: center;
    animation: modalFadeIn 0.3s ease-out;
}

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

.modal-icon {
    width: 48px;
    height: 48px;
    background-color: var(--success-bg);
    color: var(--success-text);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.modal-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--gray-900);
}

.modal-text {
    color: var(--gray-500);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

body.legal-page main {
    padding: 3rem 0 4rem;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--gray-100);
    word-break: break-word;
}

.legal-content h1 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.legal-content h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--gray-900);
    margin: 2rem 0 0.75rem;
}

.legal-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray-800);
    margin: 1.5rem 0 0.5rem;
}

.legal-content p,
.legal-content li {
    color: var(--gray-600);
    margin-bottom: 0.75rem;
}

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

@media (max-width: 992px) {
    .hero-container,
    .benefits-container,
    .contact-card {
        flex-direction: column;
        display: flex;
        gap: 2rem;
    }

    .hero h1 { font-size: 2.5rem; }
    .hero-image { height: 400px; }
    .contact-info,
    .contact-form-wrapper { padding: 2rem; }
}

@media (max-width: 768px) {
    .hero-actions { flex-direction: column; }
    .btn { width: 100%; }
    .footer-container { flex-direction: column; text-align: center; }
    .footer-links { justify-content: center; }
    .nav-links { gap: 12px; }
    .nav-links .btn { padding: 10px 16px; font-size: 0.875rem; }
    .navbar-container {
        min-height: auto;
        padding-top: 0.75rem;
        padding-bottom: 1.5rem;
        align-items: center;
    }
}

@media (max-width: 640px) {
    .logo { flex-direction: column; text-align: center; }
    .logo span { word-break: break-all; min-width: 0; flex: 1; }
    .header-notice {
        font-size: 11px;
        letter-spacing: 0.1em;
        padding: 6px 12px;
        word-break: break-all;
    }
    .footer-col,
    .footer-text,
    .footer-logo-text { word-break: break-all; }
}

@media (max-width: 480px) {
    .container { padding: 0 14px; }
    .hero { padding: 2.5rem 0; }
    .hero h1 { font-size: 2rem; }
    .section-title { font-size: 1.75rem; }
    .services,
    .benefits,
    .contact { padding: 3rem 0; }
    .service-card,
    .contact-info,
    .contact-form-wrapper,
    .legal-content { padding: 1.25rem; }
    .navbar-container { justify-content: center; }
    .nav-links { justify-content: center; width: 100%; }
}
