/*
Theme Name: OpstarPlus
*/
.pt-0{
  padding-top: 0 !important;
}
:root {
  /* Colors */
  --color-primary: #2563eb;
  --color-primary-dark: #1e40af;
  --color-secondary: #64748b;
  --color-accent: #3b82f6;
  --color-success: #10b981;
  --color-warning: #f59e0b;
  --color-error: #ef4444;
  
  /* Background Colors */
  --color-bg-primary: #f5f5f5;
  --color-bg-secondary: #f8fafc;
  --color-bg-tertiary: #f1f5f9;
  --color-bg-card: rgba(255, 255, 255, 0.9);
  --color-bg-overlay: rgba(15, 23, 42, 0.5);
  
  /* Text Colors */
  --color-text-primary: #0f172a;
  --color-text-secondary: #475569;
  --color-text-muted: #94a3b8;
  --color-text-inverse: #ffffff;
  
  /* Border Colors */
  --color-border: #e2e8f0;
  --color-border-light: #cbd5e1;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #2563eb 0%, #3b82f6 50%, #0ea5e9 100%);
  --gradient-secondary: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
  --gradient-hero: linear-gradient(135deg, #ffffff 0%, #f0f7ff 50%, #eff6ff 100%);
  
  /* Spacing */
  --spacing-xs: 0.25rem;   /* 4px */
  --spacing-sm: 0.5rem;    /* 8px */
  --spacing-md: 1rem;      /* 16px */
  --spacing-lg: 1.5rem;    /* 24px */
  --spacing-xl: 2rem;      /* 32px */
  --spacing-2xl: 3rem;     /* 48px */
  --spacing-3xl: 4rem;     /* 64px */
  --spacing-4xl: 6rem;     /* 96px */
  
  /* Typography */
  --font-family-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --font-family-mono: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
  
  --font-size-xs: 0.75rem;   /* 12px */
  --font-size-sm: 0.875rem;  /* 14px */
  --font-size-base: 1rem;    /* 16px */
  --font-size-lg: 1.125rem;  /* 18px */
  --font-size-xl: 1.25rem;   /* 20px */
  --font-size-2xl: 1.5rem;   /* 24px */
  --font-size-3xl: 1.875rem; /* 30px */
  --font-size-4xl: 2.25rem;  /* 36px */
  --font-size-5xl: 3rem;     /* 48px */
  --font-size-6xl: 3.75rem;  /* 60px */
  
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;
  
  --line-height-tight: 1.25;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.75;
  
  /* Borders & Radius */
  --border-radius-sm: 0.375rem;  /* 6px */
  --border-radius-md: 0.5rem;    /* 8px */
  --border-radius-lg: 0.75rem;   /* 12px */
  --border-radius-xl: 1rem;      /* 16px */
  --border-radius-2xl: 1.5rem;   /* 24px */
  --border-radius-full: 9999px;
  
  /* Shadows */
  --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);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  
  /* Transitions */
  --transition-fast: 150ms ease-in-out;
  --transition-normal: 250ms ease-in-out;
  --transition-slow: 350ms ease-in-out;
  
  /* Z-Index */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;
  
  /* Container Widths */
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1280px;
  --container-2xl: 1536px;
}
/* ==========================================================================
   CSS Variables & Reset
   ========================================================================== */
/* CSS Reset */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;600;700&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Noto Sans KR', sans-serif;
    background: #f5f7fa;
    color: #222;
}
/* BUTTONS */
.btn-primary {
    background: #4f46e5;
    color: #fff;
    border: none;
    padding: 10px 22px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s;
}
.btn-primary:hover { background: #3730a3; }
.btn-secondary {
    background: #fff;
    color: #4f46e5;
    border: 2px solid #4f46e5;
    padding: 10px 22px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s, color .2s;
}
.btn-secondary:hover { background: #4f46e5; color: #fff; }

/* HERO */
.hero {
    background: linear-gradient(135deg, #e8eaf6 0%, #f0f4ff 60%, #e3f0ff 100%);
    padding: 90px 24px 80px;
    text-align: center;
}
.hero-inner { max-width: 680px; margin: 0 auto; }
.badge {
    display: inline-block;
    background: #4f46e5;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 22px;
}
.hero h1 {
    font-size: 48px;
    font-weight: 900;
    color: #1a1a2e;
    line-height: 1.2;
    margin-bottom: 18px;
}
.highlight { color: #4f46e5; }
.hero p {
    font-size: 16px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 32px;
}
.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* WHY */
.why {
    padding: 80px 24px;
    background: #fff;
    text-align: center;
}
.section-inner { max-width: 1100px; margin: 0 auto; }
.why h2, .trending h2 { font-size: 28px; font-weight: 900; color: #1a1a2e; margin-bottom: 8px; }
.sub { font-size: 14px; color: #888; margin-bottom: 40px; }
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}
.card {
    background: #f8f9ff;
    border: 1px solid #e5e7f0;
    border-radius: 14px;
    padding: 36px 28px;
    text-align: left;
    transition: box-shadow .2s;
}
.card:hover { box-shadow: 0 8px 24px rgba(79,70,229,0.10); }
.card-icon { font-size: 28px; margin-bottom: 14px; }
.card h3 { font-size: 18px; font-weight: 700; color: #222; margin-bottom: 10px; }
.card p { font-size: 14px; color: #666; line-height: 1.6; }

/* TRENDING */
.trending { padding: 80px 24px; background: #f5f7fa; }
.trending-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 28px;
}
.more-link { font-size: 14px; color: #4f46e5; text-decoration: none; font-weight: 600; }
.trend-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}
.trend-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #e5e7f0;
    transition: box-shadow .2s;
}
.trend-card:hover { box-shadow: 0 8px 28px rgba(79,70,229,0.10); }
.trend-img {
    height: 170px;
    background-size: cover;
    background-position: center;
}
.img1 { background: linear-gradient(135deg, #c7d2fe, #a5b4fc); }
.img2 { background: linear-gradient(135deg, #fbcfe8, #f9a8d4); }
.img3 { background: linear-gradient(135deg, #bfdbfe, #93c5fd); }
.trend-body { padding: 20px; }
.tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 8px;
}
.tag-green { background: #d1fae5; color: #065f46; }
.tag-red { background: #fee2e2; color: #991b1b; }
.tag-blue { background: #dbeafe; color: #1e40af; }
.date { font-size: 12px; color: #aaa; margin-bottom: 8px; }
.trend-body h4 { font-size: 16px; font-weight: 700; color: #1a1a2e; margin-bottom: 8px; }
.trend-body p { font-size: 13px; color: #666; line-height: 1.6; }

/* CTA */
.cta {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    padding: 80px 24px;
    text-align: center;
}
.cta-inner { max-width: 680px; }
.cta h2 { font-size: 36px; font-weight: 900; color: #fff; margin-bottom: 16px; }
.cta .highlight { color: #a5f3fc; }
.cta p { font-size: 15px; color: rgba(255,255,255,0.85); line-height: 1.7; margin-bottom: 32px; }
.cta .btn-primary {
    background: #fff;
    color: #4f46e5;
    font-size: 16px;
    padding: 14px 36px;
    border-radius: 10px;
}
.cta .btn-primary:hover { background: #e0e7ff; }

/* FOOTER */
.footer { background: #1a1a2e; color: #ccc; padding: 56px 24px 0; }
.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 32px;
    padding-bottom: 40px;
}
.footer .logo { color: #a5b4fc; margin-bottom: 14px; }
.brand p { font-size: 13px; color: #888; line-height: 1.7; }
.footer-col h5 { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 14px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul a { text-decoration: none; font-size: 13px; color: #888; transition: color .2s; }
.footer-col ul a:hover { color: #a5b4fc; }
.footer-bottom {
    border-top: 1px solid #2e2e4a;
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 0;
    font-size: 13px;
    color: #555;
    text-align: center;
}

@media (max-width: 768px) {
    .hero h1 { font-size: 32px; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .nav-links { display: none; }
    .trending-header { flex-direction: column; align-items: flex-start; gap: 8px; }
}