/* ============================================
   TrueStory 공식 홈페이지 스타일
   따뜻한 톤 (오렌지) + 블루 (TrueStory 로고)
   ============================================ */

/* CSS Variables */
:root {
    /* Brand Colors - TrueStory 로고 그라데이션 */
    --color-blue: #2A5DC9;
    --color-blue-light: #5B8DEF;
    --color-orange: #F47A2B;
    --color-orange-light: #FF9A52;
    
    /* Warm Tone Background */
    --color-cream: #FFF9F1;
    --color-cream-deep: #FFF3E2;
    --color-warm-white: #FEFAF4;
    
    /* Neutrals */
    --color-text: #1A1A1A;
    --color-text-soft: #4A4A4A;
    --color-text-light: #8A8A8A;
    --color-border: #F0E5D2;
    --color-border-soft: #F7EDD9;
    
    /* Mango Theme */
    --color-mango-orange: #FFA940;
    --color-mango-yellow: #FFD580;
    --color-mango-light: #FFF4E0;
    
    /* Gradients */
    --gradient-brand: linear-gradient(135deg, var(--color-blue) 0%, var(--color-orange) 100%);
    --gradient-warm: linear-gradient(180deg, var(--color-cream) 0%, var(--color-cream-deep) 100%);
    --gradient-mango: linear-gradient(135deg, var(--color-mango-orange) 0%, var(--color-mango-yellow) 100%);
    
    /* Shadows */
    --shadow-soft: 0 4px 24px rgba(244, 122, 43, 0.08);
    --shadow-medium: 0 8px 40px rgba(42, 93, 201, 0.12);
    --shadow-large: 0 20px 60px rgba(244, 122, 43, 0.15);
    
    /* Spacing */
    --container-max: 1200px;
    --container-narrow: 800px;
    
    /* Fonts */
    --font-display: 'Outfit', 'Noto Sans KR', sans-serif;
    --font-body: 'Noto Sans KR', sans-serif;
    --font-accent: 'Gowun Dodum', 'Noto Sans KR', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background: var(--color-warm-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Container */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.container-narrow {
    max-width: var(--container-narrow);
}

/* ============================================
   HEADER
   ============================================ */
.header {
    position: sticky;
    top: 0;
    background: rgba(254, 250, 244, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 100;
    border-bottom: 1px solid var(--color-border-soft);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

.logo-link {
    display: flex;
    align-items: center;
}

.logo {
    height: 44px;
    width: auto;
}

.nav-menu {
    display: flex;
    gap: 36px;
    align-items: center;
}

.nav-menu a {
    font-weight: 500;
    font-size: 15px;
    color: var(--color-text-soft);
    position: relative;
    padding: 8px 0;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--color-orange);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-brand);
    border-radius: 2px;
}

/* Mobile Menu Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    transition: all 0.3s ease;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    padding: 80px 0 120px;
    overflow: hidden;
    background: var(--gradient-warm);
}

.hero-bg-decoration {
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 154, 82, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.hero-bg-decoration::after {
    content: '';
    position: absolute;
    bottom: -400px;
    left: -300px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(91, 141, 239, 0.12) 0%, transparent 70%);
}

.hero-container {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    padding: 8px 18px;
    background: white;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-orange);
    box-shadow: var(--shadow-soft);
    margin-bottom: 24px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    color: var(--color-text);
}

.gradient-text {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.gradient-text-mango {
    background: var(--gradient-mango);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.hero-description {
    font-size: 18px;
    color: var(--color-text-soft);
    margin-bottom: 36px;
    line-height: 1.7;
}

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

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo-wrapper {
    width: 380px;
    height: 380px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-large);
    position: relative;
    animation: float 6s ease-in-out infinite;
}

.hero-logo-wrapper::before {
    content: '';
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    background: var(--gradient-brand);
    z-index: -1;
    opacity: 0.15;
    filter: blur(20px);
}

.hero-logo {
    width: 75%;
    height: auto;
}

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

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-brand);
    color: white;
    box-shadow: 0 4px 16px rgba(244, 122, 43, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(244, 122, 43, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--color-text);
    border: 2px solid var(--color-border);
}

.btn-secondary:hover {
    border-color: var(--color-orange);
    color: var(--color-orange);
    transform: translateY(-2px);
}

.btn-mango {
    background: var(--gradient-mango);
    color: white;
    box-shadow: 0 4px 16px rgba(255, 169, 64, 0.4);
}

.btn-mango:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 169, 64, 0.5);
}

.btn-mango-large {
    background: var(--gradient-mango);
    color: white;
    padding: 18px 42px;
    font-size: 17px;
    box-shadow: 0 6px 20px rgba(255, 169, 64, 0.4);
}

.btn-mango-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 169, 64, 0.5);
}

/* ============================================
   SECTIONS COMMON
   ============================================ */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(244, 122, 43, 0.1);
    color: var(--color-orange);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
    font-family: var(--font-display);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.75rem);
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 17px;
    color: var(--color-text-soft);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   SERVICES PREVIEW (홈페이지)
   ============================================ */
.services-preview {
    background: white;
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.service-card {
    background: var(--color-cream);
    border-radius: 24px;
    padding: 36px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--color-border-soft);
    display: block;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-medium);
}

.mango-card {
    background: linear-gradient(135deg, var(--color-mango-light) 0%, #FFE4B0 100%);
    border-color: rgba(255, 169, 64, 0.2);
}

.upcoming-card {
    opacity: 0.7;
    cursor: default;
}

.service-card-icon {
    font-size: 56px;
    margin-bottom: 20px;
}

.service-card-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--color-text);
}

.service-card-desc {
    font-size: 15px;
    color: var(--color-text-soft);
    margin-bottom: 20px;
}

.service-card-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-orange);
}

/* ============================================
   VALUES SECTION
   ============================================ */
.values {
    background: var(--gradient-warm);
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.value-item {
    background: white;
    padding: 40px 32px;
    border-radius: 24px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.value-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}

.value-number {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 900;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 16px;
    line-height: 1;
}

.value-item h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--color-text);
}

.value-item p {
    color: var(--color-text-soft);
    font-size: 15px;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    background: var(--gradient-brand);
    color: white;
}

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

.cta-content h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 16px;
    color: white;
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 36px;
    opacity: 0.95;
}

.cta-section .btn-primary {
    background: white;
    color: var(--color-orange);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.cta-section .btn-primary:hover {
    background: var(--color-cream);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

/* ============================================
   PAGE HERO (서브 페이지 공통)
   ============================================ */
.page-hero {
    background: var(--gradient-warm);
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 800;
    margin: 12px 0 16px;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.page-subtitle {
    font-size: 17px;
    color: var(--color-text-soft);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   ABOUT 페이지 스타일
   ============================================ */
.vision-section {
    background: white;
    padding: 100px 0;
}

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

.vision-text {
    font-size: 19px;
    line-height: 1.8;
    color: var(--color-text-soft);
    margin: 24px 0;
    font-family: var(--font-accent);
}

.vision-text strong {
    color: var(--color-orange);
    font-weight: 700;
}

.company-detail {
    background: var(--color-cream);
}

.info-table {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: var(--shadow-soft);
}

.info-row {
    display: grid;
    grid-template-columns: 200px 1fr;
    padding: 20px 32px;
    border-bottom: 1px solid var(--color-border-soft);
    align-items: center;
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    font-weight: 700;
    color: var(--color-text-soft);
    font-size: 14px;
}

.info-value {
    font-size: 15px;
    color: var(--color-text);
}

.info-value a {
    color: var(--color-orange);
    font-weight: 500;
}

.info-value a:hover {
    text-decoration: underline;
}

.values-detail {
    background: white;
}

.value-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.value-detail-item {
    background: var(--color-cream);
    padding: 40px 32px;
    border-radius: 24px;
    text-align: center;
    border: 1px solid var(--color-border-soft);
    transition: all 0.3s ease;
}

.value-detail-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
    background: white;
}

.value-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.value-detail-item h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--color-text);
}

.value-detail-item p {
    color: var(--color-text-soft);
    line-height: 1.7;
}

/* ============================================
   SERVICES 페이지 스타일
   ============================================ */
.service-detail-section {
    background: white;
    padding: 100px 0;
}

.service-detail-hero {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: center;
    background: var(--color-mango-light);
    padding: 60px;
    border-radius: 32px;
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
}

.mango-theme {
    background: linear-gradient(135deg, var(--color-mango-light) 0%, #FFE4B0 100%);
}

.service-badge {
    display: inline-block;
    padding: 8px 18px;
    background: white;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 700;
    color: var(--color-mango-orange);
    box-shadow: var(--shadow-soft);
    margin-bottom: 20px;
}

.service-detail-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--color-text);
}

.service-detail-desc {
    font-size: 17px;
    color: var(--color-text-soft);
    margin-bottom: 30px;
    line-height: 1.7;
}

.service-detail-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.mango-emoji {
    font-size: 200px;
    animation: bounce 3s ease-in-out infinite;
}

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

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-bottom: 80px;
}

.feature-card {
    background: var(--color-cream);
    padding: 32px 28px;
    border-radius: 20px;
    border: 1px solid var(--color-border-soft);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
    background: white;
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--color-text-soft);
    font-size: 14px;
    line-height: 1.6;
}

.service-cta {
    text-align: center;
    padding: 60px 40px;
    background: var(--gradient-mango);
    border-radius: 32px;
    color: white;
}

.service-cta h3 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    margin-bottom: 12px;
}

.service-cta p {
    font-size: 17px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.service-cta .btn-mango-large {
    background: white;
    color: var(--color-mango-orange);
}

.upcoming-services {
    background: var(--color-cream);
}

.coming-soon-card {
    background: white;
    padding: 60px 40px;
    border-radius: 24px;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: var(--shadow-soft);
}

.coming-soon-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.coming-soon-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
}

.coming-soon-card p {
    color: var(--color-text-soft);
    line-height: 1.7;
}

/* ============================================
   PRIVACY/TERMS 페이지 스타일
   ============================================ */
.policy-content {
    background: white;
    padding: 80px 0;
}

.policy-intro {
    background: var(--color-cream);
    padding: 28px 32px;
    border-radius: 16px;
    margin-bottom: 50px;
    border-left: 4px solid var(--color-orange);
}

.policy-intro p {
    color: var(--color-text-soft);
    line-height: 1.8;
    font-size: 15px;
}

.policy-article {
    margin-bottom: 50px;
}

.policy-article h2 {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--color-text);
    padding-bottom: 12px;
    border-bottom: 2px solid var(--color-border);
}

.policy-article h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 24px 0 12px;
    color: var(--color-blue);
}

.policy-article p {
    color: var(--color-text-soft);
    line-height: 1.8;
    margin-bottom: 12px;
    font-size: 15px;
}

.policy-article ul {
    margin: 16px 0;
    padding-left: 0;
}

.policy-article ul li {
    color: var(--color-text-soft);
    line-height: 1.8;
    margin-bottom: 10px;
    padding-left: 24px;
    position: relative;
    font-size: 15px;
}

.policy-article ul li::before {
    content: '•';
    position: absolute;
    left: 8px;
    color: var(--color-orange);
    font-weight: 700;
}

.policy-article strong {
    color: var(--color-text);
    font-weight: 700;
}

.policy-article a {
    color: var(--color-orange);
    font-weight: 500;
}

.policy-article a:hover {
    text-decoration: underline;
}

.contact-box {
    background: var(--color-cream);
    padding: 24px 32px;
    border-radius: 16px;
    margin: 24px 0;
}

.contact-box p {
    margin-bottom: 6px;
}

.contact-box a {
    color: var(--color-orange);
    font-weight: 500;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--color-text);
    color: white;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1.5fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-logo {
    height: 48px;
    margin-bottom: 16px;
    filter: brightness(0) invert(1);
    opacity: 0.95;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.6;
}

.footer-col h4 {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 18px;
    color: var(--color-orange-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
    margin-bottom: 8px;
    line-height: 1.7;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.75);
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: var(--color-orange-light);
}

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

.footer-links a {
    font-size: 14px;
}

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 968px) {
    .hero {
        padding: 60px 0 80px;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-logo-wrapper {
        width: 280px;
        height: 280px;
    }
    
    .service-detail-hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 40px 30px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 70px 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        gap: 0;
        padding: 20px;
        box-shadow: var(--shadow-medium);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s ease;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
    
    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid var(--color-border-soft);
    }
    
    .nav-menu a {
        display: block;
        padding: 14px 0;
    }
    
    .info-row {
        grid-template-columns: 1fr;
        gap: 6px;
        padding: 16px 24px;
    }
    
    .container {
        padding: 0 20px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .mango-emoji {
        font-size: 140px;
    }
    
    .policy-article h2 {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
}
