:root {
    /* Colors matches jjanjjanpay reference */
    --bg-dark: #050b1a; /* deep dark navy */
    --bg-darker: #02050d;
    --bg-panel: #0d162d;
    --bg-glass: rgba(13, 22, 45, 0.7);
    --bg-glass-light: rgba(255, 255, 255, 0.05);

    --primary: #00b4ff; /* cyan blue glowing */
    --primary-hover: #33c3ff;
    --primary-glow: rgba(0, 180, 255, 0.4);
    
    --secondary: #1e3a8a; 
    
    --text-main: #ffffff;
    --text-muted: #94a3b8;
    --text-dark: #333333;

    --border-color: rgba(255,255,255,0.1);
    
    --channel-color: #5E2BFF; /* Channel Talk Purple */
    --channel-text: #ffffff;

    --font-heading: 'Pretendard', sans-serif;
    --font-body: 'Pretendard', sans-serif;
    
    --transition-fast: 0.2s ease-in-out;
    --transition-normal: 0.4s ease-in-out;
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--bg-darker);
    color: var(--text-main);
}

body {
    font-family: var(--font-body);
    line-height: strict;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

p {
    color: var(--text-muted);
}

.text-highlight {
    color: var(--primary);
}

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

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

/* ----- Buttons ----- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    border: none;
}

.btn-primary {
    background-color: var(--primary);
    color: #fff;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,180,255,0.6);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-channel {
    background-color: var(--channel-color);
    color: var(--channel-text);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
}

.glow-btn {
    position: relative;
    overflow: hidden;
}

.glow-btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}

/* ----- Header ----- */
#header {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 80px;
    background-color: rgba(2, 5, 13, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    transition: all var(--transition-fast);
}

.header-container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
}

.logo span {
    color: #fff;
    letter-spacing: -0.5px;
}

.navbar .nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu li a {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-main);
}

.nav-menu li a:hover {
    color: var(--primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-actions .btn {
    padding: 8px 16px;
    font-size: 0.9rem;
    border-radius: 20px;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.8rem;
    cursor: pointer;
}

/* ----- Mobile Nav ----- */
.mobile-nav-overlay {
    position: fixed;
    top:0; left:0; right:0; bottom:0;
    background-color: rgba(0,0,0,0.7);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-fast);
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-menu {
    position: fixed;
    top: 0; right: -300px;
    width: 280px; height: 100vh;
    background-color: var(--bg-panel);
    z-index: 2001;
    display: flex;
    flex-direction: column;
    transition: right var(--transition-fast);
    border-left: 1px solid var(--border-color);
}

.mobile-nav-menu.active {
    right: 0;
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
}

.mobile-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.8rem;
}

.mobile-links {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-links a {
    font-size: 1.1rem;
    font-weight: 600;
    display: block;
}

.mobile-nav-footer {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-top: 1px solid var(--border-color);
}

/* ----- Hero Section ----- */
.hero {
    position: relative;
    padding: 180px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 50% 30%, rgba(0, 180, 255, 0.15) 0%, var(--bg-darker) 60%);
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    width: 600px; height: 600px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 60%);
    top: 10%; right: -10%;
    filter: blur(80px);
    z-index: 0;
    border-radius: 50%;
}

.hero-container {
    position: relative;
    z-index: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--text-main);
    margin-bottom: 25px;
    border: 1px solid rgba(255,255,255,0.2);
}

.hero-chip i {
    color: var(--primary);
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 25px;
    letter-spacing: -1px;
}

.hero-title strong {
    color: var(--primary);
}

.hero-subtitle {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
    color: #cbd5e1;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    background: var(--bg-glass-light);
    padding: 15px 30px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(5px);
}

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

.stat-item .stars i {
    color: #fbbf24;
}

.stat-item span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.stat-item .number {
    font-size: 1.2rem;
    font-weight: 700;
}

.delimiter {
    width: 1px;
    height: 40px;
    background-color: var(--border-color);
}

/* ----- Rates Section ----- */
.rates-section {
    padding: 80px 0;
    background-color: var(--bg-dark);
}

.section-header {
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.rates-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.rate-card {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.4) 0%, rgba(15, 23, 42, 0.8) 100%);
    border: 1px solid rgba(0, 180, 255, 0.15); /* Subtle cyan border */
    border-radius: 20px;
    padding: 50px 30px; 
    text-align: center;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5), inset 0 0 20px rgba(0, 180, 255, 0.03);
}

.rate-card::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(0, 180, 255, 0.1) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
    pointer-events: none;
}

.rate-card > * {
    position: relative;
    z-index: 1; /* Keep content above background glow */
}

.rate-card:hover::before {
    opacity: 1;
}

.rate-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 180, 255, 0.6);
    box-shadow: 0 20px 40px rgba(0, 180, 255, 0.2), inset 0 0 30px rgba(0, 180, 255, 0.1);
}

.rate-card.featured {
    border-color: var(--primary);
    transform: scale(1.05);
    background: linear-gradient(145deg, #0d162d 0%, #11254a 100%);
    z-index: 1;
}

.rate-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.featured-glow {
    position: absolute;
    top:0; left:0; right:0; bottom:0;
    box-shadow: 0 0 30px var(--primary-glow);
    border-radius: inherit;
    pointer-events: none;
}

.card-badge {
    display: inline-block;
    padding: 8px 25px;
    background-color: rgba(0, 180, 255, 0.1);
    border: 1px solid rgba(0, 180, 255, 0.3);
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 35px;
    box-shadow: 0 4px 15px rgba(0, 180, 255, 0.1);
}

.rate-card.featured .card-badge {
    background-color: var(--primary);
    color: #fff;
}

.card-amount {
    font-size: 3.2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 8px;
    text-shadow: 0 4px 20px rgba(255,255,255,0.2);
}

.card-amount span {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--text-muted);
    text-shadow: none;
}

.card-rate {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-main);
}

.card-rate strong {
    font-size: 1.8rem;
    color: var(--primary);
}

.card-note {
    font-size: 0.85rem;
}

/* ----- Process Section ----- */
.process-section {
    padding: 100px 0;
    background-color: var(--bg-darker);
}

.process-steps {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    max-width: 900px;
    margin: 0 auto;
}

.step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
}

.step-icon {
    width: 90px; height: 90px;
    border-radius: 50%;
    background-color: var(--bg-panel);
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--text-muted);
    transition: all var(--transition-normal);
}

.step.active .step-icon {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 0 20px var(--primary-glow);
}

.step-num {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
}

.step-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    word-break: keep-all;
}

.step-desc {
    font-size: 0.9rem;
    line-height: 1.4;
}

.step-line {
    width: 80px;
    height: 2px;
    background-color: var(--border-color);
    margin-top: 44px;
    z-index: 1;
}

/* ----- Features Section ----- */
.features-section {
    padding: 100px 0;
    background-color: var(--bg-dark);
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.features-img {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, var(--bg-panel) 0%, transparent 70%);
}

.mockup-card {
    width: 340px;
    height: 215px;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 16px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    transform: perspective(1000px) rotateY(15deg) rotateX(5deg);
    transition: transform var(--transition-normal);
    position: relative;
    overflow: hidden;
}

/* Red accent circle like reference */
.mockup-card::after {
    content: '';
    position: absolute;
    bottom: -50px; right: -50px;
    width: 150px; height: 150px;
    background: #e11d48;
    filter: blur(40px);
    opacity: 0.5;
    z-index: -1;
    border-radius: 50%;
}

.mockup-card:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.mc-chip {
    width: 45px; height: 35px;
    background: linear-gradient(135deg, silver, #ccc);
    border-radius: 6px;
}

.mc-num {
    font-size: 1.4rem;
    letter-spacing: 2px;
    font-family: monospace;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.mc-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.features-content h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.features-desc {
    font-size: 1.1rem;
    margin-bottom: 30px;
}


.features-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.features-list li {
    display: flex;
    gap: 20px;
}

.f-icon {
    width: 40px; height: 40px;
    background-color: rgba(0,180,255,0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.f-text h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

/* ----- Live Feed Ticker ----- */
.live-feed {
    background-color: var(--primary);
    color: #fff;
    padding: 15px 0;
    overflow: hidden;
    position: relative;
}

.ticker-wrapper {
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.ticker-title {
    font-weight: 700;
    padding-right: 20px;
    border-right: 1px solid rgba(255,255,255,0.3);
    margin-right: 20px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ticker-content {
    flex: 1;
    overflow: hidden;
    height: 24px;
    position: relative;
}

.ticker-content ul {
    position: absolute;
    top: 0;
    transition: top 0.5s ease;
}

.ticker-content li {
    line-height: 24px;
    font-size: 0.95rem;
}

/* ----- FAQ Section ----- */
.faq-section {
    padding: 100px 0;
    background-color: var(--bg-dark);
}

.faq-container {
    max-width: 800px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 50px;
}

.faq-item {
    background-color: var(--bg-panel);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    transition: all var(--transition-fast);
}

.faq-item.active {
    border-color: var(--primary);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
}

.faq-question i {
    font-size: 1.5rem;
    transition: transform var(--transition-fast);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 20px;
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px;
}

.faq-banner {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    border-radius: 16px;
    padding: 40px;
}

.faq-banner h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.faq-banner ul {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-banner li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 1rem;
    line-height: 1.5;
}

.faq-banner li i {
    font-size: 1.3rem;
    color: #fff;
    margin-top: 2px;
    flex-shrink: 0;
}

.faq-banner li span {
    flex: 1;
    word-break: keep-all;
}

/* ----- Footer ----- */
#footer {
    background-color: #010206;
    padding: 60px 0 20px;
    border-top: 1px solid var(--border-color);
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.brand-col .logo {
    margin-bottom: 15px;
    display: inline-flex;
}

.brand-desc {
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.company-info {
    font-size: 0.85rem;
    line-height: 1.8;
    color: var(--text-muted);
}

.links-col h4, .cta-col h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #fff;
}

.links-col ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.links-col a {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.links-col a:hover {
    color: var(--primary);
}

.cta-col p {
    font-size: 0.9rem;
    color: #ff4d4f; /* warning color */
    line-height: 1.6;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 0.85rem;
    color: #64748b;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    font-size: 1.5rem;
    color: #64748b;
}

.social-links a:hover {
    color: #fff;
}

/* ----- Floating CTA ----- */
.floating-cta {
    position: fixed;
    bottom: 30px; right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

@keyframes pulse-btn {
    0% { transform: scale(1); box-shadow: 0 4px 15px rgba(0,0,0,0.3); }
    50% { transform: scale(1.05); box-shadow: 0 10px 25px rgba(0,0,0,0.5); }
    100% { transform: scale(1); box-shadow: 0 4px 15px rgba(0,0,0,0.3); }
}

.f-btn {
    height: 60px;
    padding: 0 25px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    animation: pulse-btn 2s infinite;
    transform-origin: center right;
}

.f-btn .f-icon {
    font-size: 1.8rem;
    min-width: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes phone-ring {
  0%, 100% { transform: rotate(0); }
  10%, 30%, 50% { transform: rotate(15deg) scale(1.1); }
  20%, 40% { transform: rotate(-15deg) scale(1.1); }
  60% { transform: rotate(0); }
}

.phone-svg-icon {
    width: 1.2em; height: 1.2em;
    vertical-align: middle;
    animation: phone-ring 2s infinite ease-in-out;
}

.f-icon .phone-svg-icon {
    width: 1.8rem; height: 1.8rem;
}

.f-btn .f-text {
    font-size: 1.1rem;
    font-weight: 700;
    white-space: nowrap;
}

.call-btn {
    background-color: var(--primary);
    color: #fff;
}

.call-btn:hover {
    background-color: var(--primary-hover);
}

.channel-btn {
    background-color: var(--channel-color);
    color: var(--channel-text);
}

/* Warning Banner Bottom MObile */
.warning-banner {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background-color: #ef4444;
    color: white;
    text-align: center;
    padding: 10px 40px 10px 20px;
    font-size: 0.85rem;
    z-index: 999;
    font-weight: 600;
    display: none; /* Show only on mobile or handle with JS */
}

.wb-close {
    position: absolute;
    right: 15px; top: 10px;
    background: none; border: none; color: white; font-size: 1.2rem;
    cursor: pointer;
}

/* ----- Responsive Design ----- */
@media screen and (max-width: 992px) {
    .hero-title { font-size: 2.8rem; }
    .rates-grid { grid-template-columns: 1fr; }
    .rate-card.featured { transform: scale(1); margin: 20px 0; }
    .rate-card.featured:hover { transform: translateY(-10px); }
    .features-grid { grid-template-columns: 1fr; }
    .features-img { order: -1; height: 300px; }
    .footer-top { grid-template-columns: 1fr; gap: 30px; }
    
    .navbar { display: none; }
    .header-actions .btn { display: none; }
    .mobile-toggle { display: block; }
}

@media screen and (max-width: 768px) {
    .hero { padding: 120px 0 80px; }
    .hero-title { font-size: 2.2rem; }
    .hero-stats { flex-direction: column; gap: 15px; width: 100%; border:none; background: transparent; }
    .delimiter { width: 100%; height: 1px; }
    .process-steps { flex-direction: column; gap: 30px; align-items: center; }
    .step-line { width: 2px; height: 50px; margin: 0 auto; top: auto; position: static; }
    
    .floating-cta { bottom: 20px; right: 15px; gap: 10px; }
    .f-btn { height: 50px; padding: 0 20px; border-radius: 25px; width: auto; }
    .f-btn .f-text { font-size: 1rem; }
    .f-btn .f-icon { font-size: 1.5rem; }
    .warning-banner { display: block; }
}
