﻿/* Purble  */
:root {
    --orange-primary: #FA6601;
    --orange-light: #FB7619;
    --orange-lighter: #FB8533;
    --orange-mid: #FB944C;
    --orange-soft: #FBA366;
    --orange-pale: 施2 --orange-faint: #FDC299;
    --orange-whisper: #FDD1B3;

    --primary-color: #1A1F6B;
    --primary-light: #2A2F8A;
    --primary-gradient: linear-gradient(135deg, #1A1F6B, #2A2F8A);

    --gradient-primary: var(--primary-gradient);
    --gradient-hero: linear-gradient(135deg, #1A1F6B 0%, #2A2F8A 100%);
    --gradient-card: linear-gradient(145deg, rgba(26, 31, 107, 0.1), rgba(42, 47, 138, 0.1));

    --text-primary: #1a1a1a;
    --text-secondary: #666;
    --text-light: rgba(255, 255, 255, 0.9);
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;

    --shadow-soft: 0 10px 30px rgba(26, 31, 107, 0.15);
    --shadow-strong: 0 20px 40px rgba(26, 31, 107, 0.25);
    --shadow-glow: 0 0 40px rgba(26, 31, 107, 0.3);

    --border-radius: 24px;
    --border-radius-sm: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* orange */
/* :root {
        --orange-primary: #FA6601;
        --orange-light: #FB7619;
        --orange-lighter: #FB8533;
        --orange-mid: #FB944C;
        --orange-soft: #FBA366;
        --orange-pale: 施2 --orange-faint: #FDC299;
        --orange-whisper: #FDD1B3;
        --gradient-primary: linear-gradient(135deg, var(--orange-primary), var(--orange-light));
        --gradient-hero: linear-gradient(135deg, var(--orange-primary) 0%, var(--orange-mid) 50%, var(--orange-pale) 100%);
        --gradient-card: linear-gradient(145deg, rgba(253, 194, 153, 0.1), rgba(251, 132, 51, 0.1));
        --text-primary: #1a1a1a;
        --text-secondary: #666;
        --text-light: rgba(255, 255, 255, 0.9);
        --bg-primary: #ffffff;
        --bg-secondary: #f8f9fa;
        --shadow-soft: 0 10px 30px rgba(250, 102, 1, 0.15);
        --shadow-strong: 0 20px 40px rgba(250, 102, 1, 0.25);
        --shadow-glow: 0 0 40px rgba(251, 118, 25, 0.3);
        --border-radius: 24px;
        --border-radius-sm: 16px;
        --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    } */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif, 'Segoe UI Emoji', 'Noto Color Emoji', 'Apple Color Emoji';
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    overflow-x: hidden;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
    border-bottom: 1px solid rgba(250, 102, 1, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-tabs {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-tab {
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
    font-weight: 600;
    color: var(--text-secondary);
}

.nav-tab.active {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-soft);
}

.nav-tab:hover:not(.active) {
    background: var(--gradient-card);
    color: var(--orange-primary);
}

/* Main Content */
.main-content {
    margin-top: 100px;
    min-height: calc(100vh - 100px);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Hero Section */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #ffffff 0%, #fef7f3 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 120%;
    background: var(--gradient-hero);
    border-radius: 50%;
    opacity: 0.1;
    z-index: 1;
}

.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: var(--gradient-primary);
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.shape:nth-child(1) {
    top: 20%;
    left: 10%;
    width: 80px;
    height: 80px;
    animation-delay: 0s;
}

.shape:nth-child(2) {
    top: 60%;
    left: 80%;
    width: 120px;
    height: 120px;
    animation-delay: 2s;
}

.shape:nth-child(3) {
    top: 80%;
    left: 20%;
    width: 60px;
    height: 60px;
    animation-delay: 4s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 3;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.cta-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-strong);
    text-align: center;
    border: 1px solid rgba(250, 102, 1, 0.1);
}

.cta-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.cta-card p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.install-button {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-soft);
    width: 100%;
}

.install-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.phone-mockup {
    width: 300px;
    height: 600px;
    background: var(--gradient-primary);
    border-radius: 40px;
    position: relative;
    box-shadow: var(--shadow-strong);
    overflow: hidden;
}

.phone-screen {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    background: #1a1a1a;
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
}

.quiz-interface {
    text-align: center;
    padding: 2rem;
}

.question-counter {
    background: var(--orange-primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: bold;
    margin-bottom: 1rem;
    display: inline-block;
}

.question-text {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.answer-options {
    display: grid;
    gap: 0.5rem;
}

.answer-option {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.75rem;
    border-radius: 12px;
    font-size: 0.9rem;
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.page-title {
    font-size: 3rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 3rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.faq-item {
    background: white;
    border-radius: var(--border-radius-sm);
    margin-bottom: 1rem;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    border: 1px solid rgba(250, 102, 1, 0.1);
}

.faq-question {
    padding: 1.5rem;
    background: var(--gradient-card);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    transition: var(--transition);
}

.faq-question:hover {
    background: rgba(250, 102, 1, 0.1);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow-y: auto;
    transition: all 0.3s ease;
}

.faq-answer.active {
    padding: 1.5rem;
    max-height: 600px;
}

.faq-answer p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.faq-answer ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
    color: var(--text-secondary);
}

.faq-answer ul li {
    margin-bottom: 0.5rem;
}

.expand-icon {
    transition: var(--transition);
    color: var(--orange-primary);
    font-weight: bold;
}

.faq-question.active .expand-icon {
    transform: rotate(45deg);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid rgba(250, 102, 1, 0.2);
    border-radius: var(--border-radius-sm);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--bg-secondary);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--orange-primary);
    box-shadow: 0 0 0 3px rgba(250, 102, 1, 0.1);
}

.form-textarea {
    height: 120px;
    resize: vertical;
}

.submit-button {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-soft);
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

/* Privacy Policy */
.privacy-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.privacy-section {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius-sm);
    margin-bottom: 1rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(250, 102, 1, 0.1);
}

.privacy-section h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--orange-primary);
    margin-bottom: 1rem;
}

.privacy-section p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.privacy-section ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
    color: var(--text-secondary);
}

.privacy-section ul li {
    margin-bottom: 0.5rem;
}

.privacy-footer {
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid rgba(250, 102, 1, 0.1);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.language-content {
    display: none;
}

.language-content.active {
    display: block;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 1rem;
    }

    .nav-tabs {
        gap: 1rem;
    }

    .nav-tab {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .phone-mockup {
        width: 250px;
        height: 500px;
    }

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

    .faq-container,
    .privacy-container {
        padding: 2rem 1rem;
    }

    .cta-card,
    .privacy-section {
        padding: 2rem;
    }
}

/* Animations */
.fade-in {
    animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

/* Success/Error Messages */
.message {
    padding: 1rem;
    border-radius: var(--border-radius-sm);
    margin-bottom: 1rem;
    font-weight: 600;
}

.message.success {
    background: rgba(34, 197, 94, 0.1);
    color: #059669;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.message.error {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.emoji {
    background: none !important;
    -webkit-background-clip: initial;
    background-clip: initial;
    -webkit-text-fill-color: currentColor;
    color: inherit;
    font-family: 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif;
    /* optional: bump size to match */
    font-size: 2.5rem;
}