/* ===========================================
   Wisp - Voice Notes & AI Summary Official Page
   =========================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue",
        "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    background: #1a3aff;
    color: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    line-height: 1.5;
}

img {
    -webkit-user-drag: none;
    user-select: none;
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

html {
    scroll-behavior: smooth;
}

/* ===== Layout ===== */
.wisp-page {
    width: 100%;
    min-height: 100vh;
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, #4a5dff 0%, transparent 60%),
        linear-gradient(180deg, #1a3aff 0%, #2942e8 100%);
    overflow: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    position: relative;
}

/* ===== Navigation ===== */
.wisp-nav {
    position: relative;
    z-index: 100;
    padding: 24px 0;
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.brand-text {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    gap: 36px;
}

.nav-menu a {
    font-size: 15px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.2s;
    cursor: pointer;
}

.nav-menu a:hover {
    color: #fff;
}

/* ===== Hero Section ===== */
.hero-section {
    position: relative;
    padding: 60px 0 100px;
    overflow: hidden;
    text-align: center;
}

.hero-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 24px 24px;
    mask-image: radial-gradient(ellipse 80% 50% at 50% 30%, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 80% 50% at 50% 30%, black 30%, transparent 80%);
    pointer-events: none;
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    margin-bottom: 28px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #FF4757;
    box-shadow: 0 0 8px rgba(255, 71, 87, 0.6);
}

.hero-title {
    font-size: clamp(48px, 8vw, 96px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.title-gradient {
    background: linear-gradient(180deg, #ffffff 0%, #c0d0ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.hero-subtitle {
    max-width: 640px;
    margin: 0 auto 48px;
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 400;
}

.hero-cta-row {
    display: inline-flex;
    align-items: center;
    gap: 28px;
    padding: 16px 32px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    margin-bottom: 80px;
}

.cta-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.cta-stat-num {
    font-size: 18px;
    font-weight: 700;
}

.cta-stat-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.65);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.cta-divider {
    width: 1px;
    height: 28px;
    background: rgba(255, 255, 255, 0.2);
}

/* Floating Phones in Hero */
.hero-phones {
    position: relative;
    height: 600px;
    margin-top: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.phone {
    position: absolute;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.phone img {
    width: 100%;
    height: auto;
    border-radius: 36px;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.4));
}

.phone-1 {
    width: 320px;
    left: 50%;
    top: 40px;
    transform: translateX(-95%) rotate(-6deg);
    z-index: 1;
}

.phone-2 {
    width: 360px;
    left: 50%;
    top: 0;
    transform: translateX(-15%) rotate(2deg);
    z-index: 2;
}

/* ===== Intro Section ===== */
.intro-section {
    padding: 100px 0 60px;
    text-align: center;
    position: relative;
}

.section-title {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.section-subtitle {
    max-width: 720px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.78);
}

/* ===== Features Section ===== */
.features-section {
    padding: 80px 0;
}

.section-header {
    margin-bottom: 60px;
}

.section-header.center {
    text-align: center;
}

.eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 16px;
    text-transform: uppercase;
}

.eyebrow-light {
    color: rgba(255, 255, 255, 0.85);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.feature-card {
    padding: 36px 32px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: #fff;
}

.icon-red { background: linear-gradient(135deg, #FF4757 0%, #FF6B7A 100%); }
.icon-blue { background: linear-gradient(135deg, #2E5BFF 0%, #4A7AFF 100%); }
.icon-purple { background: linear-gradient(135deg, #8B5CF6 0%, #A78BFA 100%); }
.icon-orange { background: linear-gradient(135deg, #F59E0B 0%, #FBBF24 100%); }
.icon-green { background: linear-gradient(135deg, #10B981 0%, #34D399 100%); }
.icon-teal { background: linear-gradient(135deg, #06B6D4 0%, #22D3EE 100%); }

.feature-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.feature-desc {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.75);
}

/* ===== Showcase Section ===== */
.showcase-section {
    padding: 60px 0 80px;
}

.showcase-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 80px;
    padding: 60px 0;
}

.showcase-block.reverse {
    direction: rtl;
}

.showcase-block.reverse > * {
    direction: ltr;
}

.showcase-text {
    direction: ltr;
}

.showcase-title {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 12px 0 20px;
}

.showcase-desc {
    font-size: 17px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 28px;
}

.check-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
}

.check {
    width: 24px;
    height: 24px;
    background: rgba(52, 211, 153, 0.2);
    border: 1px solid rgba(52, 211, 153, 0.5);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #34D399;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
}

.showcase-image {
    display: flex;
    justify-content: center;
}

.phone-frame {
    width: 100%;
    max-width: 360px;
    aspect-ratio: 9 / 19.5;
    border-radius: 44px;
    overflow: hidden;
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.35),
        0 0 0 8px rgba(255, 255, 255, 0.1);
    background: #000;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.phone-frame:hover {
    transform: translateY(-12px) rotate(0deg);
}

.phone-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== Organize Section ===== */
.organize-section {
    padding: 100px 0 60px;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin-top: 56px;
}

.tag-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 16px 28px;
    background: rgba(255, 255, 255, 0.95);
    color: #1a1a2e;
    border-radius: 999px;
    font-size: 17px;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: default;
}

.tag-item:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

.tag-hash {
    color: inherit;
    opacity: 0.6;
}

.tag-meeting { color: #2E5BFF; }
.tag-ideas { color: #FF4757; }
.tag-personal { color: #8B5CF6; }
.tag-tasks { color: #10B981; }
.tag-learning { color: #F59E0B; }
.tag-content { color: #06B6D4; }
.tag-other { color: #6B7280; }

/* ===== Privacy Section ===== */
.privacy-section {
    padding: 60px 0 100px;
}

.privacy-card {
    max-width: 1100px;
    margin: 0 auto;
    padding: 64px 56px;
    background:
        linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(5, 150, 105, 0.08) 100%);
    border: 1px solid rgba(52, 211, 153, 0.3);
    border-radius: 32px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.privacy-card::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(52, 211, 153, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.privacy-badge {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.privacy-title {
    font-size: clamp(36px, 5vw, 52px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 16px 0;
}

.privacy-desc {
    font-size: 17px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.85);
    max-width: 760px;
    margin-bottom: 48px;
}

.privacy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    position: relative;
}

.privacy-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
}

.privacy-check {
    width: 32px;
    height: 32px;
    background: rgba(255, 71, 87, 0.2);
    border: 1px solid rgba(255, 71, 87, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FF6B7A;
    font-size: 16px;
    font-weight: 700;
    flex-shrink: 0;
}

.privacy-item.positive .privacy-check {
    background: rgba(52, 211, 153, 0.2);
    border-color: rgba(52, 211, 153, 0.5);
    color: #34D399;
}

.privacy-item h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
}

.privacy-item p {
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.7);
}

/* ===== Closing Section ===== */
.closing-section {
    padding: 60px 0 100px;
}

.closing-card {
    max-width: 1100px;
    margin: 0 auto;
    padding: 80px 56px;
    text-align: center;
    background:
        linear-gradient(135deg, rgba(74, 93, 255, 0.4) 0%, rgba(41, 66, 232, 0.2) 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 32px;
    position: relative;
    overflow: hidden;
}

.closing-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 22px 22px;
    mask-image: radial-gradient(ellipse 60% 80% at 50% 50%, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 60% 80% at 50% 50%, black 30%, transparent 80%);
    pointer-events: none;
}

.closing-title {
    font-size: clamp(40px, 6vw, 64px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    position: relative;
}

.closing-subtitle {
    font-size: 19px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    position: relative;
}

.closing-app {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 16px 28px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 18px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
}

.closing-logo {
    width: 48px;
    height: 48px;
    border-radius: 12px;
}

.closing-text {
    text-align: left;
}

.closing-text h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 2px;
}

.closing-text p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

/* ===== Footer ===== */
.wisp-footer {
    padding: 48px 0 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.15);
}

.footer-inner {
    text-align: center;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-logo {
    width: 32px;
    height: 32px;
}

.footer-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 8px;
}

.footer-copy {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
    .container {
        padding: 0 24px;
    }

    .nav-menu {
        display: none;
    }

    .hero-section {
        padding: 40px 0 60px;
    }

    .hero-phones {
        height: auto;
        flex-direction: column;
        gap: 0;
        padding-top: 40px;
    }

    .phone-1, .phone-2 {
        position: relative;
        left: 0;
        top: 0;
        transform: none;
        max-width: 280px;
    }

    .phone-1 {
        margin-bottom: -80px;
        z-index: 2;
    }

    .phone-2 {
        z-index: 1;
        opacity: 0.7;
        margin-bottom: -120px;
    }

    .showcase-block {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .showcase-block.reverse {
        direction: ltr;
    }

    .check-list {
        align-items: center;
    }

    .privacy-card {
        padding: 40px 28px;
    }

    .closing-card {
        padding: 56px 28px;
    }

    .hero-cta-row {
        gap: 16px;
        padding: 12px 20px;
        flex-wrap: wrap;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .privacy-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 540px) {
    .hero-title {
        font-size: 44px;
    }

    .section-title {
        font-size: 32px;
    }

    .showcase-title {
        font-size: 28px;
    }

    .privacy-title {
        font-size: 32px;
    }

    .closing-title {
        font-size: 32px;
    }

    .tag-item {
        padding: 12px 20px;
        font-size: 15px;
    }

    .cta-divider {
        display: none;
    }
}
