@charset "UTF-8";

:root {
    /* Todoly Modern Light Palette */
    --bg-base: #f8fafc;
    --bg-surface: rgba(255, 255, 255, 0.75);
    --bg-surface-hover: rgba(255, 255, 255, 0.95);

    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;

    --accent-peach: #ffb4a2;
    --accent-mint: #a0e8af;
    --accent-blue: #a3c4f3;
    --accent-primary: #8b5cf6; /* A soft energetic purple as primary */

    --border-light: rgba(0, 0, 0, 0.05);
    --border-highlight: rgba(139, 92, 246, 0.3);

    /* Typography */
    --font-sans: 'Inter', 'Pretendard', sans-serif;

    /* Effects */
    --glass-blur: blur(24px);
    --shadow-soft: 0 15px 40px -15px rgba(0, 0, 0, 0.08);
    --shadow-glow: 0 0 30px rgba(139, 92, 246, 0.2);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body.light-modern-theme {
    color: var(--text-primary);
    font-family: var(--font-sans);
    background-color: var(--bg-base);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

.text-center { text-align: center; }
.relative { position: relative; }
.mt-2 { margin-top: 2rem; }
.text-primary { color: var(--accent-primary); }
.text-blue { color: var(--accent-blue); }
.hover-text-primary:hover { color: var(--accent-primary); }

/* --- Ambient Light Background --- */
.ambient-bg {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: -1;
    overflow: hidden;
    background: radial-gradient(circle at center, #ffffff 0%, #f1f5f9 100%);
}

.mesh-grid {
    position: absolute;
    width: 100vw; height: 100vh;
    background-image:
        radial-gradient(rgba(0,0,0,0.03) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.8;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.6;
    animation: drift 25s infinite alternate ease-in-out;
}

.orb-1 {
    width: 50vw; height: 50vw; max-width: 600px; max-height: 600px;
    background: rgba(163, 196, 243, 0.4); /* Soft Blue */
    top: -10%; left: -5%;
}

.orb-2 {
    width: 45vw; height: 45vw; max-width: 500px; max-height: 500px;
    background: rgba(255, 180, 162, 0.3); /* Soft Peach */
    bottom: -15%; right: -5%;
    animation-delay: -5s;
}

.orb-3 {
    width: 40vw; height: 40vw; max-width: 450px; max-height: 450px;
    background: rgba(160, 232, 175, 0.3); /* Soft Mint */
    top: 40%; left: 30%;
    animation-delay: -10s;
}

@keyframes drift {
    0% { transform: scale(1) translate(0, 0); }
    50% { transform: scale(1.05) translate(40px, -20px); }
    100% { transform: scale(0.95) translate(-30px, 30px); }
}

/* --- Premium Glassmorphism --- */
.glass {
    background: var(--bg-surface);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-soft);
}

.glass-panel {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 30px;
    box-shadow: var(--shadow-soft), inset 0 2px 4px rgba(255, 255, 255, 0.5);
}

/* --- Header --- */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border-light);
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(20px);
}

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

.brand {
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text-primary);
}

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

.nav-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
}

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

.btn-small {
    padding: 0.6rem 1.4rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
}

.outline-btn {
    border: 1px solid rgba(0,0,0,0.1);
    color: var(--text-primary);
}
.outline-btn:hover {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0,0,0,0.2);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    border: none;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.btn-primary {
    background: var(--accent-primary);
    color: white;
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transform: skewX(-20deg);
    transition: left 0.6s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(139, 92, 246, 0.45);
    background: #7c3aed; /* slightly darker purple */
}

.btn-primary:hover::before {
    left: 150%;
}

.btn-large {
    padding: 1.2rem 2.8rem;
    font-size: 1.15rem;
}

.btn-icon {
    margin-right: 8px;
    font-size: 0.9em;
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 7rem;
    padding-bottom: 4rem;
}

.hero-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.glass-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1.4rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 2rem;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    color: var(--accent-primary);
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: 4.5rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -1.5px;
    color: var(--text-primary);
}

.text-gradient {
    background: linear-gradient(135deg, var(--accent-primary) 0%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3.5rem;
    max-width: 520px;
    line-height: 1.8;
}

/* --- Hero Visual (Image Wrapper) --- */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    perspective: 1200px;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 480px;
    border-radius: 40px;
    transform: rotateX(5deg) rotateY(-8deg);
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.hero-image-wrapper:hover {
    transform: rotateX(0deg) rotateY(0deg) translateY(-10px);
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: 40px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.15), inset 0 0 0 1px rgba(255,255,255,0.8);
    display: block;
}

.hero-glow {
    position: absolute;
    top: 10%; left: 10%; right: 10%; bottom: -10%;
    background: var(--accent-primary);
    filter: blur(80px);
    opacity: 0.15;
    z-index: -1;
    border-radius: inherit;
    transition: opacity 0.6s;
}
.hero-image-wrapper:hover .hero-glow {
    opacity: 0.25;
}

/* --- Features Section --- */
.section { padding: 8rem 0; }
.section-title { font-size: 3.5rem; margin-bottom: 1.2rem; line-height: 1.2; font-weight: 800; letter-spacing: -1px; }
.section-desc { font-size: 1.2rem; color: var(--text-secondary); margin-bottom: 5rem; max-width: 600px; margin-left: auto; margin-right: auto; }

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

.feature-card {
    padding: 3.5rem 2.5rem;
    border-radius: 30px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    background: rgba(255,255,255,0.6);
    border: 1px solid rgba(255,255,255,0.9);
}

.feature-card:hover {
    transform: translateY(-12px);
    border-color: rgba(255,255,255,1);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08), inset 0 0 0 1px rgba(255,255,255,0.8);
    background: rgba(255,255,255,0.95);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    width: 75px; height: 75px;
    display: flex; justify-content: center; align-items: center;
    border-radius: 24px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.icon-purple { background: linear-gradient(135deg, #f3e8ff, #e9d5ff); border: 1px solid rgba(255,255,255,0.8); }
.icon-peach { background: linear-gradient(135deg, #ffe4e6, #fecdd3); border: 1px solid rgba(255,255,255,0.8); }
.icon-mint { background: linear-gradient(135deg, #dcfce7, #bbf7d0); border: 1px solid rgba(255,255,255,0.8); }

.feature-card h3 { font-size: 1.6rem; margin-bottom: 1rem; font-weight: 800; color: var(--text-primary); }
.feature-card p { color: var(--text-secondary); font-size: 1.05rem; line-height: 1.7; }

/* --- CTA Section --- */
.cta-box {
    padding: 6rem 3rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 250, 252, 0.8));
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,1);
}

.cta-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at center, rgba(139, 92, 246, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.cta-content { position: relative; z-index: 2; }
.cta-content h2 { font-size: 3.2rem; margin-bottom: 1.5rem; font-weight: 800; letter-spacing:-1px; }
.cta-content p { color: var(--text-secondary); font-size: 1.25rem; margin-bottom: 3.5rem; }

/* --- Footer --- */
.site-footer {
    padding: 4rem 0;
    margin-top: 2rem;
    background: rgba(255,255,255,0.5);
    border-top: 1px solid rgba(0,0,0,0.05);
}

.footer-layout {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copy p { font-size: 0.95rem; color: var(--text-muted); font-weight: 500; }
.footer-legal { display: flex; gap: 1.5rem; align-items: center; }
.footer-link { font-size: 0.95rem; color: var(--text-secondary); font-weight: 600; }
.separator { color: var(--border-light); font-size: 0.9rem; }

/* --- Legal Pages Specific --- */
.legal-main {
    padding-top: 11rem;
    padding-bottom: 7rem;
}

.legal-content {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border: 1px solid rgba(255,255,255,0.8);
    border-radius: 30px;
    padding: 5rem 4rem;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 20px 50px rgba(0,0,0,0.05);
}

.legal-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.legal-content h2 {
    font-size: 1.6rem;
    margin-top: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent-primary);
    font-weight: 800;
}

.legal-content p, .legal-content li {
    color: var(--text-secondary);
    margin-bottom: 1.2rem;
    line-height: 1.8;
    font-size: 1.05rem;
}

.legal-content ul {
    padding-left: 1.5rem;
    margin-bottom: 2rem;
}

.legal-content .last-updated {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 4rem;
    display: block;
    font-weight: 500;
}

.legal-content a {
    color: var(--accent-primary);
    text-decoration: none;
    border-bottom: 2px solid transparent;
}
.legal-content a:hover {
    border-bottom-color: var(--accent-primary);
}

/* --- Animations --- */
.animate-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.9s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.animate-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-layout, .features-grid { grid-template-columns: 1fr; }
    .hero-content { text-align: center; }
    .hero-subtitle { margin: 0 auto 3rem; }
    .hero-title { font-size: 3.8rem; }
    .hero-visual { margin-top: 3rem; }
    .section-title { font-size: 3rem; }
    .legal-content { padding: 4rem 2.5rem; }
}

@media (max-width: 768px) {
    .header-nav .nav-link:not(.btn-small) { display: none; }
    .hero { padding-top: 8rem; }
    .hero-title { font-size: 3.2rem; }
    .footer-layout { flex-direction: column; gap: 1.5rem; text-align: center; }
    .legal-content h1 { font-size: 2.5rem; }
    .legal-content h2 { font-size: 1.4rem; }
}
