/* assets/css/home.css */
:root{
    --primary-color: #0a1929;
    --primary-dark: #050e16;
    --secondary-color: #132f4c;
    --accent-color: #1976d2;
    --bg: #0a1929;
    --card-bg: rgba(19, 47, 76, 0.85);
    --card-bg-2: rgba(10, 25, 41, 0.9);
    --accent: #1976d2;
    --accent-dark: #1565c0;
    --blue-a: #1976d2;
    --muted: rgba(25, 118, 210, 0.12);
    --glass-border: rgba(25, 118, 210, 0.2);
    --text-light: #e3f2fd;
    --subtle: #90caf9;
    --container: 1200px;
    --section-spacing: 80px;
    --card-radius: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*{box-sizing:border-box; margin:0; padding:0;}
body{ font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif; background: linear-gradient(135deg, #0a1929 0%, #001a33 50%, #0a1929 100%); background-attachment:fixed; color:var(--text-light); -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale; line-height:1.6; overflow-x:hidden; min-height:100vh; }

/* Custom Scrollbar */
::-webkit-scrollbar{ width:8px; background:transparent; }
::-webkit-scrollbar-track{ background:#0a1929; }
::-webkit-scrollbar-thumb{ background:linear-gradient(180deg, rgba(25,118,210,0.5), rgba(21,101,192,0.6)); border-radius:8px; }
::-webkit-scrollbar-thumb:hover{ background:linear-gradient(180deg, rgba(25,118,210,0.7), rgba(21,101,192,0.8)); }
html{ scrollbar-width:thin; scrollbar-color:rgba(25,118,210,0.5) #0a1929; }

.container{ width:var(--container); max-width:95%; margin:0 auto; padding:0 20px; }

/* HERO */
.hero-section{ padding:var(--section-spacing) 0; background:none; position:relative; overflow:hidden; }
/* Light effect above globe - black/blue tones at top */
.hero-section::after{
    content:'';
    position:absolute;
    left:50%;
    top:35%;
    transform:translateX(-50%);
    width:1000px;
    height:400px;
    background:radial-gradient(ellipse at center top, rgba(0,20,60,0.9) 0%, rgba(10,60,120,0.3) 40%, transparent 70%);
    pointer-events:none;
    z-index:0;
}
.hero-section::before{
    content:'';
    position:absolute;
    left:50%;
    top:40%;
    transform:translateX(-50%);
    width:1400px;
    height:700px;
    background:url('../images/w.png') no-repeat center top;
    background-size:contain;
    opacity:0.35;
    filter:blur(0px) brightness(0.5) sepia(0.1) saturate(2.2) hue-rotate(200deg);
    pointer-events:none;
    border-radius:50%;
    -webkit-mask-image:linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.8) 15%, rgba(0,0,0,1) 30%, rgba(0,0,0,0.7) 60%, rgba(0,0,0,0) 100%);
    mask-image:linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.8) 15%, rgba(0,0,0,1) 30%, rgba(0,0,0,0.7) 60%, rgba(0,0,0,0) 100%);
}
.hero-grid{ display:flex; gap:40px; align-items:center; position:relative; z-index:1; }

/* Left */
.hero-left-col{ width:50%; display:flex; flex-direction:column; justify-content:center; padding-right:20px; }
.hero-title{ font-size:42px; line-height:1.15; margin:0 0 24px; color:#ffffff; font-weight:800; letter-spacing:1.5px; text-shadow:0 2px 20px rgba(0,0,0,0.3); text-transform:uppercase; }
.hero-title span{ display:block; margin-bottom:2px; }
.hero-title span:last-child{ margin-bottom:0; }
.hero-description{ font-size:15px; line-height:1.75; margin:0; color:rgba(227, 242, 253, 0.8); font-weight:400; max-width:100%; letter-spacing:0.2px; }

/* Right */
.hero-right-col{ width:50%; display:flex; justify-content:flex-start; align-items:center; }
.exchange-card{ width:100%; max-width:540px; padding:0; border-radius:var(--card-radius); background: linear-gradient(180deg, rgba(19,47,76,0.8) 0%, rgba(10,25,41,0.85) 100%); border:1px solid rgba(25,118,210,0.2); box-shadow: 0 15px 50px rgba(0,0,0,0.4); color:var(--text-light); overflow:hidden; backdrop-filter:blur(20px); position:relative; }
.exchange-card::after{ content:''; position:absolute; bottom:0; left:0; right:0; height:1px; background:linear-gradient(90deg, transparent, rgba(25,118,210,0.4), transparent); }

/* Card header with tabs - NO ICONS */
.card-header-tabs{ display:flex; justify-content:center; align-items:center; padding:28px 40px; border-bottom:1px solid rgba(25,118,210,0.15); background:linear-gradient(180deg, rgba(19,47,76,0.6) 0%, rgba(10,25,41,0.6) 100%); }
.tab-buttons{ display:flex; gap:6px; background:rgba(10,25,41,0.7); padding:5px; border-radius:12px; width:100%; justify-content:center; }
.tab-btn{ padding:14px 28px; border:none; background:transparent; color:rgba(144, 202, 249, 0.8); font-size:14px; font-weight:600; border-radius:10px; cursor:pointer; position:relative; flex:1; text-transform:uppercase; letter-spacing:0.5px; transition:color 0.2s ease, background 0.2s ease; }
.tab-btn:hover{ color:#ffffff; background:rgba(25,118,210,0.2); }
.tab-btn.active{ background:linear-gradient(135deg,#1976d2,#1565c0); color:#ffffff; box-shadow:0 4px 12px rgba(25,118,210,0.4); }
.payment-icons{ display:none; }

/* Form container */
.exchange-card form{ padding:40px 44px; background:rgba(10,25,41,0.5); }

/* tabs */
.card-top-tabs{ display:flex; gap:12px; margin-bottom:12px; }
.card-top-tabs .tab{ flex:1; padding:10px 14px; border-radius:10px; background:transparent; color:#a9d3ff; border:none; cursor:pointer; font-weight:700; font-size:13px; }
.card-top-tabs .tab.active{ background: linear-gradient(180deg,#1565c0,#0d47a1); color:#fff; box-shadow: inset 0 -2px 0 rgba(0,0,0,0.2); }

/* form */
.card-row{ display:flex; gap:18px; align-items:center; margin-bottom:20px; }
.card-col{ flex:1; }
.card-col.right-col{ width:45%; }
.small{ display:block; font-size:12px; color:rgba(144, 202, 249, 0.85); margin-bottom:8px; font-weight:600; letter-spacing:0.5px; text-transform:uppercase; }
.input-small{ width:100%; padding:14px 16px; border-radius:12px; background: rgba(0, 50, 100, 0.35); border:1px solid rgba(100, 150, 200, 0.25); color:#ffffff; font-size:16px; transition:var(--transition); font-weight:500; }
.input-small::placeholder{ color:rgba(144, 202, 249, 0.4); }
.input-small:focus{ outline:none; border-color:#1976d2; background:rgba(0, 60, 120, 0.45); box-shadow:0 0 0 3px rgba(25,118,210,0.15), 0 4px 12px rgba(0,0,0,0.2); }
.select-wrap select{ width:100%; padding:14px 16px; border-radius:12px; background: rgba(0, 50, 100, 0.35); border:1px solid rgba(100, 150, 200, 0.25); color:#ffffff; font-weight:500; }

/* Custom Select Dropdown - Compact & Clean */
.custom-select-wrapper{ position:relative; width:100%; }
.custom-select{ position:relative; cursor:pointer; }
.custom-select .selected{ display:flex; align-items:center; padding:10px 12px; border-radius:8px; background:rgba(0,60,120,0.4); border:1px solid rgba(100,150,200,0.3); color:#e3f2fd; font-size:13px; font-weight:600; transition:all 0.3s ease; }
.custom-select .selected:hover{ background:rgba(0,60,120,0.5); border-color:rgba(100,150,200,0.4); }
.custom-select .selected img{ width:20px; height:20px; margin-right:8px; border-radius:50%; object-fit:cover; box-shadow:0 2px 4px rgba(0,0,0,0.25); }
.custom-select .selected span{ flex:1; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; color:#e3f2fd; font-size:13px; }
.custom-options{ list-style:none; margin:0; padding:4px; background:rgba(5,30,50,0.98); border:1px solid rgba(100,150,200,0.3); border-radius:10px; position:absolute; width:100%; display:none; max-height:240px; overflow-y:auto; z-index:999; margin-top:4px; box-shadow:0 8px 24px rgba(0,0,0,0.7); backdrop-filter:blur(12px); }
.custom-options.show{ display:block; }
.custom-options li{ padding:8px 10px; display:flex; align-items:center; color:#e3f2fd; cursor:pointer; font-size:13px; border-radius:6px; margin:1px 0; font-weight:500; letter-spacing:0.2px; transition:all 0.2s ease; }
.custom-options li:hover{ background:linear-gradient(90deg,rgba(21,101,192,0.3),rgba(13,71,161,0.25)); }
.custom-options li img{ width:20px; height:20px; margin-right:8px; border-radius:50%; object-fit:cover; box-shadow:0 2px 4px rgba(0,0,0,0.3); }
.crypto-options li img{ border-radius:50%; }
.custom-options::-webkit-scrollbar{ width:6px; }
.custom-options::-webkit-scrollbar-track{ background:rgba(0,0,0,0.3); border-radius:8px; margin:4px 0; }
.custom-options::-webkit-scrollbar-thumb{ background:linear-gradient(180deg,rgba(21,101,192,0.6),rgba(13,71,161,0.8)); border-radius:8px; }
.custom-options::-webkit-scrollbar-thumb:hover{ background:linear-gradient(180deg,rgba(21,101,192,0.8),rgba(13,71,161,1)); }

/* middle row */
.middle-row{ margin-top:6px; }

/* rate display row */
.rate-display-row{ padding:18px 16px; margin:20px 0; text-align:center; border-top:1px solid rgba(50,100,150,0.15); border-bottom:1px solid rgba(50,100,150,0.15); background:rgba(0,25,55,0.35); border-radius:12px; }
.rate-info{ 
    display:flex; 
    align-items:center; 
    justify-content:space-between; 
    padding:16px 20px; 
    background:linear-gradient(135deg, rgba(0,40,80,0.5) 0%, rgba(0,30,60,0.4) 100%); 
    border-radius:12px; 
    border:1px solid rgba(50,100,150,0.2); 
    margin-top:8px;
}
.rate-label{ font-size:13px; color:rgba(126,184,232,0.8); font-weight:500; text-transform:uppercase; letter-spacing:0.5px; }
.rate-value{ font-size:15px; color:#ffffff; font-weight:700; letter-spacing:0.3px; }

/* action */
.action-row{ margin-top:24px; }
.btn-exchange{
    width:100%;
    padding:16px 24px;
    border-radius:14px;
    background: linear-gradient(135deg, #1976d2 0%, #1565c0 100%);
    color:#ffffff; font-weight:800;
    border:none; box-shadow: 0 8px 24px rgba(25, 118, 210, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size:15px;
    cursor:pointer;
    position:relative;
    overflow:hidden;
    transition: all 0.3s ease;
}
.btn-exchange:hover{
    background: linear-gradient(135deg, #1e88e5 0%, #1976d2 100%);
    box-shadow: 0 10px 30px rgba(25, 118, 210, 0.5);
    transform: translateY(-2px);
}

/* card footer */
.card-footer{ margin-top:12px; font-size:13px; color:#9fd3ff; text-align:center; }

/* STATS */
.stats-section{ padding:var(--section-spacing) 0; background:transparent; position:relative; }
.stats-section::before{ content:''; position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); width:100%; height:60%; background:radial-gradient(ellipse at center, rgba(20,80,160,0.08) 0%, transparent 70%); pointer-events:none; }
.stats-heading{ text-align:center; margin:0 auto 12px; font-size:38px; color:#ffffff; font-weight:700; letter-spacing:0.5px; text-shadow:0 2px 20px rgba(0,0,0,0.3); position:relative; z-index:1; text-transform:uppercase; }
.stats-sub{ text-align:center; margin:0 auto 48px; color:rgba(227, 242, 253, 0.7); max-width:700px; font-size:16px; line-height:1.7; position:relative; z-index:1; }

.stats-grid{ display:flex; gap:32px; justify-content:space-between; margin-top:0; position:relative; z-index:1; }
.stat-card{ background: linear-gradient(180deg, rgba(19,47,76,0.6) 0%, rgba(10,25,41,0.65) 100%); padding:40px 32px; border-radius:var(--card-radius); width:32%; border:1px solid rgba(25,118,210,0.15); text-align:center; box-shadow:0 10px 40px rgba(0,0,0,0.25); backdrop-filter:blur(20px); position:relative; overflow:hidden; }
.stat-card::before{ content:''; position:absolute; top:0; left:20%; right:20%; height:1px; background:linear-gradient(90deg, transparent, rgba(25,118,210,0.25), transparent); }
.stat-card::after{ content:''; position:absolute; bottom:0; left:0; right:0; height:1px; background:linear-gradient(90deg, transparent, rgba(25,118,210,0.3), transparent); }
.stat-icon{ display:flex; justify-content:center; align-items:center; margin-bottom:20px; }
.stat-icon img{ width:48px; height:48px; display:block; object-fit:contain; filter:brightness(0) saturate(100%) invert(89%) sepia(8%) saturate(1486%) hue-rotate(174deg) brightness(110%) contrast(96%) drop-shadow(0 2px 8px rgba(144,202,249,0.3)); opacity:1; }
.stat-title{ font-size:11px; color:rgba(144, 202, 249, 0.7); margin-bottom:12px; font-weight:700; text-transform:uppercase; letter-spacing:2px; }
.stat-value{ font-size:48px; color:#ffffff; font-weight:800; margin-bottom:10px; line-height:1; text-shadow:0 2px 10px rgba(0,0,0,0.2); }
.stat-sub{ font-size:14px; color:rgba(227, 242, 253, 0.65); font-weight:400; }

/* ASSETS / TOKENS */
.assets-section{ padding:var(--section-spacing) 0 calc(var(--section-spacing) + 20px); text-align:center; background:transparent; position:relative; }
.assets-section::before{ content:''; position:absolute; top:40%; left:50%; transform:translate(-50%,-50%); width:100%; height:60%; background:radial-gradient(ellipse at center, rgba(20,80,160,0.08) 0%, transparent 70%); pointer-events:none; }
.section-heading{ color:#ffffff; margin:0 0 12px; font-size:38px; font-weight:700; letter-spacing:0.5px; text-shadow:0 2px 20px rgba(0,0,0,0.3); position:relative; z-index:1; text-align:center; text-transform:uppercase; }
.section-sub{ color:rgba(227, 242, 253, 0.7); margin:0 auto 40px; font-size:16px; position:relative; z-index:1; text-align:center; max-width:700px; }
.token-chips{ display:flex; gap:16px; justify-content:center; flex-wrap:wrap; margin:0; position:relative; z-index:1; }
.chip{ background: linear-gradient(180deg, rgba(0,28,60,0.55) 0%, rgba(0,22,48,0.6) 100%); padding:14px 20px; border-radius:14px; display:flex; gap:12px; align-items:center; border:1px solid rgba(60, 120, 180, 0.12); box-shadow:0 8px 24px rgba(0,0,0,0.18); backdrop-filter:blur(20px); cursor:pointer; position:relative; }
.chip::after{ content:''; position:absolute; bottom:0; left:10%; right:10%; height:1px; background:linear-gradient(90deg, transparent, rgba(100,180,255,0.2), transparent); }
.chip img{ width:28px; height:28px; }
.chip span{ font-size:15px; color:#ffffff; font-weight:700; letter-spacing:0.5px; text-shadow:0 1px 2px rgba(0,0,0,0.2); }

/* CTA */
.cta-row{ margin-top:48px; position:relative; z-index:1; }
.btn-primary{ display:inline-block; padding:18px 48px; border-radius:14px; background: linear-gradient(135deg,#1976d2 0%,#1565c0 100%); color:#ffffff; text-decoration:none; font-weight:700; font-size: 16px; box-shadow:0 8px 24px rgba(25,118,210,0.4); letter-spacing:0.5px; text-transform:uppercase; position:relative; overflow:hidden; transition: all 0.3s ease; }
.btn-primary:hover{ background: linear-gradient(135deg,#1e88e5 0%,#1976d2 100%); box-shadow:0 10px 30px rgba(25,118,210,0.5); transform: translateY(-2px); }

/* REAL-TIME TRANSACTIONS SECTION */
.realtime-section{ padding:var(--section-spacing) 0; background:transparent; position:relative; }
.realtime-section::before{ content:''; position:absolute; top:40%; left:50%; transform:translate(-50%,-50%); width:100%; height:60%; background:radial-gradient(ellipse at center, rgba(20,80,160,0.08) 0%, transparent 70%); pointer-events:none; }

.realtime-grid{ display:grid; grid-template-columns:repeat(6, 1fr); gap:20px; margin:48px 0 32px; position:relative; z-index:1; }
.realtime-card{ background:linear-gradient(180deg, rgba(0,28,60,0.55) 0%, rgba(0,22,48,0.6) 100%); padding:28px 20px; border-radius:16px; border:1px solid rgba(60,120,180,0.12); text-align:center; backdrop-filter:blur(20px); box-shadow:0 8px 24px rgba(0,0,0,0.18); position:relative; }
.realtime-card::before{ content:''; position:absolute; top:0; left:15%; right:15%; height:1px; background:linear-gradient(90deg, transparent, rgba(100,180,255,0.15), transparent); }
.realtime-card::after{ content:''; position:absolute; bottom:0; left:10%; right:10%; height:1px; background:linear-gradient(90deg, transparent, rgba(100,180,255,0.2), transparent); }

.realtime-time{ font-size:12px; color:rgba(144,202,249,0.7); margin-bottom:16px; font-weight:500; }
.realtime-icon{ width:64px; height:64px; margin:0 auto 20px; background:rgba(255,255,255,0.05); border-radius:50%; display:flex; align-items:center; justify-content:center; padding:8px; box-sizing:border-box; }
.realtime-icon img{ width:48px; height:48px; object-fit:contain; filter:brightness(0) saturate(100%) invert(70%) sepia(15%) saturate(400%) hue-rotate(180deg) brightness(95%) contrast(90%); opacity:0.85; }
.realtime-amount{ font-size:20px; color:#ffffff; font-weight:700; line-height:1; }
.realtime-symbol{ font-size:14px; color:rgba(144,202,249,0.85); font-weight:600; margin-left:4px; }

.realtime-banner{ background:linear-gradient(180deg, rgba(0,28,60,0.55) 0%, rgba(0,22,48,0.6) 100%); padding:32px 40px; border-radius:var(--card-radius); display:flex; align-items:center; gap:24px; border:1px solid rgba(60,120,180,0.12); box-shadow:0 12px 40px rgba(0,0,0,0.2); backdrop-filter:blur(20px); position:relative; z-index:1; }
.realtime-banner::before{ content:''; position:absolute; top:0; left:10%; right:10%; height:1px; background:linear-gradient(90deg, transparent, rgba(100,180,255,0.15), transparent); }
.realtime-banner::after{ content:''; position:absolute; bottom:0; left:0; right:0; height:1px; background:linear-gradient(90deg, transparent, rgba(100,180,255,0.25), transparent); }
.realtime-banner-icon{ flex-shrink:0; }
.realtime-banner-icon img{ width:64px; height:64px; object-fit:contain; }
.realtime-banner-text{ font-size:18px; color:rgba(227,242,253,0.9); line-height:1.6; font-weight:500; }
.realtime-highlight{ color:#ffa726; font-weight:800; font-size:22px; }

/* HOW TO BUY SECTION */
.howto-section{ padding:var(--section-spacing) 0; background:transparent; position:relative; }
.howto-section::before{ content:''; position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); width:100%; height:60%; background:radial-gradient(ellipse at center, rgba(20,80,160,0.08) 0%, transparent 70%); pointer-events:none; }

.howto-tabs{ display:flex; gap:12px; justify-content:center; margin:40px 0 48px; position:relative; z-index:1; }
.howto-tab{ padding:14px 32px; border:none; border-radius:12px; background:rgba(0,28,60,0.5); color:rgba(126,184,232,0.8); font-size:15px; font-weight:600; cursor:pointer; transition:color 0.3s ease, background 0.3s ease; border:1px solid rgba(60,120,180,0.12); }
.howto-tab:hover{ background:rgba(0,40,85,0.55); color:#ffffff; }
.howto-tab.active{ background:linear-gradient(135deg,#0d5ca8,#084a8a); color:#ffffff; border-color:transparent; box-shadow:0 6px 20px rgba(13,92,168,0.4); }

.howto-slider{ position:relative; max-width:1400px; margin:0 auto; padding:0 60px; }
.howto-cards-wrapper{ overflow:hidden; position:relative; z-index:1; }
.howto-cards{ display:flex; gap:24px; transition:transform 0.5s cubic-bezier(0.4, 0, 0.2, 1); }

.howto-card{ flex:0 0 calc(33.333% - 16px); background:linear-gradient(180deg, rgba(0,28,60,0.55) 0%, rgba(0,22,48,0.6) 100%); padding:0; border-radius:var(--card-radius); border:1px solid rgba(60,120,180,0.12); backdrop-filter:blur(20px); box-shadow:0 12px 40px rgba(0,0,0,0.2); position:relative; min-height:520px; overflow:hidden; }
.howto-card::before{ content:''; position:absolute; top:0; left:15%; right:15%; height:1px; background:linear-gradient(90deg, transparent, rgba(100,180,255,0.15), transparent); z-index:2; }
.howto-card::after{ content:''; position:absolute; bottom:0; left:0; right:0; height:1px; background:linear-gradient(90deg, transparent, rgba(100,180,255,0.25), transparent); }

.howto-card-image{ width:100%; height:240px; margin-bottom:0; border-radius:var(--card-radius) var(--card-radius) 0 0; overflow:hidden; background:transparent; display:flex; align-items:center; justify-content:center; position:relative; }
.howto-card-image img{ width:100%; height:100%; object-fit:contain; display:block; padding:16px; box-sizing:border-box; }

.howto-card-title{ font-size:22px; color:#ffffff; font-weight:700; margin-bottom:16px; line-height:1.3; padding:24px 28px 0; }
.howto-card-text{ font-size:15px; color:rgba(227,242,253,0.75); line-height:1.7; margin-bottom:0; padding:0 28px 80px; }

.howto-step{ position:absolute; bottom:24px; right:24px; width:120px; height:120px; display:flex; align-items:center; justify-content:center; font-size:72px; font-weight:900; color:rgba(25,118,210,0.18); opacity:0.8; line-height:1; }

.howto-arrow{ position:absolute; top:50%; transform:translateY(-50%); width:48px; height:48px; border-radius:50%; background:rgba(0,40,80,0.6); border:1px solid rgba(50,100,150,0.15); color:#ffffff; font-size:20px; cursor:pointer; z-index:2; display:flex; align-items:center; justify-content:center; backdrop-filter:blur(10px); }
.howto-arrow:hover{ background:rgba(13,92,168,0.7); }
.howto-prev{ left:0; }
.howto-next{ right:0; }

.howto-dots{ display:flex; gap:12px; justify-content:center; margin-top:40px; }
.howto-dot{ width:12px; height:12px; border-radius:50%; background:rgba(100,150,200,0.25); cursor:pointer; transition:background 0.3s ease; }
.howto-dot.active, .howto-dot:hover{ background:linear-gradient(135deg,#0d5ca8,#084a8a); }

/* Why Buy Section */
.why-buy-section{ padding:var(--section-spacing) 0; background:transparent; position:relative; }
.why-buy-section::before{ content:''; position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); width:100%; height:60%; background:radial-gradient(ellipse at center, rgba(20,80,160,0.08) 0%, transparent 70%); pointer-events:none; }

.why-buy-grid{ display:grid; grid-template-columns:repeat(2, 1fr); gap:24px; margin-top:48px; position:relative; z-index:1; }

.why-buy-card{ 
    background:linear-gradient(180deg, rgba(0,28,60,0.55) 0%, rgba(0,22,48,0.6) 100%);
    padding:40px 32px;
    border-radius:var(--card-radius);
    border:1px solid rgba(60,120,180,0.12);
    box-shadow:0 12px 40px rgba(0,0,0,0.2);
    backdrop-filter:blur(20px);
    display:flex;
    flex-direction:column;
    gap:20px;
    position:relative;
    overflow:hidden;
}

.why-buy-card::before{
    content:'';
    position:absolute;
    top:0;
    left:15%;
    right:15%;
    height:1px;
    background:linear-gradient(90deg, transparent, rgba(100,180,255,0.15), transparent);
}

.why-buy-card::after{
    content:'';
    position:absolute;
    bottom:0;
    left:0;
    right:0;
    height:1px;
    background:linear-gradient(90deg, transparent, rgba(100,180,255,0.25), transparent);
}

.why-buy-icon{
    width:100px;
    height:100px;
    display:flex;
    align-items:center;
    justify-content:center;
    margin-bottom:12px;
}

.why-buy-icon img{
    width:100%;
    height:100%;
    object-fit:contain;
}

.why-buy-title{
    font-size:22px;
    color:#ffffff;
    font-weight:700;
    line-height:1.3;
    margin:0;
}

.why-buy-text{
    font-size:15px;
    color:rgba(227,242,253,0.75);
    line-height:1.7;
    margin:0;
}

/* Responsive for Real-Time & How To sections */
@media (max-width:1200px){
    .realtime-grid{ grid-template-columns:repeat(3, 1fr); }
    .howto-card{ flex:0 0 calc(50% - 12px); }
    .why-buy-grid{ gap:20px; }
}

@media (max-width:768px){
    .realtime-grid{ grid-template-columns:repeat(2, 1fr); gap:16px; }
    .realtime-banner{ flex-direction:column; text-align:center; padding:24px; }
    .realtime-banner-text{ font-size:16px; }
    .realtime-highlight{ font-size:20px; }
    
    .howto-tabs{ flex-wrap:wrap; gap:8px; }
    .howto-tab{ padding:10px 20px; font-size:14px; }
    .howto-slider{ padding:0 50px; }
    .howto-card{ flex:0 0 100%; min-height:auto; }
    .howto-card-image{ height:220px; }
    .howto-card-image img{ padding:12px; }
    .howto-card-text{ padding:0 24px 60px; }
    .howto-step{ font-size:56px; width:100px; height:100px; bottom:16px; right:16px; }
    .howto-arrow{ width:40px; height:40px; font-size:18px; }
    
    .why-buy-grid{ grid-template-columns:1fr; gap:20px; }
    .why-buy-card{ padding:32px 24px; }
        .why-buy-icon{ width:80px; height:80px; }
    .why-buy-title{ font-size:20px; }
    .why-buy-text{ font-size:14px; }
}

@media (max-width:480px){
    .realtime-grid{ grid-template-columns:1fr; }
    .realtime-section .section-heading{ font-size:32px; }
    .howto-section .section-heading{ font-size:28px; }
    .howto-slider{ padding:0 45px; }
    .howto-card-image{ height:200px; }
    .howto-card-image img{ padding:8px; }
    .howto-card-title{ font-size:20px; padding:20px 24px 0; }
    .howto-card-text{ font-size:14px; padding:0 24px 50px; }
    .howto-step{ font-size:48px; width:80px; height:80px; }
}
@media (max-width:1000px){
    .hero-grid{ flex-direction:column; gap:32px; }
    .hero-left-col, .hero-right-col{ width:100%; padding-right:0; }
    .hero-left-col{ text-align:center; }
    .hero-title{ font-size:36px; }
    .hero-description{ text-align:center; max-width:100%; }
    .hero-right-col{ justify-content:center; }
    .exchange-card{ width:100%; max-width:500px; }
    .stats-grid{ flex-direction:column; gap:20px; }
    .stat-card{ width:100%; }
    .token-chips{ justify-content:center; }
}

@media (max-width:768px){
    .hero-section{ padding:40px 0; }
    .hero-title{ font-size:30px; }
    .hero-description{ font-size:14px; line-height:1.65; }
    .exchange-card{ max-width:100%; }
    .exchange-card form{ padding:24px; }
    .card-header-tabs{ padding:18px 20px; }
    .tab-btn{ padding:10px 20px; font-size:13px; }
    .stats-heading{ font-size:20px; }
    .stats-sub{ font-size:14px; }
    .stat-value{ font-size:32px; }
}

@media (max-width:480px){
    .hero-title{ font-size:24px; line-height:1.2; margin-bottom:16px; }
    .hero-description{ font-size:13px; }
    .card-header-tabs{ padding:14px 16px; }
    .tab-btn{ padding:8px 14px; font-size:11px; }
    .exchange-card form{ padding:18px; }
    .btn-exchange{ padding:12px 16px; font-size:14px; }
    .stat-card{ padding:20px; }
    .stat-value{ font-size:28px; }
    .card-row{ gap:12px; margin-bottom:14px; }
    .input-small{ padding:12px; }
}
