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

:root {
    --primary-color: #ff6b9d;
    --primary-light: #ff8fb3;
    --primary-dark: #e55588;
    --secondary-color: #c084fc;
    --accent-color: #fbbf24;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    --bg-light: #fef7f7;
    --bg-white: #ffffff;
    --bg-gradient: linear-gradient(135deg, #ff6b9d 0%, #c084fc 50%, #fbbf24 100%);
    --gradient-1: linear-gradient(135deg, #ff6b9d 0%, #ff8fb3 100%);
    --gradient-2: linear-gradient(135deg, #c084fc 0%, #a78bfa 100%);
    --gradient-3: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(255, 107, 157, 0.2);
    --border-color: #f3f4f6;
}

body {
    font-family: 'Noto Sans KR', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--bg-light);
}

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

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

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 40px;
    height: 40px;
    color: var(--primary-color);
    stroke-width: 2;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--bg-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    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(7px, -6px);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--bg-gradient);
    color: white;
    box-shadow: var(--shadow-md);
}

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

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

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

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

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

/* Hero Section */
.hero {
    margin-top: 80px;
    padding: 4rem 0 0;
    background: linear-gradient(180deg, #fff 0%, var(--bg-light) 100%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 2rem 0;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

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

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

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

.hero-stats {
    display: flex;
    gap: 3rem;
}

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

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    background: var(--bg-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Chat Preview */
.chat-preview {
    background: white;
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: var(--shadow-xl);
    max-width: 400px;
    margin: 0 auto;
}

.chat-message {
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 1rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

.chat-message.user {
    background: var(--gradient-1);
    color: white;
    margin-left: auto;
    max-width: 80%;
    text-align: right;
}

.chat-message.bot {
    background: var(--border-color);
    color: var(--text-primary);
    max-width: 85%;
}

.chat-message.bot.expert {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-left: 3px solid var(--accent-color);
}

.floating-badge {
    position: absolute;
    background: white;
    padding: 0.75rem 1.25rem;
    border-radius: 2rem;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    animation: float 4s ease-in-out infinite;
}

.floating-badge .badge-icon {
    width: 20px;
    height: 20px;
    color: var(--primary-color);
}

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

.badge-2 {
    bottom: 15%;
    right: -5%;
    animation-delay: 1s;
}

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

.hero-wave {
    margin-top: 4rem;
    color: var(--bg-light);
}

.hero-wave .wave-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Section Styles */
section {
    padding: 5rem 0;
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
}

/* Features Section */
.features {
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon.friend {
    background: var(--gradient-1);
}

.feature-icon.expert {
    background: var(--gradient-2);
}

.feature-icon.memory {
    background: var(--gradient-3);
}

.feature-icon .icon {
    width: 40px;
    height: 40px;
    color: white;
    stroke-width: 2;
}

.feature-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

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

.feature-list li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
}

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

/* Experts Section */
.experts {
    background: var(--bg-light);
}

.experts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.expert-card {
    background: white;
    padding: 2rem;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s;
    text-align: center;
}

.expert-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.expert-emoji {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.expert-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.expert-description {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.expert-features {
    list-style: none;
    text-align: left;
}

.expert-features li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    position: relative;
    padding-left: 1.5rem;
}

.expert-features li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.2rem;
}

/* Memory Section */
.memory {
    background: white;
}

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

.memory-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.memory-item {
    display: flex;
    gap: 1.5rem;
    align-items: start;
}

.memory-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-1);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.memory-icon .icon {
    width: 30px;
    height: 30px;
    color: white;
}

.memory-text-item h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.memory-text-item p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.memory-visual {
    display: flex;
    justify-content: center;
}

.memory-card {
    background: white;
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: var(--shadow-xl);
    border: 2px solid var(--border-color);
    max-width: 400px;
    width: 100%;
}

.memory-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.memory-card-header .card-icon {
    width: 24px;
    height: 24px;
    color: var(--primary-color);
}

.memory-card-header span {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.memory-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.memory-list-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: var(--bg-light);
    border-radius: 0.75rem;
}

.memory-label {
    font-weight: 600;
    color: var(--text-primary);
    min-width: 80px;
    font-size: 0.9rem;
}

.memory-value {
    flex: 1;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.memory-edit {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.memory-edit:hover {
    background: var(--primary-dark);
}

/* Trust Section */
.trust {
    background: var(--bg-light);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.trust-item {
    background: white;
    padding: 2rem;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all 0.3s;
}

.trust-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.trust-icon {
    width: 48px;
    height: 48px;
    color: var(--primary-color);
    margin: 0 auto 1rem;
}

.trust-item h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.trust-item p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 0.95rem;
}

/* CTA Section */
.cta {
    background: var(--bg-gradient);
    color: white;
    text-align: center;
    padding: 5rem 0;
}

.cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1.5rem;
    border-radius: 2rem;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
}

.cta-badge .badge-icon {
    width: 18px;
    height: 18px;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta-description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.8;
}

.cta-benefits {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.benefit-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1.25rem;
    border-radius: 1.5rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.benefit-badge i {
    width: 18px;
    height: 18px;
    color: #fbbf24;
}

.download-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.download-buttons .btn {
    background: white;
    color: var(--primary-color);
}

.download-buttons .btn:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

.cta-note {
    font-size: 0.9rem;
    opacity: 0.9;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.cta-note .note-icon {
    width: 16px;
    height: 16px;
}

/* Footer */
.footer {
    background: var(--text-primary);
    color: white;
    padding: 4rem 0 2rem;
}

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

.footer-brand h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0.5rem 0;
    background: var(--bg-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.5rem;
}

.footer-logo-icon {
    width: 40px;
    height: 40px;
    color: var(--primary-color);
    stroke-width: 2;
}

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

.footer-column h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.9rem;
}

.footer-column a:hover {
    color: white;
}

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

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

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

    .hero-cta,
    .download-buttons {
        justify-content: center;
    }

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

    .floating-badge {
        display: none;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-description {
        font-size: 1.1rem;
    }

    .cta-benefits {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .benefit-badge {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .hamburger {
        display: flex;
    }

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

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

    .features-grid,
    .experts-grid,
    .trust-grid {
        grid-template-columns: 1fr;
    }

    .download-buttons {
        flex-direction: column;
    }

    .download-buttons .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

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

.feature-card,
.expert-card,
.trust-item {
    animation: fadeInUp 0.6s ease-out;
}

/* Footer Address Section */
.footer-address-section {
    width: 100%;
    padding: 2rem 0;
    margin-top: 1rem;
}

.footer-contact-address {
    display: flex;
    flex-direction: row;
    gap: 4rem;
    flex-wrap: wrap;
    align-items: flex-start;
}

.contact-item {
    color: rgba(255, 255, 255, 0.7);
    flex: 0 0 auto;
    min-width: 250px;
}

.contact-item strong {
    display: block;
    color: white;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.contact-item p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
}

.contact-item a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-item a:hover {
    color: white;
}

.footer-address {
    display: flex;
    flex-direction: row;
    gap: 4rem;
    flex-wrap: wrap;
    flex: 1;
}

.address-item {
    color: rgba(255, 255, 255, 0.7);
    flex: 1;
    min-width: 300px;
}

.address-item strong {
    display: block;
    color: white;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.address-item p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
}

.footer-logo-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 1rem;
}

