@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Noto+Sans+KR:wght@100..900&display=swap');

html, body {
    
}

/* General Styles */
body {
    box-sizing: border-box;
    font-family: 'Noto Sans KR', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    color: #1c1b1f; /* custom.css color */
    font-weight: 400; /* custom.css font-weight */
    background-color: #f4f6f9; /* developer.css background-color */
}

.container {
    width: 90%;
    max-width: 1080px;
    margin: 0 auto;
    padding: 20px 0;
    /* developer.css had width: 80% and overflow: hidden. Keeping 90% as it's more common. */
    /* overflow: hidden; // Add this if needed for specific containers */
}

a {
    color: #007bff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.btn-primary, .btn-secondary, .btn-login {
    display: inline-block;
    padding: 0 20px;
    border-radius: 5px;
    text-align: center;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

.btn-primary {
    background-color: #007bff;
    color: white;
    border: none;
}

.btn-primary:hover {
    background-color: #0056b3;
    text-decoration: none;
}

.btn-secondary {
    background-color: #6c757d;
    color: white;
    border: none;
    margin-right: 10px;
}

.btn-secondary:hover {
    background-color: #5a6268;
    text-decoration: none;
}

.btn-login {
    background-color: #28a745;
    color: white;
    border: none;
}

.btn-login:hover {
    background-color: #218838;
    text-decoration: none;
}

.btn-danger {
    background-color: #dc3545;
    color: white;
    border: none;
}

.btn-danger:hover {
    background-color: #c82333;
    text-decoration: none;
}

.btn-logout {
    background-color: #dc3545; /* Red color, similar to btn-danger */
    color: white;
    border: none;
}

.btn-logout:hover {
    background-color: #c82333; /* Darker red on hover */
    text-decoration: none;
}

.btn-light-red {
    background-color: #f2dede;
    color: #a94442;
    border: 1px solid #ebccd1;
}

.btn-light-red:hover {
    background-color: #e4b9c0;
    text-decoration: none;
}

/* Header */
header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    flex-wrap: wrap; /* For responsiveness */
}

header .logo a {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    text-decoration: none;
}

header nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap; /* For responsiveness */
    align-items:center;
    gap:5px;
}

header nav ul li {
    
}

header nav ul li a {
    color: #555;
    font-weight: bold;
    text-decoration: none;
    padding: 0 25px;
    display: block;
    line-height: 40px;
    margin:0!important;
}

header nav ul li a:hover {
    color: #007bff;
    text-decoration: none;
}

/* Pageable Specific Styles */
.fullpage-wrapper {
    height: 100%;
    position: relative; /* Pageable 컨테이너 */
}

.fullpage-wrapper section {
    height: 100%;
    width: 100%;
    position: relative; /* 각 섹션이 전체 화면을 차지하도록 */
}

/* Hero Section */
section.hero {
    color: white;
    text-align: center;
    padding: 100px 20px;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
}

/* Features Section */
section.features {
    padding: 60px 20px;
    background-color: #f4f4f4;
    text-align: center;
}

.features h2 {
    font-size: 36px;
    margin-bottom: 40px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-item {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.feature-item h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #007bff;
}

.feature-item p {
    font-size: 16px;
    color: #666;
}

/* CTA Section */
section.cta {
    background-color: #007bff;
    color: white;
    text-align: center;
    padding: 60px 20px;
}

.cta h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.cta p {
    font-size: 18px;
    margin-bottom: 30px;
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    padding: 30px 0;
    text-align: center;
    font-size: 14px;
}

footer p {
    margin: 5px 0;
}

/* Forms (Login/Register) */
.form-container {
    max-width: 500px;
    margin:140px auto 50px;
    padding: 40px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.form-container h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #555;
}

.form-group input[type="text"],
.form-group input[type="password"],
.form-group input[type="email"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    display:block;
    box-sizing:border-box;
}

.form-group input[type="submit"] {
    width: 100%;
    padding: 12px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.form-group input[type="submit"]:hover {
    background-color: #0056b3;
}

.form-container .text-center {
    text-align: center;
    margin-top: 20px;
}

.error-message {
    color: red;
    text-align: center;
    margin-bottom: 15px;
}

.success-message {
    color: green;
    text-align: center;
    margin-bottom: 15px;
}

/* Change Password Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input[type="password"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.form-group .invalid-feedback {
    color: red;
}

/* General Headings and Paragraphs */
h2 {
    color: #333; /* Default h2 color */
    text-align: center;
    margin-bottom: 30px;
}

h3 {
    color: #2c3e50; /* developer.css h3 color */
    margin-bottom: 15px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

h4 {
    margin-top: 20px;
    margin-bottom: 10px;
    color: #34495e;
}

p {
    line-height: 1.6;
    color: #555;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    border: 1px solid #eee;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}

th, td {
    border: none;
    padding: 15px;
    text-align: center;
}

th {
    color: #fff;
    background-color: #007bff;
}

tr:nth-child(even) {
    background-color: #f2f2f2;
}

tr:hover {
    background-color: #ddd;
    transition: background-color 0.3s ease;
}

/* Developer Page Specific Styles (moved from developer.css) */
pre {
  background-color: #f0f0f0;
  padding: 15px;
  border-radius: 6px;
  overflow-x: auto;
}
.data-format {
  background-color: #e8f0fe;
  border-left: 5px solid #3498db;
  padding: 15px;
  border-radius: 6px;
  overflow-x: auto;
  font-size: 14px;
  color: #2c3e50;
}
.data-description {
  font-size: 14px;
  color: #777;
  margin-bottom: 5px;
  padding: 5px;
  background-color: #f9f9f9;
  border-radius: 4px;
}
.language-button {
    background-color: #007bff;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    margin: 5px;
    transition: background-color 0.3s ease;
}

.language-button:hover {
    background-color: #0056b3;
}

/* Responsive Design */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        text-align: center;
    }

    header nav ul {
        margin-top: 15px;
        justify-content: center;
    }

    header nav ul li {
        margin: 0 10px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 18px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .cta h2 {
        font-size: 30px;
    }

    .cta p {
        font-size: 16px;
    }

    .btn-secondary {
        display: block;
        margin: 10px auto;
    }

    .pricing-container {
        flex-direction: column;
    }

    .pricing-item {
        width: 90%;
        margin: 20px auto;
        max-width: none;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 15px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero p {
        font-size: 16px;
    }

    .features {
        padding: 40px 15px;
    }

    .features h2 {
        font-size: 28px;
    }

    .feature-item {
        padding: 20px;
    }

    .feature-item h3 {
        font-size: 20px;
    }

    .cta {
        padding: 40px 15px;
    }

    .cta h2 {
        font-size: 24px;
    }

    .form-container {
        margin: 30px 15px;
        padding: 25px;
    }
}

/* Buy Page Styles */
.buy-section {
    text-align: center;
    padding: 50px 20px;
}

.buy-button {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.buy-button:hover {
    background-color: #218838;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.buy-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px 20px;
}

.buy-card {
    background-color: #f9f9f9;
    border-radius: 15px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    padding: 50px;
    text-align: center;
    width: 100%;
    max-width: 700px;
    margin: 20px;
}

.buy-description {
    font-size: 18px;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.7;
}

.buy-price {
    font-size: 24px;
    font-weight: bold;
    color: #28a745;
    margin-bottom: 40px;
}

.buy-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.buy-card-link:hover .buy-card {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.buy-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.free-trial {
    background-color: #f0f8ff; /* A light blue background */
    padding: 30px;
    margin-top: 40px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.free-trial h3 {
    color: #007bff;
    font-size: 24px;
    margin-bottom: 15px;
}

.free-trial p {
    font-size: 16px;
    color: #555;
}

/* Pricing Page Styles */
.content-section {
    padding: 60px 0;
}

.pricing-container {
    display: flex;
    justify-content: center; /* Center the items horizontally */
    align-items: stretch; /* Make items the same height */
    flex-wrap: wrap;
    margin-top: 30px;
}

.pricing-item {
    flex: 1;
    padding: 30px;
    margin: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
    max-width: 300px; /* Limit the maximum width */
}

.pricing-item:hover {
    transform: translateY(-5px);
}

.pricing-item h3 {
    color: #28a745; /* A more appealing green */
    margin-bottom: 20px;
    font-size: 22px;
    font-weight: 600;
}

.pricing-item p {
    font-size: 16px;
    color: #555;
    line-height: 1.5;
}

.additional-support {
    margin-top: 40px;
    font-size: 16px; /* Reduced font size */
    color: #6c757d; /* A more subtle color */
    text-align: center;
    font-weight: bold;
}

.additional-support strong {
    color: #e44d26; /* A softer red-orange */
}
