/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0ea5e9;
    --primary-dark: #0284c7;
    --primary-light: #38bdf8;
    --text-dark: #1f2937;
    --text-gray: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header */
.header {
    background: var(--bg-white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}

.logo {
    text-decoration: none;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.desktop-nav {
    display: none;
    gap: 2rem;
}

.desktop-nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
}

.desktop-nav a:hover {
    color: var(--primary-color);
}

.menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    transition: all 0.3s;
}

.mobile-nav {
    display: none;
    flex-direction: column;
    padding: 1rem 0;
    border-top: 1px solid var(--border-color);
}

.mobile-nav.active {
    display: flex;
}

.mobile-nav a {
    text-decoration: none;
    color: var(--text-dark);
    padding: 0.75rem 0;
    font-weight: 500;
    transition: color 0.3s;
}

.mobile-nav a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.hero h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.hero-image {
    margin: 1.5rem 0 2rem;
    text-align: center;
}

.hero-img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    max-height: 400px;
    object-fit: contain;
}

.mobile-break {
    display: block;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--bg-white);
    color: var(--primary-color);
}

.btn-primary:hover {
    background: #f3f4f6;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--primary-color);
    color: white;
}

.btn-secondary:hover {
    background: var(--primary-dark);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* Product List */
.product-list {
    padding: 3rem 0;
    background: var(--bg-white);
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.product-card {
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    padding: 1.5rem;
    text-align: center;
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.3s;
}

.product-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.product-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.product-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.product-rate {
    color: var(--primary-color);
    font-size: 1.25rem;
    font-weight: 700;
}

.text-center {
    text-align: center;
}

/* Price Table */
.price-table {
    padding: 3rem 0;
    background: var(--bg-light);
}

.update-time {
    text-align: center;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}

.table-wrapper {
    background: var(--bg-white);
    border-radius: 0.5rem;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.price-table-content {
    width: 100%;
    border-collapse: collapse;
}

.price-table-content thead {
    background: var(--primary-color);
    color: white;
}

.price-table-content th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

.price-table-content th:last-child {
    text-align: center;
}

.price-table-content tbody tr {
    border-bottom: 1px solid var(--border-color);
}

.price-table-content tbody tr:nth-child(even) {
    background: var(--bg-light);
}

.price-table-content tbody tr:hover {
    background: #f3f4f6;
}

.price-table-content td {
    padding: 1rem;
}

.price-table-content td:first-child {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.price-table-content td:last-child {
    text-align: center;
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.125rem;
}

.notice-text {
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-gray);
    margin-top: 1rem;
}

/* Notice Section */
.notice-section {
    padding: 3rem 0;
    background: var(--bg-white);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.more-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.more-link:hover {
    text-decoration: underline;
}

.notice-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.notice-item {
    background: var(--bg-light);
    border-radius: 0.5rem;
    padding: 1rem;
    text-decoration: none;
    color: var(--text-dark);
    transition: background 0.3s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notice-item:hover {
    background: #f3f4f6;
}

.notice-title {
    font-weight: 500;
}

.notice-date {
    color: var(--text-gray);
    font-size: 0.875rem;
    white-space: nowrap;
    margin-left: 1rem;
}

/* Footer */
.footer {
    background: #1f2937;
    color: #9ca3af;
    padding: 2rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col h3 {
    color: white;
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}

.footer-col p {
    font-size: 0.875rem;
    line-height: 1.8;
}

.footer-col a {
    color: var(--primary-light);
    text-decoration: none;
}

.footer-col a:hover {
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1.5rem;
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.875rem;
}

.footer-links a:hover {
    color: var(--primary-light);
}

.copyright {
    text-align: center;
    font-size: 0.875rem;
    color: #6b7280;
}

.footer-notice {
    text-align: center;
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: 1rem;
    line-height: 1.6;
}

/* Floating Button */
.floating-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 56px;
    height: 56px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    text-decoration: none;
    transition: all 0.3s;
    z-index: 999;
}

.floating-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

/* Form Styles */
.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-white);
    border-radius: 0.5rem;
    box-shadow: var(--shadow);
    padding: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.form-label .required {
    color: #ef4444;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.calculation-box {
    background: #dbeafe;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
}

.calculation-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.calculation-row:last-child {
    margin-bottom: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

.alert-box {
    background: #fef3c7;
    border: 1px solid #fbbf24;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
}

.alert-box strong {
    display: block;
    margin-bottom: 0.5rem;
}

.alert-box ul {
    list-style: disc;
    padding-left: 1.5rem;
}

/* Responsive Design */
@media (min-width: 768px) {
    .desktop-nav {
        display: flex;
    }

    .menu-toggle {
        display: none;
    }

    .mobile-nav {
        display: none !important;
    }

    .hero h2 {
        font-size: 3rem;
    }

    .hero p {
        font-size: 1.5rem;
    }

    .hero-img {
        max-height: 500px;
    }

    .mobile-break {
        display: inline;
    }

    .product-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .footer-content {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-links {
        justify-content: flex-start;
    }

    .copyright {
        text-align: right;
    }

    .section-header {
        margin-bottom: 2rem;
    }
}

@media (max-width: 767px) {
    .logo-img {
        height: 32px;
    }

    .logo h1 {
        font-size: 1.25rem;
    }

    .hero-img {
        max-height: 250px;
    }

    .form-container {
        padding: 1.5rem;
    }

    .floating-btn {
        width: 48px;
        height: 48px;
        bottom: 1rem;
        right: 1rem;
    }
}

/* Utility Classes */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }

