:root {
    --primary-color: #0ABAB5;
    --primary-dark: #089A95;
    --primary-light: rgba(10, 186, 181, 0.1);
    --bg-color: #FDFBF7;
    --text-dark: #333333;
    --text-light: #666666;
    --white: #FFFFFF;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Inter', 'Noto Sans TC', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

h1, h2, h3 {
    font-weight: 700;
    color: var(--text-dark);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 3.5rem;
    padding: 0 20px;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background: rgba(253, 251, 247, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.03);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 0.5px;
}

.logo span {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 400;
    margin-left: 8px;
    letter-spacing: 0;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding-bottom: 5px;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(10, 186, 181, 0.2);
}

.btn-primary:hover {
    background-color: var(--white);
    color: var(--primary-color);
    box-shadow: 0 6px 20px rgba(10, 186, 181, 0.3);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary-color);
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid var(--primary-color);
    transition: var(--transition);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(10, 186, 181, 0.2);
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 120px 8% 80px;
    background: radial-gradient(circle at top right, rgba(10,186,181,0.08) 0%, rgba(253,251,247,1) 60%);
}

.hero-content {
    flex: 1.2;
    max-width: 650px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 25px;
    line-height: 1.2;
    background: linear-gradient(90deg, #333, var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 45px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.hero-image::before {
    content: '';
    position: absolute;
    width: 420px;
    height: 420px;
    background: var(--primary-light);
    border-radius: 50%;
    z-index: -1;
    filter: blur(40px);
    top: -20px;
    right: -20px;
}

.hero-image img {
    max-width: 100%;
    width: 420px;
    height: 420px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.1);
    transform: rotate(2deg);
    transition: var(--transition);
}

.hero-image img:hover {
    transform: rotate(0deg) scale(1.02);
}

.certifications {
    padding: 100px 8%;
    background-color: var(--white);
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.cert-card {
    background: var(--bg-color);
    padding: 50px 30px;
    border-radius: 24px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(10, 186, 181, 0.05);
}

.cert-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(10,186,181,0.08);
    background: var(--white);
    border-color: var(--primary-light);
}

.cert-card i {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    background: var(--primary-light);
    width: 90px;
    height: 90px;
    line-height: 90px;
    border-radius: 50%;
}

.cert-card h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
}

.cert-card p {
    color: var(--text-light);
    line-height: 1.7;
}

.roleplay {
    padding: 100px 8%;
    background-color: var(--bg-color);
    position: relative;
}

.roleplay::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: radial-gradient(var(--primary-light) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.5;
    z-index: 0;
}

.roleplay-container {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.03);
    padding: 60px;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.options {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.role-btn {
    padding: 12px 28px;
    border: 2px solid transparent;
    background: var(--white);
    border-radius: 30px;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}

.role-btn:hover {
    background: var(--bg-color);
    color: var(--primary-dark);
    border-color: var(--primary-light);
    transform: translateY(-2px);
}

.role-btn.active {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 0 8px 20px rgba(10,186,181,0.25);
}

.conversation-box {
    display: flex;
    gap: 25px;
    align-items: flex-start;
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(10, 186, 181, 0.1);
}

.tiffany-avatar img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--white);
    box-shadow: 0 4px 15px rgba(10, 186, 181, 0.3);
}

.chat-bubble {
    background: var(--bg-color);
    padding: 25px 35px;
    border-radius: 0 20px 20px 20px;
    position: relative;
    transition: opacity 0.4s ease;
}

.chat-bubble::before {
    content: '';
    position: absolute;
    top: 0;
    left: -15px;
    width: 0;
    height: 0;
    border-top: 20px solid var(--bg-color);
    border-left: 20px solid transparent;
}

.chat-bubble p {
    font-size: 1.15rem;
    color: var(--text-dark);
    line-height: 1.8;
}

.services {
    padding: 100px 8%;
    background-color: var(--white);
}

.service-list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.service-item {
    display: flex;
    gap: 30px;
    align-items: center;
    padding: 40px;
    background: var(--bg-color);
    border-radius: 24px;
    transition: var(--transition);
    border: 1px solid transparent;
}

.service-item:hover {
    transform: translateX(10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.04);
    background: var(--white);
    border-color: var(--primary-light);
}

.service-icon {
    background: var(--white);
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-color);
    flex-shrink: 0;
    box-shadow: 0 10px 20px rgba(10, 186, 181, 0.08);
}

.service-text h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.service-text p {
    color: var(--text-light);
    font-size: 1.1rem;
}

footer {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #06726E 100%);
    color: var(--white);
    padding: 80px 8% 40px;
    text-align: center;
}

.footer-content h2 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 2.2rem;
}

.footer-content p {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
}

.social-links {
    margin: 40px 0;
    display: flex;
    justify-content: center;
    gap: 25px;
}

.social-links a {
    color: var(--primary-dark);
    font-size: 1.5rem;
    background: var(--white);
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.copyright {
    color: rgba(255,255,255,0.6) !important;
    font-size: 0.95rem !important;
    margin-top: 50px;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 150px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image {
        margin-top: 60px;
    }
    
    .hero-image::before {
        display: none;
    }
    
    .hero-image img {
        width: 100%;
        max-width: 400px;
        height: auto;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .roleplay-container {
        padding: 40px 20px;
    }
    
    .conversation-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 25px;
    }
    
    .chat-bubble {
        border-radius: 20px;
        margin-top: 15px;
    }
    
    .chat-bubble::before {
        top: -15px;
        left: 50%;
        transform: translateX(-50%);
        border-top: none;
        border-bottom: 15px solid var(--bg-color);
        border-left: 15px solid transparent;
        border-right: 15px solid transparent;
    }
    
    .service-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
}
