/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-pink: #C2185B;
    --dark-pink: #8B0E4A;
    --light-pink: #E91E63;
    --accent-pink: #F06292;
    --bg-light: #FFF5F9;
    --bg-white: #FFFFFF;
    --text-dark: #2C2C2C;
    --text-light: #666666;
    --border-color: #F0E0E8;
    --shadow: rgba(194, 24, 91, 0.1);
    --shadow-hover: rgba(194, 24, 91, 0.2);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--bg-white);
    font-size: 16px;
}

/* Header Styles */
header {
    background: linear-gradient(135deg, var(--primary-pink) 0%, var(--dark-pink) 100%);
    box-shadow: 0 4px 20px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 12px;
}

.header-logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    filter: blur(15px);
    z-index: -1;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.header-logo:hover {
    transform: scale(1.05);
}

.header-logo:hover::before {
    opacity: 1;
}

.header-logo img {
    height: 50px;
    width: auto;
    object-fit: contain;
    position: relative;
    z-index: 1;
}

/* Header Buttons */
.header-buttons {
    display: flex;
    align-items: center;
}

.header-btn {
    color: var(--bg-white);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
}

.header-btn-login {
    border-radius: 12px 0 0 12px;
    border-right: none;
}

.header-btn-register {
    border-radius: 0 12px 12px 0;
    border-left: 1px solid rgba(255, 255, 255, 0.3);
}

.header-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    color: var(--bg-white);
}

.header-nav {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
}

.header-nav a {
    color: var(--bg-white);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.header-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--bg-white);
    transition: width 0.3s ease;
}

.header-nav a:hover::after {
    width: 80%;
}

.header-nav a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Main Content */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
    background-color: var(--bg-white);
}

/* Banner Styles */
.banner {
    width: 100%;
    margin: 2rem 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.banner:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px var(--shadow-hover);
}

.banner img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.banner-first {
    margin-top: 0;
    margin-bottom: 3rem;
}

.banner-middle {
    margin: 4rem 0;
}

/* Section Styles */
section {
    margin-bottom: 3rem;
    padding: 2rem;
    background: linear-gradient(to bottom, var(--bg-white), var(--bg-light));
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 10px var(--shadow);
}

section h1 {
    color: var(--primary-pink);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}

section h2 {
    color: var(--dark-pink);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    margin-top: 2rem;
    font-weight: 600;
    line-height: 1.3;
}

section p {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    font-size: 1.1rem;
    line-height: 1.8;
}

section ul, section ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

section li {
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-size: 1.05rem;
    line-height: 1.7;
}

section li::marker {
    color: var(--primary-pink);
}

/* Table Styles */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background-color: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px var(--shadow);
}

table thead {
    background: linear-gradient(135deg, var(--primary-pink) 0%, var(--dark-pink) 100%);
}

table th {
    color: var(--bg-white);
    padding: 1.2rem 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 1.1rem;
}

table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-dark);
    font-size: 1rem;
}

table tbody tr {
    transition: background-color 0.3s ease;
}

table tbody tr:hover {
    background-color: var(--bg-light);
}

table tbody tr:last-child td {
    border-bottom: none;
}

/* FAQ Accordion Styles */
.faq-accordion {
    margin: 2rem 0;
}

.faq-item {
    margin-bottom: 1rem;
    background: var(--bg-white);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: 0 2px 8px var(--shadow);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 12px var(--shadow-hover);
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-light) 100%);
    border: none;
    text-align: left;
    cursor: pointer;
    color: var(--primary-pink);
    font-weight: 600;
    font-size: 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    position: relative;
}

.faq-question:hover {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-white) 100%);
    color: var(--dark-pink);
}

.faq-question::after {
    content: '+';
    font-size: 1.8rem;
    font-weight: 300;
    color: var(--primary-pink);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-question.active::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 1.5rem;
}

.faq-answer.active {
    max-height: 500px;
    padding: 1.5rem;
}

.faq-answer p {
    margin: 0;
    color: var(--text-dark);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Footer Styles */
footer {
    background: linear-gradient(135deg, var(--dark-pink) 0%, var(--primary-pink) 100%);
    color: var(--bg-white);
    padding: 4rem 2rem 2rem;
    margin-top: 4rem;
    box-shadow: 0 -4px 20px var(--shadow);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-section-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--bg-white);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 1rem;
    line-height: 1.8;
    transition: all 0.3s ease;
}

.footer-section a:hover {
    color: var(--bg-white);
    padding-left: 0.5rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    display: inline-block;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links a:hover {
    border-bottom-color: rgba(255, 255, 255, 0.5);
    padding-left: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    color: var(--bg-white);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.footer-social a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        padding: 0 2rem;
        justify-content: space-between;
    }

    .header-buttons {
        gap: 0;
    }

    .header-btn {
        font-size: 0.85rem;
        padding: 0.5rem 0.9rem;
        white-space: nowrap;
    }

    .header-logo {
        padding: 0.4rem 0.8rem;
    }

    .header-logo img {
        height: 45px;
    }

    main {
        padding: 2rem 1rem;
    }

    section {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }

    section h1 {
        font-size: 2rem;
    }

    section h2 {
        font-size: 1.6rem;
    }

    section p {
        font-size: 1rem;
    }

    table {
        font-size: 0.9rem;
        display: block;
        overflow-x: auto;
    }

    table th,
    table td {
        padding: 0.8rem 0.6rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-section {
        text-align: center;
        align-items: center;
    }

    .footer-links {
        align-items: center;
    }

    .footer-links a {
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .banner {
        margin: 1.5rem 0;
    }

    .banner-first {
        margin-bottom: 2rem;
    }

    .banner-middle {
        margin: 3rem 0;
    }

    .faq-question {
        padding: 1.2rem;
        font-size: 1.1rem;
    }

    .faq-answer.active {
        padding: 1.2rem;
    }

    .sticky-bottom-bar {
        padding: 0.6rem 1rem;
    }

    .sticky-bar-content {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }

    .sticky-bar-text {
        font-size: 0.85rem;
        line-height: 1.3;
    }

    .sticky-bar-button {
        padding: 0.55rem 1.2rem;
        font-size: 0.85rem;
        width: 100%;
        max-width: 280px;
    }

    .scroll-top-btn {
        width: 45px;
        height: 45px;
        font-size: 20px;
        right: 15px;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 0 0.75rem;
        gap: 0.5rem;
    }

    .header-logo {
        padding: 0.3rem 0.5rem;
    }

    .header-logo img {
        height: 38px;
    }

    .header-btn {
        font-size: 0.75rem;
        padding: 0.45rem 0.7rem;
        white-space: nowrap;
    }

    section h1 {
        font-size: 1.75rem;
    }

    section h2 {
        font-size: 1.4rem;
    }

    footer {
        padding: 3rem 1rem 1.5rem;
    }

    .footer-content {
        gap: 1.5rem;
    }

    .footer-section {
        text-align: center;
        align-items: center;
    }

    .footer-section-title {
        font-size: 1.1rem;
    }

    .faq-question {
        padding: 1rem;
        font-size: 1rem;
    }

    .faq-answer.active {
        padding: 1rem;
    }

    .sticky-bottom-bar {
        padding: 0.5rem 0.75rem;
    }

    .sticky-bar-content {
        gap: 0.6rem;
    }

    .sticky-bar-text {
        font-size: 0.8rem;
        line-height: 1.3;
    }

    .sticky-bar-button {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
        max-width: 100%;
    }

    .scroll-top-btn {
        width: 40px;
        height: 40px;
        font-size: 18px;
        right: 10px;
    }

    .sticky-bar-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .sticky-bar-text {
        font-size: 0.9rem;
    }

    .sticky-bar-button {
        padding: 0.65rem 1.5rem;
        font-size: 0.9rem;
    }

    .scroll-top-btn {
        width: 45px;
        height: 45px;
        font-size: 20px;
        bottom: 20px;
        right: 15px;
    }
}

/* Scroll to Top Button */
.scroll-top-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-pink) 0%, var(--dark-pink) 100%);
    color: var(--bg-white);
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px var(--shadow-hover);
    transition: all 0.3s ease;
    z-index: 999;
}

.scroll-top-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px var(--shadow-hover);
    background: linear-gradient(135deg, var(--dark-pink) 0%, var(--primary-pink) 100%);
}

/* Sticky Bottom Bar */
.sticky-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--dark-pink) 0%, var(--primary-pink) 100%);
    box-shadow: 0 -4px 20px var(--shadow-hover);
    z-index: 998;
    padding: 0.75rem 2rem;
    border-top: 2px solid rgba(255, 255, 255, 0.2);
    transform: translateY(100%);
    transition: transform 0.3s ease-out;
}

.sticky-bottom-bar.sticky-bar-visible {
    transform: translateY(0);
}

.sticky-bar-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.sticky-bar-text {
    color: var(--bg-white);
    font-size: 0.95rem;
    font-weight: 500;
    margin: 0;
    flex: 1;
    line-height: 1.4;
}

.sticky-bar-button {
    background: var(--bg-white);
    color: var(--primary-pink);
    text-decoration: none;
    padding: 0.65rem 1.5rem;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.95rem;
    white-space: nowrap;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.sticky-bar-button:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    color: var(--dark-pink);
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection Color */
::selection {
    background-color: var(--accent-pink);
    color: var(--bg-white);
}

::-moz-selection {
    background-color: var(--accent-pink);
    color: var(--bg-white);
}

