/**
 * Kanana.ai Design Tokens
 * Source: Figma Frame: mo_kor_light_320
 * Updated: 2026-01-26
 */

:root {
    /* ========================================
     * 1. Color System
     * ======================================== */

    /* 1.1 Background Colors */
    --bg-page: #FFFFFF;
    --bg-card: #FFFFFF;
    --bg-hero-gradient: linear-gradient(180deg, #FEF7FA 0%, #FFF2EA 100%);

    /* 1.2 Text Colors */
    --text-primary: #111111;         /* Primary Text (RGB 0.06) */
    --text-secondary: #8A8A8A;       /* Secondary Text (RGB 0.54) */
    --text-white: #FFFFFF;

    /* 1.3 Kanana Brand Gradient (Icon Gradient: Pink to Orange) */
    --gradient-kanana: linear-gradient(
        135deg,
        #FF5CAA 0%,
        #FF287D 48%,
        #FF327B 56%,
        #FF4D75 69%,
        #FF796D 87%,
        #FFA066 100%
    );

    /* 1.4 UI Colors */
    --color-border: #E5E5E5;
    --color-dimmed: rgba(17, 17, 17, 0.4);
    --color-dot-inactive: rgba(255, 255, 255, 0.8);
    --color-dot-active: rgba(17, 17, 17, 0.8);

    /* ========================================
     * 2. Typography
     * ======================================== */

    /* 2.1 Font Family */
    --font-primary: 'KakaoBigSans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* 2.2 Font Sizes (Figma Spec - scaled from 560px to 320px) */
    --font-size-hero-title: 28px;     /* 50px * 0.5714 */
    --font-size-hero-subtitle: 16px;  /* 28px * 0.5714 */
    --font-size-section-title: 18px;  /* 32px * 0.5714 */
    --font-size-card-title: 18px;     /* 32px * 0.5714 */
    --font-size-card-desc: 14px;      /* 24px * 0.5714 */
    --font-size-footer: 14px;         /* 24px * 0.5714 */

    /* 2.3 Font Weights */
    --font-weight-bold: 700;
    --font-weight-regular: 400;

    /* 2.4 Line Heights */
    --line-height-hero-title: 1.12;
    --line-height-hero-subtitle: 1.43;
    --line-height-title: 22px;        /* Card Title: 22px */
    --line-height-body: 20px;         /* Card Subtitle: 20px */

    /* 2.5 Letter Spacing */
    --letter-spacing-tight: -0.25px;  /* Figma: -0.25px */
    --letter-spacing-hero: -0.64px;   /* -1.12px * 0.5714 */

    /* ========================================
     * 3. Spacing & Layout
     * ======================================== */

    /* 3.1 Container */
    --container-width: 320px;
    --container-max-width: 448px;
    --container-padding: 15px;        /* 27px * 0.5714 */

    /* 3.2 Section Spacing */
    --section-gap: 40px;              /* Mobile: 40px (롤링배너 ↔ 카테고리) */
    --section-title-gap: 20px;        /* Mobile: 20px */
    --card-gap: 16px;                 /* Mobile: 16px (링크 간 간격) */
    --hero-text-gap: 16px;            /* 28px * 0.5714 */

    /* ========================================
     * 4. Component Styles
     * ======================================== */

    /* 4.1 Card (Figma Spec) */
    --card-radius: 20px;              /* Mobile: 20px */
    --card-shadow: 3px 3px 4px 0px rgba(190, 160, 160, 0.25);
    --card-padding: 20px;             /* Figma: Mobile 20px */
    --card-height: 160px;             /* 280px * 0.5714 */

    /* 4.2 Icon */
    --icon-size: 48px;                /* 84px * 0.5714 */
    --icon-stroke-width: 3.15px;      /* 5.52px * 0.5714 */

    /* 4.3 Arrow Button */
    --arrow-btn-size: 26px;           /* 45px * 0.5714 */
    --arrow-icon-size: 10px;          /* 17.5px * 0.5714 */

    /* 4.4 Pagination Dots */
    --dot-size: 8px;                  /* 14px * 0.5714 */
    --dot-gap: 16px;                  /* 28px * 0.5714 */

    /* 4.5 Hero Section */
    --hero-height: 480px;             /* 840px * 0.5714 */
    --hero-logo-size: 98px;           /* 171px * 0.5714 */

    /* ========================================
     * 5. Transitions
     * ======================================== */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
}
