/* ===================================
   DUET Landing Page - 溫暖故事型 + 輕奢華
   =================================== */

/* === 全域設定 === */
:root {
    /* 品牌色彩 - 溫暖故事型 */
    --primary: #D4956C;           /* 沙棕橘（主色） */
    --primary-dark: #B87B54;      /* 深沙棕（hover） */
    --primary-light: #E6B896;     /* 淡沙棕（背景） */
    
    --secondary: #8B7355;         /* 秘魯棕（輔助色） */
    --accent: #F4A460;            /* 沙棕（強調色） */
    --warm-bg: #FFF8F0;           /* 溫暖背景 */
    --soft-cream: #FFF8DC;        /* 柔和奶油色 */
    
    /* 奢華點綴 */
    --gold: #D4AF37;              /* 金色 */
    --rose-gold: #E6B8A2;         /* 玫瑰金 */
    
    /* 中性色 */
    --dark: #2C2420;              /* 深棕黑 */
    --medium: #6B5D52;            /* 中等棕 */
    --light: #F5F0EB;             /* 淺米色 */
    --white: #FFFFFF;
    
    /* 字體 */
    --font-display: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
    
    /* 間距 */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* 圓角 */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    
    /* 陰影 */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(212, 149, 108, 0.15);
    --shadow-lg: 0 8px 40px rgba(212, 149, 108, 0.25);
    
    /* 動畫 */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-body);
    color: var(--dark);
    background: var(--warm-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

/* === Navigation === */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: var(--shadow-sm);
}

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

.nav-logo {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 2px;
}

.logo-subtitle {
    font-size: 0.75rem;
    color: var(--medium);
    letter-spacing: 3px;
    margin-top: -4px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

/* 漢堡選單按鈕（預設隱藏） */
.hamburger {
    display: none;
}

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

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

.nav-links a:not(.btn-primary)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-links a:not(.btn-primary):hover::after {
    width: 100%;
}

/* === Buttons === */
.btn-primary,
.btn-primary-large {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.btn-primary-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-primary:hover,
.btn-primary-large:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary,
.btn-secondary-large {
    background: transparent;
    color: var(--primary);
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--primary);
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.btn-secondary-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-secondary:hover,
.btn-secondary-large:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-icon {
    width: 20px;
    height: 20px;
}

/* === Hero Section === */
.hero {
    padding: 8rem 2rem 6rem;
    background: linear-gradient(135deg, var(--warm-bg) 0%, var(--soft-cream) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(212, 149, 108, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

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

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--rose-gold) 0%, var(--gold) 100%);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-md);
}

.hero-title {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--medium);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-trust {
    display: flex;
    gap: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(212, 149, 108, 0.2);
}

.trust-item {
    display: flex;
    flex-direction: column;
}

.trust-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.trust-label {
    font-size: 0.9rem;
    color: var(--medium);
}

/* === Hero Visual === */
.hero-visual {
    position: relative;
}

.visual-container {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.visual-glow {
    position: absolute;
    top: -20%;
    left: -20%;
    width: 140%;
    height: 140%;
    background: radial-gradient(circle, rgba(212, 149, 108, 0.3) 0%, transparent 70%);
    filter: blur(60px);
    z-index: -1;
}

.visual-image {
    width: 100%;
    height: auto;
    display: block;
}

.visual-overlay {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.overlay-tag {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tag-label {
    font-weight: 600;
    color: var(--dark);
}

.tag-price {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

/* === Section Styles === */
.section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 6rem 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-block;
    background: var(--light);
    color: var(--primary);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--medium);
}

/* === Steps === */
.steps {
    display: grid;
    gap: 3rem;
    margin-bottom: 4rem;
}

.step {
    display: grid;
    grid-template-columns: 80px 1fr 60px;
    gap: 2rem;
    align-items: start;
    padding: 2rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.step:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

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

.step-icon svg {
    width: 36px;
    height: 36px;
    stroke: var(--white);
}

.step-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.step-description {
    color: var(--medium);
    line-height: 1.8;
}

.step-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--light);
    align-self: center;
}

/* === CTA Banner === */
.cta-banner {
    text-align: center;
    padding: 3rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.cta-banner h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.cta-banner .btn-primary-large {
    background: var(--white);
    color: var(--primary);
}

.cta-banner .btn-primary-large:hover {
    background: var(--light);
}

/* === Stories === */
.stories {
    background: var(--white);
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.story-card {
    background: var(--warm-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.story-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.story-image {
    height: 250px;
    overflow: hidden;
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.story-card:hover .story-image img {
    transform: scale(1.1);
}

.story-content {
    padding: 2rem;
}

.story-letters {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    background: var(--light);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
}

.story-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 1rem;
}

.story-text {
    color: var(--medium);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.story-author {
    font-style: italic;
    color: var(--primary);
    font-size: 0.95rem;
}

/* === Craftsmanship === */
.craftsmanship {
    background: linear-gradient(135deg, var(--light) 0%, var(--warm-bg) 100%);
}

.craft-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.craft-features {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.craft-feature {
    display: flex;
    gap: 1.5rem;
    align-items: start;
}

.feature-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.feature-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.feature-content p {
    color: var(--medium);
    line-height: 1.6;
}

.craft-visual {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.craft-visual img {
    width: 100%;
    height: auto;
    display: block;
}

/* === FAQ === */
.faq-list {
    max-width: 900px;
    margin: 0 auto 3rem;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-question {
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--light);
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
}

.faq-icon {
    width: 24px;
    height: 24px;
    stroke: var(--primary);
    transition: var(--transition);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 2rem 1.5rem;
    color: var(--medium);
    line-height: 1.8;
}

.faq-contact {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--light);
}

.faq-contact p {
    color: var(--medium);
    margin-bottom: 1rem;
}

/* === Final CTA === */
.final-cta {
    background: linear-gradient(135deg, var(--dark) 0%, var(--secondary) 100%);
    padding: 6rem 2rem;
}

.final-cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.final-cta-content h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

.final-cta-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

/* === Footer === */
.footer {
    background: var(--dark);
    color: var(--light);
    padding: 4rem 2rem 2rem;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}

.footer-logo .logo-text {
    color: var(--primary);
}

.footer-logo .logo-subtitle {
    color: var(--medium);
}

.footer-description {
    color: var(--medium);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: var(--light);
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    color: var(--primary);
}

.footer-links h4 {
    color: var(--white);
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-links a {
    display: block;
    color: var(--medium);
    text-decoration: none;
    margin-bottom: 0.75rem;
    transition: var(--transition);
}

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

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: var(--medium);
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    color: var(--medium);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

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

/* === Animations === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.hero-visual {
    animation: float 6s ease-in-out infinite;
}

/* === Responsive === */
@media (max-width: 1024px) {
    .hero-container,
    .craft-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .stories-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* 中間斷點：768px - 1024px，縮小導航列 */
@media (max-width: 1024px) and (min-width: 769px) {
    .nav-links {
        gap: 12px;
    }
    
    .nav-links a {
        font-size: 13px;
        padding: 8px 10px;
    }
    
    .nav-links a:not(.btn-primary) {
        padding: 8px 10px;
    }
    
    .nav-container {
        padding: 0 1rem;
    }
    
    .logo-text {
        font-size: 1.5rem;
    }
    
    .logo-subtitle {
        font-size: 0.7rem;
    }
}

/* 手機斷點：< 768px，漢堡選單 */
@media (max-width: 768px) {
    /* 導航容器調整 */
    .nav-container {
        position: relative;
    }
    
    .nav-links {
        display: none;
    }
    
    /* 顯示漢堡選單按鈕 */
    .hamburger {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 44px;
        height: 44px;
        cursor: pointer;
        gap: 5px;
        padding: 8px;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.9);
        transition: background 0.3s;
        z-index: 1001;
    }
    
    .hamburger:hover {
        background: #fff;
    }
    
    .hamburger span {
        display: block;
        width: 24px;
        height: 2px;
        background: #333 !important;
        border-radius: 2px;
        transition: all 0.3s;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    /* 漢堡選單展開的導航 */
    .nav-links.mobile-open {
        display: flex !important;
        flex-direction: column;
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        padding: 1rem;
        gap: 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }
    
    .nav-links.mobile-open a {
        padding: 14px 16px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        color: #333 !important;
    }
    
    .nav-links.mobile-open a:last-child {
        border-bottom: none;
    }
    
    .hero {
        padding: 6rem 1rem 4rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .section-container {
        padding: 4rem 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .step {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .step-number {
        display: none;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
    }
}
