/* 메인(intro) 원페이지 — 서비스 소개 + 우상단 이메일 로그인
   톤: 접속 후 화면(mypage/setting)과 동일 (common.css의 Noto Sans KR + 브랜드 핫핑크 #f52d55) */

:root {
    --att-pink: #f52d55;
    --att-pink-dark: #e02449;
    --att-ink: #222;
    --att-gray: #666;
    --att-gray-light: #909090;
    --att-line: #e5e5e5;
    --att-bg: #f9f9f9;
}

body.intro-page {
    margin: 0;
    color: var(--att-ink);
    background: #fff;
    -webkit-font-smoothing: antialiased;
}

body.intro-page * { box-sizing: border-box; }
body.intro-page a { text-decoration: none; }

/* ───────── 헤더 (로고 + GNB + 우상단 로그인) ───────── */
.att-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 64px;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--att-line);
    backdrop-filter: saturate(180%) blur(8px);
    z-index: 100;
}
.att-header-inner {
    max-width: 1200px;
    height: 100%;
    margin: 0 auto;
    padding: 0 28px;
    display: flex;
    align-items: center;
    gap: 28px;
}
.att-logo {
    font-size: 22px;
    font-weight: 700;
    color: var(--att-pink);
    letter-spacing: -0.5px;
    flex-shrink: 0;
}
.att-gnb {
    display: flex;
    gap: 26px;
    margin-left: 12px;
}
.att-gnb a {
    font-size: 15px;
    color: var(--att-gray);
    transition: color 0.15s ease;
}
.att-gnb a:hover { color: var(--att-pink); }

.header-login { margin-left: auto; }
.header-login .login-body {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 5px 5px 8px;
    background: #fff;
    border: 1.5px solid var(--att-pink);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(245, 45, 85, 0.18);
}
.header-login .email-control {
    width: 210px;
    height: 38px;
    padding: 0 12px;
    border: 0;
    background: transparent;
    font-size: 14px;
    transition: width 0.2s ease;
}
.header-login .email-control:focus { outline: none; width: 240px; }
.header-login .email-control::placeholder { color: #b6b6b6; }
.header-login .btn-login-send {
    height: 38px;
    padding: 0 22px;
    border: 0;
    border-radius: 6px;
    background: var(--att-pink);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.15s ease, transform 0.1s ease;
}
.header-login .btn-login-send:hover { background: var(--att-pink-dark); }
.header-login .btn-login-send:active { transform: scale(0.97); }
.header-login .login-sent-msg { font-size: 13px; color: var(--att-pink); font-weight: 500; padding: 0 6px; }
.header-mypage {
    margin-left: auto;
    height: 40px;
    padding: 0 20px;
    display: inline-flex;
    align-items: center;
    border-radius: 4px;
    background: var(--att-pink);
    color: #fff;
    font-size: 14px;
    font-weight: 500;
}
.header-mypage:hover { background: var(--att-pink-dark); }

/* ───────── 히어로 ───────── */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background: #2a2a2a url("https://cdn.attractt.com/www/images/intro/bg/bg_210910.jpg") center/cover no-repeat;
}
.hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.45), rgba(0,0,0,0.25) 40%, rgba(0,0,0,0.55));
}
.hero-inner { position: relative; padding: 0 20px; }
.hero-title {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.18;
    margin: 0 0 20px;
    letter-spacing: -1px;
    color: #fff !important;
    text-shadow: 0 2px 18px rgba(0,0,0,0.45);
}
.hero-sub {
    font-size: 20px;
    font-weight: 300;
    margin: 0 0 36px;
    color: #fff !important;
    text-shadow: 0 1px 12px rgba(0,0,0,0.45);
}
.hero-cta {
    display: inline-block;
    padding: 15px 34px;
    border-radius: 50px;
    background: var(--att-pink);
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    transition: transform 0.15s ease, background-color 0.15s ease;
}
.hero-cta:hover { background: var(--att-pink-dark); transform: translateY(-2px); color: #fff; }
.hero-scroll {
    position: absolute;
    bottom: 32px; left: 50%;
    transform: translateX(-50%);
}
.hero-scroll span {
    display: block;
    width: 14px; height: 14px;
    border-right: 2px solid rgba(255,255,255,0.8);
    border-bottom: 2px solid rgba(255,255,255,0.8);
    transform: rotate(45deg);
    animation: heroBounce 1.8s infinite;
}
@keyframes heroBounce { 0%,100%{transform:rotate(45deg) translateY(0);} 50%{transform:rotate(45deg) translateY(8px);} }

/* ───────── 공통 섹션 ───────── */
.sec { padding: 110px 20px; }
.sec:nth-of-type(even) { background: var(--att-bg); }
.sec-inner { max-width: 1080px; margin: 0 auto; text-align: center; }
.sec-title {
    font-size: 36px;
    font-weight: 400;
    margin: 0 0 18px;
    letter-spacing: -0.5px;
}
.sec-title b { color: var(--att-pink); font-weight: 700; }
.sec-lead {
    font-size: 17px;
    font-weight: 300;
    color: var(--att-gray);
    line-height: 1.7;
    margin: 0 auto 40px;
    max-width: 760px;
}

/* 소개: 태그 + 영상 */
.tag-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 0 0 48px; }
.tag {
    padding: 8px 18px;
    border: 1px solid var(--att-pink);
    border-radius: 50px;
    color: var(--att-pink);
    font-size: 14px;
    font-weight: 500;
}
.video-frame {
    max-width: 760px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 14px 40px rgba(0,0,0,0.12);
    line-height: 0;
}
.video-frame video { width: 100%; height: auto; display: block; }

/* 주요 기능 3단 */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 10px;
}
.feature-item {
    background: #fff;
    border: 1px solid var(--att-line);
    border-radius: 12px;
    padding: 36px 26px;
    min-width: 0;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.feature-item:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,0.08); }
.feature-img { height: 96px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.feature-img img { max-height: 96px; max-width: 100%; }
.feature-item h3 { font-size: 19px; font-weight: 500; margin: 0 0 12px; }
.feature-item p { font-size: 15px; font-weight: 300; color: var(--att-gray); line-height: 1.65; margin: 0; }

/* ───────── 푸터 ───────── */
.att-footer { background: #1f1f1f; color: #aaa; padding: 40px 20px; }
.att-footer-inner { max-width: 1080px; margin: 0 auto; text-align: center; font-size: 13px; }
.foot-links { display: flex; gap: 18px; justify-content: center; margin-bottom: 14px; }
.foot-links a { color: #ccc; }
.foot-links a:hover { color: #fff; }
.foot-contact { margin-bottom: 8px; }
.foot-contact a { color: var(--att-pink); }
.foot-addr { font-style: normal; color: #777; font-size: 12px; }

/* ───────── 반응형 ───────── */
@media (max-width: 900px) {
    .att-gnb { display: none; }
    .feature-grid { grid-template-columns: 1fr; gap: 20px; }
    .hero-title { font-size: 40px; }
    .hero-sub { font-size: 17px; }
    .sec { padding: 72px 18px; }
    .sec-title { font-size: 28px; }
}
@media (max-width: 600px) {
    .att-header-inner { padding: 0 16px; gap: 12px; }
    .header-login .email-control { width: 130px; }
    .header-login .email-control:focus { width: 150px; }
    .header-login .btn-login-send { padding: 0 14px; }
    .hero-title { font-size: 32px; }
    .case-cat { padding: 11px 20px; font-size: 14px; }
}
