﻿@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;700&display=swap');

:root {
    --afy-primary: #00A8FF;
    --afy-secondary: #7BED9F;
    --afy-accent: #2ED573;
    --afy-text: #2F3542;
    --afy-text-light: #57606F;
    --afy-bg-gradient: linear-gradient(135deg, #e0f7fa 0%, #e8f5e9 100%);
    --afy-glass: rgba(255, 255, 255, 0.65);
    --afy-glass-border: rgba(255, 255, 255, 0.8);
    --afy-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    --afy-font: 'Noto Sans KR', sans-serif;
}

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

body {
    font-family: var(--afy-font);
    background: var(--afy-bg-gradient);
    color: var(--afy-text);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
    background-attachment: fixed;
}

h1, h2, h3, h4 { font-weight: 700; color: #1E90FF; margin-bottom: 1rem; text-shadow: 0 1px 2px rgba(255,255,255,0.8); }
h1 { font-size: 3.2rem; line-height: 1.2; }
h2 { font-size: 2.4rem; }
p { margin-bottom: 1.5rem; color: var(--afy-text-light); font-weight: 400; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; border-radius: 15px; }

/* UTILITIES */
.afy-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.afy-section { padding: 90px 0; }
.afy-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.afy-grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
.afy-text-center { text-align: center; }

/* FRUTIGER AERO BUTTON */
.afy-btn {
    display: inline-block;
    background: linear-gradient(180deg, #74B9FF 0%, #00A8FF 100%);
    border: 1px solid #0097e6;
    box-shadow: inset 0 2px 0 rgba(255,255,255,0.5), 0 4px 10px rgba(0,168,255,0.3);
    border-radius: 30px;
    color: #fff !important;
    padding: 15px 35px;
    font-size: 1.1rem;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}
.afy-btn:hover {
    background: linear-gradient(180deg, #00A8FF 0%, #0097e6 100%);
    box-shadow: inset 0 2px 0 rgba(255,255,255,0.3), 0 6px 15px rgba(0,168,255,0.5);
    transform: translateY(-2px);
}

/* HEADER (Glassmorphism) */
.afy-header {
    background: var(--afy-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--afy-glass-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.afy-nav { display: flex; justify-content: space-between; align-items: center; }
.afy-logo { display: flex; align-items: center; gap: 12px; font-size: 1.6rem; font-weight: 700; color: #1E90FF; }
.afy-logo img { height: 45px; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1)); }

.afy-menu { display: flex; list-style: none; gap: 30px; }
.afy-link { font-weight: 500; color: var(--afy-text); padding: 8px 15px; border-radius: 20px; transition: 0.3s; }
.afy-link:hover { background: rgba(255,255,255,0.8); color: #00A8FF; box-shadow: 0 2px 5px rgba(0,0,0,0.05); }
.afy-burger { display: none; font-size: 2rem; color: #00A8FF; cursor: pointer; }

/* HERO */
.afy-hero {
    padding: 120px 0;
    position: relative;
}
.afy-hero-box {
    background: var(--afy-glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--afy-glass-border);
    border-radius: 25px;
    padding: 50px;
    box-shadow: var(--afy-shadow);
}
.afy-hero-img-wrap { position: relative; }
.afy-hero-img-wrap::after {
    content: ''; position: absolute; top: -15px; left: -15px; right: 15px; bottom: 15px;
    border: 3px solid #74B9FF; border-radius: 15px; z-index: -1;
}

/* CARDS */
.afy-card {
    background: var(--afy-glass);
    backdrop-filter: blur(8px);
    border: 1px solid var(--afy-glass-border);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--afy-shadow);
    transition: transform 0.3s;
}
.afy-card:hover { transform: translateY(-5px); border-color: #74B9FF; }
.afy-card img { height: 220px; width: 100%; object-fit: cover; margin-bottom: 20px; border-radius: 12px; }

/* FAQ */
.afy-faq-wrap { max-width: 800px; margin: 0 auto; }
.afy-faq-item {
    background: var(--afy-glass);
    border: 1px solid var(--afy-glass-border);
    border-radius: 15px;
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    overflow: hidden;
}
.afy-faq-q {
    padding: 20px 25px; font-weight: 700; color: #1E90FF; cursor: pointer;
    display: flex; justify-content: space-between; align-items: center;
}
.afy-faq-a { padding: 0 25px 20px; display: none; color: var(--afy-text-light); }
.afy-faq-item.active .afy-faq-a { display: block; }
.afy-faq-icon { font-size: 1.5rem; transition: 0.3s; color: #7BED9F; }
.afy-faq-item.active .afy-faq-icon { transform: rotate(45deg); color: #FF6B81; }

/* FORM */
.afy-form {
    background: var(--afy-glass);
    backdrop-filter: blur(15px);
    padding: 40px;
    border-radius: 25px;
    border: 1px solid var(--afy-glass-border);
    box-shadow: var(--afy-shadow);
}
.afy-input-group { margin-bottom: 20px; }
.afy-input-group label { display: block; margin-bottom: 8px; font-weight: 700; color: #1E90FF; }
.afy-input {
    width: 100%; padding: 15px;
    background: rgba(255,255,255,0.9);
    border: 1px solid #dfe4ea;
    border-radius: 12px;
    font-family: var(--afy-font);
    font-size: 1rem;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
    transition: 0.3s;
}
.afy-input:focus { outline: none; border-color: #00A8FF; box-shadow: 0 0 0 3px rgba(0,168,255,0.2); }

/* FOOTER */
.afy-footer {
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--afy-glass-border);
    padding: 60px 0 20px;
    margin-top: 60px;
}
.afy-footer h3 { color: #1E90FF; }
.afy-footer-link { display: block; margin-bottom: 10px; color: var(--afy-text-light); }
.afy-footer-link:hover { color: #00A8FF; }
.afy-copyright { text-align: center; margin-top: 40px; padding-top: 20px; border-top: 1px solid #dfe4ea; font-size: 0.9rem; }

/* COOKIE BANNER */
.afy-cookie {
    position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(15px);
    padding: 20px 30px;
    border-radius: 30px;
    box-shadow: var(--afy-shadow);
    border: 1px solid var(--afy-glass-border);
    display: none; align-items: center; gap: 20px; z-index: 9999;
    width: 90%; max-width: 600px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .afy-grid-2 { grid-template-columns: 1fr; }
    .afy-menu {
        display: none; position: absolute; top: 100%; left: 0; width: 100%;
        background: rgba(255,255,255,0.95); backdrop-filter: blur(10px);
        flex-direction: column; padding: 20px; text-align: center;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }
    .afy-menu.active { display: flex; }
    .afy-burger { display: block; }
    h1 { font-size: 2.2rem; }
    .afy-hero-box { padding: 30px 20px; }
}
