:root {
    --accent: #2563EB;
    --accent-hover: #1D4ED8;
    --accent-light: #EFF6FF;
    --text-primary: #1E293B;
    --text-secondary: #64748B;
    --text-tertiary: #94A3B8;
    --bg-primary: #FFFFFF;
    --bg-secondary: #F8FAFC;
    --bg-tertiary: #F1F5F9;
    --bg-dark: #0F172A;
    --border-color: #E2E8F0;
    --border-hover: #CBD5E1;
    --success: #10B981;
    --warning: #F59E0B;
    --error: #EF4444;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

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

html {
    scroll-behavior: smooth;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

body {
    font-family: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    color: var(--text-primary);
    background: var(--bg-primary);
    line-height: 1.6;
    letter-spacing: -0.01em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Header */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--text-primary);
    transition: color 0.2s ease;
}


.logo img {
    height: 18px;
    width: auto;
}

.logo-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: white;
    border-radius: 6px;
    font-weight: 800;
    font-size: 1rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    font-size: 0.9375rem;
    font-weight: 500;
}

.nav-links a {
    color: var(--text-secondary);
}

.button-login {
    padding: 8px 20px;
    border: 1.5px solid var(--border-color);
    color: var(--text-primary);
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: all 0.2s ease;
    background: white;
}

.button-login:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-light);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 120px 5vw 100px;
    background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(37, 99, 235, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, 0.02) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.5;
}

.hero-gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.3;
    animation: float 20s ease-in-out infinite;
}

.hero-gradient-orb.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.2) 0%, transparent 70%);
    top: -100px;
    right: -100px;
}

.hero-gradient-orb.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
    bottom: -50px;
    left: -50px;
    animation-duration: 15s;
    animation-delay: -5s;
}

.hero-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-left {
    position: relative;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: var(--accent-light);
    color: var(--accent);
    border-radius: 20px;
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: 32px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
}

.hero-title {
    margin-bottom: 24px;
}

.hero-title .title-line {
    display: block;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.hero-title .title-line.accent {
    color: var(--accent);
}

.hero-title .title-sub {
    display: block;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-top: 12px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.button {
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid transparent;
}

.button-primary {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

.button-primary:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.button-primary svg {
    margin-left: 8px;
    transition: transform 0.2s ease;
}

.button-primary:hover svg {
    transform: translateX(3px);
}

.button-secondary {
    background: white;
    color: var(--text-primary);
    border-color: var(--border-color);
}

.button-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-light);
}

.hero-stats {
    display: flex;
    gap: 48px;
    flex-wrap: wrap;
    padding-top: 40px;
}

.stat-item {
    text-align: left;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 4px;
    letter-spacing: -0.02em;
}

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

/* Hero Right Visual */
.hero-right {
    position: relative;
}

.hero-visual {
    position: relative;
}

.hero-dashboard {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.dashboard-window {
    position: relative;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.dashboard-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: var(--bg-secondary);
}

.dashboard-dots {
    display: flex;
    gap: 8px;
}

.dashboard-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-color);
}

.dashboard-dots span:nth-child(1) {
    background: #FF5F57;
}

.dashboard-dots span:nth-child(2) {
    background: #FFBD2E;
}

.dashboard-dots span:nth-child(3) {
    background: #28CA42;
}

.dashboard-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.dashboard-content {
    padding: 24px;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.dashboard-stat {
    padding: 16px;
    background: var(--bg-secondary);
    border-radius: 10px;
}

.stat-label-small {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-weight: 500;
}

.stat-value-large {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.stat-trend {
    font-size: 0.75rem;
    font-weight: 600;
}

.stat-trend.up {
    color: var(--success);
}

.dashboard-orders {
    margin-bottom: 24px;
}

.dashboard-section-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.order-item-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.order-item-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--bg-secondary);
    border-radius: 10px;
    opacity: 0;
    animation: fadeInUp 0.4s ease-out forwards;
}

.order-item-row:nth-child(1) {
    animation-delay: 0.2s;
}

.order-item-row:nth-child(2) {
    animation-delay: 0.4s;
}

.order-item-row.new-order {
    animation-delay: 0.6s;
    border-color: var(--accent);
    background: var(--accent-light);
}

.order-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 0.8125rem;
    flex-shrink: 0;
}

.order-info {
    flex: 1;
    min-width: 0;
}

.order-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.order-product {
    font-size: 0.75rem;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.order-amount {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-primary);
    white-space: nowrap;
    margin-left: auto;
    text-align: right;
}

.order-status {
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.6875rem;
    font-weight: 600;
    white-space: nowrap;
}

.order-status.success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.order-status.processing {
    background: rgba(37, 99, 235, 0.1);
    color: var(--accent);
}

.order-status.pending {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
}

.dashboard-graph {
    padding: 16px;
    background: var(--bg-secondary);
    border-radius: 10px;
}

.graph-bars {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 80px;
}

.graph-bar {
    flex: 1;
    background: var(--accent);
    border-radius: 4px 4px 0 0;
    min-height: 10px;
    opacity: 0.3;
    transition: opacity 0.3s ease;
    animation: growUp 1s ease-out forwards;
}

.graph-bar.active {
    opacity: 1;
}

@keyframes growUp {
    from {
        height: 0;
    }
}

.visual-flow {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: white;
    border-radius: 100px;
    box-shadow: var(--shadow-md);
}

.flow-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.flow-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent-light);
    border: 2px solid var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: all 0.2s ease;
}


.flow-text {
    font-size: 0.6875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.flow-arrow {
    font-size: 1rem;
    color: var(--accent);
    font-weight: 700;
}

/* What Is Section */
.what-is-section {
    padding: 120px 5vw;
    background: white;
    position: relative;
}

.what-is-container {
    max-width: 1200px;
    margin: 0 auto;
}

.what-is-header {
    text-align: center;
    margin-bottom: 80px;
}

.what-is-header h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.what-is-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 400;
    line-height: 1.7;
}

.what-is-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    align-items: stretch;
}

.what-is-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-preview {
    background: var(--bg-secondary);
    padding: 20px;
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preview-screen {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.screen-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: var(--bg-secondary);
}

.screen-dots {
    display: flex;
    gap: 6px;
}

.screen-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.screen-dots span:nth-child(1) {
    background: #FF5F57;
}

.screen-dots span:nth-child(2) {
    background: #FFBD2E;
}

.screen-dots span:nth-child(3) {
    background: #28CA42;
}

.screen-title {
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.screen-content {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.preview-product {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: var(--bg-secondary);
    border-radius: 8px;
    margin-bottom: 10px;
}

.preview-product-icon {
    width: 32px;
    height: 32px;
    background: var(--accent);
    border-radius: 6px;
    opacity: 0.2;
}

.preview-product-info {
    flex: 1;
}

.preview-product-name {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.preview-product-price {
    font-size: 0.6875rem;
    color: var(--text-secondary);
}

.preview-status {
    font-size: 0.625rem;
    padding: 3px 8px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    border-radius: 4px;
    font-weight: 600;
}

.preview-arrow {
    text-align: center;
    font-size: 1.25rem;
    color: var(--accent);
    margin: 6px 0;
    font-weight: 700;
}

.preview-result {
    text-align: center;
}

.preview-shop-badge {
    font-size: 0.625rem;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.preview-product-list {
    display: flex;
    justify-content: center;
    gap: 6px;
}

.preview-item {
    width: 28px;
    height: 28px;
    background: var(--border-color);
    border-radius: 6px;
}

.preview-item.active {
    background: var(--accent);
    opacity: 0.3;
}

.preview-order-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 12px;
    min-height: 70px;
}

.flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    opacity: 0.4;
    transition: opacity 0.3s ease;
}

.flow-step.active {
    opacity: 1;
}

.flow-icon-small {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
}

.flow-step.active .flow-icon-small {
    background: var(--accent);
    color: white;
}

.flow-label {
    font-size: 0.625rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.flow-connector {
    font-size: 0.875rem;
    color: var(--accent);
    font-weight: 700;
}

.preview-timer {
    text-align: center;
    font-size: 0.6875rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.preview-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 12px;
}

.preview-stat-item {
    padding: 10px;
    background: var(--bg-secondary);
    border-radius: 8px;
    text-align: center;
}

.preview-stat-value {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

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

.preview-mini-chart {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 50px;
}

.chart-bar {
    flex: 1;
    background: var(--accent);
    border-radius: 3px 3px 0 0;
    min-height: 8px;
    opacity: 0.3;
    animation: growUp 1.5s ease-out backwards;
}

.chart-bar:nth-child(1) {
    height: 40%;
    animation-delay: 0.1s;
}

.chart-bar:nth-child(2) {
    height: 55%;
    animation-delay: 0.2s;
}

.chart-bar:nth-child(3) {
    height: 35%;
    animation-delay: 0.3s;
}

.chart-bar:nth-child(4) {
    height: 70%;
    animation-delay: 0.4s;
}

.chart-bar:nth-child(5) {
    height: 65%;
    animation-delay: 0.5s;
}

.chart-bar:nth-child(6) {
    height: 100%;
    animation-delay: 0.6s;
    opacity: 1;
}

.chart-bar:nth-child(7) {
    height: 85%;
    animation-delay: 0.7s;
}

.card-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-icon-wrapper {
    width: 40px;
    height: 40px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon {
    width: 40px;
    height: 40px;
    background: var(--accent);
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 800;
}

.card-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.card-content p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

/* Features Section */
.features-section {
    padding: 120px 5vw;
    background: var(--bg-secondary);
    position: relative;
}

.features-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 80px;
}

.features-header h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.features-header p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.features-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 80px;
}

.feature-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.feature-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-preview-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.feature-ui-preview {
    background: white;
    border-radius: 12px;
    overflow: hidden;
}

.ui-window {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 350px;
}

.ui-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: var(--bg-secondary);
}

.ui-dots {
    display: flex;
    gap: 8px;
}

.ui-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-color);
}

.ui-dots span:nth-child(1) {
    background: #FF5F57;
}

.ui-dots span:nth-child(2) {
    background: #FFBD2E;
}

.ui-dots span:nth-child(3) {
    background: #28CA42;
}

.ui-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.ui-content {
    flex: 1;
    padding: 24px;
    background: white;
}

.feature-content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
}

.feature-number {
    font-size: 6rem;
    font-weight: 900;
    color: var(--accent);
    line-height: 1;
    opacity: 0.05;
    position: absolute;
    top: -50px;
    left: -30px;
    z-index: 0;
    letter-spacing: -0.02em;
}

.feature-content-wrapper h3 {
    font-size: 1.75rem;
    font-weight: 800;
    margin: 0;
    color: var(--text-primary);
    line-height: 1.3;
    position: relative;
    z-index: 1;
    letter-spacing: -0.02em;
}

.feature-content-wrapper p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0;
    position: relative;
    z-index: 1;
}

.feature-item-reverse {
    direction: rtl;
}

.feature-item-reverse > * {
    direction: ltr;
}

/* UI Components */
.ui-sidebar {
    width: 150px;
    padding-right: 24px;
    float: left;
}

.ui-menu-item {
    padding: 10px 0;
    font-size: 0.875rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.2s ease;
}

.ui-menu-item.active {
    color: var(--accent);
    font-weight: 600;
}

.ui-main {
    margin-left: 174px;
}

.ui-toolbar {
    margin-bottom: 20px;
}

.ui-button.primary {
    padding: 10px 18px;
    background: var(--accent);
    color: white;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.ui-table {
    border-radius: 10px;
    overflow: hidden;
}

.ui-table-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 16px;
    padding: 14px 18px;
    font-size: 0.875rem;
}

.ui-table-row.header {
    background: var(--bg-secondary);
    font-weight: 600;
    color: var(--text-primary);
}

.ui-table-cell {
    color: var(--text-primary);
}

.status-active {
    color: var(--success);
    font-weight: 600;
}

.ui-order-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ui-order-card {
    padding: 16px;
    border-radius: 10px;
    background: var(--bg-secondary);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.order-id {
    font-family: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

.order-status-badge {
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
}

.order-status-badge.completed {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.order-status-badge.processing {
    background: rgba(37, 99, 235, 0.1);
    color: var(--accent);
}

.order-status-badge.pending {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
}

.order-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.order-item {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9375rem;
}

.order-amount {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 1rem;
}

.order-footer {
    display: flex;
    justify-content: space-between;
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

.ui-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.ui-stat-card {
    padding: 18px;
    background: var(--bg-secondary);
    border-radius: 10px;
}

.ui-stat-card .stat-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-weight: 500;
}

.ui-stat-card .stat-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.ui-stat-card .stat-change {
    font-size: 0.75rem;
    font-weight: 600;
}

.ui-stat-card .stat-change.positive {
    color: var(--success);
}

.ui-chart-container {
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: 10px;
}

.ui-chart-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.ui-chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 140px;
}

.ui-chart-bar {
    flex: 1;
    background: var(--accent);
    border-radius: 6px 6px 0 0;
    min-height: 20px;
    transition: opacity 0.3s ease;
}


.ui-table-view {
    border-radius: 10px;
    overflow: hidden;
}

.ui-table-view .ui-table-row {
    display: grid;
    grid-template-columns: 1.5fr 1.5fr 1fr 1fr 1fr;
    gap: 12px;
    padding: 14px 18px;
    font-size: 0.8125rem;
}

.ui-table-view .ui-table-row.header {
    background: var(--bg-secondary);
    font-weight: 600;
    color: var(--text-primary);
}

.ui-table-view .ui-table-cell {
    color: var(--text-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.status-badge-small {
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.6875rem;
    font-weight: 600;
    display: inline-block;
}

.status-badge-small.completed {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.status-badge-small.processing {
    background: rgba(37, 99, 235, 0.1);
    color: var(--accent);
}

.status-badge-small.pending {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
}

.ui-shop-preview {
    background: white;
}

.ui-shop-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
}

.ui-shop-logo {
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--accent);
}

.ui-shop-nav {
    display: flex;
    gap: 24px;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.ui-shop-nav span {
    cursor: pointer;
}

.ui-shop-main {
    padding: 24px;
}

.ui-shop-product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.ui-shop-product {
    border-radius: 10px;
    overflow: hidden;
    background: var(--bg-secondary);
}

.ui-product-image {
    width: 100%;
    aspect-ratio: 1;
    background: var(--border-color);
}

.ui-product-name {
    padding: 14px;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.875rem;
}

.ui-product-price {
    padding: 0 14px 14px;
    font-weight: 700;
    color: var(--accent);
    font-size: 1rem;
}

.ui-payment-view {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.ui-payment-method {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px;
    border-radius: 10px;
    background: var(--bg-secondary);
}

.payment-icon {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 1rem;
}

.payment-status {
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
}

.payment-status.active {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.ui-payment-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.payment-stat {
    padding: 18px;
    border-radius: 10px;
    background: var(--bg-secondary);
}

.payment-stat-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-weight: 500;
}

.payment-stat-value {
    font-size: 1.375rem;
    font-weight: 800;
    color: var(--text-primary);
}

.ui-api-view {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ui-api-key, .ui-webhook-url {
    padding: 18px;
    border-radius: 10px;
    background: var(--bg-secondary);
}

.api-key-label, .webhook-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 10px;
    font-weight: 500;
}

.api-key-value, .webhook-value {
    font-family: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    font-size: 0.875rem;
    color: var(--text-primary);
    margin-bottom: 10px;
    word-break: break-all;
    background: white;
    padding: 10px;
    border-radius: 8px;
}

.api-key-action {
    display: inline-block;
    padding: 6px 14px;
    background: var(--accent);
    color: white;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.api-key-action:hover {
    background: var(--accent-hover);
}

.webhook-status {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
}

.ui-auth-view {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.ui-auth-method {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    border-radius: 10px;
    background: var(--bg-secondary);
}

.auth-icon {
    font-size: 2rem;
}

.auth-title {
    flex: 1;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1rem;
}

.auth-status {
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
}

.auth-status.enabled {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.ui-auth-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.auth-stat {
    padding: 18px;
    border-radius: 10px;
    background: var(--bg-secondary);
}

.auth-stat-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-weight: 500;
}

.auth-stat-value {
    font-size: 1.375rem;
    font-weight: 800;
    color: var(--text-primary);
}

/* Workflow Section */
.workflow-section {
    padding: 120px 5vw;
    background: white;
    position: relative;
}

.workflow-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.workflow-header h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.workflow-header p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.workflow-steps {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.workflow-step {
    flex: 1;
    min-width: 220px;
    max-width: 260px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: center;
}

.workflow-number {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    font-size: 1.75rem;
    font-weight: 800;
    margin: 0 auto;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.workflow-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.workflow-content p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

.workflow-arrow {
    font-size: 1.5rem;
    color: var(--accent);
    font-weight: 700;
    flex-shrink: 0;
}

/* Benefits Section */
.benefits-section {
    padding: 120px 5vw;
    background: var(--bg-secondary);
    position: relative;
}

.benefits-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.benefits-header h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.benefits-header p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.benefits-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.benefit-card {
    padding: 40px 32px;
    background: white;
    border-radius: 16px;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
}

.benefit-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.benefit-icon-wrapper {
    width: 56px;
    height: 56px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: white;
    border-radius: 12px;
    font-size: 1.25rem;
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.benefit-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
    line-height: 1.3;
}

.benefit-card p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

/* Process Section */
.process-section {
    padding: 120px 5vw;
    background: white;
    position: relative;
}

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

.process-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.process-header h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.process-header p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.process-steps-container {
    position: relative;
}

.process-steps {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.process-step-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 0 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.process-step-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.step-circle {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 3px solid var(--accent);
    border-radius: 50%;
    margin-bottom: 24px;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.step-number {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--accent);
}


.step-content {
    max-width: 220px;
}

.step-content h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
    line-height: 1.3;
}

.step-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

/* CTA Section */
.cta-section {
    padding: 120px 5vw;
    background: var(--bg-dark);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    color: white;
}

.cta-content p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.button-large {
    padding: 14px 32px;
    font-size: 1rem;
}

/* Footer */
footer {
    background: var(--bg-dark);
    color: white;
    padding: 50px 5vw 30px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: white;
}

.footer-section a {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9375rem;
    margin-bottom: 10px;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9375rem;
    margin-bottom: 8px;
    line-height: 1.6;
}

.footer-logo {
    margin-bottom: 16px;
}

.footer-logo img {
    height: 18px;
    width: auto;
}

.footer-description {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9375rem;
    margin-top: 16px;
    line-height: 1.6;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .hero-right {
        order: -1;
    }

    .hero-visual {
        height: 450px;
    }

    .hero-dashboard {
        max-width: 100%;
    }

    .visual-flow {
        position: static;
        transform: none;
        margin-top: 40px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .flow-arrow {
        display: none;
    }

    .features-grid .feature-item {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 60px;
    }

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

@media (max-width: 768px) {
    .nav {
        padding: 12px 5vw;
    }

    .nav-links {
        display: none;
    }

    .hero {
        padding: 100px 5vw 80px;
    }

    .what-is-section,
    .features-section,
    .workflow-section,
    .benefits-section,
    .process-section,
    .cta-section {
        padding: 80px 5vw;
    }

    .what-is-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .process-steps {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .process-step-card {
        padding: 0;
    }

    .step-line {
        display: none;
    }

    .process-step-card:not(:last-child)::after {
        content: '';
        position: absolute;
        bottom: -30px;
        left: 50%;
        transform: translateX(-50%);
        width: 2px;
        height: 60px;
        background: var(--border-color);
    }

    .workflow-steps {
        flex-direction: column;
        gap: 40px;
    }

    .workflow-arrow {
        transform: rotate(90deg);
    }

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