/* Kidora Website Styles */
/* Brand Colors */
:root {
    --primary: #f3a683;        /* 珊瑚橘 */
    --primary-light: #f8c291;  /* 蜜桃奶油 */
    --secondary: #546de5;      /* 童趣藍 */
    --accent: #ffb8b8;         /* 粉嫩紅 */
    --background: #fffaf6;     /* 主背景 */
    --background-secondary: #fdf1e7; /* 次要背景 */
    --text: #2d3436;           /* 主文字 */
    --text-secondary: #636e72; /* 次要文字 */
    --white: #ffffff;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    color: var(--text);
    background-color: var(--background);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Language Switcher */
.language-switcher {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    gap: 10px;
    background: rgba(255, 255, 255, 0.9);
    padding: 8px 12px;
    border-radius: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.lang-btn {
    color: var(--text);
    text-decoration: none;
    padding: 5px 12px;
    border-radius: 15px;
    transition: all 0.3s ease;
    font-size: 14px;
}

.lang-btn:hover,
.lang-btn.active {
    background: var(--primary);
    color: var(--white);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, var(--background) 0%, var(--background-secondary) 100%);
    padding: 80px 20px 40px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.decorations {
    position: absolute;
    width: 100%;
    height: 100%;
}

.decoration {
    position: absolute;
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
}

.star-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.question-1 {
    top: 20%;
    right: 15%;
    animation-delay: 1s;
}

.sparkle-1 {
    bottom: 20%;
    left: 20%;
    animation-delay: 2s;
}

.cloud-1 {
    top: 50%;
    right: 10%;
    animation-delay: 3s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-text {
    text-align: left;
}

.hero-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    justify-content: flex-start;
    transform: translateY(-10px);
}

.logo-image {
    width: 100px;
    height: 100px;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    object-fit: contain;
}

.logo-text {
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 20px;
    line-height: 1.2;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.5;
}

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

.download-btn {
    display: inline-block;
    transition: transform 0.3s ease;
}

.download-btn:hover {
    transform: translateY(-3px);
}

.download-btn img {
    height: 50px;
    width: auto;
}

.hero-image {
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* Core Values Section */
.core-values {
    padding: 80px 20px;
    background: var(--white);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    color: var(--text);
    font-weight: 700;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.value-card {
    text-align: center;
    padding: 40px 30px;
    background: var(--background);
    border-radius: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(243, 166, 131, 0.2);
    border-color: var(--primary);
}

.value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    padding: 15px;
}

.value-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.value-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text);
}

.value-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Features Section */
.features {
    padding: 80px 20px;
    background: var(--background-secondary);
}

.feature-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.feature-item.reverse {
    direction: rtl;
}

.feature-item.reverse > * {
    direction: ltr;
}

.feature-content h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--text);
}

.feature-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.8;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 10px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text-secondary);
}

.feature-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
    font-size: 1.2rem;
}

.feature-image {
    text-align: center;
}

.feature-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

/* Design Style Section */
.design-style {
    padding: 80px 20px;
    background: var(--white);
}

.section-description {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.color-palette {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.color-item {
    text-align: center;
}

.color-box {
    width: 100px;
    height: 100px;
    border-radius: 20px;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.color-box:hover {
    transform: scale(1.1);
}

.color-item span {
    display: block;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Download Section */
.download {
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    text-align: center;
}

.download .section-title,
.download .section-description {
    color: var(--white);
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.download-btn-large {
    display: inline-block;
    transition: transform 0.3s ease;
}

.download-btn-large:hover {
    transform: translateY(-5px) scale(1.05);
}

.download-btn-large img {
    height: 60px;
    width: auto;
}

/* Footer */
.footer {
    background: var(--text);
    color: var(--white);
    padding: 60px 20px 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    margin-bottom: 20px;
    color: var(--primary-light);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text {
        text-align: center;
    }

    .hero-logo {
        justify-content: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .feature-item,
    .feature-item.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }

    .feature-item.reverse > * {
        direction: ltr;
    }

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

    .color-palette {
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .logo-image {
        width: 60px;
        height: 60px;
    }

    .logo-text {
        font-size: 2.2rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-buttons,
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }

    .download-btn img,
    .download-btn-large img {
        height: 45px;
    }

    .language-switcher {
        top: 10px;
        right: 10px;
        padding: 6px 10px;
    }

    .lang-btn {
        font-size: 12px;
        padding: 4px 10px;
    }
}

